>> The TRMT flag tells you that the whole byte has >> actually been sent on the wire. > >No, it does not. It tells you that the transmit >shift register is empty. It does not mean the UART >has finished transmitting it on the wire. Interesting. If this is true, then none of the examples posted are correct uses of checking TRMT=1: - Changing the uart bit rate dynamically - Turning off an RS-485 transmit driver - Completing transmission before power down Granted, relying on TRMT in this way only opens a teeny-tiny window, but a window is a window, no? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body