Hi all, I posted this message under the AVR tag but I later realized that it is really a question about I2C and not only AVR specific so I'm reposting under EE. I'm trying to use the TWI (Atmel's name for I2C) interfaces on two ATmega128s to allow communicaton between them. One is always a master the other always a slave. The master sometimes gets "stuck" in a state where the SCL line is high and the SDA line is low. This remains this way even if you disconnect the slave, so I know that the master is the one pulling SDA low. I'm not very familiar with I2C, but as I understand it, there shouldn't be any way for a master to get "stuck" unless something external is pulling one of the lines down. I thought that the idle state was with both lines high, so even if there is a mistake in my code and it stops transmitting, I would have expected both lines to go high. Any ideas? Thanks, Sean -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body