This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ25792: I2C read IBAT discharge current

Part Number: BQ25792
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?