Häufig gestellte Fragen

FAQ

How to enable DSP (Digital Signal Processing) function in the NuMicro® Cortex-M4 series?  Issue Date:2016-08-18

The NuMicro® Cortex-M4 series BSP (Board Support Package) includes the Cortex®-M4 DSP library which is comprehensive and easy to use and develop directly. Besides, the calculation algorithms in the library have been optimized to effectively reduce the operation time.

  • To enable DSP with Keil:

  1. After starting Keil, select Target Options, go to the C/C++ tab page, and enter “ARM_MATH_CM4=1” in the Define field.

  2. Add “arm_cortexM4lf_math.lib” to the Library (\Library\CMSIS\Lib\ARM).
  3. Include the arm_math.h file to the main.c. After that, user can call the DSP library in the main.c. 

  • To enable DSP with IAR:

  1. After starting IAR, select Options, go to the General Options page, and enable the Use CMSIS and DSP library under the Library Configuration page.
  2. Add “arm_cortexM4lf_math.lib” to the Library (\Library\CMSIS\Lib\ARM).

  3. Include the arm_math.h file to the main.c. After that, user can call the DSP library in the main.c. 

Note: arm_cortexM4lf_math.lib includes the Cortex®-M4 DSP library. 

 

Products: Microcontrollers ,Arm Cortex-M4 MCUs ,M451 Base Series ,M451M Series ,M452 USB Series ,M453 CAN Series ,M4TK Touch Key Series ,NUC442/472 Series ,NUC505 Series
Applications:
Function: Peripherals,ARM,DSP,Software and Tools,Development-Environment,BSP Software Library,IAR,Keil