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.

TMS6657的McBSP



能否提供相关McBSP 的开发案例,对于这个串口我没有找到相关的函数或者可用资料。希望TI专家可以提供一些可供参考的例子。谢谢

  • mcsdk安装后的pdk下面有相应的mcbsp例程,如C:\ti\pdk_C6657_1_1_2_6\packages\ti\drv\exampleProjects

  • 你好,我运行该目录下的mcbsp回环测试代码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,我想知道这里应该怎么处理?

    谢谢谢谢~~~