Maybe you are writing without checking whether previous data has been sent.. thats maybe why your getting write collisions.. "alan smith" wrote in message news:20061125173425.41324.qmail@web51905.mail.yahoo.com... > I'm trying to get master PIC18F4525 to talk to a slave PIC18F8310; The > board with the 4525 has I2C working on it...its already talking to some > other I2C devices, and it works fine. On the board with the 8310, I've > configured the device as a slave, 7 bit addressing to match whats on the > other board, I've pared down the firmware to just write out an address > and data word to the slave board (removed everything else from both > sides....master configures to send, slave just turns on an LED when it > gets the interupt). I've also removed the other I2C devices from the > board just to make sure they are not causing a problem. > > But I am getting a WCOL bit set whenever I try to write to the SSBUF > register, I set the start bit in the CON1 register, it acks that the start > bit was last set, and then try to move the address data into SSBUF and the > collision bit sets.. Curious why that is occuring. > > > > > --------------------------------- > Everyone is raving about the all-new Yahoo! Mail beta. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist