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.

BQ27510-G3用I2C读取所有寄存器为同一个值

Other Parts Discussed in Thread: BQSTUDIO

想使用I2C读取BQ27510-g3的SOC   Voltage,采用手册的读取方式,其中ADDR为0xaa/0xab   Voltage的CMD为0x08/0x09   SOC为0x20/0x21

可是每次读到的Voltage和SOC都相同

比如Voltage为0x89     那么SOC就为0x8989

然后每次读取单字节,读取0x08  0x09  0x0a  0x0b  的值也相同

为什么会出现此类问题?使用Stdio调试没有问题