EmbDev.net

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


von Ranjeeth P. (ranjeeth)


Rate this post
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)


Rate this post
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/

von spradeep 2. (spradeep_2)


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

von Anny G. (anny0498)


Rate this post
useful
not useful
Hi,

You can even check this link:
http://www.datasheets.org.uk/UART%20Program%20Examples%20lpc2148-datasheet.html
 This is the example UART program.

von Umesh Lokhande (Guest)


Rate this post
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/

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.