Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5346

Interfacing (DSI, CSI, I2C, etc.) • Re: i2cset does not work for 16bits?

$
0
0
i2cset is for SMBus devices, so is your device actually SMBus or just I2C?
TBH I tend to use i2ctransfer as I care about exactly the bytes that are sent. eg
i2ctransfer -y 1 w3@0x1a 0x1a 0x01 0xf8
thanks, good point, I will try it.
@danjperron and @ 6by9 thanks both your guys, I have tried "i2cset -y 1 0x1a 0x1a 0x01 0xf8 i". it gave me error :"Write failed", then I tried "i2ctransfer -y 1 w3@0x1a 0x1a 0x01 0xf8". it gave me error: Sensing message failed: Remote I/O error.

Statistics: Posted by ironchef — Tue Mar 19, 2024 2:11 am



Viewing all articles
Browse latest Browse all 5346

Trending Articles