运行官方ENET例程,程序在PHY_Init()函数中总是return kStatus_Fail.
/* Initialization after PHY stars to work. */
while ((idReg != PHY_CONTROL_ID1) && (counter != 0))
{
PHY_Read(base, phyAddr, PHY_ID1_REG, &idReg);
counter--;
}
if (!counter)
{
return kStatus_Fail;
}
Hi @nxpuserme
The link should be on when you test this enet demo. If the link is down, PHY_Init will fail.
If the problem still there, could you please let me know how to reproduce your issue on my side. which demo you are using.
Regards
Daniel