2025-01-31 05:51 AM
Hi,
I'm using the CMSIS-DSP library for FFT calculation, using build-time configurable FFT lengths in the range 64 - 1024. The CMSIS-DSP documentation recommends that, when the FFT length is known, using an appropriate initialisation function such as arm_rfft_init_512_q15() for a 512-length real FFT is preferred over the generic initialiser arm_rfft_init_q15(), since the former allows unused tables to be removed by the linker.
I can only find arm_rfft_init_q15() in the repository.
I'm using STM32Cube_FW_H7_V1.12.1 but I can't see how to determine which version of CMSIS-DSP that includes (having searched include files for a define, which I'm sure must be hidden there somewhere!).
Does anyone know whether those additional FFT init functions have been deliberately excluded from the H7's repository?
Advice about how to check the CMSIS-DSP version would also be appreciated.
Thanks in advance.
2025-01-31 07:38 AM - edited 2025-01-31 07:40 AM
Hi,
just look on git.. CMSIS-DSP 1.16.2
https://github.com/ARM-software/CMSIS-DSP
-> arm_status arm_rfft_init_512_q15(arm_rfft_instance_q15 * S);