Forum Discussion
Hi Jacob
Sorry that I have suggested you to change the addressing mode from 7 to 10bit.
I misunderstood that your addressing is greater than 7 Bit.
For the register address in the device, if it is greater that FF, then you would need to send another extra byte for the register address.
It is normal in this case, because all data send in the i2c bus are byte size.
In your case if you would like to read a register address greater than 0xFF then you would need to send a total of 3 bytes to initiate the read.
e.g.
<device address byte> <register address byte 1> <register address byte 2> ... <remaining bytes>
Could you share the datasheet of the device that you are trying to read from?
Regards
Jingyang, Teh
Hello Jingyang,
I understand this point. However, in the driver provided by Intel there is already functionality for this that seems to not function. See the code snippet i posted above: