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.

[参考译文] BQ76942:通过 I2C 将值写入 CC 增益和容量增益寄存器

Guru**** 2538960 points
Other Parts Discussed in Thread: BQ76942

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1360187/bq76942-writing-values-to-cc-gain-and-capacity-gain-register-via-i2c

器件型号:BQ76942

我们需要将27.432写入 BQ76942芯片中的 CC 增益寄存器。 在文档中提示它需要采用32位 IEEE-754浮点格式、结果为0x41db74bc。 然后、这会转换为小端字节序格式、并给出0xbc74db41的最终值。 然而,当该值写入寄存器时,寄存器最终读取到-500的值。 是否需要执行任何额外步骤才能将27.432准确写入 CC 增益寄存器?

我们已查看过之前的论坛帖子、这些帖子似乎都没有找到有关此特定芯片的有效帖子或拥有最终答案。

 

此外、使用 BQ Studio 应用程序、可以轻松地查看存储在由软件上的数字值表示的寄存器中的原始十六进制值?

提前感谢、

R·菲利普斯