This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83825I: How to configure LED_2 as a link speed indicator?

Part Number: DP83825I

Tool/software:

Hello.

I'm using DP83825I in RMII slave mode. I'm trying to set LED_2 output as 10/100 speed indicator and I have problems - it seems to be working rather like link activity with some kind of filter/latch.

According to datasheet, page 3: "RMII Slave Mode: LED_2(default). This pin can be configured as GPIO using register configuration" modifying register 0x0302 should not be needed.

Then I've written 0x0050 to register 0x0460 (LEDCFG_Register, with notabene confusing description: "LED_2 Control:Selects the source for LED_1") but it did not change the behavior. Value of this register that I'm reading after the reset is also not matching the one from the datasheet (reading: 0x0515, datasheet: 0x10).

I've found https://e2e.ti.com/support/interface-group/interface/f/interface-forum/955765/dp83825i-dp83825i-led-indication-of-led2 thread and tried it, also with no needed effect. In this thread undocumented register 0x0305 register was used (or is it a typo and it should be 0x0302?), there is also write to 0x0460 bits that are described as reserved.

Could I get a more precise description of related PHY registers?

  • Hi Tomasz,

    May I ask what is the behavior that you are seeing for LED_2?

    There are two register that we need to double check to change the LED_2 functionality:

    • register 0x0302 and 0x0460.

    We need to make sure the pin 2 is acting as LED_2 first through 0x0302.Then we use 0x460 to configure the LED_2 functionality.

    --

    Regards,

    Hillman Lin