Hi,
this is my configuration:
// Reset all registers to default
twi_tx_register_8(m_twi, BQ25121_ADDRESS, ILIM_B_UVLO_CR, 0x8A ); //reg 9
// Set Reisters
twi_tx_register_8(m_twi, BQ25121_ADDRESS, TS_CFMR, 0x08 ); //reg 2 // disable thermistor
twi_tx_register_8(m_twi, BQ25121_ADDRESS, FCCR, 0x8C ); //reg 3 // set charging current to ~70mA
twi_tx_register_8(m_twi, BQ25121_ADDRESS, TPCR, 0x86 ); //reg 4 // set termination current to 7mA 0x86
twi_tx_register_8(m_twi, BQ25121_ADDRESS, SYS_VOUTCR, 0xBE ); //reg 6 // 2.8V out
twi_tx_register_8(m_twi, BQ25121_ADDRESS, PBCR, 0x68 ); //reg 8 // After Reset, device enters Hi-Z mode
twi_tx_register_8(m_twi, BQ25121_ADDRESS, VIN_DPM_TR, 0x42 ); //reg 11 // turn on 3h safety timer
Battery have 4.2V and after 1hour of waiting I still read Charging in progress State from Reg 0.
What is the problem ?
Edit:
1. In the same PCB with the same program but with BQ25121A instead BQ25121 everything works fine.What is wrong ?
2. Battery is 110mAh