I'm, for some reason, getting write collisions (SSP1CON1,WCOL set) on an 18f8627. I'm doing a relatively slow spi (200kHz) using TMR2 for the bit rate generator. After writing to SSPBUF, I sit in a loop waiting for SSP1STAT,BF to go true, then read SSPBUF. I then go on and do other stuff, but my next write to SSPBUF sets SSP1CON1,WCOL, and everything seems to stop. I'm thinking that maybe BF goes true when the last bit is read, but perhaps the last bit's transmission is not yet complete (maybe a half bit time left)? Does this sound right? Is there anything else besides BF I can check to avoid this problem? THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist