Other Parts Discussed in Thread: BQ25790
Tool/software:
Hi,
To measure the BAT discharging current, I've set REG14_Charger_Control_5 register EN_IBAT as 1. But still can't read the correct BAT discharing current, it looks like 65xxxmA.
Other i2c read information are all good, including Vbat voltage. If I plug the charger, the bat charing current can also read correctly.
I'm using the Linux I2C interface to read: i2c_read_word(fd, i2c_slave_addr_bq25792, BQ25790_ADC_IBAT_MSB, (uint16_t*)&value_16). Is there a problem like sign?
Could you suggest how to solve it?