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:如何使用 CRC 修改 Bq769x2 中的寄存器?

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

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1564338/bq76972-how-do-i-modify-the-register-in-bq769x2-with-crc

器件型号:BQ76972


工具/软件:

我有代码在没有 CRC 的情况下驱动 bq76972。 但如何在代码段中以 CRC 为例呢?

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

    首先、确保 将 Settings:Configuration:Comm Type 寄存器设置为 0x11(对于 I2C、使用 CRC(对于 100kHz 总线速度)或 0x12(对于 I2C、使用 CRC)(对于高于 100kHz 总线速度)。

    具有密封配置的 BQ769X2 OTP 编程示例指南 应用手册中提供了一个 CRC 软件编码示例。

    BQ769x2 软件开发指南 还介绍了 I2C CRC 配置以及更多使用 CRC 的代码示例。