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?
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/
Hi, You can even check this link: http://www.datasheets.org.uk/UART%20Program%20Examples%20lpc2148-datasheet.html This is the example UART program.
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
Log in with Google account
No account? Register here.