Arduino Giga I2C

Hi,

I have a device with an I2C adress of 0x6E. I need to send 0xDD,0X03 and then read the data returned from the device.

This is not a normal operation as Wire.h does. When I use

Wire.beginTransmission(0x6E);

Wire.write(0x03);

 Wire.endTransmission();

The arduino will send 0xDC, 0x30 to the device. Because the LSB of the address will be set as 0 when writing. This is not what I want. I want the arduino send 0xDD,0X03, where the LSB is set as 1.

The Wire.requestFrom() would set the LSB as 1 when reading. But it cannot send the registor address 0x03 after the device address.

So, anybody could advise how to handle this? I would like to send 0xDD, 0x03 and then read the response directly without sending anything else.

Many thansks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.