Other Parts Discussed in Thread: HALCOGEN
Hello,
I'm using the Hercules Safety MCU Development Kit - TMS570 MCU.
It embeds the MCU TMS570LS1227.
When calling MDIOPhyRegRead() with
-baseAddr = 0xFCF78900 ( = mdioBaseAddr )
-regnum = 2 ( = PHY_ID1 )
The function gets stuck in the 2nd while loop, where it polls for completion:
while((HWREG(baseAddr + MDIO_USERACCESS0) & MDIO_USERACCESS0_GO) == MDIO_USERACCESS0_GO)
Any idea, what could be wrong?
BTW: EMACInit() and MDIOInit() are called.
Best regards
Michael