ZHCSTD7A December 2021 – November 2023 BQ79631-Q1
PRODUCTION DATA
Address | 0x033C | |||||||
RW | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
Name | RSVD | RSVD | OW_SNK[1:0] | COMP_ADC_SEL[2:0] | COMP_ADC _GO | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
RSVD = | Reserved | |||||||
OW_SNK[1:0] = |
Turns on current sink on VS pins, AUX pins, or SRP/N pins. Changes to these bits take effect immediately. Host MCU is responsible to turn on the correct sink current before performing open wire (OW) test and to turn off the sink current after OW test is completed. 00 = All VS, SRP/N, AUX pins current sink is off. 01 = Turn on current sink on all VS pins. 10 = Turn on current sink on all AUX pins 11 = Turn on current sink on SRP/N pins. | |||||||
COMP_ADC_SEL[2:0] = | Enables the device diagnostic comparison through the ADC
measurements. Host enables the corresponding ADCs in continuous mode before enabling
this diagnostic. These bits are sampled when [COMP_ADC_GO] = 1. 000 = No ADC comparison is performed 001 = VS voltage measurement check. Device compares the INPUT channels specified by [AUX_IN_SEL4:0] against the following criteria: VS (from Main ADC) vs. AUX (from AUX ADC) delta is less than [VSAUX_THR4:0]. The [DRDY_VSAUX] = 1 when this comparison is completed. 010 = Open wire (OW) check on VS pins. MCU enables the current sink on all VS pins through the [OW_SNK1:0] before enabling this comparison. Device compares corresponding VS pins against the following criteria: VS (from Main ADC) is less than DIAG_COMP_CTRL2 [OW_THR3:0]. The [DRDY_VS_OW] = 1 when the comparison is completed. 011 = Open wire (OW) check on VS pins MCU enables the current sink on all VS pins through the [OW_SNK1:0] before enabling this comparison. Device compares corresponding AUX pins specified by [AUX_IN_SEL4:0] against the following criteria: AUX (from AUX ADC) is less than DIAG_COMP_CTRL2 [OW_THR3:0]. The [DRDY_AUXOW] = 1 when the comparison is completed. 100 = RSVD 101 = GPIO measurement check (applies to GPIO configured as ADC input). Device compares main GPIO measurement vs. AUX GPIO measurements delta is less than [GPIO_THR2:0]. The [DRDY_GPIO] = 1 when the comparison is completed. Other codes: No ADC comparison is performed. | |||||||
COMP_ADC_GO = | Device starts diagnostic test specified by
[COMP_ADC_SEL2:0] setting. When this bit is written to 1, the selected
[COMP_ADC_SEL2:0] is sampled. Change of [COMP_ADC_SEL2:0] setting
has no effect unless this GO bit is written to 1 again. This bit is cleared to 0 in read. 0 = Ready. Writing 0 has no effect 1 = Star diagnostic selected by [COMP_ADC_SEL2:0]. |