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

Description

Note: TI is transitioning to use more inclusive terminology. Some language contained in this document is possibly different than previously-used terms for certain technology areas.

This subsystem demonstrates how to use MSPM0 to achieve IO expander function through the communication command from serial peripheral interface (SPI), I2C, or universal asynchronous receiver-transmitter (UART) by the host. This expansion is helpful when the number of GPIOs on the host is inadequate. In addition to supporting control of the GPIO output, the subsystem can also read back the GPIO status through SPI, I2C, or UART. Figure 1-1 shows the basic architecture of the subsystem and the modules which are used in this case.

MSPM0 Subsystem Functional Block
          Diagram Figure 1-1 Subsystem Functional Block Diagram

Table 1-2 has links to the example code. In this demonstration, the IO control number is limited to eight. However, users can do further IO expansion by referring to this demonstration.