总共有两个问题:
1、如何读出电量计BQ40Z50的Safety Events信息?
2、在不通过DeviceName() value的前提下,如何获取电量计的具体型号?
如BQ40Z50-R1/R2/R3? 或者BQ4050?
当前,我们知道Battery Management Studio是可以的,我们也想通过
单片机读取信息的方式,获取电量计的具体型号。
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.
总共有两个问题:
1、如何读出电量计BQ40Z50的Safety Events信息?
2、在不通过DeviceName() value的前提下,如何获取电量计的具体型号?
如BQ40Z50-R1/R2/R3? 或者BQ4050?
当前,我们知道Battery Management Studio是可以的,我们也想通过
单片机读取信息的方式,获取电量计的具体型号。
你好!Star XU!
我测试的是BQ4050,读到相应的数据,具体如下:
ManufacturerAccess() 0x0001 Device Type :应答信息为:0x04 0x01 0x00 0x34 0x9E
ManufacturerAccess() 0x0002 Firmware Version:应答信息为:0x0D 0x02 0x00 0x9E 0x34 0x00 0x01 0x00 0x16 0x00 0x00 0x00 0x02 0x00
ManufacturerAccess() 0x0003 Hardware Version:应答信息为:0x04 0x03 0x00 0x0B 0x00
通过获取的这些信息,那几个数代表是BQ4050呢?我还是不大确定,谢谢!另外上述信息读取时我是进行过效验的,认为数据错误的概率不大。
以下为13.1.3 ManufacturerAccess() 0x0002 Firmware Version的描述:
13.1.3 ManufacturerAccess() 0x0002 Firmware Version
The device can be checked for the firmware version of the IC. The firmware revision returns on
ManufacturerBlockAccess() or ManufacturerData() in the following format: ddDDvvVVbbBBTTzzZZRREE,
where:
Value Description
DDdd Device Number
VVvv Version
BBbb Build Number
TT Firmware Type
ZZzz Version
RR Reserved
EE Reserved
您好,请参考下面帖子的内容。