> Charles Garcia-Tobin wrote: > > Hi there > > I am having a major headache with comms and I need some help. > I am using a pic16c76 coupled with a radiometrix wireless rs232, after > the random-th overrun error, no amount of receiver resetting seems to > get rid of it. The program runs fine for a while. Then I obtain an > overrun error. On receive interrupt I attempt to clear the overrun as > follows: > movf RCREG,w ; read twice Just a few guesses... I don't know it if does anything, but I usually flush the receive buffer by reading 3 times. I wonder what happens if you disable the Async port, (clear RCSTA) and then reenable it. Does "bcf RCSTA,CREN" disable the receive FIFO logic?? movf RCREG,w movf RCREG,w movf RCREG,w bcf RCSTA,CREN ; turn reception off bsf RCSTA,CREN ; turn it on again -- Best regards Tony http://www.picnpoke.com mailto:sales@picnpoke.com