Other Parts Discussed in Thread: TPS65070
Processor used OMAP L138 associated PMIC TPS65070 to manage Powers and connected litio battery.
When system start the PMIC has default register set omap send via I2c protocol some registers changes.
1. Read CHGCONFIG1 with register 0x04 (value read 0x31 (00110001))
2. RESET charger algorithm, write 3 bit as "1" "xxxx 1xxx" to CHGCONFIG1
3. Sleep 100ms
3. Read CHGCONFIG1
4. Write bit 3 as "0" "xxxx 0xxx" to CHGCONFIG1
5. Set charger safety timer to 8 hours, Read CHGCONFIG1
6. Set bit 7 and 6 to "1" "11xx xxxx" and write to CHGCONFIG1
7. Write 1000 0000 to TPS6507X_INT
This steps are made every time when the system start.
From defualt, the sensor type is set to 1 (10k), but sometime when we are monitoring the registers, via I2c protocol, we see that the battery charge is interrupted and the sensor type is changed from 1=10k to 0=100k. Check attached image.
.