1) On disconnect of TypeC hub, system shutdowns abruptly
During disconnect of TypeC hub from system, we are programming ChargeVoltage (Register 05/04h) and ChargeCurrent (Register 03/02h) to '0'.
Writing '0' leading to abrupt system power off.
During system bring-up, we are programming 6000mAH in ChargeCurrent and 8400mV in ChargeVoltage register.
Please clarify why writing to 0 leading to system power off.
2) CHGR_OK/AC_STAT is high in but not charging
CHGR_OK/AC_STAT is high in ChargerStatus (21/20h) register but Charging not happening (Bit1 and Bit2 are zero in 21h register).
Under what circumstances, Charger will not charge even though CHGR_OK high.
Register dump:
Reg04 = D0
Reg05 = 20
Reg02 = 40
Reg03 = 17
Reg32 = 37
Reg33 = 02
Reg0E = 00
Reg0F = 1D
Reg00 = 20
Reg01 = 82
Reg20 = 00
Reg21 = A0
Thanks.