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.

[参考译文] BQ76952:用于读取寄存器的 I2C 子命令

Guru**** 2988540 points

Other Parts Discussed in Thread: BQ76952

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1666552/bq76952-i2c-subcommand-to-read-registers

器件型号: BQ76952

尊敬的 TI 工程师:  

我根据读取手册中所述子命令的寄存器的方式进行操作。

我使用的通信方法是 I2C 通信。

具体操作方法如下:

  1. 将子命令写入 0x3E 和 0x3F。
  2. 等待 1ms。
  3. 读取 0x3E 和 0x3F 寄存器。  
  4. 如果 BQ76952 的返回值不是在步骤 1 中写入的子命令、则返回值为 0xFFFF。 然后执行 a.否则、执行 b.

      a.等待 100ms、然后再次读取 0x3E 和 0x3F 寄存器。  

      b.读取缓冲区数据。

 

将子命令写入 0x3E 和 0x3F 寄存器。 0x3E 和 0x3F 寄存器中的值绝不会写入值。 在多久后可以确定子命令写入失败?

谢谢、

此致