> Thanks for all of your help! I see now that my mistake was > interpreting "empty" as meaning "cleared." > > Is there any reason to wait to write until TRMT is set as opposed to TXIF= ? You would normally wait for TXIF. You would only use TRMT if you needed to= =20 know that all the data had gone out the wire, perhaps before turning around= =20 a line driver or something. >>RCIF is a read-only bit. You cannot write a zero to it. It reflects >>the state of RCREG: set when there is data waiting to be read, clear >>when there isn't. > > Isn't that unusual for an interrupt flag? Don't interrupt flags > generally have to be cleared, else the ISR will continually be called? > Does reading from the RCREG (like "variable =3D RCREG") clear the > interrupt flag, then? > > Thanks, > > Nathan You are exactly right about RCIF, you clear it by reading RCREG. Note that= =20 it might remain set if there are additional characters in the receive FIFO. -- Bob Ammerman RAm Systems --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .