Skip to main content
Arman Ilmak
Senior
May 1, 2021
Solved

Does stm32f4 or h7 have DSP hardware implementation?

  • May 1, 2021
  • 1 reply
  • 1350 views

Hey guys.

There is a library named cmsis_dsp for these mcus but when i took a look inside them there were just simple codes and not hardware implementation of dsp.

But in datasheet it says:

The STM32F405xx and STM32F407xx family is based on the high-performance Arm® Cortex®-M4 32-bit RISC core operating at a frequency of up to 168 MHz. The Cortex-M4 core features a Floating point unit (FPU) single precision which supports all Arm singleprecision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security.  

Im confused. Does it have the hardware or not?

This topic has been closed for replies.
Best answer by Tesla DeLorean

It has instructions to improve the efficiency of DSP operations on the processor side, it is not a separate core/unit. Your code will still need to manage all the data, and push it through the instruction sequences. The HW looks to provide parallel computational paths, and math functions to speed the processing along.

https://community.arm.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-21-42/7563.ARM-white-paper-_2D00_-DSP-capabilities-of-Cortex_2D00_M4-and-Cortex_2D00_M7.pdf

https://www.keil.com/pack/doc/CMSIS/Core/html/group__intrinsic__SIMD__gr.html

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 1, 2021

It has instructions to improve the efficiency of DSP operations on the processor side, it is not a separate core/unit. Your code will still need to manage all the data, and push it through the instruction sequences. The HW looks to provide parallel computational paths, and math functions to speed the processing along.

https://community.arm.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-21-42/7563.ARM-white-paper-_2D00_-DSP-capabilities-of-Cortex_2D00_M4-and-Cortex_2D00_M7.pdf

https://www.keil.com/pack/doc/CMSIS/Core/html/group__intrinsic__SIMD__gr.html

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..