Part Number: DP83825I
Other Parts Discussed in Thread: OMAP-L138
Hi everyone,
I am experiencing a persistent "link hang" issue with the DP83825I PHY connected via RMII to an OMAP-L138 (davinci_emac).
The Issue: During a stress test involving repeated hot-plugging (plug/unplug) of the Ethernet cable, the link eventually enters a state where it is permanently "Down" (carrier 0). The system stays in this state indefinitely, even if a known-good cable is reconnected.
Recovery: The only way to recover the link is to manually perform a Digital Soft Reset via MDIO: phytool write eth0/0/0 0x8000 Once this reset is issued, the link immediately comes back up and DHCP completes successfully.
Register Observations during the "Hang" state:
-
REG 0x01 (BMSR):
0x7849(Link is down, but Auto-Neg is not complete). -
REG 0x10 (PHYSTS):
0x1912or0x0812. Note that Bit 12 (Signal Detect) is often 1, but Bit 0 (Link Status) remains 0.