DLPU041G April 2016 – July 2024 DLPC230-Q1 , DLPC230S-Q1 , DLPC231-Q1 , DLPC231S-Q1
Table 3-3, Table 3-4, and Figure 3-1 describe the SPI short write protocol.
MOSI Controller Output, Peripheral input (e.g. Host Output, DLPC230 input):
| DATA BYTE | DESCRIPTION |
|---|---|
| CMD | 1-byte write command op-code |
| Tag | 1-byte identifier used to uniquely mark each command sent by host. |
| Length | Length of the payload data. |
| Data1(a:n) | Payload data to be sent. Length and content varies based on the command op-code, up to 64 bytes. |
| CRC | CRC or checksum for the write bytes. This value must cover all bytes including op-code, tag, length, and data bytes. |
MISO Controller input, Peripheral output (e.g. Host input, DLPC230 output):
| DATA BYTE | DESCRIPTION |
|---|---|
| CMD (ACK) | Echo of the received command op-code from the host controller. |
| Tag (ACK) | Echo of the received tag from the host controller. |
| LengthR | Length of the return data. This is always zero for a short write. |
| CRC-R | CRC or checksum for the response bytes. This value covers op-code, tag, and length. |
Figure 3-1 SPI Short Write