I cannot detect the VBUS status using the npm1300's GPIO0 pin

Title: nPM1300 GPIO as Continuous VBUS Status Output (ACOK) Instead of Interrupt Pulse

Hi Nordic Team,

We are using the nPM1300 in our design and would like to use one of the PMIC GPIOs as a hardware charger-detect (ACOK) signal.

Requirementswb_schematic_rev09-20250804.pdf

We have an external AND gate whose inputs include the nPM1300 GPIO. We need the GPIO to continuously indicate the VBUS connection state with the following behavior:

VBUS State GPIO Output
VBUS not connected  HIGH 
VBUS connected  LOW

In other words, we need a continuous hardware level representing the current VBUS state, not an interrupt pulse.

Current Configuration

We currently configure the GPIO as:

i2c_write_reg16(NPM1300_I2C_ADDR, mode_reg, NPM1300_GPIOMODE_GPOIRQ);

i2c_write_reg16(NPM1300_I2C_ADDR, drive_reg, 0x00);
i2c_write_reg16(NPM1300_I2C_ADDR, puen_reg,  0x00);
i2c_write_reg16(NPM1300_I2C_ADDR, pden_reg,  0x00);
i2c_write_reg16(NPM1300_I2C_ADDR, od_reg,    0x00);
i2c_write_reg16(NPM1300_I2C_ADDR, deb_reg,   0x01);

Initially we also enabled the VBUS event interrupt:

EVENTSVBUSIN0CLR
INTENEVENTSVBUSIN0SET

However, we observed that the GPIO only asserts briefly when a VBUS event occurs and then deasserts again, which is consistent with interrupt behavior.

Question

From the GPIO mode table in the datasheet, we can only find the following output modes:

  • GPOIRQ

  • GPORESET

  • GPOPLW

  • GPOLOGIC1

  • GPOLOGIC0

We could not find a GPIO mode corresponding to a continuous VBUS Present, VBUS OK, or ACOK output.

Could you please clarify:

  1. Does the nPM1300 support routing the current VBUS present state to a GPIO as a continuous hardware output?

  2. If yes, which GPIO mode or register configuration should be used?

  3. If not, is the intended approach to always use GPOIRQ together with I2C reads of VBUSINSTATUS on the host MCU?

  4. Is there any recommended method to obtain a continuous hardware indication of VBUS presence from the nPM1300 for use with external logic (such as an AND gate) without MCU intervention?

Our use case requires a persistent hardware signal while VBUS is connected, rather than an event notification.

Thank you for your guidance.



i have attached the schematics, a pin from npm1300 is connected to and gate. now my requirement is the gpio0 has to drive the signal(ACOK_1) to low when the vbus is inserted. 

Related