Hello, I'm currently working on a charging project. The circuit is designed to have an input of 5V and charge a Li-Po battery (3.9V and 2200mAh). The goal of this circuit is to be able to have a charge current around 2A. So i've chosen Rilim and Riset according to the datasheet :
Rilim = 135 ohms (max 2A)
Riset = 135 ohms ( Charge current = 1.85A as a first approach and will decrease when the circuit works to allow 2A)
The pins EN1 and EN2 can also be used to programe externally the charging. Since i want to use external settings, i've set EN1 to high ( connected to LDO with a pull-up resistor) and EN2 to low state (to ground).
The 5V input is managed by a TTI dc power supply set to 5.1V/2A (to counter line resistance so that Vin ~5V).
The circuit is wired as followed :
The basic functionality of charging and DPPM work but the charging current cannot go above 500mA and hangs around 400-450mA, no matter the settings on Rlim/Riset are.
LDO is stuck at 2.9V during charging (?).
I've also tried changing the charging current using i2c with this library and using the test code : https://github.com/ambergarageDIY/BQ24250/blob/master/BQ24250.cpp
Thanks for any kind of help you have got,
Best regards