Code Generation for ARM Cortex-M and ARM Cortex-A Processors
The DSP System Toolbox™ supports optimized C code generation for popular algorithms like FIR filtering and FFT on ARM Cortex-M and ARM Cortex-A processors. To generate this optimized code, you must install the Embedded Coder® Support Package for ARM Cortex-M Processors or Embedded Coder Support Package for ARM Cortex-A Processors. In addition, you must have the following products: DSP System Toolbox, MATLAB® Coder™, Embedded Coder, Simulink® and Simulink Coder for Simulink based workflows.
Using these Embedded Coder support packages, you can generate C code that can link with the CMSIS library or calls the Ne10 library functions. This generated code can be compiled to provide optimized executables that run on ARM Cortex-M or ARM Cortex-A processors.
You can also port the generated ARM Cortex-M CRL code from MATLAB to KEIL μVision IDE and IAR Embedded Workbench. For details, see Port the Generated ARM Cortex-M CRL Code from MATLAB to KEIL μVision IDE and Port the Generated ARM Cortex-M CRL Code from MATLAB to IAR Embedded Workbench.
To download the Embedded Coder support packages for the ARM Cortex processors, see https://www.mathworks.com/hardware-support.html.
To obtain more information on the support packages and instructions on downloading them, see ARM Cortex-M Processors (Embedded Coder) and ARM Cortex-A Processors (Embedded Coder).
Topics
ARM Cortex-M Processors
- Supported DSP System Toolbox Blocks and MATLAB System Objects for CMSIS Library (Embedded Coder)
Deployable blocks and System objects supporting CMSIS library. - Supported Simulink Blocks with CMSIS Library for ARM Cortex-M Processors (Embedded Coder)
Supported Simulink blocks with CMSIS library for ARM Cortex-M processors. - CMSIS Conditions for DSP Blocks to Support ARM Cortex Processors (Embedded Coder)
CMSIS CRL Conditions for DSP blocks to support ARM Cortex-M. - CMSIS Conditions for DSP System Objects to Support ARM Cortex-M Processors (Embedded Coder)
CMSIS CRL Conditions for DSP System objects to support ARM Cortex-M. - Verify FIR Filter on ARM Cortex-M Processor (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® Cortex-M processors with DSP blocks. - Support Fixed-Point FIR Filter on ARM Cortex-M Processor (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® processors with DSP blocks. - Support ARM CMSIS C Code Generation of dsp.FIRFilter in MATLAB Function Block (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® processors with DSP System object™. - Verify FIR Filter on ARM Cortex-M Processor in MATLAB (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® Cortex®-M processor with DSP System object™. - Parameteric Audio Equalizer for ARM Cortex-M Processor (Embedded Coder)
This example shows how to generate and run the optimized code of a parametric audio equalizer on ARM® Cortex®-M processor while adjusting equalizer response from within Simulink® environment. - Real-Time ECG QRS Detection on ARM Cortex-M Processor (Embedded Coder)
This example shows how to generate and run optimized code for real-time QRS detection of an electrocardiogram (ECG) signal on the ARM® Cortex®-M processor.
ARM Cortex-A Processors
- Supported Ne10 Library Functions for ARM Cortex-A Processors (Embedded Coder)
Supported Ne10 library functions. - Supported DSP System Toolbox Blocks and MATLAB System Objects for Ne10 Library (Embedded Coder)
Deployable blocks supporting the Ne10 library. - Supported DSP System Toolbox System Objects with Ne10 Library for ARM Cortex-A Processors (Embedded Coder)
Ne10 CRL conditions for DSP System objects to support ARM Cortex-A. - Supported DSP System Toolbox Blocks with Ne10 Library for ARM Cortex-A Processors (Embedded Coder)
Ne10 CRL Conditions for DSP blocks to support ARM Cortex-A. - Verify FIR Filter on ARM Cortex-A Processor (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® processor with DSP blocks. - Support NE10 Library C Code Generation of dsp.FIRFilter in MATLAB Function Block (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® processor with DSP System object™. - Verify FIR Filter on ARM Cortex-A Processor in MATLAB (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® Cortex®-A processor with DSP System object™. - Short-Time Spectral Attenuation on ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run optimized code for short-time spectral attenuation on the ARM® Cortex®-A processor. - Parametric Audio Equalizer for ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run the code of a parametric audio equalizer on ARM® Cortex®-A processor while adjusting equalizer response in the Simulink® environment. - Real-Time ECG QRS Detection on ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run optimized code for real-time QRS detection of an electrocardiogram (ECG) signal on the ARM® Cortex®-A processor. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from Simulink Blocks for ARM Cortex-A Processors
Generate high performance SIMD Code from Simulink Blocks in DSP System Toolbox by using the Embedded Coder Support Package for ARM Cortex-A Processors.