Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] baud rate calculation for lpc210x

2004-11-05 by shridhar joshi

hi 
here is the uart baud rate calculation

Baudrate=(ProcessorClock)/(16*BaudDivider Reg)

 if you are using 14.7456MHz crystal and not using
Internal  PLL of the lpc   and processor clock is div
4 
HERE IS THE FORMULA

BAUDRATE=(14.7546MHz/4)/(16*(BaudDivider Reg))
i.e for 14400 Baudrate
14.7456MHz/(4*16*16)
BaudDivider Reg=16

if you are using PLL say it is 4 times the Crystal
Frequency

BAUDRATE=(14.7546MHz*4)/(16*(BaudDivider Reg))
i.e for 14400 Baudrate
14.7456MHz*4/(16*256)
BaudDivider Reg=256 ie LowBaudReg=0 HighBaudReg=1

hopes it will help you 


shridhar

--- aravindar_manikandan
<aravindar_manikandan@...> wrote:

> 
> hi,
> 
> i am using 14.746Mhz crystal for lpc210x.i want to
> find baudrate 
> setting for this crytal frequency.anybody explain
> with the formula
> 
> rgds,
> mani
> 
> 
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.