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.

LP5562: LED lp5562 is very unstable, some times turning ON & sometimes not

Part Number: LP5562


Hi,

This is in continuation to to the discussion : https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1071087/lp5562-cisco-led-lp5562-is-very-unstable-some-times-working-sometimes-not-working

we tried the experiment as suggested. 

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/835272/lp5562sw-linux-faq-lp5562-how-to-set-loop-count-from-sysfs-on-linux?tisearch=e2e-sitesearch&keymatch=LP5562%2525252525252520Linux

In fact, We do not want to control the loop. We just want to turn on the LED and keep it ON. But this is not working always. Sometimes LED turns ON and some times it does not. Please help.

The Experimented we performed is as below:

TURN LED SOLID RED <-- Say, it turns ON on the device

TURN LED SOLID RED <-- It does NOT turn ON on the device  <<<<<<<<<  THIS IS THE FAULTY CASE WHERE LED DOES NOT TURN ON. We need help here.

TURN LED SOLID RED <-- it turns ON on the device

TURN LED SOLID RED <-- it turns ON on the device

Code snippet for "TURN LED SOLID RED" ( This is already mentioned in original ticket by Srinivas):

    echo 0 > /sys/bus/i2c/devices/0-0032/run_engine

    echo "RGB" > /sys/bus/i2c/devices/0-0032/engine_mux

    echo 1 > /sys/bus/i2c/devices/0-0032/select_engine

    sleep 1

    echo 1 > /sys/class/firmware/lp5562/loading

    echo "40FF" > /sys/class/firmware/lp5562/data

    echo 0 > /sys/class/firmware/lp5562/loading

    sleep 1

    echo 1 > /sys/bus/i2c/devices/0-0032/run_engine

Thanks,

Vijay