I am using the serial port driver to communicate with a USB-to-I2C converter. It writes perfectly to the target device. It also sends a proper I2C read command when I use 0x54 (read from device with no register address). However, when I use either 0c55 or 0x56 (a read command with either a 1-byte or a 2-byte address sent to the target) the converter sends a write instead of a read request to the target.
I have confirmed this with a logic analyzer looking at the I2C bus and, since my target is a micro-controller, looking at what is received by the target. I have also confirmed that the correct command is being sent to the converter.
Has anyone else ever seen this? I am stopped dead until I can resolve this.
Thanks.
