This document describes the preparation and usage of the sample code for the LP589x(-Q1)/TLC698x device family when paired with a LAUCHXL-F280039C. Following the instructions provided for setup, the installed code lights up the LEDs on the EVM. The LP5890/1/2(-Q1) devices can be paired with the LP5899(-Q1) to use a standard SPI module of the MCU to communicate to the LED drivers. Moreover, the TLC6983/4 devices can be paired with the TLC6989 to use a standard SPI module of the MCU to communicate to the LED drivers.
LaunchPad™ and Code Composer Studio™ are trademarks of Texas Instruments.
All trademarks are the property of their respective owners.
The sample code showcases the ability to light up the LEDs on the LP5891Q1EVM, LP5891EVM, LP5890EVM, TLC6984EVM, and TLC6983EVM. Each EVM has its own sample code. However, the only difference is in the file led_driver.h to select the used LED driver IC. This helps the user to be able to light up the EVM without any modification to the sample code.
There are two modes in the code: animation and simple test. The animation mode is selected by default. Section 3.3 describes how to change between the modes. In the animation mode two frames are used to scroll left, right, up, and down and to fade in and fade out according to a predefined sequence. The first frame is a Texas Instruments logo of 32x32 RGB pixels and the second frame a rainbow pattern of 48x32 RGB pixels. This means that not always the full frame is shown on the LED display of the EVM. Examples of this can be seen in Section 3.5. It is outside the scope of this document to explain how the frames in the sample code are generated.
In the simple test mode, the user can use some predefined APIs to light up the LED board, perform diagnostics, or build custom Continuous Clock Serial Interface (CCSI) commands. The sample code comes with turning on all RGB LEDs which results in a white display. In addition, every frame, diagnostics is executed. For more information about diagnostics see Section 3.4.
The LP5891Q1EVM, LP5891EVM, and LP5890EVM can be paired with LP5899DYYEVM. Section 3.3 describes how to enable the pairing. After enabling, the LAUCHXL-F280039C's SPI is used to communicate to LP5899DYYEVM instead of the LAUCHXL-F280039C's CLB (Configurable Logic Block) to communicate to LP589X(Q1)EVM. Moreover, additional diagnostics is enabled.
The predefined APIs in the sample code automatically adjust to the specified system. More detail about the system specification can be found in Section 3.3.