Happy new year, Bonne ann=E9e nouvelle, Has anyone written a working (tested and testable) application programmed either in asm, Basic or C where the PIC would be used as an i2c slave? Despite much reading and testing in numerous attempts and some partial positive results, I am unable to have my own application work reliably;=20 Specifically some calls from the master, a PC using two different i2C interfaces, are not "seen"; I do not have the least idea of why... I program in Basic and use interrupt routines on a 16F876 that save compiler's internal variables, and I have explored, with no great success, the two main routes, i.e. either all exchanges are processed in the same routine starting at the first interrupt occurence (receiving a command byte and two parameters, processing then resending two result bytes) or as an alternatively I have implemented a state machine as per AN734x. The processing logics have been tested for all the occurences where the interrupts are "seen" and processed, i.e. 3 out of four times; they work ok.=20 Thanks in advance for any help, for I do not know what to try next... I know I am looking for something that is far for obvious, as the paucity of information on the net testifies... * Xrobert.soubie@free.frX (veuillez supprimer les "X") * http://www.astrosurf.com/soubie * Au royaume des aveugles, les borgnes sont mal vus... - P.Dac -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body