Hello,
I am having trouble accessing the control register on the BQ27510.
The datasheet mentions writing a subsequent 2 byte command after sending the command for the control register. So my I2C code is as follows:
Start, wait for confirm, send 7 bit address with LSB cleared, wait for confirm, send 0x00 (register), confirm, send 0x00 (lsb), confirm, send 0x00(msb), confirm, Stop.
I believe this part is correct so far.
I then try to read and I get 0x0010 back - which suggests the device is unsealed and in SLEEP mode - which makes sense as the battery is fully and constantly on charge.
My read sequence is as per the datasheet with the first write for the register then read back with the LSB set.
However, I get 0x0010 back regardless of the command I send. If I want to read the firmware, hardware or chemical IDs, they also come back 0x0010.
Can anyone suggest where I am going wrong?
Also, I tried sending the command 0x0020 to seal the device to see if I got 0x6010 on return but that failed as well.