I tried running both I2C spy and I2C master simultaneously on different DIO pins and connect them in a loopback with pullup resistors. But it isn't working.
For example:
I2C master: DIO[0] as SCLK output, DIO[1] as bidirectional SDA
I2C spy: DIO[2] as SCLK input, DIO[3] as bidirectional SDA
I attached pull up resistors (2.144K) to the SDA and SCLK lines with VDD=3.3V DC which I generate using waveform generator.
I activate I2C spy and then run I2C master. I tried this but it doesn't seem to work. It gets stuck on a window "Transferring data" but never ends.
When I click cancel, it shows "Error!" in the I2C master window. Is their anyway I could possible do I2C loopback with protocol analyzer/logic analyzer ?