SLAAEL6 September   2024 MSPM0G3507

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Hardware Setup
  6. 3Software Setup
  7. 4Software Structure
    1. 4.1 Flow Diagram
    2. 4.2 System Setup
    3. 4.3 Diagnostics
    4. 4.4 EEPROM Programming
  8. 5Summary
  9. 6References

Software Setup

To set up the software for the LP-MSPM0G3507, follow these steps (demonstrated in a computer with Windows® 10 OS):

  1. Download and install Code Composer Studio™ (CCS): Code Composer Studio integrated development environment (IDE). Follow online guide to install CCS or use the MSPM0 Design Flow Guide.
    1. In the installation, when CCS installer is in Select Components page, select MSPM0 32-bit Arm Cortex-M0+ General Purpose MCUs.
  2. Download MSPM0-SDK and import sample code.
    1. Download MSPM0-SDK from ti.com.
    2. In CCS, click Project - Import CCS Projects, choose the TPS929xxx demo SDK folder path: {SDK folder}\examples\nortos\LP_MSPM0G3507\demos\TPS929xxx_control_uart_over_can, import demo code.
  3. Refer to the TPS929120EVM, TPS929160EVM or TPS929240EVM's user's guides to change the EVM address. Synchronously change the device number DEVICE_CNT and device address device_address in the system_info.h and system_info.c file.
  4. Build and load the program.
  5. Press S2 button on LP-MSPM0G3507, TPS929xxxEVM changes the LED pattern.
  6. (Optional) Download the EEPROM configuration tool. This is a good tool if users want to program the EEPROM with non-default data. The tool for TPS929160/TPS929240 also includes a calculation tool for the FlexWire interface CRC values in tab IF_CRC. For each of the supported devices, there is a separate link:
    1. TPS929120/TPS929121: TPS92912x-Q1 EEPROM Configuration Tool.
    2. TPS929160/TPS929240: TPS929240-Q1 TPS929160-Q1 EEPROM Configuration Tool.