[nRF5340/nPM1304] Fail to configure PMIC charge current

Hi,

What specific steps must be followed to modify the charging current (BCHGISET) of the nPM1304?

The information I found says to disable the charger first (set BCHGENABLECLR to 0x01), then set BCHGISET, and finally enable the charger (set BCHGENABLESET to 0x01).

However, after following this method, although the write operation was successful, I found that the charging current of the nPM1304 is not the current I want, but is around 32mA, which is the same as the default charging current of the nPM1300.

Before disabling the charger, I read the register value as 0x01, and after writing 0x01, I read the value as 0x00, so I think the setting was successful. Could I have missed something or made a mistake in the steps?





Thank you very much for your help!

Best regards,
Kevin

Parents Reply Children
  • Hi  ,

    The BCHGISET value will be one of the following: 0x07 (3.5mA), 0x0A (5mA), 0x0E (7mA), 0x13 (9.5mA), 0x1A (13mA), 0x23 (17.5mA), 0x4C (38mA), 0x6A (53mA), and 0x8C (70mA).

    I have not set a value for VBUSINILIM0, so it should be using the default value. The value I read back is 0x01, which, according to the nPM1304 datasheet, corresponds to 100 mA.

    Therefore, could I assume that the maximum input current limit is set to 100 mA? However, all desired charging current values are below this maximum.

    Thank you very much for your help!

    Best regards,
    Kevin

Related