The issue may arise from several potential faults in the circuit design or configuration, particularly related to the ENBST pin, CHGIN voltage, and the THM pin voltage. Here are some useful steps for debugging:
- Ensure that the ENBST pin is set to low. If ENBST is high, the device will operate in OTG mode instead of charging the battery.
- Verify that the CHGIN voltage is valid and a charger is connected. There should be no loose connections.
- Check the voltage at the THM pin. It should be above the VCHGR_EN threshold to allow the device to charge the battery. If the voltage is pulled down by an external device, the device may enter the buck state, and hence charging would be disabled.
- Monitor the INOKB pin and STAT pin for faults in the charging process as per the datasheet.
- Measure the voltage at the SYS pin when a charge cable is plugged in to ensure it is within the expected range.
- If issues persist, consider re-evaluating the PCB layout and design for potential faults.