SNVU844 may   2023

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Software Setup
  6. 3Sample Code Structure
    1. 3.1 Design Parameters
    2. 3.2 Flow Diagram
    3. 3.3 System Setup
    4. 3.4 Demo

Introduction

The sample code showcases the ability to light up the LEDs on the LP5890EVM, LP5891EVM, TLC6983EVM, and TLC6984EVM. 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.4. 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, 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.

The predefined APIs automatically adjust to the specified system. More detail about the system specification can be found in Section 3.3.