> Anyway, the > slave never gets an interrupt from this code. The > o-scope shows the same timing pattern as my successful > bit-banging code, but the trailing edges of the MSSP's SCK > line are close to the SDA transitions. Don't think > that makes a difference, but... There is a bug in the MSSP where the master samples the ACK bit on the falling instead of rising edge of SCK. This can cause a race condition where the master sees a NACK instead of ACK. However, this bug shouldn't keep the slave from seeing the address byte. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body