Jerry Merrill wrote: > > Roman: > > I fought something like this once. The problem ended up being related to > R-M-W on the port pins. Each time I toggled the CLOCK pin, it would latch > the CURRENT state of the DATA pin (which of course can change when the > slave ACKs. The solution was to restore the DATA pin after each CLOCK > change. I suppose using shadow registers might of done it as well. > > My (CVASM) source for talking to a 24C00 type device is at: > > http://www.tech-tools.com > > Click on "search" and search for "i2c" Thanks Jerry, this got me thinking. A quick check of my code shows that it might be possible to get a RMW error, and if this happens my PIC will be actively driving the SDA line high so I may have damaged the eeprom. I will re-code it tonight to remove any chances of getting RMW problems. :o) Thanks to everyone who offered help!! Many good suggestions there. Thanks Olin for the 1k resistor tip, I always assume a digital pin will pull 5mA low but the datasheet is very sketchy with current data. It does mention 3mA, so I will follow your advice and chnage the resistor to 2k2. Thanks again everyone! :o) -Roman -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics