TI单芯片毫米波雷达代码走读(二十六)—— 角度维(3D)处理之 DFT
专栏目录链接:
TI单芯片毫米波雷达1642代码走读(〇)——总纲
距离上一次更新过去了好久,实在抱歉。
先回顾一下3D处理的代码,这里做了精简,把关键几步的代码罗列如下:
/**************************************
* Azimuth calculation
**************************************/
for (detIdx2 = 0; detIdx2 < numDetObj2D; detIdx2++)
{
/* Reset input buffer to azimuth FFT */
memset((uint8_t *)obj->azimuthIn, 0, obj->numAngleBins * sizeof(cmplx32ReIm_t));
/* Set source for first (ping) DMA and trigger it, and set source second (Pong) DMA */
EDMAutil_triggerType3 (
context->edmaHandle[MMW_DATA_PATH_EDMA_INSTANCE],
(uint8_t *)(&obj->radarCube[obj->detObj2D[detIdx2].rangeIdx]),
(uin