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.

TMS570LS3137: 检测phy芯片状态失败 Getting PHY Alive Status error

Part Number: TMS570LS3137

hi

我使用的是tms570ls3137hdk开发板,我下载官网的lwip演示项目后,执行到下面的代码

    if (!((MDIOPhyAliveStatusGet(hdkif->mdio_base) >> hdkif->phy_addr) & 0x01)) {
        sciDisplayText(sciREGx, txtError, sizeof(txtError));
        return ERR_CONN;
    } else {
        sciDisplayText(sciREGx, txtSuccess, sizeof(txtSuccess));
    }

代码进入了第一个if块,我在debug时发现MDIOPhyAliveStatusGet(hdkif->mdio_base)为0

可以告诉我如何解决这个问题吗,或者思路。

感谢。