如图,在软件界面上用IIC读取08寄存器中的电压信息,结果各种现象,有不成功的,有返回1F FF的,也有返回7FFF的, 值怎么都不对呢?
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.
如图,在软件界面上用IIC读取08寄存器中的电压信息,结果各种现象,有不成功的,有返回1F FF的,也有返回7FFF的, 值怎么都不对呢?
按照bq34z100EVM Wide Range Impedance Track Enabled Battery Fuel Gauge 文件上举的例子在读一次试试,
Read SBData Voltage (0x08)
– Start Register = 0x08
– Number of Bytes to Read = 2
– Press the Read button
– Date returned =8C 3C, which a byte swapped
– 0x3C8C = 15500mV, when converted to decimal
如果读出来还是不对,看一下电池的registers页面是否正常或者电池的I2C通讯是否正常。