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.

LP5012EVM: Power management forum

Part Number: LP5012EVM
Other Parts Discussed in Thread: LP5012

Tool/software:

I’m having trouble communicating with LP5012 evm.

 

I got through the USB to ANY update.  The GUI shows connected, but the device fails to read or write registers.

I have the green light in the bottom:

 

When I try to read or write registers, I get errors:

oneui: server: hwcomm: regwrite: [DEVICE_CONFIG0 @ 0x00] Failed

08-Apr-2025

17:07:03

oneui: server: hwcomm: regread: [RESET @ 0x17] Failed. (1744150023146)

08-Apr-2025

17:07:03

oneui: server: hwcomm: regread: [OUT11_COLOR @ 0x16] Failed. (1744150023146)

 

Attached is a picture of my jumper settings and cable connections.

 

Any idea what the issue is?

  • Hi Dave,

    Firstly, change the jumper of J6 to short the EN pin to MCU.

    Secondly, check the I2C Slave Addr if it is 0x14. If not, try to modify it to 0x14. If it shows error and the address can not be set to 0x14. Please follow the steps below to modify the script. Then, open the GUI again and set the address to 0x14.

    Script modification instructions:

    Best regards,

    Felix

  • This solution did not work.  The broadcast I2C address is the problem, but the proposed fix doesn't allow the APP to start.

  • the app starts but seems to get hung up before identifying that it is LP50

  • Hi Alex,

    I suppose you have not changed the file location, correct? I have verified the solution worked well on my side. So I think the two files may be modified incorrectly. 

    Could you directly replace the original files with the attached modified files? And do the step 3?

    Please make sure the GUI is closed when do the step 3.

    If the problem persists, I have asked our sales Dave to setup a meeting to solve the problem together.

    {
      "LP5009": {
        "slaveI2CAddr": "14",
        "i2cSpeed": 1
      },
      "LP5012": {
        "slaveI2CAddr": "14",
        "i2cSpeed": 1
      },
      "LP5018": {
        "slaveI2CAddr": "28",
        "i2cSpeed": 1
      },
      "LP5024": {
        "slaveI2CAddr": "28",
        "i2cSpeed": 1
      },
      "LP5030": {
        "slaveI2CAddr": "30",
        "i2cSpeed": 1
      },
      "LP5036": {
        "slaveI2CAddr": "30",
        "i2cSpeed": 1
      }
    }

    {
      "LP5009": {
        "regex": "^[1][4567]$",
        "landingPageDesc": "A 9-channel constant-current-sink LED driver",
        "homePageDesc": "The LP5009 device is a 9-channel constant-current-sink LED driver. The LP5009 device improves the user experience in the color mixing and brightness control, from both the alive effect and coding effort. The optimized performance for RGB LEDs makes it a perfect fit for human-machine interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5009evm",
        "datasheet": "http://www.ti.com/product/LP5009/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 3,
        "bankRegStartAddr": 3,
        "brightnessRegStartAddr": 7,
        "colorRegStartAddr": 11,
        "ledConfigAddr": 2
      },
      "LP5012": {
        "regex": "^[1][4567]$",
        "landingPageDesc": "A 12-channel constant-current-sink LED driver",
        "homePageDesc": "The LP5012 device is a 12-channel constant-current-sink LED driver. The LP5012 device improves the user experience in the color mixing and brightness control, from both the alive effect and coding effort. The optimized performance for RGB LEDs makes it a perfect fit for human-machine interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5012evm",
        "datasheet": "http://www.ti.com/product/LP5012/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 4,
        "bankRegStartAddr": 3,
        "brightnessRegStartAddr": 7,
        "colorRegStartAddr": 11,
        "ledConfigAddr": 2
      },
      "LP5018": {
        "regex": "^[2][89AB]$",
        "landingPageDesc": "A 18-channel constant-current-sink LED driver",
        "homePageDesc": "The LP5018 device is a 18-channel constant-current-sink LED driver. The LP5018 device improves the user experience in color mixing and brightness control, from both live effects and coding efforts. The optimized performance for RGB LEDs makes it a potential choice for human-machine-interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5018evm",
        "datasheet": "http://www.ti.com/product/LP5018/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 6,
        "bankRegStartAddr": 3,
        "brightnessRegStartAddr": 7,
        "colorRegStartAddr": 15,
        "ledConfigAddr": 2
      },
      "LP5024": {
        "regex": "^[2][89AB]$",
        "landingPageDesc": "A 24-channel constant-current-sink LED driver",
        "homePageDesc": "The LP5024 device is a 24-channel constant-current-sink LED driver. The LP5024 device improves the user experience in color mixing and brightness control, from both live effects and coding efforts. The optimized performance for RGB LEDs makes it a potential choice for human-machine-interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5024evm",
        "datasheet": "http://www.ti.com/product/LP5024/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 8,
        "bankRegStartAddr": 3,
        "brightnessRegStartAddr": 7,
        "colorRegStartAddr": 15,
        "ledConfigAddr": 2
      },
      "LP5030": {
        "regex": "^[3][0123]$",
        "landingPageDesc": "A 30-channel constant-currentsink LED driver",
        "homePageDesc": "The LP5030 device is an 30-channel constant-current-sink LED driver. The LP5030 device improves the user experience in color mixing and brightness control, from both live effects and coding efforts. The optimized performance for RGB LEDs makes it a potential choice for human-machine-interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5030evm",
        "datasheet": "http://www.ti.com/product/LP5030/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 10,
        "bankRegStartAddr": 4,
        "brightnessRegStartAddr": 8,
        "colorRegStartAddr": 20,
        "ledConfigAddr": 2
      },
      "LP5036": {
        "regex": "^[3][0123]$",
        "landingPageDesc": "A 36-channel constant-currentsink LED driver",
        "homePageDesc": "The LP5036 device is an 36-channel constant-current-sink LED driver. The LP5036 device improves the user experience in color mixing and brightness control, from both live effects and coding efforts. The optimized performance for RGB LEDs makes it a potential choice for human-machine-interaction applications.",
        "userguide": "http://www.ti.com/tool/lp5036evm",
        "datasheet": "http://www.ti.com/product/LP5036/datasheet",
        "e2eForum": "https://e2e.ti.com/support/power_management/led_driver",
        "noOfLEDs": 12,
        "bankRegStartAddr": 4,
        "brightnessRegStartAddr": 8,
        "colorRegStartAddr": 20,
        "ledConfigAddr": 2
      }
    }

    Best regards,

    Felix