Hi, thanks for the reply. In article <4053DB9D.5090305@ubasics.com>, M. Adam Davis wrote: > What do you mean "has been stopped"? The UART has no flow control in > asynchronous mode. What mode are you using? It's been stopped by clearing TXEN when it has detected that bus conflict I mentioned. This stops it in mid-transfer according to the data sheet, which is just what I needed. > The transmitter has two registers. One is contains the byte currently > being sent, the other contains the next byte to send. You can overwrite > the TXREG with whatever you want and it will only be sent when the > current byte is fully sent. Yes, I've considered this. It could be done by overwriting TXREG with whatever needs to be sent first when it can eventually be done. It is very hard to work that out, and indeed sometimes the reason for sending has gone away in the meantime, and it won't send anything at all. So the 'emptying' would be best for handling all cases. > If you want to reset the contents of both > registers turning the transmitter off and then back on should do it. If you mean clearing/setting TXEN, then that is already being done. As mentioned, I think this is what clears TSR, but it doesn't seem to affect TXREG. Regards, Thomas -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.