SNVU854 april   2023 TPS929120-Q1 , TPS929121-Q1 , TPS929160-Q1 , TPS929240-Q1

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Software Setup
  5. 3Hardware Setup
  6. 4Sample Code Structure
    1. 4.1 Flow Diagram
    2. 4.2 System Setup
    3. 4.3 Diagnostics
    4. 4.4 EEPROM Programming

Introduction

The sample code showcases the ability to light up the LEDs on the TPS929120EVM, TPS929160EVM, and TPS929240EVM. 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 EEPROM programming. The animation mode is selected by default. Section 4.2 describes how to change between the modes. In the animation mode, 6 different animations are used according to a predefined sequence. Switching between the different animations is achieved by clicking on button S2 on the MSP-EXP430F5529LP. After every animation, diagnostics is executed to determine if any fault occurred. For more information about diagnostics see Section 4.3.

The sample code comes with many predefined APIs that can be used to change the configuration of the LED driver, perform diagnostics, or build custom FlexWire commands. The predefined APIs automatically adjust to the specified system. More detail about the system specification can be found in Section 4.2.