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.

HERCULES-DSPLIB: FFT calculation using Hercules DSP LIB

Part Number: HERCULES-DSPLIB

I've been using arm_rfft_f32 to perform FFT on a sequence of real samples from an ADC.

The signal is a 50 Hz signal and I am performing FFT every 200ms on a set of 2048 samples. The frequency spectrum is distributed in 5 Hz bins and I am getting the correct magnitude in the 10th bin as expected.

The normalized FFT values make sense for sinusoidal inputs but are off mark for square waves ( just an experiment).

Is this a problem that has been observed with this algorithm?

Do let me know if you need me to post any particular results.