我这边出现了I2C读写无效的问题,查看论坛,发现多年以前也出现了类似的例子,https://e2echina.ti.com/support/machine-translation/mt-clock-timing/f/mt-clock-timing-forum/497571/cdce813-q1-i2c-i2c/1746587?tisearch=e2e-sitesearch&keymatch=CDCE813#1746587
可能是什么原因?
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x00
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x01
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x00
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x01
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -w "0x02 0x87"
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x02
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -w "0x01 0x17"
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x01
Reg value: 0x7
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -w "0x02 0x87"
/mnt # /customer/i2c_read_write -b 5 -a 0xca -f A8D8 -r 0x02
Reg value: 0x7