Hi Jan-Erik I am testing to see if the bit is set. I don't believe it should be set. I think this condition is bogus or the hardware is lying......I know it sounds even crazier if I say it out loud. Even if it is not I don't see why I need to clear the darn thing even if it is set. So what I got a bad character....who cares? How does the over run prevent further interrupts from occurring? Where is it written that if there is an error on a USART that interrupts are now stopped forever? I thought the whole idea of having those errors was so that you could drop a character without having to process it or maybe as an aide to be able to work out the baud rate on the fly. void handle_chars_gps(void) { PIR3bits.RC2IF = 0; //reading a char is supposed to clear the interrupt flag so I should not need to do this eh? if (RCSTA2bits.OERR) { RCSTA2bits.CREN = 0; //disable then enable the receiver to clear the over run error RCSTA2bits.CREN = 1; //if I don't do this I only get two interrupts and then they just stop return; } char_holder = getc2USART(); //this causes problems even with out pushing the the character to the NMEA buffer // push_NMEA_char(char_holder); } Mucho thanks Phillip Things should be as simple as possible but no simpler Phillip Coiner CTO, GPS Source, Inc. Your source for quality GNSS Networking Solutions and Design Services, Now! -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Jan-Erik Soderholm Sent: Tuesday, September 19, 2006 12:17 PM To: piclist@mit.edu Subject: RE: RE: RE: FW: [PIC] Trouble getting my ISR high > I'm not that sure that an overrun is really physically occurring (I do > believe the bit is set because clearing it makes things work) but I > can't think of a way to prove it. Add a test on the OERR bit ? Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist