您好,
我的一位客户 无法为寄存器0xff (0x0以外)编程所需的值、即使在 i2c 写入差分值后、该值仍保持在0xA5中
请检查并告知我们缺失的内容。 我们还可以通过短时间来解决此问题。
我们参考的是“DS110DF410 SNLS397D”数据表。
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0xA5
[VRF:none] root@hwxacs1-7030-re0:~# i2cset -y 0 0x18 0xff 0x0
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0x00
[VRF:none] root@hwxacs1-7030-re0:~# i2cset -y 0 0x18 0xff 0x04 //读取和写入目标通道0寄存器集
[VRF:none] root@hwxacs1-7030-re0:~
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0xA5
[VRF:none] root@hwxacs1-7030-re0:~# i2cset -y 0 0x18 0xff 0x05。 //读取和写入目标通道1寄存器集
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0xA5
[VRF:none] root@hwxacs1-7030-re0:~# i2cset -y 0 0x18 0xff 0x06。 //通道2
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0xA5
[VRF:none] root@hwxacs1-7030-re0:~# i2cset -y 0 0x18 0xff 0x07
[VRF:none] root@hwxacs1-7030-re0:~# i2cget -y 0 0x18 0xff
0xA5
[VRF:none] root@hwxacs1-7030-re0:~