Skip to main content
AKhot.1
Associate III
Sep 1, 2023 8:17 AM UTC
Solved

FFT Nan Values; ADC DMA

I am getting nan values while computing the fft. It is mostly for fftOut[0][0]----- fftOut[0][512], after that there are not many nan values. What could be the reason?

Is it that because it running in debug mode and the DMA is on?

AKhot1_0-1693555830701.png

AKhot1_1-1693556201584.png

Please help with this.

 

 

This topic has been closed for replies.
TDK
TDKBest answer
Sep 1, 2023 1:12 PM UTC

TDK_1-1693573944139.png

You are calling arm_rfft_fast_f32 multiple times (nChirp times) on the same data. That's no good here.

TDK_0-1693573907611.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."

2 replies

TDK
TDKBest answer
Sep 1, 2023 1:12 PM UTC

TDK_1-1693573944139.png

You are calling arm_rfft_fast_f32 multiple times (nChirp times) on the same data. That's no good here.

TDK_0-1693573907611.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
AKhot.1
AKhot.1Author
Associate III
Sep 4, 2023 5:36 AM UTC

So, if I have a 2D array I need not to put the arm_rfft_fast_f32 function in for loop? I thought it would take ftt one by one along the row.