RangeProcDSP共分为三步,如下图所示
- transfers ADCBuf data through dataIn EDMA channels in ping/pong alternate order to FFT input scratch buffer - adcDataIn.
- Range FFT processing is done by using DSPlib and mmwavelib APIs. FFT input data is stored in input scratch buffer - adcDataIn, its output data is stored in output scratch buffer - fftOut1D.
- transfer FFT results in scratch buffer(fftOut1D) to radarCube through dataOut EDMA channels in ping/pong alternate order.
数据流向:ADCBuf data(L1)→adcDataIn(L1)→fftOut1D→radarCube(L3)。具体的实现代码如下:
void MmwDemo_interChirpProcessing(MmwDemo_DSS_DataPathObj *obj, uint32_t chirpPingPongId, uint8_t subframeIndx)
{
uint32_t antIn