SLAAEL9A October   2024  – August 2025 MSPM0C1104 , MSPM0C1105 , MSPM0C1106 , MSPM0H3216 , MSPM0L1306

 

  1.   1
  2. 1Description
  3. 2Required Peripherals
  4. 3Hardware Setup
  5. 4Software Introduction
    1. 4.1 Code Introduction
    2. 4.2 Protocol Introduction
  6. 5Design Steps
  7. 6Results
  8. 7Revision History
  9. 8Trademarks

Software Introduction

Figure 4-1 shows the software project, developed in CCS. The project mainly consists of three parts. Other files are the default files for the MSPM0 project.

MSPM0 Software Project View Figure 4-1 Software Project View

The ti_msp_dl_config part is generated by SysConfig (graphic code generation tool), the MSPM0 initialization is for system initialization of MCU power, system controller, system clock, enabled peripherals and GPIOs.

The expander part declares the basic variables, GPIO configuration function, and interrupt function, and expander also contains some basic functions for SPI, I2C and UART protocol.

The main part includes the highest system function code, after system initialization, the MCU waits for commands from the primary and executes the corresponding GPIO operation.