Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] UART0 and UART1 baud rate calculations

2006-02-23 by Joel Winarske

Hi Sutton,

> Has anyone ever done some type of spreadsheet on the different UxDLL
> and UxDLM values along with MULVAL and DIVVAL for the most popular
> crystals to make the baud rate come out perfect (like 9600, 19200,
> etc).  The manual has the examples for 20Mhz, but it would be nice to
> have some appendix that has a table of values that come out even for a
> variety of commonly used crystals.  11.059Mhz is obviously an easy
> one, but others like 12Mhz, 15Mhz, etc. are not as easy and I know
> some crystals may not have a perfect value and thus have an error factor.

I wrote this utility for the fractional divide enabled UART parts.  It
prints out % error from lowest to highest.  It's not useful for non-fdr
enabled parts.  I'll update in the next week or so for fractional divider
challenged parts.  Perhaps I'll make it a Win32 app as well.

http://groups.yahoo.com/group/lpc2000/files/Tools/lpc2fdcalc.exe


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.