cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find/enable CMSIS-DSP (arm_math.h) on STM32N6570-DK via STM32CubeMX

Bel
Visitor

Hello everyone,

I am currently working with the STM32N6570-DK board, and I'm still in the process of understanding the workflow for the STM32 programming environment (STM32CubeIDE/CubeMX). (I have implemented simple code to turn on the led with a button and using the RNG available in the board, as a get to know the board and programming environment before this).

I am trying to include the CMSIS-DSP library (arm_math.h) into my project, but I am stuck. I have tried several approaches without success:

  1. I tried following the method shown in this tutorial video (https://www.youtube.com/watch?v=QxqnBByUvKE), but it didn't work for my setup.

  2. I tried manually copying and pasting the .h and source files directly into my project folders, but that also failed and resulted in compilation errors. (https://community.st.com/t5/stm32cubemx-mcus/how-to-add-arm-math-and-dsp-libraries-to-stm32cubemx-generated/m-p/316172)

  3. In many tutorials, people suggest going to "Software Packs" -> "Select Components" in STM32CubeMX and simply enabling the DSP library under the "ARM" folder. However, I do not see the "ARM" option or folder anywhere in my STM32CubeMX interface.

I am currently reading through the STM32CubeMX user manual to see if I missed a download step or package, but I haven't found the solution there yet.

Given that this board uses the new Cortex-M55, I am starting to wonder if the standard CMSIS-DSP package is not fully compatible or needs to be added differently for the N6 series?

Any guidance or step-by-step instructions on how to properly include arm_math.h for this specific board would be greatly appreciated!

Thanks in advance,

- A confused student

58ab47860efae32bfaaa887b6b00b53a.gif

1 REPLY 1
Bel
Visitor

I have also tried this: https://community.st.com/t5/stm32-mcus/how-to-integrate-cmsis-dsp-libraries-on-a-stm32-project/ta-p/666790
But I can't use any function from the library.