Yahoo Groups archive

Lpc2000

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

Thread

REG: UART1 FIFO on LPC2104

REG: UART1 FIFO on LPC2104

2005-06-29 by kumarvdpl

Hi Friends,

I am using lpc 2104. I am using IAR EMBEDDED WORKBENCH to develope 
program. I want to know about the Tx FIFO. I am writing values to UART1 
TRANSMITTER HOLD REGISTER. I am not checking whether the U1THR is 
empty.The LPC 2104 has 16 bytes Tx FIFO.(as in data sheet). If i 
contineously writing the values to U1THR 
does it transmit the value when the FIFO is full?

 I am transmitting at 38400 baud rate. 
I can transmit only 38.4 bits/ms.But i want to transmit 80bits/ms. i 
thought that writing to the FIFO will automatically transmit the value 
after the values pushed into HOLD REGISTER.
RTS is also enabled.

Kindly clarify my doubts.It's most urgent for me to solve the problem.

with regards,
Rajender.

Re: [lpc2000] REG: UART1 FIFO on LPC2104

2005-06-29 by Robert Adsett

At 04:34 AM 6/29/05 +0000, kumarvdpl wrote:
>I am using lpc 2104. I am using IAR EMBEDDED WORKBENCH to develope
>program. I want to know about the Tx FIFO. I am writing values to UART1
>TRANSMITTER HOLD REGISTER. I am not checking whether the U1THR is
>empty.The LPC 2104 has 16 bytes Tx FIFO.(as in data sheet). If i
>contineously writing the values to U1THR
>does it transmit the value when the FIFO is full?

It starts transmitting immediately after you write the first byte to the 
FIFO.  It's up to you to keep from overflowing the FIFO.

>  I am transmitting at 38400 baud rate.
>I can transmit only 38.4 bits/ms.But i want to transmit 80bits/ms.

??? Then you need to change the baud rate.

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
http://www.aeolusdevelopment.com/

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.