minxrt 1062 以太网连接失败

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

minxrt 1062 以太网连接失败

731 Views
nxpuserme
Contributor I

运行官方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;
}

Labels (1)
0 Kudos
Reply
1 Reply

726 Views
danielchen
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply