Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: UART TX FIFO SIZE

2005-02-25 by peterburdine

--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> wrote:
> At 04:30 PM 2/25/05 +0800, Hong Jiang wrote:
> 
> >Hi all members:
> >
> >I can get a Rx FIFO depth through FCR register,but how can I
calculate the 
> >Tx FIFO size.
> >
> >According to the LPC2119 document,this CPU's UART is compatible
with the 
> >16c550's which has a certain Tx FIFO size while I cann't find any
words 
> >about that in philipse's document.
> 
> The top of page 140 of the user manual "16 byte Receive and Transmit
FIFOs."
> 
> Robert
> 
> " 'Freedom' has no meaning of itself.  There are always restrictions,
> be they legal, genetic, or physical.  If you don't believe me, try to
> chew a radio signal. "
> 
>                          Kelvin Throop, III

I just wish they gave you a way to know how many bytes are in the FIFO
(at least the tx fifo).  In my drivers I just keep track of how many I
put in, and they when I get THRE I reset the count to zero.

--Peter

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.