# ARM Cortex-M

**ARM Cortex-M** 是 Arm 旗下的一系列 32 位处理器内核，针对低成本、高能效的微控制器进行了优化，广泛应用于物联网设备、工业设备和日常消费产品中。该系列基于 Arm M-Profile 架构，为深度嵌入式系统提供低延迟、高度确定性的运行表现。<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup>

| 关键事实 | 详情 |
|---|---|
| 用途 | 面向深度嵌入式、时间敏感型处理的低成本高能效微控制器内核<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup> |
| 架构版本 | Armv6-M（M0、M0+、M1）、Armv7-M（M3、M4、M7）、Armv8-M（M23 基线版，M33/M35P 主线版）、Armv8.1-M 主线版（M52、M55、M85）<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup> |
| 性能范围 | 从 0.96 DMIPS/MHz 和 2.33 CoreMark/MHz（Cortex-M0）到 3.13 DMIPS/MHz 和 6.28 CoreMark/MHz（Cortex-M85）<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup> |
| 安全性 | TrustZone for Armv8-M 在 M23、M33、M35P、M52 和 M55 上为可选配置；在 M85 上始终实现；M0 至 M7 不具备<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup> |
| 向量处理 | Helium（M-Profile 向量扩展）用于 M52、M55 和 M85；Arm 称信号处理性能提升最高达 5 倍，机器学习性能提升最高达 15 倍<sup>[2](https://www.arm.com/technologies/helium)</sup> |
| 中断 | 内核集成嵌套向量中断控制器；Armv7-M 和 Armv8-M 最多支持 496 条外部中断线，Armv6-M 为 32 条<sup>[3](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)</sup> |
| 软件标准 | CMSIS-Core 为全系列的 SysTick、NVIC、系统控制块、MPU 和 FPU 寄存器定义了硬件抽象层<sup>[4](https://arm-software.github.io/CMSIS_6/latest/Core/index.html)</sup> |

## 架构版本

M-Profile 架构面向深度嵌入式系统，涵盖从需要极低功耗的电池供电设备到高级图像处理的各种场景，并为时间敏感型工作提供低延迟、高度确定性的运行表现。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup> 目前有四个架构版本在使用：Armv6-M、Armv7-M、Armv8-M 和 Armv8.1-M。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup>

**Armv6-M** 是 Armv7-M 的子集，具有轻量级编程模型、调试扩展和对 T32 指令集的支持；为 Armv6-M 编写的应用级和系统级软件可在 Armv7-M 上无需修改地运行。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup> **Armv7-M** 提供低周期数执行、最小中断延迟和无缓存运行，并可选配 DSP 和浮点扩展。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup> **Armv8-M** 引入了新的系统级编程模型、基于受保护内存系统架构（PMSAv8）的可选内存保护单元，以及包括主扩展（向后兼容 Armv7-M，浮点和 DSP 所必需）、安全扩展（TrustZone for Armv8-M）、浮点、DSP 和调试扩展在内的可选扩展。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup> **Armv8.1-M** 增加了 M-Profile 向量扩展（MVE）、低开销循环、聚集加载和分散存储内存访问、向量扩展中的 FP16 和 INT8 数据类型，以及可选的 PACBTI（指针认证和分支目标识别）、PXN 和 RAS 扩展。<sup>[5](https://www.arm.com/architecture/cpu/m-profile)</sup>

## 处理器系列

该系列覆盖的性能和面积范围，使单一软件生态能够服务于差异极大的产品。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>

- **Cortex-M0** 是 Arm 可提供的最小处理器，面向智能传感器和混合信号片上系统。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M0+** 被 Arm 描述为可提供的最节能 Arm 处理器，以 8 位成本实现 32 位处理能力，最常用于可穿戴设备。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M3** 在面积、性能和功耗之间取得平衡，面向成本敏感、功耗受限的设备，已部署于数十亿台设备中。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M4** 是部署最广泛的 Cortex-M 处理器，集成 DSP 扩展，面向混合信号和工业设备。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M7** 是 Armv7-M 世代的高性能成员，内置浮点处理能力，支持更密集的自动化任务。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M23** 和 **Cortex-M33** 是首批基于 Armv8-M 构建的嵌入式处理器，将 TrustZone 安全能力带入资源最受限的物联网节点；M23 是带 TrustZone 的最小、最低功耗微控制器内核，而 M33 融合了实时确定性、能效和安全性。<sup>[7](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/white-paper-cortex-m-for-beginners-an-overview-of-the-arm-cortex-m-processor-family-and-comparison?pifragment-22714=1%3Fpifragment-22714%3D1)</sup><sup> • </sup><sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M35P** 是首款内置防篡改能力的 Armv8-M 处理器。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup>
- **Cortex-M52**、**Cortex-M55** 和 **Cortex-M85** 实现了带 Helium 的 Armv8.1-M 主线版；M85 是性能最高的 Cortex-M 处理器，M52 是带 Helium 的 Armv8.1-M 最小实现，面向成本和功耗敏感的设计。<sup>[6](https://www.arm.com/products/silicon-ip-cpu)</sup><sup> • </sup><sup>[8](https://developer.arm.com/community/arm-community-blogs/b/tools-software-ides-blog/posts/which-toolchain-should-i-use-for-helium)</sup>

实测吞吐量在该范围内逐级提升：Cortex-M0 达到 0.96 DMIPS/MHz 和 2.33 CoreMark/MHz，Cortex-M4 为 1.26 和 3.54，Cortex-M7 为 2.31 和 5.29，Cortex-M85 为 3.13 DMIPS/MHz 和 6.28 CoreMark/MHz。<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup> 最大外部中断数也相应扩展，从 M0、M0+ 和 M1 的 32 条，到 M3、M4 和 M7 的 240 条，再到 M33、M35P、M52、M55 和 M85 的 480 条。<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup>

## 安全性：TrustZone for Armv8-M

TrustZone for Armv8-M 为处理器增加了两个硬件强制的安全状态：安全态和非安全态。运行在安全态的代码可以访问安全和非安全资源，而非安全程序只能访问非安全资源；这种划分基于内存映射，由可编程的安全属性单元（SAU）和实现定义的安全属性接口共同定义，状态切换自动进行，无需安全监控异常处理程序。<sup>[9](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/PSA/DEN0083_PSA_TBSA-M_1.0-bet2.pdf)</sup>

在 Cortex-M33 等支持 TrustZone 的内核上，安全状态带来了分组寄存器（每个状态有独立的栈指针、PRIMASK、BASEPRI、FAULTMASK 和 CONTROL 寄存器）、硬件栈限检查、可编程安全属性单元，以及中断控制和 SysTick 的大量分组。<sup>[10](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/five-key-features-of-the-arm-cortex-m33-processor)</sup> 为早期 Cortex-M 处理器编写的应用程序可在非安全世界中无需修改地运行，因为编程模型是向前兼容的。<sup>[11](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/cortex-m23-and-cortex-m33---security-foundation-for-billions-of-devices)</sup> TrustZone 还与 Helium 协同工作，作为符合平台安全架构（PSA）的系统的基础。<sup>[2](https://www.arm.com/technologies/helium)</sup>

## Helium 向量处理

Arm Helium 技术是面向 Cortex-M 系列的 M-Profile 向量扩展（MVE），是 Armv8.1-M 架构的扩展，为机器学习和数字信号处理应用带来显著的性能提升。<sup>[2](https://www.arm.com/technologies/helium)</sup> Cortex-M55 和 Cortex-M85 是首批支持 Helium 的处理器；Cortex-M52 随后将相同的向量能力带到了 Armv8.1-M 的最小实现中，共有三款处理器支持 Helium：M52、M55 和 M85。<sup>[2](https://www.arm.com/technologies/helium)</sup><sup> • </sup><sup>[8](https://developer.arm.com/community/arm-community-blogs/b/tools-software-ides-blog/posts/which-toolchain-should-i-use-for-helium)</sup>

Arm 表示，Helium 对常见信号处理任务可提供最高 5 倍的性能提升，对机器学习可提供最高 15 倍的提升。<sup>[2](https://www.arm.com/technologies/helium)</sup> Cortex-M52 的发布资料称，相对于早期主流内核，机器学习性能提升最高达 5.6 倍，DSP 性能提升最高达 2.7 倍。<sup>[12](https://developer.arm.com/community/arm-community-blogs/b/internet-of-things-blog/posts/introducing-cortex-m52)</sup> 在 Cortex-M55 中，MVE 支持 128 位 SIMD 向量运算，数据类型包括整数、半精度和单精度浮点。<sup>[13](https://documentation-service.arm.com/static/60e2c2fc677cf7536a55dfef)</sup>

## 确定性、中断与流水线

Cortex-M 内核专为时间敏感型处理而构建。例如，Cortex-M55 采用完全按序的 4 级整数流水线，具备少量双发射能力；计入 Helium 向量引擎后，流水线总级数增至五级。<sup>[14](https://documentation-service.arm.com/static/6205407494e7af28dd7c9cb5)</sup> Cortex-M23 是一款简单的两级流水线冯·诺依曼处理器，支持完整的 Armv8-M 基线指令集，约 80 条 Thumb 指令，其中大多数为 16 位宽，以保证代码紧凑性。<sup>[15](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/five-key-features-of-the-arm-cortex-m23-processor)</sup>

中断处理集中在嵌套向量中断控制器（NVIC）中，它是内核的一部分，与内核紧密耦合，可实现低延迟的中断处理和迟到达中断的高效处理。<sup>[3](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)</sup> 异常编号 1 至 15 保留给内置异常，如复位、NMI、HardFault、SVCall、PendSV 和 SysTick；外部中断从异常编号 16 开始。<sup>[3](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)</sup> NVIC 地址范围最多支持 496 条外部中断线，计算方式为 32 ×（INTLINESNUM + 1）；在 Armv6-M 设备上该数量固定为 32。<sup>[3](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)</sup> 优先级可按中断单独配置，优先级编号越小优先级越高，屏蔽寄存器（PRIMASK、FAULTMASK、BASEPRI）控制异常激活；FAULTMASK 和 BASEPRI 在 Armv6-M 上不可用。<sup>[3](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)</sup>

浮点支持为可选且可配置：Cortex-M4 提供可选的单精度 FPU，而 Cortex-M7 支持单精度和双精度浮点，两者均完全符合 IEEE-754 标准。<sup>[16](https://developer.arm.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-21-42/7563.ARM-white-paper-_2D00_-DSP-capabilities-of-Cortex_2D00_M4-and-Cortex_2D00_M7.pdf)</sup> 在 Armv8.1-M 世代中，M52 和 M55 提供可选 FPU，支持半精度、单精度和双精度。<sup>[1](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)</sup>

## 软件生态

CMSIS-Core（Cortex-M）实现了 Cortex-M 设备的基本运行时系统，定义了硬件抽象层，包括 SysTick、NVIC、系统控制块、MPU 和 FPU 寄存器的标准化定义、标准化的系统异常名称、通用的 `SystemInit()` 初始化方法，以及标准 C 无法直接访问的指令的内建函数。<sup>[4](https://arm-software.github.io/CMSIS_6/latest/Core/index.html)</sup> Cortex-M 处理器上的所有编程，包括异常处理程序，都可以完全用 C 语言完成。<sup>[17](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Technical_Introduction_to_Cortex-M23_and_Cortex-M33.pdf?hash=58D07CBCA6EEF04B8C15DE1C290C8592&revision=26a19892-e4b0-4775-8413-0b9eda75d5d9)</sup> CMSIS-DSP 和 CMSIS-NN 库为该系列上的信号处理和机器学习工作负载提供支持。<sup>[18](https://developer.arm.com/Additional%20Resources/Cortex-M55%20Introductory%20White%20Paper)</sup>

## References

1. [Arm Cortex-M Processor Comparison Table, Arm](https://documentation-service.arm.com/static/655e085f2c8b3557fee7048f)
2. [Arm Helium Technology, Arm](https://www.arm.com/technologies/helium)
3. [A Practical Guide to ARM Cortex-M Exception Handling, Memfault Interrupt blog](https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic)
4. [CMSIS-Core (Cortex-M): Overview, Arm](https://arm-software.github.io/CMSIS_6/latest/Core/index.html)
5. [M-Profile Architectures, Arm](https://www.arm.com/architecture/cpu/m-profile)
6. [Microprocessor Cores and Processor Technology, Arm](https://www.arm.com/products/silicon-ip-cpu)
7. [White Paper: Cortex-M for Beginners, Arm Community (Joseph Yiu)](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/white-paper-cortex-m-for-beginners-an-overview-of-the-arm-cortex-m-processor-family-and-comparison?pifragment-22714=1%3Fpifragment-22714%3D1)
8. [Which toolchain should I use for Helium?, Arm Community](https://developer.arm.com/community/arm-community-blogs/b/tools-software-ides-blog/posts/which-toolchain-should-i-use-for-helium)
9. [Arm Platform Security Architecture: TBSA-M, Arm](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/PSA/DEN0083_PSA_TBSA-M_1.0-bet2.pdf)
10. [Five key features of the Arm Cortex-M33 processor, Arm Community](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/five-key-features-of-the-arm-cortex-m33-processor)
11. [Cortex-M23 and Cortex-M33: security foundation for billions of devices, Arm Community](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/cortex-m23-and-cortex-m33---security-foundation-for-billions-of-devices)
12. [Introducing Cortex-M52, Arm Community](https://developer.arm.com/community/arm-community-blogs/b/internet-of-things-blog/posts/introducing-cortex-m52)
13. [Arm Cortex-M55 Processor Technical Reference Manual, Arm](https://documentation-service.arm.com/static/60e2c2fc677cf7536a55dfef)
14. [Arm Cortex-M55 Processor Datasheet, Arm](https://documentation-service.arm.com/static/6205407494e7af28dd7c9cb5)
15. [Five key features of the Arm Cortex-M23 processor, Arm Community](https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/five-key-features-of-the-arm-cortex-m23-processor)
16. [DSP capabilities of Cortex-M4 and Cortex-M7, Arm white paper](https://developer.arm.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-21-42/7563.ARM-white-paper-_2D00_-DSP-capabilities-of-Cortex_2D00_M4-and-Cortex_2D00_M7.pdf)
17. [Technical Introduction to Cortex-M23 and Cortex-M33, Arm](https://developer.arm.com/-/media/Arm%20Developer%20Community/PDF/Technical_Introduction_to_Cortex-M23_and_Cortex-M33.pdf?hash=58D07CBCA6EEF04B8C15DE1C290C8592&revision=26a19892-e4b0-4775-8413-0b9eda75d5d9)
18. [Introduction to the Arm Cortex-M55 Processor white paper, Arm](https://developer.arm.com/Additional%20Resources/Cortex-M55%20Introductory%20White%20Paper)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: 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-m

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