SLUSF21 june 2023 BQ79616
PRODUCTION DATA
To start the Main ADC, the host MCU sets ADC_CTRL1[MAIN_GO] = 1. When the device receives the GO command, it first samples the following settings to determine Main ADC configuration and then operates the Main ADC accordingly. Any change of the settings below requires the MCU to resend another GO command to implement the new settings.
When using the MAIN ADC with the LPF Filter enabled and an ADC reset is desired, it is important that the LPF_VCELL_EN bit, LPF_BB_EN bit and MAIN_GO bit is set to 0 and again set to 1 before running the MAIN ADC again, due to needed re-initialization of the internal LPF buffer. If this procedure is omitted then an LPF_FAIL status bit can occur on the following MAIN ADC activation.
There are two status bits to indicate the Main ADC status:
[MAIN_MODE1:0] | Run Mode | Description |
---|---|---|
0b00 | Stop Main ADC | Stop the Main ADC |
0b01 | 8 RR Run (eight round robin cycles) | Main ADC runs for eight round robin cycles then stops. This gives a single measurement on all cell voltages and all GPIO inputs to the system. Filtered measurements are not effective under run mode. For example, use as a quick burst read when MCU is periodically awake during system idle state. |
0b10 | Continuous Run | Main ADC runs in continuous mode and stops if [MAIN_MODE1:0] = 0b00 and a GO is sent. For example, must use this mode if LPF is enabled. Also use in diagnostic operation. |
The level shifter is enabled for the number of channels specified in the ACTIVE_CELL[NUM_CELL3:0] when device enters ACTIVE mode. MCU shall wait for tAFE_SETTLE time before starting the Main ADC whenever the device enters ACTIVE mode or when [NUM_CELL3:0] setting is changed.
The Main ADC operates in ACTIVE mode only. If the ADC is running while the device goes into SLEEP, the Main ADC will be “frozen” (that is, ADC is stopped but device still remembers the operational state). When the device returns to ACTIVE mode without any digital reset event, the Main ADC will restart and continues from its “pre-frozen” state. In this condition, the cell voltage measurements are off during the tAFE_SETTLE time because input voltage to the ADC is not settled yet. MCU can ignore these measurements or send a new GO command to restart the Main ADC after tAFE_SETTLE.