SLAAE76B march 2023 – june 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507
SPI and I2C protocols are widely used in communication between devices or boards, such as data exchange between an MCU and a sensor. The MSPM0G series MCU includes up to 32-MHz high-speed SPI, and support 3-wire, 4-wire, chip select, and command mode. Follow Figure 7-6 to design a system based on your requirements.
Some SPI peripheral devices need PICO (Peripherals Input Controller Output) keep high logic. Add a pullup resistor to the PICO pin if your external device requires it.
For I2C bus, the MSPM0G device supports Standard, Fast and Fast plus mode, as shown in the Table 7-6.
External pullup resistors are required when using I2C bus. The value of these resistors depends on the I2C speed - TI recommends 2.2k to support Fast mode+. For systems concerned with power consumption, large resistor values can be used. ODIO (see GPIOs) can be used to implement communication with a 5-V device.
PARAMETERS | TEST CONDITIONS | Standard mode | Fast mode | Fast mode plus | UNIT | ||||
---|---|---|---|---|---|---|---|---|---|
MIN | MAX | MIN | MAX | MIN | MAX | ||||
fI2C | I2C input clock frequency | I2C in Power Domain0 | 40 | 40 | 40 | MHz | |||
fSCL | SCL clock frequency | 100K | 400K | 1M | MHz | ||||
tHD,STA | Hold time (repeated) START | 4 | 0.6 | 0.26 | us | ||||
tLOW | LOW period of the SCL clock | 4.7 | 1.3 | 0.5 | us | ||||
tHIGH | High period of the SCL clock | 4 | 0.6 | 0.26 | us | ||||
tSU,STA | Setup time for a repeated START | 4.7 | 0.6 | 0.26 | us | ||||
tHD,DAT | Data hold time | 0 | 0 | 0 | us | ||||
tSU,DAT | Data setup time | 250 | 100 | 50 | us | ||||
tSU,STO | Setup time for STOP | 4 | 0.6 | 0.26 | us | ||||
tBUF | Bus free time between a STOP and START condition | 4.7 | 1.3 | 0.5 | us | ||||
tVD;DAT | Data valid time | 3.46 | 0.9 | 0.45 | us | ||||
tVD;ACK | Data valid acknowledge time | 3.46 | 0.9 | 0.45 | us |