TI中文支持网
TI专业的中文技术问题搜集分享网站

BQ76952: 多次I2C通讯故障恢复后,AlarmStatus[FULLSCAN]无法置1

Part Number:BQ76952

你好!

在使用BQ76952进行I2C通讯时,主机是STM32F103,多次手动制造I2C通讯故障,i2c通过9个SCL回复通讯后,通过逻辑分析仪看到,能够正常读取CC2Current电流信息,但读取AlarmStatus时无法读取到FULLSCAN置1标志位数据(一直持续无法读到),这是有概率性的发生,请问这是怎么回事?

Star Xu:

您好,The ADSCAN and FULLSCAN bits are used to map to the Alarm Raw Satus() register or the Alarm Status() registers (if this functionality is enabled) to signify when a measurement loop has been completed and when measurements are available to read. This is covered in more detail in this E2E thread: https://e2e.ti.com/blogs_/b/powerhouse/posts/improving-voltage-measurement-accuracy-in-battery-monitoring-systems

,

?? ?:

里面没有关于i2c通讯恢复后的fullscan位无法置1的答案

,

Star Xu:

您好,正在询问更了解这款芯片的TI工程师,稍后回复。

,

Star Xu:

您好,是否方便详细描述一下,怎么手动导致通讯失败的?

When the FULLSCAN flag is set (0x62 [7]) are they unable to read any data from the device?

Can you provide the images from the logic analyzer showing this behavior?

,

SHIKUN BIAN:

我们也遇到类似情况,在大电流放电的情况下,断开放电MOS,就会导致FULLSCAN无法置1,我们现在的办法是给BQ76952芯片进行复位然后重新配置BQ76952参数,解决此问题,我们不想每次通过复位来解决这个问题

,

?? ?:

我现在的做法是,首次上电然后配置,只要BQ不复位,不进行配置,FULLSCAN在首次上电时检测置1,后面就不管,直接读取电压和温度就行,不影响采集,你可以试下

,

Star Xu:

您好,

By writing 0x0080 to AlarmStatus() (Direct Command 0x62), the FULLSCAN bit will be cleared.

once the FULLSCAN bit is cleared by the MCU, the device will set it again after the next full scan has been completed

,

SHIKUN BIAN:

感谢,我来试试

赞(0)
未经允许不得转载:TI中文支持网 » BQ76952: 多次I2C通讯故障恢复后,AlarmStatus[FULLSCAN]无法置1
分享到: 更多 (0)