Forum: ARM programming with GCC/GNU tools lpc2148 and uart

von Ranjeeth P. (ranjeeth)

Rate this post
0 useful
not useful
i want to use uart in lpc2148.
U0RBR--> can be used for reading and
U0THR--> for writing ...

to use these registers is it enough to make the Divisor Latch Access Bit 
(DLAB) in U0LCR zero

what all control or status bits should i use for effective use of uart?

von Andreas S. (andreas) (Admin) Flattr this

Rate this post
0 useful
not useful
Check out Martin Thomas' example projects for the LPC2138 (it's the same 
as the LPC2148 but without the USB controller): 

von spradeep 2. (spradeep_2)

Rate this post
0 useful
not useful
i want to program for uart plz give me any idea?

von Anny G. (anny0498)

Rate this post
0 useful
not useful

You can even check this link:
 This is the example UART program.

von Umesh Lokhande (Guest)

Rate this post
0 useful
not useful
Hello Ranjeeth and SPradeep

Here is wonderful post with example project to use UART0 in LPC2148 ARM7 
Microcontroller. Usually its good idea to work around code and play with 
Divisor Latch Access Bit(DLAB):



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.