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.

6678 网口 自协商



现在是我自己的板子,板上有两片6678芯片,两片6678的sgmii互连;

mcsdk:2.1.2.6m,ndk:2.21.2.43,bois:6.33.6.50

我想调试两片6678之间的网络通信,但是调试中发现每次上电初始化有时会无法通过,会卡在下面两条语句

do
{
CSL_SGMII_getStatus(macPortNum, &sgmiiStatus);
} while (sgmiiStatus.bIsLinkUp != 1);

或者

do
{
CSL_SGMII_getStatus(macPortNum, &sgmiiStatus);
if (sgmiiStatus.bIsAutoNegError != 0)
return; /* This is an error condition */
} while (sgmiiStatus.bIsAutoNegComplete != 1);

但有时自协商能够通过,并且能够正常通信。

请问TI的工程师,这样的情况问题可能出在哪里?怎样解决呢?谢谢啦~