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.

LP5860EVM: LP5860EVM : GUI "LED Control Page" not updated after "load registers" operation

Part Number: LP5860EVM
Other Parts Discussed in Thread: LP5862, LP5861

Hello,

I received this morning the LP5860EVM board and installed the application.

All is working fine in manual/interactive mode.

I set two patterns of LEDs, one for the variant LP5861 (1x18) and one for the variant LP5862 (2x18).

I saved them in json files, and was able to restore them later. The LED panel shows the correct patterns, and the registers content is OK, but the "LED Control Page" doesn't reflect at all the the pattern.

How can I retrieve the saved patterns, in order to adjust them ?

With my best regards,

Philippe

  • Hi Philippe,

    Do you mean you want to show the pattern on the GUI?

    BR, Jared

  • Hello Jared,
    Exactly.

    In LP5861 mode, I defines a RGBCMY pattern like below :

    The registers tab shows the right values, for example the yellow color :

    I then save the registers by "File->Save Registers" in the JSON code below.

    "{\"signature\":\"oneui-register-data\",\"data\":[[{\"idx\":0,\"id\":\"chip_en\",\"value\":\"0x01\"},{\"idx\":1,\"id\":\"dev_initial\",\"value\":\"0x5E\"},{\"idx\":2,\"id\":\"dev_config1\",\"value\":\"0x00\"},{\"idx\":3,\"id\":\"dev_config2\",\"value\":\"0x00\"},{\"idx\":4,\"id\":\"dev_config3\",\"value\":\"0x47\"}],[{\"idx\":0,\"id\":\"master_bri\",\"value\":\"0xFF\"},{\"idx\":1,\"id\":\"group0_bri\",\"value\":\"0xFF\"},{\"idx\":2,\"id\":\"group1_bri\",\"value\":\"0xFF\"},{\"idx\":3,\"id\":\"group2_bri\",\"value\":\"0xFF\"},{\"idx\":4,\"id\":\"r_current_set\",\"value\":\"0x40\"},{\"idx\":5,\"id\":\"g_current_set\",\"value\":\"0x40\"},{\"idx\":6,\"id\":\"b_current_set\",\"value\":\"0x40\"}],[{\"idx\":0,\"id\":\"dot_grp_sel0\",\"value\":\"0x00\"},{\"idx\":1,\"id\":\"dot_grp_sel1\",\"value\":\"0x00\"},{\"idx\":2,\"id\":\"dot_grp_sel2\",\"value\":\"0x00\"},{\"idx\":3,\"id\":\"dot_grp_sel3\",\"value\":\"0x00\"},{\"idx\":4,\"id\":\"dot_grp_sel4\",\"value\":\"0x00\"}],[{\"idx\":0,\"id\":\"dot_onoff0\",\"value\":\"0xFF\"},{\"idx\":1,\"id\":\"dot_onoff1\",\"value\":\"0xFF\"},{\"idx\":2,\"id\":\"dot_onoff2\",\"value\":\"0x03\"},{\"idx\":3,\"id\":\"dot_onoff3\",\"value\":\"0xFF\"}],[{\"idx\":0,\"id\":\"fault_state\",\"value\":\"0x00\"},{\"idx\":1,\"id\":\"dot_lod0\",\"value\":\"0x00\"},{\"idx\":2,\"id\":\"dot_lod1\",\"value\":\"0x00\"},{\"idx\":3,\"id\":\"dot_lod2\",\"value\":\"0x00\"},{\"idx\":4,\"id\":\"dot_lsd0\",\"value\":\"0x00\"},{\"idx\":5,\"id\":\"dot_lsd1\",\"value\":\"0x00\"},{\"idx\":6,\"id\":\"dot_lsd2\",\"value\":\"0x00\"},{\"idx\":7,\"id\":\"lod_clear\",\"value\":\"0x00\"},{\"idx\":8,\"id\":\"lsd_clear\",\"value\":\"0x00\"},{\"idx\":9,\"id\":\"reset\",\"value\":\"0xFF\"}],[{\"idx\":0,\"id\":\"dc0\",\"value\":\"0x80\"},{\"idx\":1,\"id\":\"dc1\",\"value\":\"0x80\"},{\"idx\":2,\"id\":\"dc2\",\"value\":\"0x80\"},{\"idx\":3,\"id\":\"dc3\",\"value\":\"0x80\"},{\"idx\":4,\"id\":\"dc4\",\"value\":\"0x80\"},{\"idx\":5,\"id\":\"dc5\",\"value\":\"0x80\"},{\"idx\":6,\"id\":\"dc6\",\"value\":\"0x80\"},{\"idx\":7,\"id\":\"dc7\",\"value\":\"0x80\"},{\"idx\":8,\"id\":\"dc8\",\"value\":\"0x80\"},{\"idx\":9,\"id\":\"dc9\",\"value\":\"0x80\"},{\"idx\":10,\"id\":\"dc10\",\"value\":\"0x80\"},{\"idx\":11,\"id\":\"dc11\",\"value\":\"0x80\"},{\"idx\":12,\"id\":\"dc12\",\"value\":\"0x80\"},{\"idx\":13,\"id\":\"dc13\",\"value\":\"0x80\"},{\"idx\":14,\"id\":\"dc14\",\"value\":\"0x80\"},{\"idx\":15,\"id\":\"dc15\",\"value\":\"0x80\"},{\"idx\":16,\"id\":\"dc16\",\"value\":\"0x80\"},{\"idx\":17,\"id\":\"dc17\",\"value\":\"0x80\"}],[{\"idx\":0,\"id\":\"pwm_bri0\",\"value\":\"0x00\"},{\"idx\":1,\"id\":\"pwm_bri1\",\"value\":\"0xFF\"},{\"idx\":2,\"id\":\"pwm_bri2\",\"value\":\"0x00\"},{\"idx\":3,\"id\":\"pwm_bri3\",\"value\":\"0xFF\"},{\"idx\":4,\"id\":\"pwm_bri4\",\"value\":\"0x00\"},{\"idx\":5,\"id\":\"pwm_bri5\",\"value\":\"0x00\"},{\"idx\":6,\"id\":\"pwm_bri6\",\"value\":\"0x00\"},{\"idx\":7,\"id\":\"pwm_bri7\",\"value\":\"0xFF\"},{\"idx\":8,\"id\":\"pwm_bri8\",\"value\":\"0x00\"},{\"idx\":9,\"id\":\"pwm_bri9\",\"value\":\"0x00\"},{\"idx\":10,\"id\":\"pwm_bri10\",\"value\":\"0x00\"},{\"idx\":11,\"id\":\"pwm_bri11\",\"value\":\"0xFF\"},{\"idx\":12,\"id\":\"pwm_bri12\",\"value\":\"0x00\"},{\"idx\":13,\"id\":\"pwm_bri13\",\"value\":\"0x00\"},{\"idx\":14,\"id\":\"pwm_bri14\",\"value\":\"0x00\"},{\"idx\":15,\"id\":\"pwm_bri15\",\"value\":\"0xFF\"},{\"idx\":16,\"id\":\"pwm_bri16\",\"value\":\"0x00\"},{\"idx\":17,\"id\":\"pwm_bri17\",\"value\":\"0xFF\"},{\"idx\":18,\"id\":\"pwm_bri18\",\"value\":\"0x00\"},{\"idx\":19,\"id\":\"pwm_bri19\",\"value\":\"0x00\"},{\"idx\":20,\"id\":\"pwm_bri20\",\"value\":\"0x00\"},{\"idx\":21,\"id\":\"pwm_bri21\",\"value\":\"0x00\"},{\"idx\":22,\"id\":\"pwm_bri22\",\"value\":\"0x00\"},{\"idx\":23,\"id\":\"pwm_bri23\",\"value\":\"0xFF\"},{\"idx\":24,\"id\":\"pwm_bri24\",\"value\":\"0x00\"},{\"idx\":25,\"id\":\"pwm_bri25\",\"value\":\"0x00\"},{\"idx\":26,\"id\":\"pwm_bri26\",\"value\":\"0x00\"},{\"idx\":27,\"id\":\"pwm_bri27\",\"value\":\"0xFF\"},{\"idx\":28,\"id\":\"pwm_bri28\",\"value\":\"0x00\"},{\"idx\":29,\"id\":\"pwm_bri29\",\"value\":\"0x00\"},{\"idx\":30,\"id\":\"pwm_bri30\",\"value\":\"0x00\"},{\"idx\":31,\"id\":\"pwm_bri31\",\"value\":\"0xFF\"},{\"idx\":32,\"id\":\"pwm_bri32\",\"value\":\"0x00\"},{\"idx\":33,\"id\":\"pwm_bri33\",\"value\":\"0x00\"},{\"idx\":34,\"id\":\"pwm_bri34\",\"value\":\"0x00\"},{\"idx\":35,\"id\":\"pwm_bri35\",\"value\":\"0x00\"}]]}"

    After disconnection/reconnection of the EVM and restarting the LP586x 1.0.0 application, I select the LP5861 mode, enables the chip and load the registers file. Nothing happens until I select the LED CONTROL tab and push the button VSync. The EVM lights up with the correct colors, the registers tab shows the correct values, but the GUI is not updated and keeps the initial colors (dimmed white), but all the other settings are updated :

    Best regards,

    Philippe

  • Hi again,
    When I restart the application, I have to load registers twice to awake the EVM : after the first load, the IC is turned off (disabled).

  • Hi Philippe,

    Jared will give you feedback later.

  • Hi Philippe,

    Sorry for the late reply.

    Actually, the command is correct and the device can receive the data successfully, but only the GUI can't show the right configuration. It's just a GUI show problem when designing this GUI. Sorry for the inconvenience.

    BR, Jared