ZHCSR87 December 2022 DRV8316C
PRODUCTION DATA
The SDI input data word is 16 bits long and consists of the following format:
The SDO output data word is 16 bits long and the first 8 bits are status bits. The data word is the content of the register being accessed.
For a write command (W0 = 0), the response word on the SDO pin is the data currently in the register being written to.
For a read command (W0 = 1), the response word is the data currently in the register being read.
R/W | ADDRESS | Parity | DATA | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B15 | B14 | B13 | B12 | B11 | B10 | B9 | B8 | B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
W0 | A5 | A4 | A3 | A2 | A1 | A0 | P | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
STATUS | DATA | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B15 | B14 | B13 | B12 | B11 | B10 | B9 | B8 | B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
S7 | S6 | S5 | S4 | S3 | S2 | S1 | S0 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
SPI Frame Error (SPI_SCLK_FLT: If the nSCS gets deasserted before the end of 16-bit frame, SPI frame error is detected and SPI_SCLK_FLT bit is set in STAT2. The SPI_SCLK_FLT status bit is latched and can be cleared when a clear faults command is issued either through the CLR_FLT bit or an nSLEEP reset pulse
SPI Address Error (SPI_ADDR_FLT): If an invalid address is provided in the ADDR field of the input SPI data on SDI, SPI address error is detected and SPI_ADDR_FLT bit in STAT2 is set. Invalid address is any address that is not defined in Section 8.6 i.e. address not falling in the range of address 0x0 to 0xC. The SPI_ADDR_FLT status bit is latched and can be cleared when a clear faults command is issued either through the CLR_FLT bit or an nSLEEP reset pulse