Few questions about dibusb i2c over usb protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

1) As I understand format of i2c read command is following:
2, (dev_i2c_addr<<1)|1, addr_hi, addr_lo, size_hi, size_lo

but in debug output I saw following commands:
>>> 02 a3 00 01
<<< 55

>>> 02 a3 00 04
<<< 55 00 53 00

This commands are shorter then command described above.
Meaning of bytes 1, 2 and 4 is clear, but what mean third byte:
if it is size_hi, then where is address?
if it is addr_lo, then it is not clear why answer's first byte is 55
according to Cypress documentation first byte of
program eeprom should be C2

2) What is format for i2c write command?
3, dev_i2c_addr<<1, addr_hi, addr_lo, data...   ?

3) what mean following command
>>> 03 a2 51 3f 80

write byte 80 at address 513f?


Raimonds Cicans

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux