Scott wrote: > Currently I can send a Start Condition and load SSPBUF with the first > byte to send, then I wait for the R_W bit to go low before writing to > SSPBUF again. No interrupts are enabled, I2C is done via polling the > SSPSTAT bits. I'm looking at SDA and SCL on a 'scope. > > Problem: the I2C doesn't pump out the second byte. I'm not really following what exactly is happening, but polling the RW bit is something you do in slave mode, not in master mode if I recall correctly. In the past there have been problems with the IIC hardware, so I now often just do the master in firmware where I can make sure everything is done sequentially and avoid any race conditions. > excuse any whitespace issues, I've > got tabs set to 4 spaces, No. There is no excuse. It's your job to convert to hard spaces and make sure it is readably formatted before asking 2000 people to look at it. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist