EmbeddedRelated.com
Forums

LPC2101 115200 Baudrate Issues at 12MHZ Oscillator Frequency(Fosc)

Started by prab...@yahoo.co.in July 22, 2009
Hi all,
Finally i found that Issue.UOFDR address was wrong.Sorry this is my mistake.I used old lpc21xx.In that file U0FDR is not defined.So i used#define U0FDR.By mistakenly i used wrong address(i copied from some code).After that i refered user guide and corrected that.Now its working.The following will help:

My configuration Setup:

MULVALUE = 8;
DIVADDVALUE = 5;
U0DLL = 3;
PLLCFG= 0x42; Fosc = 12MHz.
So Pclk = 9MHZ.
Baudrate 115200.

Thanks for all ur help.
.




--- On Mon, 27/7/09, Michael Freeman wrote:
From: Michael Freeman
Subject: RE: [lpc2000] Re: LPC2101 115200 Baudrate Issues at 12MHZ Oscillator Frequency(Fosc)
To: l...
Date: Monday, 27 July, 2009, 9:46 AM


We have had problems with 115200 working with 12MHz osc with some(about 10%)
of our boards too We are using LPC2368 and LPC2388 in all of new designs. We
never messed with the factional control of the UARTs, never had a need to.
We just when down to a slower baud. However, it came back up again for ISP
programming in production. Flashmagic's windows program was barfing on
verify on some of the boards, even if we slowed the baud. We fixed the
problem with ISP by using the command line version and setting the baud to
112500, the LPC 23xxs are running at 72MHz so the divider is a even 320.
That error of 1.73% at 115200 does stack up on some systems with high data
transfers.

Two more cents,
Michael Freeman
Principal Design Engineer
Update Systems, Inc.



See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/



An Engineer's Guide to the LPC2100 Series