Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] weird problem in UART

2006-01-18 by Joel Winarske

Hi Mauricio,

> I have a very simple program that waits one char from the uart0 and
> sends it back to it.
> If I set the baudrate to 57600, it works ok, but if I set the baud rate
> to 115200, the host (PC)  understands any data I send, but the LPC just
> gives Frame errors even if a single byte is sent.....
> I'm using a LPC2146 @ 12Mhz
> Using these constants in the baud rate generator should give an error of
> 0,16%, and the transmission works... Why can't I receive data ?
> Thanks, Mauricio

I've seen issues running at 12MHz as well.  If PLL multiplier is greater
than 1, I have no problems regardless of pclk rate.  If multiplier is 1, or
if the PLL is not enabled, there is not communications.  I've checked 115200
at all possible pclk frequencies, and only had issue with 12MHz.  Perhaps
the equation needs modification to take into account fundamental frequency?



Joel

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.