We noticed this interesting discrepancy:
if we read registers STAT0 0x41 STAT1 0x00 FLAG0 0x20 you can see that FLAG0 indicates = VDPPM fault detected,
while none of the VDPPM bits are set in STAT0. Shouldn't VDPPM_ACTIVE_STAT be active as well?
So two questions:
1. Are these two the same things or do they indicate different situations- regulation vs fault? And what exactly is VDPPM fault ?
2. When do FLAGs bits get cleared in general vs STAT bits?
Our register settings are below:
STAT0 | Charger: STAT0 : 0x21 |
STAT1 | Charger: STAT1 : 0x00 |
FLAG0 | Charger: FLAG0 : 0x40 |
VBAT_CTRL | Charger: VBAT_CTRL : 0x46 |
ICHG_CTRL | Charger: ICHG_CTRL : 0x23 |
CHARGECTRL0 | Charger: CHARGECTRL0 : 0x24 |
CHARGECTRL1 | Charger: CHARGECTRL1 : 0x56 |
IC_CTRL | Charger: IC_CTRL : 0x87 |
TMR_ILIM | Charger: TMR_ILIM : 0x4d |
SHIP_RST | Charger: SHIP_RST : 0x13 |
SYS_REG | Charger: SYS_REG : 0x40 |
TS_CONTROL | Charger: TS_CONTROL : 0x00 |
MASK_ID | Charger: MASK_ID : 0xc0 |