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.

LP5569: LP5569 breathing effect, independent LED mapping

Part Number: LP5569

Hi all,

I am programming an application with the LP5569 for a future consumer product.

I have successfully managed to create effects with the Windows UI software, extract the contents of the RAM, download them to RAM memory and execute them. In particular, I have 2 RGB LEDs and 3 white LEDs on our board. There is a very simple breathing effect that I would like to use and activate on those 5 LEDs independently. I mean activating the breathing only on LED1, then only on LED2 and so forth.

When I use the mapping LED registers (ENGINE1_MAPPING1, ENGNE1_MAPPING2, etc.) , which I believe associate LEDs to the different Engines, nothing seems to change.  The only LEDs that have the effect are the ones selected on the Windows UI program.

Am I missing something here? Are the LED mappings to the engines tied up when the program gets created? But if that is the case, what is the purpose of the LED mapping registers?

Thank you in advance for your help.

David

  • Hi, David,

    If you are using the GUI mapping and start the engine, the engine will run as the mapping instructions. And changing the mapping using registers won't have effect because the mapping code is in the SRAM.

    I would suggest you use Table 5. LED Mapping Instructions in datasheet page 27, then you won't have to stop engne and change the mapping method.

    You can also refer to the following application note:
    www.ti.com/.../snva822.pdf

    If you think this answers your question, please help to click "Resolve".

    Thanks.
    Regards,
    Kenneth
  • Hi Kenneth,

    Thank you very much for the quick reply. But I am not sure I understand what you mean with the Table 5 suggestion.

    I will try to explain what I am trying to do:

    - I have created the following code (image attached), using the GUI.

    - After compiling the code, I copy it to a c file and transfer it via I2c during the initialisation of the chip.

    - In the example, only one LED will execute the breathing effect, regardless of the mapping registers.

    My question is, how do I need to create the program to be able to assign and unassign the effect of ENGINE 1 to other LEDs while my program is running? (I could not find anything similar on the Application Note)

    Thank you again for your help.

    David