As we all know, after the classic ARM11 processor, ARM has adopted the Cortex naming convention, dividing its products into three categories: A, R, and M, aimed at serving various markets, which coincidentally correspond to the three letters of ARM. The Cortex series belongs to the ARMv7 architecture, which was the latest instruction set architecture from ARM until 2010. (In 2011, the ARMv8 architecture was launched at TechCon.) The ARMv7 architecture defines three clearly defined series: the ‘A’ series is aimed at cutting-edge virtual memory-based operating systems and user applications; the ‘R’ series targets real-time systems; and the ‘M’ series is for microcontrollers. Now, we will introduce the ‘pig’s foot’, which is the Cortex-M family of processors under the Cortex series, so please listen to my detailed explanation.
1. Development of the Cortex M Family
After years of development, the Cortex-M family has evolved from the initially cost-effective Cortex-M0 and the highly efficient Cortex-M0+ processors to the currently flexible Cortex-M33 and the highest performance Cortex-M7 processors, resulting in seven different models of processor products, each with different performance parameters, as shown in the comparison chart below.
Of course, evaluating a processor’s advantages and disadvantages cannot be done solely based on performance; it is also crucial to consider suitability. For example, high-performance processors often have high power consumption, which can lead to heat dissipation issues, while low-power, high-efficiency processors may not perform well. Therefore, when selecting a processor, it is essential to consider the functional preferences of your product and its application areas, etc., and choose a suitable processor based on your actual needs.
The large number of models in the Cortex-M family, along with their varied performance, meets the diverse needs of different customers, allowing ATMEL to have over 40 ARM partners, including leading suppliers such as NXP Semiconductors, STMicroelectronics, Texas Instruments, and Toshiba. Using standard processors enables ARM partners to create devices with a consistent architecture while allowing them to focus on creating excellent device implementations. In other words, the core of everyone’s devices is the same; using processors from the same company allows for better compatibility among devices, relieving suppliers of concerns about compatibility issues and enabling them to focus on creating better devices.
2. Why Choose
This section will briefly introduce the currently popular M0, M3, and M4, and discuss the reasons for choosing them.
1. Why Choose Cortex-M0
It is rightly said to be the lowest power and smallest ARM processor, as the Cortex-M0 processor consumes only 85 µW/MHz (0.085 mW) within an area of less than 12 K gates, which is unmatched in the entire ARM processor series. The code density and energy efficiency advantages of M0 make it a naturally cost-effective upgrade for various 8/16-bit applications, while maintaining binary upward compatibility with the feature-rich Cortex-M3 processor.
Simply put, the M0 instruction set has only 56 instructions, making it easy to master the entire Cortex-M0 instruction set (if needed); however, its C language-friendly architecture means this is not necessary. The deterministic instructions and interrupt timing available make it very easy to calculate response times.
The optimized connectivity of M0 is designed to support low-power connections such as Bluetooth Low Energy (BLE), IEEE 802.15, and Z-wave, especially in analog devices that are increasing their digital capabilities to effectively preprocess and transmit data.
2. Why Choose Cortex-M3
As one of the few processors with high performance and low dynamic power consumption, the Cortex-M3 processor offers leading efficiency: 12.5 DMIPS/mW based on 90nm technology. By combining an integrated sleep mode with an optional state retention feature, the Cortex-M3 processor ensures that there is no compromise for applications that require both low power consumption and excellent performance.
The full functionality allows the M3 processor to execute the Thumb®-2 instruction set for optimal performance and code size, including hardware division, single-cycle multiplication, and bit-field operations. The Cortex-M3 NVIC is highly configurable by design, providing up to 240 system interrupts with individual priorities, dynamic re-prioritization, and an integrated system clock.
3. Why Choose Cortex-M4
The ARM Cortex-M4 processor is the latest embedded processor developed specifically by ARM, enhancing the computational capabilities of the M3 with the addition of floating-point, DSP, and parallel computing capabilities to meet the needs of the digital signal control market that requires effective and easy-to-use control and signal processing functions. Its efficient signal processing capabilities, combined with the low power consumption, low cost, and user-friendly advantages of the Cortex-M processor series, provide flexible solutions for emerging categories focused on motor control, automotive, power management, embedded audio, and industrial automation markets.
In summary, as mentioned before, when selecting a processor, it is essential not to focus solely on the quality of the processor; suitability is the most important factor!
Source: China Electric Network
MCU Development Gas Station
Follow the latest news and related technology applications in MCU development, exchange insights on innovative MCU design, and connect with MCU development experts!