[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
  • Hello,

    Have you measured the charging current? Or you are relying on the current ADC reading?

    Note the current ADC full scale current scales with the charging current set. :"When charging, the full-scale current is the weighted sum of registers BCHGISETMSB and BCHGISETLSB multiplied by 1.25." So basically you would get always the same reading from the ADC if you change the charging current. 

Reply
  • Hello,

    Have you measured the charging current? Or you are relying on the current ADC reading?

    Note the current ADC full scale current scales with the charging current set. :"When charging, the full-scale current is the weighted sum of registers BCHGISETMSB and BCHGISETLSB multiplied by 1.25." So basically you would get always the same reading from the ADC if you change the charging current. 

Children
No Data
Related