SLUUCJ0 November 2023 BQ76907
The BQ76907 device integrates a diagnostic check on the voltage references used by the device. A regular measurement of the internal 1.8 V LDO voltage is included as part of the standard measurement loop in NORMAL and SLEEP modes. As the ADC mux cycles through its periodic measurement loop, it measures this voltage and compares it to the value expected, to implement the Voltage Reference Measurement Diagnostic Protection. Because the ADC uses the VREF1 internal reference, while the internal LDO voltage is based on the VREF2 internal reference, this measurement effectively measures one reference using the other reference. Thus, if one of the two references malfunctions and deviates significantly from its expected value, the resulting measurement result changes and allows detection of this condition. When detected, the device triggers a Voltage Reference Diagnostic Fault and sets 0x03 Safety Status B()[VREF], if enabled, and the device can disable FETs based on settings in Settings:Protection:Both FET Protections B[VREF]. The fault can be recovered by the host sending the 0x009B PROT_RECOVERY()[DIAGREC] subcommand. The expected measurement of the 1.8V LDO in 16-bit codes is 1.8 V / VREF1 × 2 / 5 × 32768 which is approximately 19228. The diagnostic protection alert is triggered whenever the measured result is below 14592 or above 24320. The diagnostic protection status fault is triggered when this occurs for two consecutive measurements.