cancel
Showing results for 
Search instead for 
Did you mean: 

FFT in STM32F7 MCU

Edwin kaus
Associate II
Posted on February 21, 2018 at 13:26

Hello.,

I need to write test code for Audio codec which is interfaced through SAI interface . For this I am generating 1KHz sine wave using DAC and given to codec input and capturing the same through SAI interface . Now how to conclude that signal frequency is 1Khz by using SAI captured samples.

I was suggested to do FFT on those samples ,

>> Is it possible to do FFT on captured sample from SAI interface.

>> To do this Is there any inbuilt algorithm available in CMSIS library. If so which one to use and how to use can anyone suggest me .

#sai #stm32f7
20 REPLIES 20
Posted on February 23, 2018 at 13:38

Bin width is 16000/512

each bin spans the width of the bin.

multiply your index by the bin width.