SNVU849A May   2023  – September 2024 LP5890 , LP5891 , LP5891-Q1 , LP5899-Q1 , TLC6983 , TLC6984

 

  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 Diagnostics
    5. 3.5 Demo
  7. 4Revision History

Software Setup

To set up the software for the TMS320F280039C LaunchPad™, please follow these steps (demonstrated in a computer with Windows 10 OS):

  1. Download and install Code Composer Studio™.
    1. Download Code Composer Studio integrated development environment (IDE) (Version 12.7.0).
    2. Follow the installation instructions to install Code Composer Studio. During the installation process, if you choose the "Setup type" to be "Custom Installation", make sure that you select "C2000 real-time MCUs" in "Select Components", as is marked with red box in Figure 2-1.
      LP5891Q1EVM LP5891-Q1 Installation Process of Code
                    Composer Studio Figure 2-1 Installation Process of Code Composer Studio
  2. Download and install C2000Ware (Version 5.01.00.00).
    1. To verify the installation is correct, open the Code Composer Studio software. Click "Windows" from the top menu bar. Then click "Preferences" from the drop-down list. The "Preferences" window will show. From the left side bar, select "Code Composer Studio" -> "Products".
    2. Make sure that there is "C2000Ware 5.1.0.00" and "SysConfig" (SysConfig should be installed automatically when you install C2000Ware) under the "Discovered products", as is marked in Figure 2-2. If there is no "C2000Ware 5.1.0.00" or "SysConfig" appearing, you may need to click "Refresh" on the right side of the "Preference" window. If still unavailable, check whether the installation is correct. A standalone desktop version of SysConfig can be found at SYSCONFIG System configuration tool.
      LP5891Q1EVM LP5891-Q1 Verification of C2000Ware
                    5.1.0.00 Installation Figure 2-2 Verification of C2000Ware 5.1.0.00 Installation
  3. Download and import sample code.
    1. The link for each EVM is different. However, the sample code in each link is the same except for the files led_driver.h and system_info.h which is setup for the matching EVM.
      1. LP5891Q1EVM: LP5891Q1EVM-F280039C-SW
      2. LP5891EVM: LP5891Q1EVM-F280039C-SW
      3. LP5890EVM: LP5890EVM-F280039C-SW
      4. TLC6984EVM: TLC6984EVM-F280039C-SW
      5. TLC6983EVM: TLC6983EVM-F280039C-SW
      6. LP5899DYYEVM paired with LP5891(Q1)EVM: LP5899DYYEVM-LP5891-F280039C-SW
      7. LP5899DYYEVM paired with LP5890EVM: LP5899DYYEVM-LP5890-F280039C-SW
    2. Importing the Code Composer Studio (CCS) project according to the process provided in the link: Importing a CCS Project.
  4. Load the program according to the process provided in the link: Building and Running Your Project.
  5. (optional) Download the register map generation tool. This is a handy tool if you want to further configure the registers.
    1. LP5891-Q1: LP5891 Registers Map Generation Tool
    2. LP5891: LP5891 Registers Map Generation Tool
    3. LP5890: LP5890 Registers Map Generation Tool
    4. TLC6984: TLC6984 Registers Map Generation Tool
    5. TLC6983: TLC6983 Registers Map Generation Tool