上一期我们用MATLAB对加窗后的距离维数据进行了FFT处理看到了目标和目标距离,这一期我们看看C代码是如何做FFT的,回顾一下1D处理的函数代码:
/**
* @b Description
* @n
* Interchirp processing. It is executed per chirp event, after ADC
* buffer is filled with chirp samples.
*
* @retval
* Not Applicable.
*/
void MmwDemo_interChirpProcessing(MmwDemo_DSS_DataPathObj *obj, uint8_t chirpPingPongId)
{
uint32_t antIndx, waitingTime;
volatile uint32_t startTime;
volatile uint32_t startTime1;
MmwDemo_DSS_dataPathContext_t *context = obj->context;
waitingTime = 0;
startTime = Cycleprofiler_getTimeStamp();
/* Kick off DMA to fetch data from ADC buffer for first channel */
EDMA_startDmaTransfer(context->edmaHandle[MMW_DA