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

Hardware Setup

The following hardware elements are required to evaluate the IO expander based on MSPM0:

  • MSPM0 LaunchPad™ development kit shown in Table 3-1
  • A computer with Microsoft® Windows® 7 or later, and .NET Framework 4.5. (or real device as primary)
  • USB2ANY and compatible GUI

In this subsystem, the customer can flexibly choose different communication interfaces, including I2C, SPI, or UART. This can greatly increase the flexibility of the customer system design. Figure 4-1 shows the hardware connection in this design, using LP-MSPM0C1104 as an example.

MSPM0 Hardware ConnectionFigure 4-1 Hardware Connection

Table 4-1 shows the pin configuration, you can also change the configuration following your requirements. The SPI communication is configured as three-wire mode to save GPIO resources. The pin configuration is the same for MSPM0L1306 and MSPM0C1104.

Table 4-1 Pin Configuration
ModuleFunctionPin ConfigurationComment
I2C interface SDAPA0Address: 0x48, I2C clock freq: 400kHz
SDLPA1
Serial Peripheral InterfacePOSIPA25SPI clock freq: 500kHz
PISOPA26
CLOCKPA17
UART interfaceRXPA18Baud rate: 9600bps
TXPA23
GPIOGPIOBIT0:PA2, BIT1:PA27,
BIT2:PA17, BIT3:PA24,
BIT4:PA4, BIT5:PA6,
BIT6:PA16, BIT7:PA22