# ARM Cortex-M7

**ARM Cortex-M7** 是一款 32 位微控制器处理器内核，Arm 于 2014 年 9 月 24 日发布，实现了 Armv7E-M 架构，设计目标是将当时可获得的基于 ARM 的最强微控制器的计算与数字信号处理（DSP）能力大致翻倍<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。它是在 Armv7-M 配置上构建的性能最高的处理器，并保留了 Cortex-M 系列共享的对 C 语言友好的编程模型和二进制兼容性，因此现有的 Cortex-M 代码只需极少改动即可迁移<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup><sup> • </sup><sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup>。早期获授权厂商包括 Atmel、Freescale 和 [STMicroelectronics](https://www.edgepedia.org/zh/stmicroelectronics)<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。

| 关键事实 | 详情 |
|---|---|
| 架构 | Armv7E-M 配置，Thumb/Thumb-2 指令集<sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup> |
| 流水线 | 带分支预测的六级超标量流水线；在 40LP 工艺、400 MHz 下达到 2000 CoreMark<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup> |
| 标量性能 | 发布时为 5 CoreMark/MHz；Arm 数据手册中为 5.01 CoreMark/MHz；Arm 处理器对比表中为 5.29 CoreMark/MHz 和 2.31 DMIPS/MHz<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup><sup> • </sup><sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup><sup> • </sup><sup>[3](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f?token=)</sup> |
| DSP 与浮点 | 单周期 16/32 位 MAC、单周期双 16 位 MAC、8/16 位 SIMD 运算；可选单精度或单精度加双精度 FPU，兼容 IEEE 754<sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup> |
| 内存系统 | 可选指令缓存（0 至 64 kB，2 路）和数据缓存（0 至 64 kB，4 路），可选 ECC；指令和数据 TCM 各 0 至 16 MB，可选 ECC；64 位 AMBA 4 AXI 互连<sup>[4](https://users.ece.utexas.edu/~ljohn/teaching/382m-15/newsflash/news9.pdf)</sup> |
| 安全 | 可选安全包和内置故障检测，有助于满足 ASIL D 和 SIL 3 合规要求<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup> |
| 示例实现 | STMicroelectronics STM32F7（216 MHz）和 STM32H7（最高 600 MHz，3174 CoreMark）；Microchip SAM E70 为 300 MHz<sup>[5](https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/cf/c2/fb/68/b5/11/48/52/Microcontrollers_STM32H7_Series_product_overview/files/Microcontrollers_STM32H7_Series_product_overview.pdf/jcr%3Acontent/translations/en.Microcontrollers_STM32H7_Series_product_overview.pdf)</sup><sup> • </sup><sup>[6](https://www.microchip.com/en-us/products/microcontrollers/32-bit-mcus/pic32-sam/sam-e)</sup> |

## 架构与流水线

Cortex-M7 实现了 Armv7E-M 架构配置，这是 Cortex-M 系列所用 Armv7-M 配置的 DSP 增强变体<sup>[7](https://support.arm.com/documentation/ddi0489/d/introduction/supported-standards/arm-architecture?lang=en)</sup>。其性能来自带分支预测的六级超标量流水线，相比 Cortex-M4 的三级流水线加分支推测是一次升级<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup><sup> • </sup><sup>[4](https://users.ece.utexas.edu/~ljohn/teaching/382m-15/newsflash/news9.pdf)</sup>。发布时 Arm 给出的数据是：在 40LP 工艺、400 MHz 下达到 2000 CoreMark，约合 5 CoreMark/MHz<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。

**DSP 与浮点。** DSP 扩展提供单周期 16/32 位乘加、单周期双 16 位 MAC 和 8/16 位 SIMD 运算，并带硬件除法<sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup>。与仅提供单精度浮点单元的 Cortex-M4 不同，Cortex-M7 可配置为无 FPU、单精度 FPU 或单精度加双精度 FPU，均兼容 [IEEE 754](https://www.edgepedia.org/zh/ieee-754)<sup>[2](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)</sup>。

## 内存系统：缓存与 TCM

Cortex-M7 为 Cortex-M 系列引入了复杂得多的内存系统。它具有支持 64 位传输的 AXI 互连、可选的集成指令和数据缓存（用于高效访问大型外部存储器），以及用于快速实时响应的紧耦合内存（TCM）接口<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。指令缓存为 0 至 64 kB、2 路组相联，数据缓存为 0 至 64 kB、4 路组相联，每个 TCM 可为 0 至 16 MB，均可选配 ECC<sup>[4](https://users.ece.utexas.edu/~ljohn/teaching/382m-15/newsflash/news9.pdf)</sup>。实现的可配置性使芯片厂商能够覆盖广泛的成本和性能定位；例如，Microchip 的 SAM E70 实现了各 16 KB 的缓存，以及用户可配置的四种大小 TCM（从禁用至 2 x 128 kB）<sup>[6](https://www.microchip.com/en-us/products/microcontrollers/32-bit-mcus/pic32-sam/sam-e)</sup><sup> • </sup><sup>[8](https://www.microchip.com/en-us/product/ATSAME70Q21)</sup>。

**TCM 与缓存。** 两条内存路径服务于不同目的。放入 TCM 的代码和数据以类缓存速度访问，没有缺失惩罚，也没有一致性问题，适合确定性实时代码，如热点中断服务程序和 DMA 缓冲区；缓存则适合较慢外部存储器中较大的工作集<sup>[9](https://onlinedocs.microchip.com/oxy/GUID-C88935CB-DA64-4DAF-944C-E314A1ACB890-en-US-1/GUID-45F2B8DB-0E69-447D-91BE-22866EAA9139.html)</sup><sup> • </sup><sup>[10](https://sitharaj88.github.io/arm-hub/docs/cortex-m/cache-tcm/)</sup>。将热点代码放入指令 TCM、热点数据放入数据 TCM 的 Cortex-M7 可以在 DMA 控制器驱动外部 SDRAM 的同时保持峰值性能<sup>[11](https://sitharaj88.github.io/arm-hub/docs/cortex-m/m7/)</sup>。

**系统访问与一致性。** AHBS 从接口在处理器运行时提供对 TCM 的系统访问，软件与 AHBS 访问之间的仲裁无需外部接口逻辑<sup>[12](https://support.arm.com/documentation/ddi0489/d/memory-system/tcm-interfaces/system-access-to-tcm)</sup>。软件与 AHBS 访问之间没有硬件并发控制：软件对 TCM 的独占访问使用内部独占监视器，该监视器忽略 AHBS 流量，因此系统不得对用于软件独占访问的 TCM 区域发起 AHBS 访问。由于两个主设备的写入都经过单一串行化点——TCM 存储队列——一致性共享仍然可行，且在 AHBS 写入完成后读取会返回更新后的数据<sup>[12](https://support.arm.com/documentation/ddi0489/d/memory-system/tcm-interfaces/system-access-to-tcm)</sup>。

**实践中的缓存一致性。** 由于 Cortex-M7 具有真正的缓存，DMA 和其他系统主设备会产生早期 Cortex-M 内核没有的一致性维护工作。当 DMA 读取主内存而较新数据位于内核缓存中时，DMA 读到的是陈旧数据，因此软件必须在 DMA 传输前后维护缓存<sup>[13](https://support.arm.com/documentation/den0013/0400/Memory-Ordering/Cache-coherency-implications)</sup>。ST 针对图形应用的应用指南补充了第二个风险：Cortex-M7 会执行推测性读取访问，因此未使用的内存区域必须在 MPU 中配置为设备或强序且永不执行，以防止图形性能问题；帧缓冲区区域需要在写通（对一致性更安全）和写回加软件缓存维护之间做出明确的缓存策略选择<sup>[14](https://www.st.com/content/st_com/en/technical-documents/an4861-introduction-to-lcdtft-display-controller-ltdc-on-stm32-mcus-stmicroelectronics_asset/chunk-008-topic-an4861-special-recommendations-for-cortex-m7-stm32f7-h7.html)</sup>。

## 性能对比

Arm 的对比表将 Cortex-M7 评为 5.29 CoreMark/MHz 和 2.31 DMIPS/MHz，而 Cortex-M4 为 3.54 和 1.26<sup>[3](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f?token=)</sup>。由于指令集和编程模型在整个系列中保持一致，为 M4 编译的同一份源代码在 M7 上运行的周期数显著减少<sup>[15](https://www.sciencedirect.com/topics/engineering/m7-processor)</sup>。时钟速度进一步增加了余量：实现可远超 1 GHz，ST 的 STM32H7 系列单核达到 600 MHz，提供 3174 CoreMark；双核 M7（480 MHz）加 M4（240 MHz）配置分别达到 2424 和 800 CoreMark<sup>[5](https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/cf/c2/fb/68/b5/11/48/52/Microcontrollers_STM32H7_Series_product_overview/files/Microcontrollers_STM32H7_Series_product_overview.pdf/jcr%3Acontent/translations/en.Microcontrollers_STM32H7_Series_product_overview.pdf)</sup>。

性能层级也改变了确定性图景。

## 安全与应用

Arm 将 Cortex-M7 定位于高端嵌入式应用：电机控制、工业自动化、高级音频、图像处理、网联汽车应用以及其他物联网用途<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。可选安全包和内置故障检测特性有助于满足 ASIL D（汽车）和 SIL 3（工业）合规要求，面向汽车、工业、交通和医疗市场<sup>[1](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)</sup>。Infineon 在其 TRAVEO T2G 汽车微控制器中采用 Cortex-M7 内核，并在有要求时选用通过 [ISO 26262](https://www.edgepedia.org/zh/iso-26262) 认证的内核<sup>[16](https://www.infineon.com/technology/arm-cortex)</sup>。在 ST 的双核 STM32H7 产品中，Cortex-M7 通常处理人机界面、图形和 AI 工作负载，而 Cortex-M4 处理通信和电机控制<sup>[5](https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/cf/c2/fb/68/b5/11/48/52/Microcontrollers_STM32H7_Series_product_overview/files/Microcontrollers_STM32H7_Series_product_overview.pdf/jcr%3Acontent/translations/en.Microcontrollers_STM32H7_Series_product_overview.pdf)</sup>。

## 在 Cortex-M 系列中的位置

Cortex-M7 仍是性能最高的 Armv7-M 处理器，但 Arm 此后通过 Armv8.1-M 世代将性能上限进一步提高。根据 Arm 的研究，增加 Helium 向量扩展的 Cortex-M55 在语音助手应用中比 Cortex-M7 带来 6 倍性能提升<sup>[17](https://armkeil.blob.core.windows.net/developer/Files/pdf/white-paper/introduction-to-arm-cortex-m55-processor.pdf)</sup>。2022 年发布的 Cortex-M85 提供约四倍于 Cortex-M7 的 DSP 和机器学习处理能力，并且是首个超过 6 CoreMark/MHz 的 Cortex-M<sup>[18](https://developer.arm.com/community/arm-community-blogs/b/internet-of-things-blog/posts/introducing-cortex-m85)</sup>。Cortex-M7 本身缺少 TrustZone 和 Helium，而这两者都是较新内核上的可选配置<sup>[3](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f?token=)</sup>。

## References

1. [ARM Supercharges MCU Market with High Performance Cortex-M7 Processor, Arm press release, September 24, 2014](https://www.arm.com/company/news/2014/09/arm-supercharges-mcu-market-with-high-performance-cortex-m7-processor)
2. [Arm Cortex-M7 Processor Datasheet, Arm](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Processor%20Datasheets/Arm-Cortex-M7-Processor-Datasheet.pdf?hash=5C37DFAA43B532B8BD2DB277685F76007FCFEAE5&la=en&revision=35233191-7cdb-429e-9170-e07ad9d87c7a)
3. [Arm Cortex-M Processor Comparison Table, Arm](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f?token=)
4. [Cortex-M7 Launches: Embedded, IoT and Wearables, University of Texas at Austin course notes (Lizy John)](https://users.ece.utexas.edu/~ljohn/teaching/382m-15/newsflash/news9.pdf)
5. [STM32H7 MCUs for rich and demanding applications, STMicroelectronics product overview](https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/cf/c2/fb/68/b5/11/48/52/Microcontrollers_STM32H7_Series_product_overview/files/Microcontrollers_STM32H7_Series_product_overview.pdf/jcr%3Acontent/translations/en.Microcontrollers_STM32H7_Series_product_overview.pdf)
6. [SAM E Arm Cortex-M-Based Microcontrollers, Microchip Technology](https://www.microchip.com/en-us/products/microcontrollers/32-bit-mcus/pic32-sam/sam-e)
7. [ARM Cortex-M7 Processor Technical Reference Manual, Supported standards: ARM architecture, Arm](https://support.arm.com/documentation/ddi0489/d/introduction/supported-standards/arm-architecture?lang=en)
8. [ATSAME70Q21 product page, Microchip Technology](https://www.microchip.com/en-us/product/ATSAME70Q21)
9. [Cache Memory vs TCM Overview, Microchip online documentation](https://onlinedocs.microchip.com/oxy/GUID-C88935CB-DA64-4DAF-944C-E314A1ACB890-en-US-1/GUID-45F2B8DB-0E69-447D-91BE-22866EAA9139.html)
10. [Cache & TCM, armhub.dev](https://sitharaj88.github.io/arm-hub/docs/cortex-m/cache-tcm/)
11. [Cortex-M7, armhub.dev](https://sitharaj88.github.io/arm-hub/docs/cortex-m/m7/)
12. [System access to TCM, ARM Cortex-M7 Technical Reference Manual, Arm](https://support.arm.com/documentation/ddi0489/d/memory-system/tcm-interfaces/system-access-to-tcm)
13. [Cache coherency implications, ARM Cortex-A Series Programmer's Guide, Arm](https://support.arm.com/documentation/den0013/0400/Memory-Ordering/Cache-coherency-implications)
14. [AN4861: Special recommendations for Cortex-M7 (STM32F7/H7), STMicroelectronics](https://www.st.com/content/st_com/en/technical-documents/an4861-introduction-to-lcdtft-display-controller-ltdc-on-stm32-mcus-stmicroelectronics_asset/chunk-008-topic-an4861-special-recommendations-for-cortex-m7-stm32f7-h7.html)
15. [M7 Processor - an overview, ScienceDirect Topics (Trevor Martin, The Designer's Guide to the Cortex-M Processor Family, Third Edition)](https://www.sciencedirect.com/topics/engineering/m7-processor)
16. [Your Guide to Arm Cortex Technology, Infineon Technologies](https://www.infineon.com/technology/arm-cortex)
17. [Introduction to the Arm Cortex-M55 Processor, Arm white paper](https://armkeil.blob.core.windows.net/developer/Files/pdf/white-paper/introduction-to-arm-cortex-m55-processor.pdf)
18. [Introducing Cortex-M85, Arm Community blog](https://developer.arm.com/community/arm-community-blogs/b/internet-of-things-blog/posts/introducing-cortex-m85)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Embedded & soft processors › Embedded systems › Embedded microprocessors and microcontrollers

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/arm-cortex-m7

English original: https://www.edgepedia.org/arm-cortex-m7
