This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1224: Problem using DSP library when concatenating small FFTs

Part Number: TMS570LS1224


Hi

I have been trying to use the FFT library (RFFT) to obtain the frequency of a signal. The data is on a buffer with length of 5120. 

I tried to use two buffers of 2048 and two of 512, but the result didn't match with the one obtained on Matlab, because of the internal calculations. Its different 10 FFTs calculated to 10 points and concatenate them to only one FFT at 100 points. 

I looked in the web and found this: 

As you see, a Ntot is added and Nffts.

I tried some modifications on the DSP code (on the CFFT code, since RFFT used the CFFT to calculate everything) but didn't work. When tried to printf everything, the MCU collapses.I decided to make 10 ffts in order to keep an integer number as a factor to multiply (5120/2048=2.5) so decided to run the 10 FFTs and I modified the n2=fftLen to n2=fftLen*10 but the problem persisted....

Don't know if someone has tried to concatenate small FFTs to get a bigger one... 

I would really appreciate any help...

Thanks and best regards!!