Hi,
We have a pi which operates as a usb slave. The connection is vis a ft200xd whici is an usb -> i2c chip. We are try to debug a program that connect to this and want to make sure the data is coming in correctly. How can we sniff the data? I guess that because hte usb side is handled by the ft200xd chip we need to sniff the i2cbus?
If I look in /devandI know I also have a touch screen attached to the i2c bus but I don't know how to tell which is on which bus or how to sniff.
I have read some pages on i2cdetect but not sure I understand the result. I understand that 03, 04, ...,0a etc are addresses but what's the table? format?Lots of questions I know but to summarise:
1. How can I sniff my incoming data from the ft200xd
2. How do I know which device is at which address?
3. What's the table meaning of i2cdetect.
We have a pi which operates as a usb slave. The connection is vis a ft200xd whici is an usb -> i2c chip. We are try to debug a program that connect to this and want to make sure the data is coming in correctly. How can we sniff the data? I guess that because hte usb side is handled by the ft200xd chip we need to sniff the i2cbus?
If I look in /dev
Code:
# ls /dev/i2c-*/dev/i2c-0 /dev/i2c-1 /dev/i2c-10 /dev/i2c-11Code:
# i2cdetect -li2c-1 i2c bcm2835 (i2c@7e804000) I2C adapteri2c-11 i2c bcm2835 (i2c@7e205000) I2C adapteri2c-0 i2c i2c-11-mux (chan_id 0) I2C adapteri2c-10 i2c i2c-11-mux (chan_id 1) I2C adapterI have read some pages on i2cdetect but not sure I understand the result. I understand that 03, 04, ...,0a etc are addresses but what's the table? format?
Code:
# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f00: 03 04 05 06 07 -- -- 0a -- -- -- -- --10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --20: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU1. How can I sniff my incoming data from the ft200xd
2. How do I know which device is at which address?
3. What's the table meaning of i2cdetect.
Statistics: Posted by NTVisitor — Fri Apr 25, 2025 2:17 pm — Replies 1 — Views 58