The THRE is set when the FIFO is empty. There may still be a BYTE in the transmit shift register, but to keep the flow going you have to respond in less than 1 byte transmit time to the THRE interrupt. If you don't there is nothing lost, the transmission just takes a bit longer. Regards, Richard. Bill Knight wrote: > Am I missing something here guys (and gals)? When the FIFO is > enabled the THRE bit in the Line Status Register is set whenever > the FIFO can accept additional characters. So if it were clear, > isn't that an indication the FIFO is full? > As for RS-485 transceiver turn-around; the TEMT bit also in the > Line Status Register, can be used to determine when the stop bit > of the last character has been transmitted. Can't that be used > to control the RS-485 interface? > > Regards > -Bill Knight > R O SoftWare & > http://www.theARMPatch.com > > > > > ------------------------------------------------------------------------ > *Yahoo! Groups Links* > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > >
Message
Re: [lpc2000] Re: Who thinks the PC Compatible UARTs on the LPC are nice ?
2005-04-14 by Richard Duits
Attachments
- No local attachments were found for this message.