
The ARM Cortex-M is a group of
32-bit
In computer architecture, 32-bit computing refers to computer systems with a processor, memory, and other major system components that operate on data in a maximum of 32- bit units. Compared to smaller bit widths, 32-bit computers can perform la ...
RISC
In electronics and computer science, a reduced instruction set computer (RISC) is a computer architecture designed to simplify the individual instructions given to the computer to accomplish tasks. Compared to the instructions given to a comp ...
ARM processor cores licensed by
ARM Limited. These cores are optimized for low-cost and energy-efficient integrated circuits, which have been embedded in tens of billions of consumer devices. Though they are most often the main component of
microcontroller
A microcontroller (MC, uC, or μC) or microcontroller unit (MCU) is a small computer on a single integrated circuit. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals. Pro ...
chips, sometimes they are embedded inside other types of chips too. The Cortex-M family consists of Cortex-M0,
Cortex-M0+,
Cortex-M1,
Cortex-M3,
Cortex-M4,
Cortex-M7,
Cortex-M23,
Cortex-M33,
Cortex-M35P,
Cortex-M52,
Cortex-M55,
Cortex-M85.
A
floating-point unit
A floating-point unit (FPU), numeric processing unit (NPU), colloquially math coprocessor, is a part of a computer system specially designed to carry out operations on floating-point numbers. Typical operations are addition, subtraction, multip ...
(FPU) option is available for Cortex-M4 / M7 / M33 / M35P / M52 / M55 / M85 cores, and when included in the silicon these cores are sometimes known as "Cortex-MxF", where 'x' is the core variant.
Overview
The ARM Cortex-M family are ARM microprocessor cores that are designed for use in
microcontroller
A microcontroller (MC, uC, or μC) or microcontroller unit (MCU) is a small computer on a single integrated circuit. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals. Pro ...
s,
ASIC
An application-specific integrated circuit (ASIC ) is an integrated circuit (IC) chip customized for a particular use, rather than intended for general-purpose use, such as a chip designed to run in a digital voice recorder or a high-efficien ...
s,
ASSPs,
FPGA
A field-programmable gate array (FPGA) is a type of configurable integrated circuit that can be repeatedly programmed after manufacturing. FPGAs are a subset of logic devices referred to as programmable logic devices (PLDs). They consist of a ...
s, and
SoCs. Cortex-M cores are commonly used as dedicated microcontroller chips, but also are "hidden" inside of SoC chips as power management controllers, I/O controllers, system controllers, touch screen controllers, smart battery controllers, and sensor controllers.
The main difference from
Cortex-A cores is that Cortex-M cores have no
memory management unit
A memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a computer hardware unit that examines all references to computer memory, memory, and translates the memory addresses being referenced, known as virtual mem ...
(MMU) for
virtual memory
In computing, virtual memory, or virtual storage, is a memory management technique that provides an "idealized abstraction of the storage resources that are actually available on a given machine" which "creates the illusion to users of a ver ...
, considered essential for "full-fledged"
operating systems
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
. Cortex-M programs instead run
bare metal
In information technology, bare machine (or bare-metal computer) is a computer which has no operating system. The software executed by a bare machine, commonly called a "bare metal program" or "bare metal application", is designed to interact dir ...
or on one of the many
real-time operating system
A real-time operating system (RTOS) is an operating system (OS) for real-time computing applications that processes data and events that have critically defined time constraints. A RTOS is distinct from a time-sharing operating system, such as Unix ...
s which
support a Cortex-M.
Though 8-bit microcontrollers were very popular in the past, Cortex-M has slowly been chipping away at the 8-bit market as the prices of low-end Cortex-M chips have moved downward. Cortex-M have become a popular replacements for 8-bit chips in applications that benefit from 32-bit math operations, and replacing older legacy ARM cores such as
ARM7 and
ARM9
ARM9 is a group of 32-bit RISC ARM processor cores licensed by ARM Holdings for microcontroller use. The ARM9 core family consists of ARM9TDMI, ARM940T, ARM9E-S, ARM966E-S, ARM920T, ARM922T, ARM946E-S, ARM9EJ-S, ARM926EJ-S, ARM968E-S, ARM99 ...
.
In particular, the embedded wear-leveling controller inside most
SD card
Secure Digital (SD) is a proprietary, non-volatile, flash memory card format developed by the SD Association (SDA). Owing to their compact size, SD cards have been widely adopted in a variety of portable consumer electronics, including dig ...
s or
flash drives is a (8-bit) 8051 microcontroller or ARM CPU.
License
ARM Limited neither manufactures nor sells CPU devices based on its own designs, but rather licenses the processor architecture to interested parties. Arm offers a variety of licensing terms, varying in cost and deliverables. To all licensees, Arm provides an integratable hardware description of the ARM core, as well as complete software development toolset and the right to sell manufactured
silicon
Silicon is a chemical element; it has symbol Si and atomic number 14. It is a hard, brittle crystalline solid with a blue-grey metallic lustre, and is a tetravalent metalloid (sometimes considered a non-metal) and semiconductor. It is a membe ...
containing the ARM CPU.
Silicon customization
Integrated Device Manufacturers (IDM) receive the ARM Processor
IP as
synthesizable RTL (written in
Verilog
Verilog, standardized as IEEE 1364, is a hardware description language (HDL) used to model electronic systems. It is most commonly used in the design and verification of digital circuits, with the highest level of abstraction being at the re ...
). In this form, they have the ability to perform architectural level optimizations and extensions. This allows the manufacturer to achieve custom design goals, such as higher clock speed, very low power consumption, instruction set extensions (including floating point), optimizations for size, debug support, etc. To determine which components have been included in a particular ARM CPU chip, consult the manufacturer datasheet and related documentation.
Some of the silicon options for the Cortex-M cores are:
* SysTick timer: A 24-bit system timer that extends the functionality of both the processor and the Nested Vectored Interrupt Controller (NVIC). When present, it also provides an additional configurable priority SysTick interrupt.
Though the SysTick timer is optional for the M0/M0+/M1/M23, it is extremely rare to find a Cortex-M microcontroller without it. If a Cortex-M33/M35P/M52/M55/M85 microcontroller has the Security Extension option, then it optionally can have two SysTicks (one Secure, one Non-secure).
* Bit-Band: Maps a complete word of memory onto a single bit in the bit-band region. For example, writing to an alias word will set or clear the corresponding bit in the bit-band region. This allows every individual bit in the bit-band region to be directly accessible from a word-aligned address. In particular, individual bits can be set, cleared, or toggled from C/C++ without performing a read-modify-write sequence of instructions.
Though the bit-band is optional, it is less common to find a Cortex-M3 and Cortex-M4 microcontroller without it. Some Cortex-M0 and Cortex-M0+ microcontrollers have bit-band.
* Memory Protection Unit (MPU): Provides support for protecting regions of memory through enforcing privilege and access rules. It supports up to sixteen different regions, each of which can be split further into equal-size sub-regions.
* Tightly-Coupled Memory (TCM): Low-latency (zero
wait state
A wait state is a delay experienced by a computer processor when accessing external memory or another device that is slow to respond.
Computer microprocessors generally run much faster than the computer's other subsystems, which hold the data the ...
)
SRAM that can be used to hold the
call stack
In computer science, a call stack is a Stack (abstract data type), stack data structure that stores information about the active subroutines and block (programming), inline blocks of a computer program. This type of stack is also known as an exe ...
, RTOS control structures, interrupt data structures,
interrupt handler
In computer systems programming, an interrupt handler, also known as an interrupt service routine (ISR), is a special block of code associated with a specific interrupt condition. Interrupt handlers are initiated by hardware interrupts, software ...
code, and speed critical code. Other than
CPU cache
A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to reduce the average cost (time or energy) to access data from the main memory. A cache is a smaller, faster memory, located closer to a processor core, whi ...
, TCM is the fastest memory in an ARM Cortex-M microcontroller. Since TCM isn't cached and accessible at the same speed as the processor and cache, it could be conceptually described as "addressable cache". There is an ITCM (Instruction TCM) and a DTCM (Data TCM) to allow a
Harvard architecture
The Harvard architecture is a computer architecture with separate computer storage, storage and signal pathways for Machine code, instructions and data. It is often contrasted with the von Neumann architecture, where program instructions and d ...
processor to read from both simultaneously. The DTCM can't contain any instructions, but the ITCM can contain data. Since TCM is tightly connected to the processor core,
DMA engines might not be able to access TCM on some implementations.
* Note: Most Cortex-M3 and M4 chips have bit-band and MPU. The bit-band option can be added to the M0/M0+ using the Cortex-M System Design Kit.
* Note: Software should validate the existence of each feature before attempting to use it.
[Cortex-M3 Embedded Software Development; App Note 179; ARM Limited.](_blank)
/ref>
* Note: Limited public information is available for the Cortex-M35P until its ''Technical Reference Manual'' is released.
''Additional silicon options:''
* Data endianness: Little-endian or big-endian. Unlike legacy ARM cores, the Cortex-M is permanently fixed in silicon as one of these choices.
* Interrupts: 1 to 32 (M0/M0+/M1), 1 to 240 (M3/M4/M7/M23), 1 to 480 (M33/M35P/M52/M55/M85).
* Wake-up interrupt controller: Optional.
* Vector Table Offset Register: Optional. (not available for M0).
* Instruction fetch width: 16-bit only, or mostly 32-bit.
* User/privilege support: Optional.
* Reset all registers: Optional.
* Single-cycle I/O port: Optional. (M0+/M23).
* Debug Access Port (DAP): None, SWD, JTAG and SWD. (optional for all Cortex-M cores)
* Halting debug support: Optional.
* Number of watchpoint comparators: 0 to 2 (M0/M0+/M1), 0 to 4 (M3/M4/M7/M23/M33/M35P/M52/M55/M85).
* Number of breakpoint comparators: 0 to 4 (M0/M0+/M1/M23), 0 to 8 (M3/M4/M7/M33/M35P/M52/M55/M85).
Instruction sets
The Cortex-M0 / M0+ / M1 implement the ARMv6-M architecture, the Cortex-M3 implements the ARMv7-M architecture, the Cortex-M4 / Cortex-M7 implements the ARMv7E-M architecture, the Cortex-M23 / M33 / M35P implement the ARMv8-M architecture, and the Cortex-M52 / M55 / M85 implements the ARMv8.1-M architecture. The architectures are binary instruction upward compatible from ARMv6-M to ARMv7-M to ARMv7E-M. Binary instructions available for the Cortex-M0 / Cortex-M0+ / Cortex-M1 can execute without modification on the Cortex-M3 / Cortex-M4 / Cortex-M7. Binary instructions available for the Cortex-M3 can execute without modification on the Cortex-M4 / Cortex-M7 / Cortex-M33 / Cortex-M35P. Only Thumb-1 and Thumb-2 instruction sets are supported in Cortex-M architectures; the legacy 32-bit ARM instruction set isn't supported.
All Cortex-M cores implement a common subset of instructions that consists of most Thumb-1, some Thumb-2, including a 32-bit result multiply. The Cortex-M0 / Cortex-M0+ / Cortex-M1 / Cortex-M23 were designed to create the smallest silicon die, thus having the fewest instructions of the Cortex-M family.
The Cortex-M0 / M0+ / M1 include Thumb-1 instructions, except new instructions (CBZ, CBNZ, IT) which were added in ARMv7-M architecture. The Cortex-M0 / M0+ / M1 include a minor subset of Thumb-2 instructions (BL, DMB, DSB, ISB, MRS, MSR). The Cortex-M3 / M4 / M7 / M33 / M35P have all base Thumb-1 and Thumb-2 instructions. The Cortex-M3 adds three Thumb-1 instructions, all Thumb-2 instructions, hardware integer divide, and saturation arithmetic
Saturation arithmetic is a version of arithmetic in which all operations, such as addition and multiplication, are limited to a fixed range between a minimum and maximum value.
If the result of an operation is greater than the maximum, it is set ...
instructions. The Cortex-M4 adds DSP instructions and an optional single-precision floating-point unit
A floating-point unit (FPU), numeric processing unit (NPU), colloquially math coprocessor, is a part of a computer system specially designed to carry out operations on floating-point numbers. Typical operations are addition, subtraction, multip ...
(VFPv4-SP). The Cortex-M7 adds an optional double-precision FPU (VFPv5). The Cortex-M23 / M33 / M35P / M52 / M55 / M85 add TrustZone instructions.
* Note: Interrupt latency cycle count assumes: 1) stack located in zero-wait state RAM, 2) another interrupt function not currently executing, 3) Security Extension option doesn't exist, because it adds additional cycles. The Cortex-M cores with a Harvard computer architecture have a shorter interrupt latency than Cortex-M cores with a Von Neumann computer architecture.
* Note: The Cortex-M series includes three new 16-bit Thumb-1 instructions for sleep mode: SEV, WFE, WFI.
* Note: The Cortex-M0 / M0+ / M1 doesn't include these 16-bit Thumb-1 instructions: CBZ, CBNZ, IT.
* Note: The Cortex-M0 / M0+ / M1 only include these 32-bit Thumb-2 instructions: BL, DMB, DSB, ISB, MRS, MSR.
* Note: The Cortex-M0 / M0+ / M1 / M23 only has 32-bit multiply instructions with a lower-32-bit result (32 bit × 32 bit = lower 32 bit), where as the Cortex-M3 / M4 / M7 / M33 / M35P includes additional 32-bit multiply instructions with 64-bit results (32 bit × 32 bit = 64 bit). The Cortex-M4 / M7 (optionally M33 / M35P) include DSP instructions for (16 bit × 16 bit = 32 bit), (32 bit × 16 bit = upper 32 bit), (32 bit × 32 bit = upper 32 bit) multiplications.
* Note: The number of cycles to complete multiply and divide instructions vary across ARM Cortex-M core designs. Some cores have a silicon option for the choice of fast speed or small size (slow speed), so cores have the option of using less silicon with the downside of higher cycle count. An interrupt occurring during the execution of a divide instruction or slow-iterative multiply instruction will cause the processor to abandon the instruction, then restart it after the interrupt returns.
** Multiply instructions "32-bit result" Cortex-M0/M0+/M23 is 1 or 32 cycle silicon option, Cortex-M1 is 3 or 33 cycle silicon option, Cortex-M3/M4/M7/M33/M35P is 1 cycle.
** Multiply instructions "64-bit result" Cortex-M3 is 3–5 cycles (depending on values), Cortex-M4/M7/M33/M35P is 1 cycle.
** Divide instructions Cortex-M3/M4 is 2–12 cycles (depending on values), Cortex-M7 is 3–20 cycles (depending on values), Cortex-M23 is 17 or 34 cycle option, Cortex-M33 is 2–11 cycles (depending on values), Cortex-M35P is TBD.
* Note: Some Cortex-M cores have silicon options for various types of floating point units (FPU). The Cortex-M55 / M85 has an option for half-precision (HP), the Cortex-M4 / M7 / M33 / M35P / M52 / M55 / M85 has an option for single-precision (SP), the Cortex-M7 / M52 / M55 / M85 has an option for double-precision (DP). When an FPU is included, the core is sometimes referred as "Cortex-MxF", where 'x' is the core variant, such as Cortex-M4F.
* Note: MOVW is an alias that means 32-bit "wide" MOV instruction.
* Note: B.W is a long-distance unconditional branch (similar in encoding, operation, and range to BL, minus setting of the LR register).
* Note: For Cortex-M1, WFE / WFI / SEV instructions exist, but execute as a NOP instruction.
* Note: The half-precision (HP) FPU instructions are valid in the Cortex-M52 / M55 / M85 only when the HP FPU option exists in the silicon.
* Note: The single-precision (SP) FPU instructions are valid in the Cortex-M4 / M7 / M33 / M35P / M52 / M55 / M85 only when the SP FPU option exists in the silicon.
* Note: The double-precision (DP) FPU instructions are valid in the Cortex-M7 / M52 / M55 / M85 only when the DP FPU option exists in the silicon.
Deprecations
The ARM architecture for ARM Cortex-M series removed some features from older legacy cores:
* The 32-bit ARM instruction set is not included in Cortex-M cores.
* Endianness is chosen at silicon implementation in Cortex-M cores. Legacy cores allowed "on-the-fly" changing of the data endian mode.
* Co-processor
A coprocessor is a computer processor used to supplement the functions of the primary processor (the CPU). Operations performed by the coprocessor may be floating-point arithmetic, graphics, signal processing, string processing, cryptography or ...
s were not supported on Cortex-M cores, until the silicon option was reintroduced in "ARMv8-M Mainline" for ARM Cortex-M33/M35P cores.
The capabilities of the 32-bit ARM instruction set is duplicated in many ways by the Thumb-1 and Thumb-2 instruction sets, but some ARM features don't have a similar feature:
* The SWP and SWPB (swap) ARM instructions don't have a similar feature in Cortex-M.
The 16-bit Thumb-1 instruction set has evolved over time since it was first released in the legacy ARM7T cores with the ARMv4T architecture. New Thumb-1 instructions were added as each legacy ARMv5 / ARMv6 / ARMv6T2 architectures were released. Some 16-bit Thumb-1 instructions were removed from the Cortex-M cores:
* The "BLX " instruction doesn't exist because it was used to switch from Thumb-1 to ARM instruction set. The "BLX " instruction is still available in the Cortex-M.
* SETEND doesn't exist because on-the-fly switching of data endian mode is no longer supported.
* Co-processor instructions were not supported on Cortex-M cores, until the silicon option was reintroduced in "ARMv8-M Mainline" for ARM Cortex-M33/M35P cores.
* The SWI instruction was renamed to SVC, though the instruction binary coding is the same. However, the SVC handler code is different from the SWI handler code, because of changes to the exception models.
Cortex-M0
The Cortex-M0 core is optimized for small silicon die size and use in the lowest price chips.
Key features of the Cortex-M0 core are:
* ARMv6-M architecture
* 3-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
* Instruction sets:
** Thumb-1 (most), missing CBZ, CBNZ, IT
** Thumb-2 (some), only BL, DMB, DSB, ISB, MRS, MSR
** 32-bit hardware integer multiply with 32-bit result
* 1 to 32 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI
Silicon options:
* Hardware integer multiply speed: 1 or 32 cycles.
Chips
The following microcontrollers are based on the Cortex-M0 core:
* ABOV AC30M1x64
* Cypress
Cypress is a common name for various coniferous trees or shrubs from the ''Cupressus'' genus of the '' Cupressaceae'' family, typically found in temperate climates and subtropical regions of Asia, Europe, and North America.
The word ''cypress'' ...
PSoC 4000, 4100, 4100M, 4200, 4200DS, 4200L, 4200M
* Infineon
Infineon Semiconductor solutions is the largest microcontroller manufacturer in the world, as well as Germany's largest semiconductor manufacturer. It is also the leading automotive semiconductor manufacturer globally. Infineon had roughly 58,0 ...
XMC1100, XMC1200, XMC1300, XMC1400, TLE984x
* Dialog DA1458x, DA1468x
* Nordic nRF51
* NXP LPC1100, LPC1200
LPC (Low Pin Count) is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors (formerly Philips Semiconductors). The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, suc ...
* Nuvoton NuMicro
* Sonix SN32F700
* ST STM32 F0
* Toshiba
is a Japanese multinational electronics company headquartered in Minato, Tokyo. Its diversified products and services include power, industrial and social infrastructure systems, elevators and escalators, electronic components, semiconductors ...
TX00
* Vorago VA10800 (extreme temperature), VA10820 (radiation hardened)
The following chips have a Cortex-M0 as a secondary core:
* NXP LPC4300 (one Cortex-M4F + one Cortex-M0)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
SimpleLink Wireless MCUs CC1310 and CC2650 (one programmable Cortex-M3 + one Cortex-M0 network processor + one proprietary Sensor Controller Engine)
Cortex-M0+
The Cortex-M0+ is an optimized superset of the Cortex-M0. The Cortex-M0+ has complete instruction set compatibility with the Cortex-M0 thus allowing the use of the same compiler and debug tools. The Cortex-M0+ pipeline was reduced from 3 to 2 stages, which lowers the power usage and increases performance (higher average IPC due to branches taking one fewer cycle). In addition to debug features in the existing Cortex-M0, a silicon option can be added to the Cortex-M0+ called the Micro Trace Buffer (MTB) which provides a simple instruction trace buffer. The Cortex-M0+ also received Cortex-M3 and Cortex-M4 features, which can be added as silicon options, such as the memory protection
Memory protection is a way to control memory access rights on a computer, and is a part of most modern instruction set architectures and operating systems. The main purpose of memory protection is to prevent a process from accessing memory that h ...
unit (MPU) and the vector table relocation.
Key features of the Cortex-M0+ core are:
* ARMv6-M architecture
* 2-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
(one fewer than Cortex-M0)
* Instruction sets: (same as Cortex-M0)
** Thumb-1 (most), missing CBZ, CBNZ, IT
** Thumb-2 (some), only BL, DMB, DSB, ISB, MRS, MSR
** 32-bit hardware integer multiply with 32-bit result
* 1 to 32 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI
Silicon options:
* Hardware integer multiply speed: 1 or 32 cycles
* 8-region memory protection unit (MPU) (same as M3 and M4)
* Vector table relocation (same as M3, M4)
* Single-cycle I/O port (available in M0+/M23)
* Micro Trace Buffer (MTB) (available in M0+/M23/M33/M35P)
Chips
The following microcontrollers are based on the Cortex-M0+ core:
* ABOV Semiconductor A31G11x, A31G12x, A31G314
* Cypress
Cypress is a common name for various coniferous trees or shrubs from the ''Cupressus'' genus of the '' Cupressaceae'' family, typically found in temperate climates and subtropical regions of Asia, Europe, and North America.
The word ''cypress'' ...
PSoC 4000S, 4100S, 4100S+, 4100PS, 4700S, FM0+
* Epson S1C31W74, S1C31D01, S1C31D50
* Holtek HT32F52000
* Microchip
An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
SAM C2, D0, D1, D2, DA, L2, R2, R3; and PIC32CM JH and MC
* NXP LPC800, LPC11E60, LPC11U60
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) Kinetis E, EA, L, M, V1, W0, S32K11x
* Raspberry Pi
Raspberry Pi ( ) is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in collaboration with Broadcom Inc., Broadcom. To commercialize the product and support its growing demand, the ...
RP2040 (two M0+ cores)
* Renesas S124, S128, RE, RE01
* Silicon Labs ( Energy Micro) EFM32 Zero, Happy
* ST STM32 L0, G0, C0, WL (one Cortex-M4 + one Cortex-M0+)
The following chips have a Cortex-M0+ as a secondary core:
* Cypress
Cypress is a common name for various coniferous trees or shrubs from the ''Cupressus'' genus of the '' Cupressaceae'' family, typically found in temperate climates and subtropical regions of Asia, Europe, and North America.
The word ''cypress'' ...
PSoC 6200 (one Cortex-M4F + one Cortex-M0+)
* ST WB (one Cortex-M4F + one Cortex-M0+)
The smallest ARM microcontrollers are of the Cortex-M0+ type (as of 2014, smallest at 1.6 mm by 2 mm in a chip-scale package is Kinetis KL03).
On 21 June 2018, the " world's smallest computer'", or computer device was announced based on the ARM Cortex-M0+ (and including RAM and wireless transmitters and receivers based on photovoltaics
Photovoltaics (PV) is the conversion of light into electricity using semiconducting materials that exhibit the photovoltaic effect, a phenomenon studied in physics, photochemistry, and electrochemistry. The photovoltaic effect is commerciall ...
) by University of Michigan
The University of Michigan (U-M, U of M, or Michigan) is a public university, public research university in Ann Arbor, Michigan, United States. Founded in 1817, it is the oldest institution of higher education in the state. The University of Mi ...
researchers at the 2018 Symposia on VLSI Technology and Circuits with the paper "A 0.04mm3 16nW Wireless and Batteryless Sensor System with Integrated Cortex-M0+ Processor and Optical Communication for Cellular Temperature Measurement." The device is one-tenth the size of IBM's previously claimed world-record-sized computer from months back in March 2018, which is smaller than a grain of salt.
Cortex-M1
The Cortex-M1 is an optimized core especially designed to be loaded into FPGA
A field-programmable gate array (FPGA) is a type of configurable integrated circuit that can be repeatedly programmed after manufacturing. FPGAs are a subset of logic devices referred to as programmable logic devices (PLDs). They consist of a ...
chips.
Key features of the Cortex-M1 core are:
* ARMv6-M architecture
* 3-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
.
* Instruction sets:
** Thumb-1 (most), missing CBZ, CBNZ, IT.
** Thumb-2 (some), only BL, DMB, DSB, ISB, MRS, MSR.
** 32-bit hardware integer multiply with 32-bit result.
* 1 to 32 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI.
Silicon options:
* Hardware integer multiply speed: 3 or 33 cycles.
* Optional Tightly-Coupled Memory (TCM): 0 to 1 MB instruction-TCM, 0 to 1 MB data-TCM, each with optional ECC.
* External interrupts: 0, 1, 8, 16, 32.
* Debug: none, reduced, full.
* Data endianness: little-endian or BE-8 big-endian.
* OS extension: present or absent.
Chips
The following vendors support the Cortex-M1 as soft-cores on their FPGA chips:
* Altera
Altera Corporation is a manufacturer of programmable logic devices (PLDs) headquartered in San Jose, California. It was founded in 1983 and acquired by Intel in 2015 before becoming independent once again in 2025 as a company focused on developm ...
Cyclone-II, Cyclone-III, Stratix-II, Stratix-III
* GOWIN M1
* Actel/Microsemi
Microsemi Corporation was an Aliso Viejo, California-based provider of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets.
In February 2018, it was announced that Chandler, Arizona-ba ...
/Microchip
An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
Fusion, IGLOO/e, ProASIC3L, ProASIC3/E
* Xilinx
Xilinx, Inc. ( ) was an American technology and semiconductor company that primarily supplied programmable logic devices. The company is renowned for inventing the first commercially viable field-programmable gate array (FPGA). It also pioneered ...
Spartan-3, Virtex-2, Virtex-3, Virtex-4, Artix-7
Cortex-M3
Key features of the Cortex-M3 core are:
* ARMv7-M architecture
* 3-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
with branch speculation.
* Instruction sets:
** Thumb-1 (entire).
** Thumb-2 (entire).
** 32-bit hardware integer multiply with 32-bit or 64-bit result, signed or unsigned, add or subtract after the multiply. 32-bit multiply is 1 cycle, but 64-bit multiply and MAC instructions require extra cycles.
** 32-bit hardware integer divide (2–12 cycles).
** saturation arithmetic
Saturation arithmetic is a version of arithmetic in which all operations, such as addition and multiplication, are limited to a fixed range between a minimum and maximum value.
If the result of an operation is greater than the maximum, it is set ...
support.
* 1 to 240 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI.
* 12 cycle interrupt latency.
* Integrated sleep modes.
Silicon options:
* Optional Memory Protection Unit (MPU): 0 or 8 regions.
Chips
The following microcontrollers are based on the Cortex-M3 core:
* ABOV AC33Mx128, AC33Mx064
* Actel/Microsemi
Microsemi Corporation was an Aliso Viejo, California-based provider of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets.
In February 2018, it was announced that Chandler, Arizona-ba ...
/Microchip
An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
SmartFusion, SmartFusion 2 (FPGA)
* Analog Devices
Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational corporation, multinational semiconductor company specializing in data conversion, signal processing, and power management technology, headquartered in Wilming ...
ADUCM360, ADUCM361, ADUCM3029
* Broadcom
Broadcom Inc. is an American multinational corporation, multinational designer, developer, manufacturer, and global supplier of a wide range of semiconductor and infrastructure software products. Broadcom's product offerings serve the data cen ...
Wi-Fi Chip BCM4319XKUBG
* Cypress
Cypress is a common name for various coniferous trees or shrubs from the ''Cupressus'' genus of the '' Cupressaceae'' family, typically found in temperate climates and subtropical regions of Asia, Europe, and North America.
The word ''cypress'' ...
PSoC 5000, 5000LP, FM3
* Holtek HT32F
* Infineon
Infineon Semiconductor solutions is the largest microcontroller manufacturer in the world, as well as Germany's largest semiconductor manufacturer. It is also the leading automotive semiconductor manufacturer globally. Infineon had roughly 58,0 ...
TLE9860, TLE987x
* Microchip (Atmel) SAM 3A, 3N, 3S, 3U, 3X
* NXP LPC1300, LPC1700, LPC1800
* ON Q32M210
* Realtek
Realtek Semiconductor Corp. () is a Taiwanese fabless semiconductor company situated in the Hsinchu Science Park, Hsinchu, Taiwan. Realtek was founded in October 1987 and subsequently listed on the Taiwan Stock Exchange in 1998. Realtek has manu ...
RTL8710
* Silicon Labs Precision32
* Silicon Labs ( Energy Micro) EFM32 Tiny, Gecko, Leopard, Giant
* ST STM32 F1, F2, L1, W
* TDK-Micronas HVC4223F
* Texas Instruments F28, LM3, TMS470, OMAP 4, SimpleLink Wireless MCUs (CC1310 Sub-GHz and CC2650 BLE+Zigbee
Zigbee is an IEEE 802.15.4-based specification for a suite of high-level communication protocols used to create personal area networks with small, low-power digital radios, such as for home automation, medical device data collection, and oth ...
+ 6LoWPAN)
* Toshiba
is a Japanese multinational electronics company headquartered in Minato, Tokyo. Its diversified products and services include power, industrial and social infrastructure systems, elevators and escalators, electronic components, semiconductors ...
TX03
* mindmotion mindmotion MM32
The following chips have a Cortex-M3 as a secondary core:
* Apple A9 (Cortex-M3 as integrated M9 motion co-processor)
* CSR Quatro 5300 (Cortex-M3 as co-processor)
* Samsung
Samsung Group (; stylised as SΛMSUNG) is a South Korean Multinational corporation, multinational manufacturing Conglomerate (company), conglomerate headquartered in the Samsung Town office complex in Seoul. The group consists of numerous a ...
Exynos
The Samsung Exynos (stylized as SΛMSUNG Exynos), formerly Hummingbird (), is a series of ARM architecture, Arm-based System on a chip, system-on-chips developed by Samsung Electronics' System LSI division and manufactured by Samsung Foundry. I ...
7420 (Cortex-M3 as a DVS microcontroller)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
F28, LM3, TMS470, OMAP 4470 (one Cortex-A9 + two Cortex-M3)
* XMOS XS1-XA (seven xCORE + one Cortex-M3)
The following FPGAs include a Cortex-M3 core:
* Microsemi
Microsemi Corporation was an Aliso Viejo, California-based provider of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets.
In February 2018, it was announced that Chandler, Arizona-ba ...
SmartFusion2 SoC
The following vendors support the Cortex-M3 as soft-cores on their FPGA chips:
* Altera
Altera Corporation is a manufacturer of programmable logic devices (PLDs) headquartered in San Jose, California. It was founded in 1983 and acquired by Intel in 2015 before becoming independent once again in 2025 as a company focused on developm ...
Cyclone-II, Cyclone-III, Stratix-II, Stratix-III
* Xilinx
Xilinx, Inc. ( ) was an American technology and semiconductor company that primarily supplied programmable logic devices. The company is renowned for inventing the first commercially viable field-programmable gate array (FPGA). It also pioneered ...
Spartan-3, Virtex-2, Virtex-3, Virtex-4, Artix-7
Cortex-M4
Conceptually the Cortex-M4 is a Cortex-M3 plus DSP instructions, and optional floating-point unit (FPU). A core with an FPU is known as Cortex-M4F.
Key features of the Cortex-M4 core are:
* ARMv7E-M architecture
* 3-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
with branch speculation.
* Instruction sets:
** Thumb-1 (entire).
** Thumb-2 (entire).
** 32-bit hardware integer multiply with 32-bit or 64-bit result, signed or unsigned, add or subtract after the multiply. 32-bit Multiply and MAC are 1 cycle.
** 32-bit hardware integer divide (2–12 cycles).
** Saturation arithmetic
Saturation arithmetic is a version of arithmetic in which all operations, such as addition and multiplication, are limited to a fixed range between a minimum and maximum value.
If the result of an operation is greater than the maximum, it is set ...
support.
** DSP extension: Single cycle 16/32-bit MAC, single cycle dual 16-bit MAC, 8/16-bit SIMD
Single instruction, multiple data (SIMD) is a type of parallel computer, parallel processing in Flynn's taxonomy. SIMD describes computers with multiple processing elements that perform the same operation on multiple data points simultaneousl ...
arithmetic.
* 1 to 240 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI.
* 12 cycle interrupt latency.
* Integrated sleep modes.
Silicon options:
* Optional floating-point unit (FPU): single-precision only IEEE-754 compliant. It is called the FPv4-SP extension.
* Optional memory protection unit (MPU): 0 or 8 regions.
Chips
The following microcontrollers are based on the Cortex-M4 core:
* Analog Devices
Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational corporation, multinational semiconductor company specializing in data conversion, signal processing, and power management technology, headquartered in Wilming ...
ADSP-CM40x
* Microchip (Atmel) SAM 4L, 4N, 4S
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) Kinetis K, W2
* ST ( STM32) WL (one Cortex-M4 + one Cortex-M0+)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
SimpleLink Wi-Fi
Wi-Fi () is a family of wireless network protocols based on the IEEE 802.11 family of standards, which are commonly used for Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
CC32xx, CC32xxMOD
The following microcontrollers are based on the Cortex-M4F (M4 + FPU) core:
* Analog Devices
Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational corporation, multinational semiconductor company specializing in data conversion, signal processing, and power management technology, headquartered in Wilming ...
ADUCM4050
* Cypress
Cypress is a common name for various coniferous trees or shrubs from the ''Cupressus'' genus of the '' Cupressaceae'' family, typically found in temperate climates and subtropical regions of Asia, Europe, and North America.
The word ''cypress'' ...
6200 (one Cortex-M4F + one Cortex-M0+), FM4
* Infineon
Infineon Semiconductor solutions is the largest microcontroller manufacturer in the world, as well as Germany's largest semiconductor manufacturer. It is also the leading automotive semiconductor manufacturer globally. Infineon had roughly 58,0 ...
XMC4000
* Maxim
Maxim or Maksim may refer to:
Entertainment
*Maxim (magazine), ''Maxim'' (magazine), an international men's magazine
** Maxim (Australia), ''Maxim'' (Australia), the Australian edition
** Maxim (India), ''Maxim'' (India), the Indian edition
*Maxim ...
Darwin
* Microchip (Atmel) SAM4C (Dual core: one Cortex-M4F + one Cortex-M4), SAM4E, SAM4L, SAM4N, SAM4S, SAMG5, SAMD5/E5x
* Nordic nRF52
* Nuvoton NuMicro M480
* NXP LPC4000, LPC4300 (one Cortex-M4F + one Cortex-M0), LPC54000
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) Kinetis K, V3, V4, S32K14x
* Renesas S3, S5, S7, RA4, RA6
* Silicon Labs ( Energy Micro) EFM32 Wonder
* ST STM32 F3, F4, L4, L4+, G4, WB (one Cortex-M4F + one Cortex-M0+)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
LM4F, TM4C, MSP432, CC13x2R, CC1352P, CC26x2R
* Toshiba
is a Japanese multinational electronics company headquartered in Minato, Tokyo. Its diversified products and services include power, industrial and social infrastructure systems, elevators and escalators, electronic components, semiconductors ...
TX04
The following chips have either a Cortex-M4 or M4F as a secondary core:
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) Vybrid VF6 (one Cortex-A5 + one Cortex-M4F)
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) i.MX 6 SoloX (one Cortex-A9 + one Cortex-M4F)
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) i.MX 7 Solo/Dual (one or two Cortex-A7 + one Cortex-M4F)
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) i.MX 8 (two Cortex-A72 + four Cortex-A53 + two Cortex-M4F)
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) i.MX 8M and 8M Mini (four Cortex-A53 + one Cortex-M4F)
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) i.MX 8X (four Cortex-A35 + one Cortex-M4F)
* ST STM32MP1 (one or two Cortex-A7 + one Cortex-M4)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
OMAP 5 (two Cortex-A15s + two Cortex-M4)
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
Sitara AM5700 (one or two Cortex-A15s + two Cortex-M4s as image processing units + two Cortex-M4s as general purpose units)
Cortex-M7
The Cortex-M7 is a high-performance core with almost double the power efficiency of the older Cortex-M4. It features a 6-stage superscalar
A superscalar processor (or multiple-issue processor) is a CPU that implements a form of parallelism called instruction-level parallelism within a single processor. In contrast to a scalar processor, which can execute at most one single in ...
pipeline with branch prediction
In computer architecture, a branch predictor is a digital circuit that tries to guess which way a branch (e.g., an if–then–else structure) will go before this is known definitively. The purpose of the branch predictor is to improve the flow ...
and an optional floating-point unit capable of single-precision and optionally double-precision operations. The instruction and data buses have been enlarged to 64-bit wide over the previous 32-bit buses. If a core contains an FPU, it is known as a Cortex-M7F, otherwise it is a Cortex-M7.
Key features of the Cortex-M7 core are:
* ARMv7E-M architecture.
* 6-stage pipeline
A pipeline is a system of Pipe (fluid conveyance), pipes for long-distance transportation of a liquid or gas, typically to a market area for consumption. The latest data from 2014 gives a total of slightly less than of pipeline in 120 countries ...
with branch speculation. Second-longest of all ARM Cortex-M cores, with the first being Cortex-M85.
* Instruction sets:
** Thumb-1 (entire).
** Thumb-2 (entire).
** 32-bit hardware integer multiply with 32-bit or 64-bit result, signed or unsigned, add or subtract after the multiply. 32-bit Multiply and MAC are 1 cycle.
** 32-bit hardware integer divide (2–12 cycles).
** Saturation arithmetic
Saturation arithmetic is a version of arithmetic in which all operations, such as addition and multiplication, are limited to a fixed range between a minimum and maximum value.
If the result of an operation is greater than the maximum, it is set ...
support.
** DSP extension: Single cycle 16/32-bit MAC, single cycle dual 16-bit MAC, 8/16-bit SIMD
Single instruction, multiple data (SIMD) is a type of parallel computer, parallel processing in Flynn's taxonomy. SIMD describes computers with multiple processing elements that perform the same operation on multiple data points simultaneousl ...
arithmetic.
* 1 to 240 interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
s, plus NMI.
* 12 cycle interrupt latency.
* Integrated sleep modes.
Silicon options:
* Optional floating-point unit (FPU): (single precision) or (single and double-precision), both IEEE-754-2008 compliant. It is called the FPv5 extension.
* Optional CPU cache
A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to reduce the average cost (time or energy) to access data from the main memory. A cache is a smaller, faster memory, located closer to a processor core, whi ...
: 0 to 64 KB instruction-cache, 0 to 64 KB data-cache, each with optional ECC.
* Optional Tightly-Coupled Memory (TCM): 0 to 16 MB instruction-TCM, 0 to 16 MB data-TCM, each with optional ECC.
* Optional Memory Protection Unit (MPU): 8 or 16 regions.
* Optional Embedded Trace Macrocell (ETM): instruction-only, or instruction and data.
* Optional Retention Mode (with Arm Power Management Kit) for Sleep Modes.
* Optional dual-redundant lock-step operation.
Chips
The following microcontrollers are based on the Cortex-M7 core:
* Microchip (Atmel) SAM E7, S7, V7
* NXP (Freescale
Freescale Semiconductor, Inc. was an American semiconductor manufacturer. It was created by the divestiture of the Semiconductor Products Sector of Motorola in 2004. Freescale focused their integrated circuit products on the automotive, embedde ...
) Kinetis KV5x, i.MX RT, S32K3xx
* ST STM32 F7, H7
Cortex-M23
The Cortex-M23 core was announced in October 2016[New ARM Cortex-M processors offer the next industry standard for secure IoT; ARM Limited; October 25, 2016.](_blank)
/ref> and based on the ARMv8-M architecture that was previously announced in November 2015.[ARMv8-M Architecture Simplifies Security for Smart Embedded Devices; ARM Limited; November 10, 2015.](_blank)
/ref> Conceptually the Cortex-M23 is similar to a Cortex-M0+ plus integer divide instructions and TrustZone security features, and also has a 2-stage instruction pipeline
In computer engineering, instruction pipelining is a technique for implementing instruction-level parallelism within a single processor. Pipelining attempts to keep every part of the processor busy with some instruction by dividing incoming Mac ...
.
Key features of the Cortex-M23 core are:
* ARMv8-M Baseline architecture.
* 2-stage pipeline. (similar to Cortex-M0+)
* TrustZone security instructions.
* 32-bit hardware integer divide (17 or 34 cycles).(slower than divide in all other cores)
* Stack limit boundaries. (available only with SAU option)
Silicon options:
* Hardware integer multiply speed: 1 or 32 cycles.
* Hardware integer divide speed: 17 or 34 cycles maximum. Depending on divisor, instruction may complete in fewer cycles.
* Optional Memory Protection Unit (MPU): 0, 4, 8, 12, 16 regions.
* Optional Security Attribution Unit (SAU): 0, 4, 8 regions.
* Single-cycle I/O port (available in M0+/M23).
* Micro Trace Buffer (MTB)
Chips
The following microcontrollers are based on the Cortex-M23 core:
* GigaDevice GD32E2xx
* Microchip
An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
SAM L10, L11, and PIC 32CM-LE 32CM-LS
* Nuvoton M23xx family, M2xx family, NUC1262, M2L31
* Renesas S1JA, RA2A1, RA2L1, RA2E1, RA2E2
Cortex-M33
The Cortex-M33 core was announced in October 2016 and based on the ARMv8-M architecture that was previously announced in November 2015. Conceptually the Cortex-M33 is similar to a cross of Cortex-M4 and Cortex-M23, and also has a 3-stage instruction pipeline
In computer engineering, instruction pipelining is a technique for implementing instruction-level parallelism within a single processor. Pipelining attempts to keep every part of the processor busy with some instruction by dividing incoming Mac ...
.
Key features of the Cortex-M33 core are:
* ARMv8-M Mainline architecture.
* 3-stage pipeline.
* TrustZone security instructions.
* 32-bit hardware integer divide (11 cycles maximum).
* Stack limit boundaries. (available only with SAU option)
Silicon options:
* Optional Floating-Point Unit (FPU): single-precision only IEEE-754 compliant. It is called the FPv5 extension.
* Optional Memory Protection Unit (MPU): 0, 4, 8, 12, 16 regions.
* Optional Security Attribution Unit (SAU): 0, 4, 8 regions.
* Micro Trace Buffer (MTB)
Chips
The following microcontrollers are based on the Cortex-M33 core:
* Analog Devices
Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational corporation, multinational semiconductor company specializing in data conversion, signal processing, and power management technology, headquartered in Wilming ...
ADUCM4
* Dialog DA1469x
* GigaDevice GD32E5, GD32W5
* Nordic nRF91, nRF5340, nRF54, nRF54H20
* NXP LPC5500, i.MX RT600, MCX N94x/54x (dual core)
* ON RSL15
* Renesas RA4, RA6
* ST STM32 H5, L5, U5, WBA
* Silicon Labs Wireless Gecko Series 2
* Texas Instruments
Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
br>CC3501E
CC3551E
* Raspberry Pi
Raspberry Pi ( ) is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in collaboration with Broadcom Inc., Broadcom. To commercialize the product and support its growing demand, the ...
RP2350
The following chips have a Cortex-M33 or M33F as a secondary core:
* Infineon
Infineon Semiconductor solutions is the largest microcontroller manufacturer in the world, as well as Germany's largest semiconductor manufacturer. It is also the leading automotive semiconductor manufacturer globally. Infineon had roughly 58,0 ...
PSoC Edge
* ST STM32MP2 (one or two Cortex-A35 + one Cortex-M33)
Cortex-M35P
The Cortex-M35P core was announced in May 2018 and based on the Armv8-M architecture. It is conceptually a Cortex-M33 core with a new instruction cache, plus new tamper-resistant hardware concepts borrowed from the ARM SecurCore family, and configurable parity and ECC features.
Currently, information about the Cortex-M35P is limited, because its ''Technical Reference Manual'' and ''Generic User Guide'' haven't been released yet.
Chips
The following microcontrollers are based on the Cortex-M35P core:
* STMicroelectronics
STMicroelectronics Naamloze vennootschap, NV (commonly referred to as ST or STMicro) is a European multinational corporation, multinational semiconductor contract manufacturing and design company. It is the largest of such companies in Europe. ...
ST33K
Cortex-M52
The Cortex-M52 core was announced in November 2023 and based on the Armv8.1-M architecture. Conceptually, it can be seen as a cross between the Cortex-M33 and the Cortex-M55. Key differences are that its Helium co-processor is single beat (the M55 is dual beat), and it has a 32-bit main bus similar to the M33 to ease transition of applications. It has a 4 stage instruction pipeline.
Key features of the Cortex-M52 core include:
* ARMv8.1-M Mainline/Helium architecture.
* 4-stage pipeline.
* Stack limit boundaries (available only with SAU option).
* 32-bit main bus (AHB or AXI)
Silicon options:
* Helium (M-Profile Vector Extension, MVE)
* Pointer Authentication and Branch Target Identification Extension
* Single-Precision and Double-Precision floating-point
* Digital Signal Processing (DSP) extension support
* TrustZone security extension support
* Safety and reliability (RAS) support
* Coprocessor support
* Secure and Non-secure MPU with 0, 4, 8, 12, or 16 regions
* SAU with 0, 4, or 8 regions
* Instruction cache with size of up to 64 KB
* Data cache with size of up to 64 KB
* ECC on caches and TCMs
* 1–480 interrupts
* 3–8 exception priority bits
* Internal and external WIC options, optional CTI, ITM, and DWT
* ARM Custom Instructions
Chips
The following microcontrollers are based on the Cortex M52 core
* Geehy Semiconductor G32R5
Cortex-M55
The Cortex-M55 core was announced in February 2020 and based on the Armv8.1-M architecture. It has a 4 or 5 stage instruction pipeline.
Key features of the Cortex-M55 core include:
* ARMv8.1-M Mainline/Helium architecture.
* 4-stage pipeline.
* Stack limit boundaries (available only with SAU option).
* 64-bit AXI main bus
Silicon options:
* Helium (M-Profile Vector Extension, MVE)
* Single-Precision and Double-Precision floating-point
* Digital Signal Processing (DSP) extension support
* TrustZone security extension support
* Safety and reliability (RAS) support
* Coprocessor support
* Secure and Non-secure MPU with 0, 4, 8, 12, or 16 regions
* SAU with 0, 4, or 8 regions
* Instruction cache with size of 4 KB, 8 KB, 16 KB, 32 KB, 64 KB
* Data cache with size of 4 KB, 8 KB, 16 KB, 32 KB, 64 KB
* ECC on caches and TCMs
* 1–480 interrupts
* 3–8 exception priority bits
* Internal and external WIC options, optional CTI, ITM, and DWT
* ARM Custom Instructions
Chips
Alif Semiconductor
Ensemble & Balletto MCU families offer single or dual Cortex-M55 cores, each paired with Ethos-U55 NPUs
* Infineon
Infineon Semiconductor solutions is the largest microcontroller manufacturer in the world, as well as Germany's largest semiconductor manufacturer. It is also the leading automotive semiconductor manufacturer globally. Infineon had roughly 58,0 ...
PSoC Edge
* ST STM32 N6
Cortex-M85
The Cortex-M85 core was announced in April 2022 and based on the Armv8.1-M architecture. It has a 7-stage instruction pipeline.
Silicon options:
* Optional CPU cache
A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to reduce the average cost (time or energy) to access data from the main memory. A cache is a smaller, faster memory, located closer to a processor core, whi ...
: 0 to 64 KB instruction-cache, 0 to 64 KB data-cache, each with optional ECC.
* Optional Tightly-Coupled Memory (TCM): 0 to 16 MB instruction-TCM, 0 to 16 MB data-TCM, each with optional ECC.
* Optional Memory Protection Unit (MPU): 16 regions. Can have separate ones for secure and non-secure mode if TrustZone is implemented.
* Up to 480 interrupts and NMI
* 3–8 exception priority bits
* Optional dual-redundant lock-step operation.
Chips
* Renesas RA8
Development tools
Documentation
The documentation for ARM chips is extensive. In the past, 8-bit microcontroller documentation would typically fit in a single document, but as microcontrollers have evolved, so has everything required to support them. A documentation package for ARM chips typically consists of a collection of documents from the IC manufacturer as well as the CPU core vendor ( ARM Limited).
A typical top-down documentation tree is:
;Documentation tree (top to bottom)
# IC manufacturer website.
# IC manufacturer marketing slides.
# IC manufacturer datasheet for the exact physical chip.
# IC manufacturer reference manual that describes common peripherals and aspects of a physical chip family.
# ARM core website.
# ARM core generic user guide.
# ARM core technical reference manual.
# ARM architecture reference manual.
IC manufacturers have additional documents, such as: evaluation board user manuals, application notes, getting started guides, software library documents, errata, and more. See External links
An internal link is a type of hyperlink on a web page to another page or resource, such as an image or document, on the same website or domain. It is the opposite of an external link, a link that directs a user to content that is outside its d ...
section for links to official Arm documents.
See also
* ARM architecture
ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of reduced instruction set computer, RISC instruction set architectures (ISAs) for central processing unit, com ...
* List of ARM architectures and cores
* Interrupt
In digital computers, an interrupt (sometimes referred to as a trap) is a request for the processor to ''interrupt'' currently executing code (when permitted), so that the event can be processed in a timely manner. If the request is accepted ...
, Interrupt handler
In computer systems programming, an interrupt handler, also known as an interrupt service routine (ISR), is a special block of code associated with a specific interrupt condition. Interrupt handlers are initiated by hardware interrupts, software ...
* Real-time operating system
A real-time operating system (RTOS) is an operating system (OS) for real-time computing applications that processes data and events that have critically defined time constraints. A RTOS is distinct from a time-sharing operating system, such as Unix ...
, Comparison of real-time operating systems
References
Further reading
* ''Designer's Guide to the Cortex-M Processor Family''; 3rd Ed; Trevor Martin; 648 pages; 2022; .
* ''Definitive Guide to the ARM Cortex-M0 and Cortex-M0+ Processors''; 2nd Ed; Joseph Yiu; 784 pages; 2015; .
* ''Definitive Guide to the ARM Cortex-M3 and Cortex-M4 Processors''; 3rd Ed; Joseph Yiu; 864 pages; 2013; .
* ''Definitive Guide to the ARM Cortex-M23 and Cortex-M33 Processors''; 1st Ed; Joseph Yiu; 928 pages; 2020; .
* ''Microcontrollers with C: Cortex-M and Beyond''; 1st Ed; Klaus Elk; 227 pages; 2023; .
* ''Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C''; 4th Ed; Yifeng Zhu; 730 pages; 2023; .
* ''ARM Assembly for Embedded Applications''; 5th Ed; Daniel Lewis; 379 pages; 2019; .
* ''Assembly Language Programming: ARM Cortex-M3''; 1st Ed; Vincent Mahout; 256 pages; 2012; .
* ''Digital Signal Processing and Applications Using the ARM Cortex-M4''; 1st Ed; Donald Reay; 320 pages; 2015; .
* ''Hands-On RTOS with Microcontrollers''; 1st Ed; Brian Amos; 496 pages; 2020; .
External links
;ARM Cortex-M official documents
ARM Cortex-M official website
Cortex-M for Beginners
arm.com
ARMv8-M Security Extensions
arm.com
arm.com
:
;Quick reference cards
* Instructions: Thumb-1
1
, ARM and Thumb-2
2
, Vector Floating-Point
3
arm.com
* Opcodes: Thumb-1
1
2
, ARM
3
4
, GNU Assembler Directives
5
.
;Migrating
Migrating from 8051 to Cortex-M3
– arm.com
Migrating from PIC to Cortex-M3
– arm.com
Migrating from ARM7TDMI to Cortex-M3
– arm.com
Migrating from Cortex-M4 to Cortex-M7
– keil.com
;Other
Bit Banding on STM32 Cortex-M microcontrollers
{{Clear
ARM processors
32-bit microprocessors