SLVSGS5A December 2023 – June 2024 DRV3946-Q1
PRODUCTION DATA
The SPI protocol provides a function to indicate certain SPI errors directly in the SDO response. Four different types of errors are provided and described below.
VDD_ERR: The leading bit of the SDO response is used to signal VDD_ERR. The error could occur due to a VDD undervoltage (loss of VDD) or VDD overvoltage on any of the devices on the SPI bus. During power-up initialization (INIT1, INIT2), this field also indicates PVDD under voltage or PVDD over voltage.
NAD_ERR: Failure to identify the node address (resistor out of range or device bias issues during initialization) or data conflict during SDO transmission results in a NAD_ERR condition. The second leading bit of the SDO response is used to signal NAD_ERR and for the remainder of the response SDO is disabled (Hi-Z). The error could occur due to NAD_ERR sensed by any of the devices on the SPI bus. Controller can resolve the NAD_ERR condition using the broadcast commands RE_INIT_NAD, NAD_OVERRIDE, or ASSIGNED_NAD. After power up, the NAD address is latched and does not change (unless commanded by the user).
SPI_ERR: The device signals the rejection of an SPI frame by asserting the SPI_ERR bit (third leading bit on SDO response) high in the next SPI frame. This is also referred to as out-of-frame signaling. The remainder of the SDO response proceeds as normal. SPI_ERR could occur due to an incorrect number of SCLK edges when nSCS is low (device expects exactly 24) or a Command CRC mismatch.
DEV_ERR: In the event of an error detected through the various device self-test (BIST) and power-up monitors the device signals a device error in the SDO response by keeping the SDI pin Hi-Z.