使用的是BQ40Z50R1 我已经配置HPE位为“1”,但是在通讯过程中还是没有启用HPE校验,请问这是出了什么问题?要如何解决或参考什么文档。
谢谢!
Star Xu:
Typically the host will poll the gauge and take appropriate action, and since bq40z50 has protection built in it can take safety related actions without requiring host intervention.
The other option is to use the gauge broadcast mode which enables the gauge to broadcast messages on the bus :
Charge Control SMBus Broadcasts:
If the [HPE] bit is enabled, MASTER mode broadcasts to the host address are PEC enabled. If the [CPE]
bit is enabled, MASTER mode broadcasts to the smart-charger address are PEC enabled. The [BCAST]
bit enables all broadcasts to a host or a smart charger. When the [BCAST] bit is enabled, the following
broadcasts are sent:
• ChargingVoltage() and ChargingCurrent() broadcasts are sent to the smart-charger device address
(0x12) every 10 s to 60 s.
• If any of the [OCA], [TCA], [OTA], [TDA], [RCA], [RTA] flags are set, the AlarmWarning() broadcast is
sent to the host device address (0x14) every 10 s. Broadcasts stop when all flags above have been
cleared.
• If any of the [OCA], [TCA], [OTA], [TDA] flags are set, the AlarmWarning() broadcast is sent to a smartcharger
device address every 10 s. Broadcasts stop when all flags above have been cleared.