>It is possible to work around this by checking WCOL >immediately after writing to SSPBUF (which, on the other hand, >is exactly what the code from AN734 does), e.g.: Hmm, I converted the AN734 code into an interrupt routine using Olins modular system, and never had the sort of problems you see. Just looked through the code, and it is as you say. I cannot remember why it is possible to have a write collision. It may be related to the following possibly happening - last bit of byte shifted out - set interrupt flag PIC tries to load next byte - master not yet ack'd previous byte so collision. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist