cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 HAL DSP library

Posted on October 05, 2015 at 12:10

Hello there,

I was wondering either there is a DSP library for stm32f4 with HAL framework?
4 REPLIES 4
Posted on October 05, 2015 at 12:44

No. There is no hardware to be abstracted from...

However, the ARM

CMSIS DSP Library

comes bundled with the CubeF4 library, since v1.4.0, in  STM32Cube_FW_F4_V1.4.0\Drivers\CMSIS\DSP_Lib\ , including examples.

JW

Posted on October 05, 2015 at 15:09

It also didnt make to much sense to me but since i have seen a package called ''...DSP_STDPeriph...'' it made me think that it is important.

I have found the examples, thank you.

I run through some of the functions from there and I am a bit confised- Apart from some more complex functions there seem to be functions for multiplying 2 float values. Does this mean that when I want to do float * float I need to use the DSP library for that for speed optimalisation?
Posted on October 05, 2015 at 15:22

Well one would hope your compiler/tool-chain is smart enough to use the FPU instructions, and math libraries when you check the ''Use the FPU'' box.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 06, 2015 at 08:31

I am using OpenSTM32 framework and I do have hardfloat selected. Then I hope it works :P. Thank you for the explanation.