Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] UART0 and UART1 baud rate calculations

2006-02-25 by Tom Walsh

Joel Winarske wrote:

>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.
>
>  
>
Why?  Why not make it a perl app and then everyone can use it?

Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

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.