你好
我现在在用6657开发板验证mcbsp接口,是回环测试,运行安装目录C:\ti\pdk_C6657_1_1_1_4\packages\ti\drv\exampleProjects下的MCBSP_DigLpbkExampleProject工程,代码总是在while(1)中死循环
while (1)
{
if (edmaTxDone == 1)
{
System_printf ("Debug(Core %d): EDMA -> Iteration-%d frames are transmitted to TX path\n", coreNum, count);
edmaTxDone = 0; /* Reset for next iteration */
mcbspTxDone = 1;
}
if (edmaRxDone == 1)
{
System_printf ("Debug(Core %d): EDMA -> Iteration-%d frames are received from RX path\n", coreNum, count);
edmaRxDone = 0; /* Reset for next iteration */
mcbspRxDone = 1;
}
if ((mcbspTxDone == 1) && (mcbspRxDone == 1))
{
mcbspTxDone = 0; /* Reset for next iteration */
mcbspRxDone = 0; /* Reset for next iteration */
break;
}
}
因为一直不满足edmaTxDone 和edmaRxDone 为1的条件,是什么原因导致该值不为1?应该如何处理,求解,谢谢~~~