2018-02-21 04:26 AM
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 #stm32f72018-02-23 05:38 AM
Bin width is 16000/512
each bin spans the width of the bin.
multiply your index by the bin width.