静态杂波滤除之后,我们接着看代码:
/* process data that has just been DMA-ed */ mmwavelib_windowing16x32( (int16_t *) inpDoppFftBuf, obj->window2D, (int32_t *) obj->windowingBuf2D, obj->numDopplerBins); if(obj->cliCfg->bpmCfg.isEnabled) { /*If BPM is enabled, the FFT output buffer stores 2 sets of doppler bins so that BPM decoding can be done later on.*/ fftOutIndx = pingPongId(pingPongIdx) * obj->numDopplerBins; } else { /*If BPM is not enabled, the FFT output buffer stores 1 set of doppler bins.*/ fftOutIndx = 0; } fftOutPtr = (int32_t *)&obj->fftOut2D[fftOutIndx]; DSP_fft32x32( (int3