I try to setup PHY commands. I have MDC and MDIO on IO2 and IO4.
PHY address is 2
If i try to set the PHY address to emacgmiiaddr.miidev and than do a read back, the register is not set to the PHY address of 2:
Code: Select all
emac_ll_set_phy_addr(hal->mac_regs, phy_addr);
// Readback to check
if (hal->mac_regs->emacgmiiaddr.miidev != phy_addr)
return;
I'm I missing a point here?
Thomas