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.