SLVSGS6A October 2023 – July 2026 DRV3901-Q1
PRODUCTION DATA
There are two parts to this test. First a voltage measurement on the VREG pin, which is then followed is then followed by a capacitance measurement on the VREG pin.
Voltage measurement: With the driver disabled (Hi-Z) and the VREG_SW closed, there is a 4ms settling time to allow for the voltage on the VREG pin to settle from the prior tests. This is followed by a voltage measurement sequence involving a 3-bit DAC, comparator (CMP) and logic that sweeps the DAC codes (VDAC_VREG) to estimate the voltage on the VREG pin. The result is reported in STATUS register OFF_DIAG_STAT either as normal, with the voltage value recorded in VREG_VMEAS in STATUS3 register, or a voltage low failure, with the subsequent capacitor measurement skipped. This is a self-timed test (tVREG_VMEAS). A second comparator (CMPR) with a fixed offset to the CMP comparator is used for additional confirmation measures. An invalid comparator output combination results in abortion of the off-state diagnostics and gets reported as OFF_DIAG_STAT = 0xD in the STATUS registers.
Capacitance measurement: With the driver disabled (Hi-Z) and VREG_SW opened, a controlled pull down current (IVDRV_DIAG) is forced on VDRV pin causing VREG to discharge slowly. The start reference of CMP comparator is set by user configured threshold (VDAC_VREG), set by registers OFF_DIAG_CMEAS_THRS_SEL or OFF_DIAG_CMEAS_THRS_AUTO. When this comparator trips, a timer is started and the comparator reference is switched to a fixed lower value VDIFF. The timer is stopped when the comparator trips again. This discharge time is recorded in T_VREG_CAP in STATUS3 register. The duration, tCMEAS, is set by the OFF_DIAG_CMEAS_TSEL register, with an additional set up time tCMEAS_SETUP for opening time of the VREG switch and settling time for the pull down current. The user can estimate the capacitance on VREG pin based on the difference in the comparator tripping time, along with the fixed voltage threshold (VDIFF) and pull down current (IVDRV_DIAG).
User can skip this test (both parts) with register OFF_DIAG_VREG_MEAS_DIS = 0x1.
| T_VREG_CAP | Result | Calculation |
|---|---|---|
| 00h | Timer start did not occur, value not determined. | N/A |
| 01h - 31h | Timer start and stop occurred | Cap value = T_VREG_CAP (register value decimal) x timer resolution x 1.16 |
| 31h - 3Fh | Timer start occurred but stop did not occur. | Cap value (Farad) > T_VREG_CAP (register value decimal) x timer resolution x 1.16 |
Timer resolution = OFF_DIAG_CMEAS_TSEL (0.5ms, 1ms, 2ms, 4ms) / 32. Can also refer to T_VREG_CAP register description in the STATUS3 section to understand how different start-stop timer scenarios can be inferred.