On Wed, 30 Apr 2003 11:07:55 -0700, you wrote: >>> 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=3D1: > If you look at the timing diagram in the data sheet, the TRMT bit gets set at the beginning of the stop bit. You should wait one bit time extra before disabling any buffers or letting another unit start transmitting. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body