How much time is there between each 8 byte packet? Could you simply buffer each byte as it arrives in your ISR and then raise a flag to be dealt with in your main routine once all 8 bytes have arrived? Any PIC should be able to deal with data coming in at 9600 bps...right now, I have a PIC running at 3.68 MHz which grabs the byte and stuffs it out via SPI, and it's receiving data at 115.2 kbps, AND not using interrupts, so it has to be possible. Mike H. >Hi all, >i4m trying to comunicate a PC with a PIC16f874(clock 4 MHZ) , using the >USART asynchronous mode at 9600 bps. The length of each message is 8 bytes >(8bits,Non Parity,1Stop bit). This PIC has a FIFO buffer(Register RCREG) of >two bytes, so the idea is to clean the buffer before the third byte reach >the buffer, i4ve been triying to improve the code in the PIC to clean the >buffer as fast as possible, but i 4m still having this problem. Is there >any good code to avoid it? Can it be done adding hardware? Thanks a lot _________________________________________________________________ MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu