This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1843AOPEVM: 1843AOPEVM+ICBOOST在ccs调试模式下编写的代码运行正常,雷达可以正常工作;但是当烧写相应代码的bin文件给1843aopevm时,代码正常启动,但是工作一会(大概10秒)之后radar就停止了

Part Number: AWR1843AOPEVM


经过检查,发现时我这里循环使用了EDMA,当循环次数m为5,bin文件烧写后,雷达可正常运行,但是当循环次数设为10或者更高时,雷达运行10s左右就停止了,但是使用icboost板在ccs调试模式下仍然可以正常运行,请问这个问题是什么原因造成的呢,怎么解决呢?

for(m=0;m<5;m++)
{
t7 = (uint8_t *)(&obj->heatMap[idy * 100 * 180 + m * 180]);

retVal = EDMAutil_configType1(obj->edmaHandle[MMW_DATA_PATH_EDMA_INSTANCE],
//(uint8_t *)(SOC_translateAddress((uint32_t)(&obj->heatMapSend[0U]),SOC_TranslateAddr_Dir_TO_EDMA,NULL)),
t7,
(uint8_t *)(SOC_translateAddress((uint32_t)(&obj->compTemp[0]), SOC_TranslateAddr_Dir_TO_EDMA, NULL)),//TODO:修正大小
MMW_EDMA_CH_DET_MATRIX2,//SF0_EDMA_CH_2D_IN_PING,//
false,
MMW_EDMA_CH_DET_MATRIX2_SHADOW,//shadowParam++,//
5 * 36 * sizeof(uint32_t),//BYTES_PER_SAMP_DET_TEMP,
1,
0,
0,//5 * BYTES_PER_SAMP_DET_TEMP,
1U,
NULL,
(uintptr_t) obj);

if (retVal >= 0)
{
EDMA_startDmaTransfer(obj->edmaHandle[MMW_DATA_PATH_EDMA_INSTANCE],MMW_EDMA_CH_DET_MATRIX2);// SF0_EDMA_CH_2D_IN_PING);//
MmwDemo_dataPathWaitTransDetMatrix2(obj);
}
else
{
System_printf("EDMA frome heatMapSend to heatMap failed!\n");
return -1;
}

}