cancel
Showing results for 
Search instead for 
Did you mean: 

FFT Nan Values; ADC DMA

AKhot.1
Senior

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

2 REPLIES 2
TDK
Guru

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".

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.