SLAAEK3A January   2024  – September 2024 MSPM0G3507

 

  1.   1
  2. Description
  3. Required Peripherals
  4. Compatible Devices
  5. Design Steps
  6. Design Considerations
  7. Software Flow Chart
    1. 6.1 Device Configuration
    2. 6.2 Required UART Packets
  8. Application Code
  9. Additional Resources
  10. E2E
  11. 10Trademarks

Required UART Packets

Figure 6-2 shows the required UART packet for performing reads and writes with the SPI. The values shown are the default header values defined in the example.

  • Start Byte: The value used by the bridge to indicate a new transaction is starting. UART transmissions are ignored until this value is detected by the bridge.
  • SPI Read or Write Indicator: This value tells the bridge whether to perform a read from or a write to the SPI device.
  • Message Length N: The length of the data being transferred in bytes.
  • D0, D1, ..., D(N – 1): Data being transferred to the bridge
Note: The Read packet includes only the header. When conducting a read, there is no need to send data after the packet. The bridge device automatically send the correct amount of dummy data to the SPI peripheral to fetch the read data.
MSPM0G3507 UART Write and Read Packet
                    Format Figure 6-2 UART Write and Read Packet Format