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.

Compiler/LP5024: How do I turn Off LP5024 LED?

Part Number: LP5024

Tool/software: TI C/C++ Compiler

I try to turn off the LP5024 LED after using it, but there is a problem with turning it off and back on.

I also set the brightness to 0 for Off and the LED_Global_Off value to 1. And then we reset it,

and it goes off, and the LED goes back on.

Please tell me how to turn off the LED completely.

Have a nice day!~

  • Hi, Park,

         1. If you reset the LP5024, the reset value of Chip_EN bit in DEVICE_CONFIG0 Register is 0h. The device enters the STANDBY mode when

    Chip_EN (register) = 0. In this mode, all the OUTx pins are shut down, but the registers retain the data and keep it available via I2C. So the LED will not go back

    on in theory. You can check it by reading the Chip_EN bit through I2C. Please refer to the datasheet 8.4 for details.

         2.To turn off the LED, you can simply set the LED_Global_Off value to 1. If it doesn’t work, reading the corresponding register to check the value of

    LED_Global_Off.

         Please let me know once you have addressed the problem. 

  • Thank you for your advice.

    Now I can control it with the way I want.

    I'll ask you again if there's anything I'm curious about in future use.

    Here in Korea, the hot weather continues, and where you are, it is fun.

    I hope it will be a day

  • Hi, Park,

         Congratulations,if you have any questions at all, please feel free to contact with me.