SLUSF40 October 2024 BQ25190
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
GPIO2 can be configured to function as Buck-boost EN pin, open-drain output, push-pull output, sequencer output, level-sensitive input, positive-edge/negative-edge trigger input based on different I2C settings.
To set GPIO2 as the Buck-boost EN pin, BUBO_EN_SET should be set to b110 and GPIO2_CONFIG needs to be set to b1000.
If GPIO_CONFIG = b0010, GPIO2 is set as the sequence PG pin to reflect the sequence PG status, same as the SEQUENCE_PG bit. GPIO2 is pulled up to VPU if SEQUENCE_PG bit is 1 and pulled down to GND if SEQUENCE_PG bit is 0.
If GPIO2 is set to be in forced open-drain high state, it is in a HIGH-Z state. If GPIO2 is set to be in forced low state, it is pulled down to GND. If GPIO2 is set to be in forced push-pull high state, it is pulled up to VPU.
If GPIO2 is set to operate as a sequencer output, it is pulled up to VPU or pulled down to GND at the corresponding time instances during power-up/power-down sequence.
If GPIO2 is configured to be in input mode, its current state is readable with the GPIO2_STAT bit. As a positive-edge/negative-edge trigger input, the GPIO2_FLAG will be set when a trigger event happens and a 128μs pulse is sent through the INT pin to notify the host.