ZHCSTD7A December 2021 – November 2023 BQ79631-Q1
PRODUCTION DATA
To start the AUX ADC, the host MCU sets ADC_CTRL3[AUX_GO] = 1. When the device receives the GO command, it first samples the following settings to determine the AUX ADC configuration, then operates the AUX ADC accordingly. Any change to the settings below requires the MCU to send another GO command to implement the new settings.
There are four status bits to indicate the AUX ADC status:
[AUX_MODE1:0] | Run Mode | Description |
---|---|---|
0b00 | Stop AUX ADC | Stop the AUX ADC |
0b01 | Single Run (1 round robin cycle) | AUX ADC runs for one round robin cycle then stops. This gives a single measurement on all MISC inputs. For example, use as a quick burst read for just the MISC inputs without the need to issue a stop command to the AUX ADC. |
0b10 | Continuous Run | AUX ADC runs in continuous mode and stops if [AUX_MODE1:0] = 0b00 and a GO command is sent. For example, must use this mode when ADC diagnostic comparison operation is used. See Section 8.3.5.4 for details. |
0b11 | 8 RR Run (eight round robin cycles) | AUX ADC runs for eight round robin cycles then stops. This gives a single measurement on all active GPIO inputs. |
The AUX ADC operates in ACTIVE mode only. If the ADC is running while the device goes into SLEEP mode, the AUX ADC will be “freezed”; that is, the ADC stops but the device still remembers the operational state. When the device returns to ACTIVE mode without any digital reset event, the AUX ADC will restart and continue from its “prefreeze” state.