Hello,
We are trying to configure the DP83826I PHY to indicate link status in LED2 output. We are using it in enhanced mode and have configured to register as follows:
460h = 0x3000 -> LED2 source is LINK OK
305h = 0x0000 -> LED2 GPIO configuration is LED2
We have external pull-down on pin28 and LED2 polarity is then active HIGH. The problem is that we see no change in LED2 output of pin28 from DP83826I when we are causing link UP/DOWN events. Register shows correctly that link is established (or lost) but it is not reflected on LED2. Pin 28 should be by default be in LED2 mode as we are using RMII. For example LED0 by default is correctly showing the link status.
Have we missed something?
Curious thing is that when we read 305h register it's value changes when cable is connected and link is up. With link up 305h = 0xcde1 and when link is down 305h = 0x0000 (as it should be, that's what we write to it in boot up). We are not writing register 305h after boot up.
Thanks for any help I can get.