SLAAEL9 October   2024 MSPM0C1104 , MSPM0L1306

 

  1.   1
  2. 1Description
  3. 2Required Peripherals
  4. 3Compatible Devices
  5. 4Hardware Setup
  6. 5Software Introduction
    1. 5.1 Code Introduction
    2. 5.2 Protocol Introduction
  7. 6Design Steps
  8. 7Results
  9. 8Trademarks

Software Introduction

Figure 5-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 5-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.