Hi,
My customer has below questions. Is the ADCOPTION register setting 0xA00F correct? It looks to be set on continuous measurement from datasheet.
"I'm trying to read the ADCIBAT register (address 0x28/0x29), which contains measurements of the charge/discharge current through the battery. When I try to read this register (both addresses in one I2C transaction), the returned result is always 0x00 for both measurements.
I can successfully read the Device ID register, which comes back as 0x78. I can read the ADCVSYSBAT register (address 0x2C/0x2D), which returns a non-zero value. I've written the ADCOPTION register (address 0x3A/0x3B) to 0xA00F, which should enable the ADC to continuously read the charge and discharge current. I was able to confirm that the register was indeed written by reading it back.
The datasheet is a little confusing, and sometimes just wrong. We noticed that the I2C address of the device is 0xD6, even though the datasheet says 0xD4. I'm also a little confused as to why some registers list two addresses (such as the ADCOPTION register), but others only list one (such as the ADCIBAT register) even though both registers are two bytes wide."
It looks like the I2C address is fixed in the datasheet as it's showing 0xD6 on page 29.
Thanks,
Chuchen