Other Parts Discussed in Thread: BQSTUDIO
The device address of a battery charger is a 7-bit address as specified by the I2C standard. The address can be converted as a hexadecimal value with a R/W bit at the end.
For example, the I2C charger BQ25713 has a 7-bit address 0b1101011, as specified in the I2C standard.
The 7-bit address can be converted as the hex format.
Convert the 7-bit address without the R/W bit to a hexadecimal value. The range will be in the between 0x00 to 0x7F.
0b110 1011 turns into 0x6B.
Convert the 7-bit address including the R/W bit to a hexadecimal value
0b1101 011X turns into 0xD6 or 0xD7. Sometimes only the write address (e.g. 0xD6) is given.
That is why we list both addresses D6(6B) as target device address in BQStudio.
Note: “0b” is a prefix for binary number, “0x” is a prefix for hexadecimal number.