andhieSetyabudi / BQ25896

Arduino Library for access BQ25896 through I2C ( Wire )
MIT License
7 stars 3 forks source link

I2C slave address error, should be 0x6B #6

Open doublemarkpro opened 1 year ago

doublemarkpro commented 1 year ago

As datasheet describes:

The device operates as a slave device with address 6BH, receiving control inputs from the master device like micro controller or a digital signal processor through REG00-REG14.

The slave address of BQ25896 should be 0x6B, not 0x6A. I have test it by my own board.

In BQ25896.h, should fix as below -- const uint8_t I2C_ADDR = 0x6A; ++ const uint8_t I2C_ADDR = 0x6B; @andhieSetyabudi