Hello,
"When termination occurs, the status register CHRG_STAT is set to 11, and an INT pulse is asserted to the host. Termination is temporarily disabled when the charger device is in input current, voltage or thermal regulation." (DS 9.2.7.3)
What makes REG0B-CHRG_STAT change from 11 – Charge Termination Done to 00 – Not Charging?
To enable charging, both CE# pin high and REG03->CHG_CONFIG = 1 - Charge Enable are required, so to 'stop charging' you only need to change one of these 'controls'. However, do both of these ways to 'stop charging' also individually change REG0B-CHRG_STAT to 00 - Not Charging?
It's not unreasonable to assume that an error during charging would change REG0B-CHRG_STAT to 00 – Not Charging, but it doesn't seem to be documented.
The practical question is that REG0B-CHRG_STAT becoming 11 triggers an INT pulse. Some of the interrupt reasons are errors that you read from REG0C and presumably you want to react to the error flags as soon as possible (so you only read REG0C at first). If there is an error you would in many cases stop charging. You don't want to lose the REG03->CHG_CONFIG value by stopping the charging. Unless REG03->CHG_CONFIG has been automatically changed by HW due to the error, that is.
Could you please clarify?
Best regards
Niclas