Hello,
I have a problem where charge would not turn ON if I try to communicate with the chip through I2C.
Situation:
Dead battery (<3V) is connected. The host processor power is connected to SYS output (buck converter of the chip).
Here/s what happens.
When I plug in the USB, i.e apply a voltage at Vin,
1. It puts the chip into default mode(no host mode), and it starts charging.
2. The Buck converter turns on through Vin supply, and outputs 1.8V (default), and that powers the host processor.
3. Immediately upon power on, host processor sets the CD pin high, communicates to the chip through I2C, that puts the chip into host mode and It stops charging at this point. (here's the problem, I don't understand why It would stop charging here).
Through I2C I make following changes:
- change Buck converter output to 2.8V
- change ICHRG, IPRETERM and ILIM
- Write '1' to HZ_MODE bit, and '0' to CE bit.
Then it pulls the CD pin low again.
Charge is still off.
4. I disconnect the USB, i.e Vin, and now buck converter it powered by battery, and chip goes to high Z mode.
5. I plug in the USB again and it charges normally.
Please help me with this. I would really appreciate it.
Thank you,
Kishan