6 years ago.

FFT example for mbed-os and Nucleo32 platform?

Hi,

is there a FFT example that uses the DSP-FFT in mbed-os for a Nucleo -F4xx / Nucleo-F7xx sampling an analog input signal? For frequencies up to 2kHz only... Any help would be much appreciated! I would like to make a program that displays an FFT on a 2.8" TFT (shield) . With FastAnalogIn from Erik, we could possibly go to 20kHz, which would be nice, for may people here!

Regards, Jack.

1 Answer

6 years ago.

Hi Jack I have an example here as a front end to an Oscilloscope using mbed-os on a F429ZI using DAC ouput

https://os.mbed.com/users/martinsimpson/code/CMSIS_FFT_mbed_os_DAC/

and a mbed (non os) for with less capacity F303K8 output to onboard DAC again and a LED array

https://os.mbed.com/users/martinsimpson/code/CMSIS_FFT_mbed_DAC/

That I was tinkering around with a while a go based on CMSIS libraries as per

https://docs.mbed.com/docs/vignesh/en/latest/api/index.html

Kind Regards

Accepted Answer

Hi Martin, I'm sorry for reading this after a week. :-) Thank you very much! That looks very good!

I made some progress, much based on the work of Curtis Mattull here (it uses CMSIS DSP): https://os.mbed.com/users/cpm219/code/fft_test_k22f/

In the mean time, I have used it in combination with mbed-os (instead mbed 2) on a Nucleo-F746ZG and a Seeed 2.8" TFT shield, and hereby share it to you: https://github.com/bkht/TFT_FFT_Test

I hope it helps, and any feedback is welcome! in main.h, one can see how the TFT is connected, otherwise just let me know. Note there are a bunch of fonts in this repository... A lot of hard work there... For eclipse, I need to comment out the align(2) statements, though. HD44780_?.h have been created by me, by pixel editing. :-)

posted by Jack Berkhout 20 Apr 2018