/dev/i2c-0 (port I2C0).
However i2cdetect -y 0 can not detect my device
while "i2cdetect -y 1" can.
I use Python smbus utility like this
I can send /read a single byte
but I can not send more data.
From a logic analyzer I can see it should be possible to send via ONE write command at least 4bytes
I tried to send 3 bytes but failed
I would like to send
so I tried
Code: Select all
>>> bus.write_i2c_block_data(0x08,0x03,[0xAA,0xBB]) Traceback (most recent call last): File "<stdin>", line 1, in <module> IOError: [Errno 5] Input/output error
When I check via a logic analyzer, I can see data bytes like these
D0 is 03
D1 is AA
but all others are empty, including D2, which I would expect to have 0xBB value
Has anyone found a solution to such a problem?Thank you