• Menu
  • Product
  • Email
  • PDF
  • Order now
  • SPI to I2C Bridge

    • SLAAES5A February   2025  – August 2025 MSPM0G3507

       

  • CONTENTS
  • SEARCH
  • SPI to I2C Bridge
  1.   1
  2. 1Design Description
  3. 2Required Peripherals
  4. 3Design Steps
  5. 4Design Considerations
  6. 5Software Flowchart
  7. 6Device Configuration
  8. 7Application Code
  9. 8Porting Guide
  10. 9Revision History
  11.   Trademarks
  12. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

Subsystem Design

SPI to I2C Bridge

1 Design Description

This subsystem serves as a SPI-to-I2C bridge. In this subsystem, the MSPM0 device is the SPI Peripheral and I2C Controller. When a SPI controller transmits to the bridge SPI peripheral, the peripheral collects all the received data. Once the peripheral reaches the expected maximum message, the peripheral transmits the data using the I2C controller. The device sends an I2C transmit request and waits for I2C data from the I2C target. When the I2C controller finishes reading the data, the bridge waits for a SPI controller to send a request to read the data from the bridge. Finally, the bridge transmits the I2C controller received data through the bridge SPI peripheral.

 System Functional Block DiagramFigure 1-1 System Functional Block Diagram

2 Required Peripherals

Two MSPM0 peripherals are used for this subsystem: the SPI and I2C.

Table 2-1 Peripherals
Sub-Block Functionality Peripheral Use Notes
SPI Peripheral SPI Called SPI_INST in code.
I2C Controller I2C Called I2C_INST in code. Default 100kHz transmission rate.

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale