Häufig gestellte Fragen

よくある質問

How to enable DSP (Digital Signal Processing) function in the NuMicro® Cortex-M4 series?  日付: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. 

 

製品: マイクロコントローラ ,Arm Cortex-M4 MCU ,M451 Base シリーズ ,M451M シリーズ ,M452 USB シリーズ ,M453 CAN シリーズ ,M4TK タッチキーシリーズ ,NUC442/472 シリーズ ,NUC505 シリーズ
アプリケーション:
機能: Peripherals,ARM,DSP,Software and Tools,Development-Environment,BSP Software Library,IAR,Keil
This website uses cookies to ensure you get the best experience on our website. Learn more
OK