Dear Trinamic support service,
I send you e-mail for the first time.
I have a question about the I2C function of USB-2-X Interface Converter.
Question:
Is it possible to Read Data Format of variable-length I2C communication using 1.USB-2-X Interface Converter?
Description:
I would like to use this Interface Converter as a master, and to control for evaluate our I2C device.
The structure from PC to our I2C Device is as follows.
PC <---> USB-2-X <---> I2C Device (Variable-length data of the device status)
Acording to the manual of "USB2X Communication Protcol to the USB HOST",
we can read the command for USB-2-X in chapter 2.3 IIC-Read.
When PC read the data from slave device, PC have to send the following command to USB-2-X.
Packet ID: 0x32
Payload Data:1Byte Address and 1 Byte Mumber of bytes to be read.
This means that this USB-2-X constitutes the fixed-length communication method.
But, our I2C device is constituting variable-length data.
The following is the structure of the data format of our I2C device.
I2C Communication format for Slave status
1st byte : Bytes mumber of data (bytecount: eg.n bytes)
2nd byte : Check sum data
3rd byte : Status data
:
n byte : Status data
I hope that you will understand my question, and please advice.
Thank you.
Best Regards,
