Thank you again for your help.
I've monitored the current going through the shunt resistor, as the shunt is 0.59Ohm, and the internal voltage ref is 0.25V, current should be around 424mA.
My questions (problems) are:
- First, the current is not linear, but kind of switched, is the off time used to measure the battery voltage ?
- Second, the current is much higher than 424mA, can't seem to understand why it's not regulated linearly.
- Finally, the battery voltage is around 2.8V instead of Vlimit x 2 = 4V.
I've checked :
Vlimit and Vref, they're at 2V (finally)
PGM0 = V+
PGM1 = is not connected to anything, but it shows 3.4V (floating voltage when not connected I guess)
R1 changed to 150 Ohm, Vbat = 6.2V and V+ = 4.5V.
Monitored DRV pin, and it's switching as well.
Do you have any ideas ?