您好!
MCU 的 I2C 端口和 BQ78350-R1之间存在使用 SMBus 协议的通信。 但是、不能每次都从监测计 IC 获取正确的数据。 从监测计 IC 读取的数据很少会损坏。 (与实际值不同)。 为了消除或拒绝损坏的数据、是否使用校验和或 CRC 方法中的一种是好主意? 如果是、您会建议我使用描述 CRC 或校验和方法的有用文档或源代码
提前感谢。 此致。
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.
您好!
MCU 的 I2C 端口和 BQ78350-R1之间存在使用 SMBus 协议的通信。 但是、不能每次都从监测计 IC 获取正确的数据。 从监测计 IC 读取的数据很少会损坏。 (与实际值不同)。 为了消除或拒绝损坏的数据、是否使用校验和或 CRC 方法中的一种是好主意? 如果是、您会建议我使用描述 CRC 或校验和方法的有用文档或源代码
提前感谢。 此致。
您好、Yusuf、
需要记住的一点是 I2C 和 SMBus 不相同。 本文档(https://www.ti.com/lit/an/slua475/slua475.pdf )中的“示例”和“最常见的问题”部分可能有助于调试您的问题。 BQ78350-R1 SMBus 上有一个 PEC 功能、可用于抑制损坏的数据。
此致、
Matt
您好、Yusuf、
我认为这可能与 Luis 回答的这个问题有关? https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1040823/bq78350-r1-bq78350-r1-pec-calculation-problem/3850183#3850183
此致、
Matt