>I'd appreciate it if anyone can throw some light on >the "interrupt on start and stop bits" modes of the >PIC16F SSP module (with SPCON:SSPM<3:0> = 111x). >I have not been able to find any proper documentation >of this function in the PIC device data sheet, the >Mid-Range Reference Manual or the application notes >relating to I2C slave mode. I seem to remember that this function does not work. I tried using it on some 16F876 devices, and had problems, and the only solution seemed to be some form of timer operation. I will need to go back and find the details of what I did to explain it further. You should be able to find some messages in the Piclist.com archive, as I did ask the question there, be around three years ago now IIRC. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist