上一期我们用MATLAB对加窗后的距离维数据进行了FFT处理看到了目标和目标距离,这一期我们看看C代码是如何做FFT的,回顾一下1D处理的函数代码:
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();
EDMA_startDmaTransfer(context->edmaHandle[MMW_DATA_PATH_EDMA_INSTANCE],
MMW_EDMA_CH_1D_IN_PING);
for (antIndx = 0; antIndx < obj->numRxAntennas; antIndx++)
{
/* ki