FFT Nan Values; ADC DMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-01 1:17 AM
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?
Please help with this.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-01 6:12 AM
You are calling arm_rfft_fast_f32 multiple times (nChirp times) on the same data. That's no good here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-01 6:12 AM
You are calling arm_rfft_fast_f32 multiple times (nChirp times) on the same data. That's no good here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-03 10:36 PM
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.
