Hello - I am using the SPI port in the 16C62A. My PIC is a slave to another uC. Actually the PIC is replacing an MM5484 LED driver IC. I am doing initial testing with ver 3.22.02 of MPLAB. I am using pin stimulus to get both good and bad frames into the port. Good frames are those with exactly 8 clock pulses, the way they should be. Bad frames are those with extra or missing clock pulses. When the bad frames are sent, it seems to get the SPI interface out of sync for any further data received (makes sense). I read in the manual that the SPI hardware is initialized by setting the mode bits in SSPCON register. I assume that initialization means also resetting the internal bit counter so subsequent data is framed correctly. I do what the manual says, but the MPLAB simulator is not resetting the bit counter? Anybody else find this to be true? I wonder if this is just a problem with the simulator? I have contacted my FAE and he is also checking on this. He said that MPLAB does not always handle asynchronous data events correctly (but this is not an asynchronous clocking problem, this is an initialization issue). If anybody has any experience with this, please e-mail me and post the list. If I learn any new information, I will also post to the list. Thanks! Lou lcalkins@ismi.net ------------------------------