REG: UART1 FIFO on LPC2104

Started by kumarvdpl June 29, 2005
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.


An Engineer's Guide to the LPC2100 Series

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/