* Few questions about dibusb i2c over usb protocol
@ 2014-07-07 20:23 Raimonds Cicans
0 siblings, 0 replies; only message in thread
From: Raimonds Cicans @ 2014-07-07 20:23 UTC (permalink / raw)
To: linux-media
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-07 20:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 20:23 Few questions about dibusb i2c over usb protocol Raimonds Cicans
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.