Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to set Baud Rate in LPC2148 ARM Microcontroller??

Status
Not open for further replies.

Pari Boopathy

Newbie level 6
Newbie level 6
Joined
Mar 13, 2014
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
94
For Serial Communication,,i have to set baud rate-9600 in my LPC2148 Microcontroller??
i am using Keil software....How to set that??Reply as soon as possible?
 


U1DLM:U1DLL = 15.00 MHz / [16 x Baud]
= 15.00 MHz / [16 x 9600]
= 97 =0x0062
U1DLM = 0x00;
U1DLL = 0x62;

Also check out the below link to understand better.

http://www.ocfreaks.com/lpc2148-uart-programming-tutorial/

yeah,i checked out this link...Thanks a lot..

- - - Updated - - -

i had one doubt??in tat calculation,,U1DLM:U1DLL=15MHZ/(16*Baud)...
Whether the divisor 16 mentioned 16-bit??

- - - Updated - - -

yeah,i checked out this link...Thanks a lot..

- - - Updated - - -

i had one doubt??in tat calculation,,U1DLM:U1DLL=15MHZ/(16*Baud)...
Whether the divisor 16 mentioned 16-bit??

Nw i itself know answer to my question..

- - - Updated - - -

Can u say me how to set the PLL??Like what registers are used to set to PLL-12MHZ??
 

Do you want to change the freq of VPB bus from 15Hz(default) to 12MHz?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top