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.

BQ27220: 如何正确读取【OperationStatus(): 0x3A and 0x3B】的值

Part Number: BQ27220


参照【sluubd4.pdf】手册,按照下面的步骤读取【GaugingStatus: 0x0056】的值,但是读出来的值不正确。请问我下面读取的方法,哪里有问题。能否提供读取的sample,谢谢。

【读取步骤】

write(0x00, 0x54, 0x00)

wait 2s

write(0x3e)

read(2byte)  这里可以正确的读取到0x0056

wait 2s

write(0x40)

read(4byte)  这里读到的【GaugingStatus: 0x0056】的值不正确。