《cortex-m3到cortex-m4的移植》.pdf
文本预览下载声明
Migrating from Cortex-M3 to Cortex-M4
Roy Luo
Global Technology Centre
element14 (Formerly Premier Farnell)
March 2011
1 Introduction
The ARM Cortex-M4 processor is the latest embedded processor by ARM specifically
developed to address digital signal control markets that demand an efficient, easy-to-use
blend of control and signal processing capabilities in microcontroller applications.
The combination of high-efficiency signal processing functionality with the low-power, low
cost and ease-of-use benefits of the Cortex-M family of processors is designed to satisfy
the emerging category of flexible solutions specifically targeting the motor control,
automotive, power management, embedded audio and industrial automation markets.
The Cortex-M4 processor extends the use of Cortex-M cores to applications that require
more computational performance than available currently with Cortex-M3. The
Cortex-M4 features a single-cycle multiply-accumulate (MAC) unit, optimized single
instruction multiple data (SIMD) instructions, saturating arithmetic instructions and an
optional single precision Floating-Point Unit (FPU).
So, the Cortex-M4 is a Cortex-M3 with the DSP instruction add-ons, and migrating from
Cortex-M3 to Cortex-M4 is very easy!
1.1 Why change to Cortex-M4?
• Higher Performance
Just like the Cortex-M3, the Cortex-M4 provides an integer performance level of 1.25
Dhrystone 2.1 MIPS per MHz, but Cortex-M4 provides higher performance on digital
signal processing. Please refer to 2. Cortex-M4 Features for more information on
Cortex-M4.
• Digital Signal Processing Capabilities
The Cortex-M4 integrates a single-cycle multiply-accumulate (MAC) unit supporting a
variety of 16- and 32-bit multiplies with 32-
显示全部