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.

[参考译文] BQ25121A:I2C 通信:该器件是否实现了某种形式的寄存器写入自动递增?

Guru**** 2390755 points


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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/871820/bq25121a-i2c-communication-does-the-part-implement-some-form-of-auto-increment-for-register-writes

器件型号:BQ25121A

如果我通过 I2C 向器件写入两个字节(在器件的 I2C 地址之后)、我假设第一个字节被解释为寄存器地址、第二个字节被解释为要在该地址写入的值。

如果我写入两个以上的字节、如何解读第三个字节:作为新的寄存器地址、还是作为初始寄存器之后的寄存器值?

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

    您好!

    只要不发送停止条件、就会将其读作后续寄存器的值。