JAJSL83D August 2020 – September 2022 BQ79612-Q1 , BQ79614-Q1 , BQ79616-Q1
PRODUCTION DATA
The device has eight GPIOs. Each GPIO can be programmed to be one of the configurations below through the GPIO_CONF1 to GPIO_CONF4 registers. Note that when the device is in SHUTDOWN mode all GPIOs will exibit a weak pull-down behaviour.
GPIO | DISABLE | INPUT | OUTPUT | WEAK PULL-UP/DOWN | SPECIAL | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
High-Z | Digital | ADC & OTUT | ADC Only | High | Low | ADC & weak pull-up | ADC & weak pull-down | Module Balancing MB_TIMER_CTRL is not 0x00 |
SPI Master [SPI_EN] = 1 |
Fault Input [FAULT_IN_ EN] = 1 |
|
GPIO1 | √ | √ | √ | √ | √ | √ | √ | √ | |||
GPIO2 | √ | √ | √ | √ | √ | √ | √ | √ | |||
GPIO3 | √ | √ | √ | √ | √ | √ | √ | √ | √ (output, HIGH) | ||
GPIO4 | √ | √ | √ | √ | √ | √ | √ | √ | √ (SS) | ||
GPIO5 | √ | √ | √ | √ | √ | √ | √ | √ | √ (MISO) | ||
GPIO6 | √ | √ | √ | √ | √ | √ | √ | √ | √ (MOSI) | ||
GPIO7 | √ | √ | √ | √ | √ | √ | √ | √ | √ (SCLK) | ||
GPIO8 | √ | √ | √ | √ | √ | √ | √ | √ | √ (input, active low) |
GPIO Configuration | Description | |
---|---|---|
DISABLE | High-Z | This is the default GPIO configuration at reset if OTP is not programmed |
INPUT | Digital | When GPIO is configured as Digital Input, the device detects the input voltage level to determine a 1 or 0 with respect to its VIL and VIH levels. The result is shown in the GPIO_STAT register. |
ADC and OTUT | The GPIO is configured to be measurable by the ADC (both main and AUX ADCs) and also as the input to the OTUT protectors. Example: use this selection for GPIO used for thermistor connection. | |
ADC only | The GPIO is configured to be measurable by the ADC (both main and AUX ADCs) only. Example: use this selection to measurement voltage on GPIO. | |
OUTPUT | High | The GPIO is configured as digital output high (internally pull up to CVDD). The logic state is also shown in the GPIO_STAT register. |
Low | The GPIO is configured as digital output low. The logic state is also shown in the GPIO_STAT register. | |
WEAK PULL-UP/DOWN | ADC and Weak Pull-up | The GPIO is pull up internally and is configured to measured by the ADC (both main and AUX ADCs) |
ADC and Weak Pull-down | The GPIO is pull down internally and is configured to measured by the ADC (both main and AUX ADCs) | |
SPECIAL | Module Balancing | When the MB_TIMER_CTRL register is non-zero, GPIO3 will be taken over to be used in the module balancing control. This configuration has higher priority over any of the INPUT/OUTPUT configurations on GPIO3. |
SPI Master | When GPIO_CONF1[SPI_EN] = 1, GPIO4 to GPIO7 are taken over as the SPI master communication lines. This configuration has higher priority over any of the INPUT/OUTPUT configurations on GPIO4 to GPIO7. | |
Fault Input | When GPIO_CONF1[FAULT_IN_EN] = 1, GPIO8 is taken over as an input that if the GPIO was asserted (active low), will set FAULT_SYS[GPIO] = 1 and assert NFAULT (if enabled). |