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.

[参考译文] BQ76972:如何确保通过 SPI 读取数据时正在读取的数据不会更新。

Guru**** 2460850 points
Other Parts Discussed in Thread: BQ76972

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1549413/bq76972-how-to-ensure-that-the-data-being-read-does-not-get-updated-when-reading-data-via-spi

器件型号:BQ76972


工具/软件:

在测试过程中、我们发现正常读取电压为 0X200、但偶尔为 0X2FF、或者当正常电压为 0X1FF 时、偶尔为 0X100。 考虑到 BQ76972 芯片使用的 SPI 通信将数据拆分为字节、每个字节在组合之前逐个读取以及 CRC 验证、我们怀疑 BQ 芯片的电压值可能会在读取高位字节之后、但在读取低位字节之前更新、从而导致电压的高位字节和低位字节不一致。

我们正在考虑我们是否可以检测全扫描或 ADSCAN 标志位、并在设置标志位后立即读取电压值。

然而、在读取时、这些数据是否会被锁存以确保所读取数据的完整性?

或者是否有任何其他方法可以确保当前读取的数据在读取过程中不会更新、从而避免读取高位和低位不属于同一数据的情况?