SLUSF40 October 2024 BQ25190
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
GPIO4 can be configured to function as LDO1 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 GPIO4 as the LDO1 EN pin, LDO1_EN_SET should be set to b110 and GPIO4_CONFIG needs to be set to b1000.
When GPIO4 is configured to be VSEL2 pin when GPIO3 isconfigured to be VSEL1 pin, both GPIO3 and GPIO4's High/Low states are read to determine the which voltage setting to be used for Buck.
If GPIO4 is set to be in forced open-drain high state, it is in a HIGH-Z state. If GPIO4 is set to be in forced low state, it is pulled down to GND. If GPIO4 is set to be in forced push-pull high state, it is pulled up to VPU.
If GPIO4 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 GPIO4 is configured to be in input mode, its current state is readable with the GPIO4_STAT bit. As a positive-edge/negative-edge trigger input, the GPIO4_FLAG will be set when a trigger event happens and a 128μs pulse is sent through the INT pin to notify the host.
If GPIO4_CONFIG is set to b1100/b1101/b1110/b1111, GPIO4 is operating as a open-drain PWM output which is pulled low for 20%/40%/60%/80% duty ratio at fGPIO4_PWM.