This project is a Two-Wire Interface (I2C) monitor. The TWI side is essentially a shift register and does not respond like a slave or have an address. The system runs at 50 MHz and uses a UART baud rate of 115200. The system cannot currently capture repeated TWI frames, but captured single frames during testing on an FPGA.
You can use an Arduino and any TWI-compatible module to generate TWI frames to view. The frames will be converted to three bytes, those being {addr, R/W}, {data}, and {{4{Addr Ack}}, {4{Data Ack}}}. I use Coolterm to view the hex output, you can download it at https://freeware.the-meiers.org/.
This project needs an external UART to USB adapter if you want to connect it to your PC.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | SDA_in | TX_out | |
1 | SCL_in | ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 |