Hi Martin, You have to use the interrupt routine to clean the buffer. Can you post your code ? Regards, Nicolas > 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 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu