|
en.radzio.dxp.pl |
||
Main menu Code library for LCD Projects Software
|
How it works? This I2C-bus analyzer capture all transmissions via I2C/TWI bus, decode it and send to PC via virtual RS-232 port. Received data can be displayed by any terminal program on PC computer. Main part of analyzer is ATTiny2313 microcontroller with 20MHz crystal. Link to PC are realized by FTDI FT245RL on UM245R module. Example of transmission captured by I2C bus sniffer (read one byte from M24C64 I2C EEPROM) :
Download
Parts list There are three SMD jumpers : JP1, JP2 and JP3. For I2C bus analyze JP1 must be short, JP2 and JP3 must be open. I2C bus (SCL, SDA and GND lines) must be connected to INT0, INT1 and GND pin. Fusebits must be set for external crystal oscillator > 8MHz. FTDI VCP drivers must be installed before use this sniffer. Data from sniffer can be displayed by any terminal program on the PC (Hyper terminal, Bray Terminal etc). Assembled module :
See also : 1-wire sniffer (based on this same hardware, only firmware is different).
|
|
(c) Radosław Kwiecień |