Also I tried it in RPI 3B+ and RPI 4B. it still does not work.thanks, I did try it, but still it does not work.Not familiar with the command, but one thing jump out at me... 0x1f8 could be interpreted as 12 bits. Did you try 0x01f8 ?Hi all,
I am using "i2cset -y 1 0x1a 0x1a 0x1f8 w" to write a 16bits to register(0x1a). Both i2c address and register address are correct, but it gives me error:"Error: Write failed"
if I tried "i2cset -y 1 0x1a 0x00 0x1f" to write a 8 bits to register(0x00), there is no error.
I am wondering how to write a 16bit data to a register. thanks,
Any help will be appreciated!
Statistics: Posted by ironchef — Thu Mar 14, 2024 7:51 pm