SLUSEC2A December 2021 – November 2023 BQ79631-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.
GPIO | DISABLE | INPUT | OUTPUT | WEAK PULL-UP/DOWN | SPECIAL | ||||
---|---|---|---|---|---|---|---|---|---|
High-Z | Digital | ADC Only | High | Low | ADC & weak pull-up | ADC & weak pull-down | SPI Master [SPI_EN] = 1 |
Fault Input [FAULT_IN_ EN] = 1 |
|
GPIO1 | √ | √ | √ | √ | √ | √ | √ | ||
GPIO2 | √ | √ | √ | √ | √ | √ | √ | ||
GPIO3 | √ | √ | √ | √ | √ | √ | √ | ||
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 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 | 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). |