JAJSHI4 May 2019 DRV8340-Q1
PRODUCTION DATA.
The device detects short-to-battery and short-to-ground conditions when the motor is not commutating. These offline diagnostics can be activated in the SPI device by setting the EN_SHT_TST bit high. Both the short-to-battery and short-to-ground diagnostics run when the EN_SHT_TST bit is set high. In the H/W device, these diagnostics run at power-up or when going from the sleep mode if the nDIAG pin is left unconnected or tied to GND. To disable the diagnostics in the H/W device, connect the nDIAG pin to the DVDD supply (or an external 3.3 V or 5 V rail). The short-to-supply diagnostic runs first (see Offline Short-to-Supply Diagnostic (SHT_BAT)) followed by the short-to-ground diagnostic (see Offline Short-to-Ground Diagnostic (SHT_GND)). In the SPI device, the duration for this diagnostics is selected through the OLP_SHTS_DLY register. In the H/W device, the duration is fixed to 2 ms.