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.

DP83822IF: OK

Part Number: DP83822IF

Tool/software:

Dear Manager,

I'm using the PHY, DP83822IFRHBR.

I have the following questions while using it.

Please let me know how can I solve it.

- Desired setting

  * 1. MLED rout to LED_0 : set bit[1:0] to 11 @0x0025

  * 2. MLED configuration to TX activity : set bit[6:3] to 001 0 @ 0x0025

  * 3. LED_0 blink rate to 20ms : set bit[10:9] to 00 @ 0x0018

- Good operation

  * above 1, 2 setting

- Bad operation

  * above 3.

  * Even if I change the blink rate via bit[10:9] @ 0x0018 register, LED_0 always behaves the same.

    - ex: when TX at every 500ms, LED_0 remains low for 350ms and then goes high for 150ms.

  * The initial value of 0x0018 is 0x4000, and it was confirmed that it becomes 0x0000 after bing set to 20ms (0x0000)

- Question

  1. How can I change the LED_0 blink rate?

Regards,

DaeJin

  • Hi DaeJin,

    Try avoiding steps 1 and 2 so that MLED is not routed to LED_0. To enable blinking based on link activity, set the LED Configuration register to '0'

    When doing this, are you able to see the LED_0 blink rate change?

    Alternatively, keep step 1 and 3, but try setting MLEDCR [6:3] to 1000 for blink on TX/RX activity rather than to just TX activity.

    Best,

    Shane

  • Dear Shane

    Thank you for your reply.

    My reply was rate due to the holiday.

    When I set the LED configuration register to 0, the LED_0 blink rate changed.

    (However, I had to set the LED_0 polarity to '1', so that LED_0 changed as follows : H -> L (setting time / 2) -> H)

    ex: set 50ms ==>  H(975ms)-> L(25ms) -> H...repeat

    However, when I set LED_0 as MLED output, the blink rate did not changed.

    (However, the LED_0 polarity changed)

    ex: TX at every 500ms && LED_0 polarity to '1'  ==> H(350ms) -> L(150ms, never changed) -> H....repeat

    How can I set that LED_0 turns on for 50ms when only TX activity?

    Regards,

    DaeJin

  • Hi Daejin,

    The 'TX activity' MLED setting does not support a blink mode. Try setting MLEDCR [6:3] to 1000 for blink on TX/RX activity rather than to just TX activity if you want the LED blink.

    I'm not aware of a method to set the LED blink rate for the 'TX activity' setting.

    Best,

    Shane

  • HI Shane

    Thanks for the answer.

    According to your answer, it seems like the behavior I want is not supported.

    So, when setting the LED to TX activity, is it not possible to adjust the time it is on when TX?

    I am asking again because that setting is important.

    Regards,

    DaeJin

  • Yes your understanding is correct. There is no way to adjust the 'on' time for this LED as it is tied directly to the activity of the interface.

    Best,

    Shane