EmbDev.net

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


Author: Ranjeeth P t (ranjeeth)
Posted on:

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?

Author: Andreas Schwarz (andreas) (Admin) Flattr this
Posted on:

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): 
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/

Author: spradeep 2. (spradeep_2)
Posted on:

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

Author: Anny G. (anny0498)
Posted on:

Rate this post
0 useful
not useful
Hi,

You can even check this link:
http://www.datasheets.org.uk/UART%20Program%20Exam...
 This is the example UART program.

Author: Umesh Lokhande (Guest)
Posted on:

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):

http://www.binaryupdates.com/uart-in-lpc2148-arm7/

Reply

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.