2018-03-12 04:18 AM
Hello everyone:
I have to make the FFT on my STM32L4 32KC board and I don�t know where to start.
Sound is coming from the outside and I have to make the FFT.
Any tips would help a lot.
I�ve looking on the net for help, but everything was a little to messy for me.
I�m pretty new to micro-controlers, so there are many things that I ignore unfortunately.
Thanks in advance for your time and help.
#stm32 #fft #l4 #cmsis #dsp2018-06-25 10:49 AM
Did you look at the links provided by
st.mcu
?Did you see
https://community.st.com/0D70X000006SwKPSA0
?Why would an FFT on an STM32F4 differ from an FFT on any other Cortex-M4?
Have you looked at the standard CMSIS stuff?
CMSIS Intro:
https://www.keil.com/pack/doc/CMSIS/General/html/index.html
https://www.keil.com/pack/doc/CMSIS/DSP/html/index.html
https://www.keil.com/pack/doc/CMSIS/DSP/html/arm_fft_bin_example_f32_8c-example.html
2018-06-25 11:11 AM
evading wrote:
FFT single point calculation
What do you mean by 'single point'?
Surely, a single point is just an impulse - so the FFT is known?
2018-06-26 12:24 AM
What do you mean by 'single point'?
Perhaps he is meaning something like the Goertzel algorithm, to calculate individual terms (spectral 'points') ?
There is no specific example for that in ARM's DSP-Lib, but surely elsewhere on the web.
And as said, these algorithms are hardware-independant.
2018-06-26 02:52 AM
Hi,
I recommend you to have a look to the tutorial
https://community.st.com/0D50X00009bMMAwSAO
created byMajerle.Tilen
.-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-06-27 09:11 AM
Hi,
I want just to customize the arm_cfft_f32 to get some specific elements
of the the complex data buffer and calculate its FFT value.
arm_cfft_f32 ( const arm_cfft_instance_f32 * S,
float32_t * p1,uint8_t ifftFlag,uint8_t bitReverseFlag )Otherwise, any sinus generated data buffer can be used for testing ? at least to be sure of the FFT results ?
Thanks.
2018-06-28 01:21 AM
I never hacked the arm_cfft functions, but surely you can adapt it to drop the calculations you don't need.
I used to calculate all frequencies, to evaluate one (or more) spectral components in relation to the others.
...any sinus generated data buffer can be used for testing ? at least to be sure of the FFT results ?
Yes. This is recommended.
The ARM example comes with a reference input signal, however not a 'sinus' wave shaped.