On Thu, Sep 1, 2011 at 7:10 PM, Nathan House wrot= e: > My PIC18 datasheet says the following: > > "Once the TXREG register transfers the data to the TSR register ... > the TXREG register is empty ..." > > In my ISR, I have this: > > > =A0 =A0 =A0 =A0if(PIR1bits.RCIF =3D=3D 1) // if the USART receive interru= pt flag has been set > =A0 =A0 =A0 =A0{ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if(TXREG =3D=3D 0) // check if the TXREG i= s empty > Why do you think "empty" means "zeroed"? I think "empty" means "don't care" and you must look at TXIF to see if it is empty or not. Regards, Mark markrages@gmail --=20 Mark Rages, Engineer Midwest Telecine LLC markrages@midwesttelecine.com --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .