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.

LED Direct Control in DP83848

Other Parts Discussed in Thread: DP83848I

Hi,

The DP83848I datasheet mentions that
"DP83848I provides another option to directly control
any or all LED outputs through the LED Direct Control Register (LEDCR)"

Is it possible to control the LED outputs(ON OFF & Duty cycle) of LINK,ACT,SPEED
with this register? Is there any way to control the duty cycle also?

Regards
paddu

  • Paddu,

    The LEDCR register allows the LEDs to be driven directly, but it only allows the LEDs to be driven high or low.  Consecutive writes to the LEDCR that alternate the LED(s) high or low would create a toggling waveform, but the duty cycle would be limited by the bandwidth of the MDC/MDIO register accesses. 

    What is your design goal in terms of the duty cycle?  What are you trying to implement with the LEDs?

    Patrick

  • Thank you Patrick,

    Regarding your question, there is no special design goal in terms of the duty cycle.

    As you know, LED light has a Lifespan and the LED's which we are using has
    little bit lesser lifespan,
    so we are thinking instead of keeping the LED's ON all the time,
    we can ON and OFF with a duty cycle and increase the Lifespan.

    Regards.
    Paddu.

  • Paddu,

    So using the LEDCR to toggle the LEDs on and off should meet your needs? 

    Patrick

  • Hi Patrick,

    As you wrote the duty cycle will be limited by the bandwidth of the
    MDC/MDIO register accesses.
    We are still evaluating whether this method increases the lifespan.

    Regards
    paddu

  • paddu1 said:

    Hi Patrick,

    As you wrote the duty cycle will be limited by the bandwidth of the
    MDC/MDIO register accesses.
    We are still evaluating whether this method increases the lifespan.

    Regards
    paddu

    I looked up the data sheet and found section 2.4 LED Interface and most likely you would want to select Mode 2 for the Table 3. LED Mode Select

    You may want to look at the resistors used with the LEDs as different values can lower the current/brightness and potentially extend the life of the LEDs since the diagram shows the LED and 110 ohm in parallel with 2.2k ohm resistor.  It also mentions the control register blinking the activity LED, but not in detail enough to tell if it would be an acceptable rate for your application.