Forums

Choosing better baudrate to LPC213x, LPC214x

Started by jeanfernandes_eng July 23, 2006
Sirs

Lets visit the
http://br.geocities.com/jeanfernandes_eng/baudcalc.zip

I develop a small piece of program to choose the better values to
UxDLL, UxDLM, based on PCLK, desired baudrate and optionally use of
UxFDR register.

Remembering, the formula of baudrate present on UM10139 Rev 1.0 is not
correct. Ive posted a note to philips support to correct it.

Regards

Jean Fernandes
Engineer - Brazil.





An Engineer's Guide to the LPC2100 Series

Hi Jean,

Is your algorithm a suck-it-and-see approach ? (ie. try many combinations till you find the one with minimum error ?) or something else ?

As previously asked I'm wondering if there is a good way to find a compromise UxFDR setting for a known PCLK but *unknown* baudrate to suit auto-bauding applications. Autobaud can only adjust UxDLL/DLM itself.

________________________________

From: l... [mailto:l...] On Behalf Of jeanfernandes_eng
Sent: Sunday, 23 July 2006 1:42 PM
To: l...
Subject: [lpc2000] Choosing better baudrate to LPC213x, LPC214x



Sirs

Lets visit the
http://br.geocities.com/jeanfernandes_eng/baudcalc.zip

I develop a small piece of program to choose the better values to
UxDLL, UxDLM, based on PCLK, desired baudrate and optionally use of
UxFDR register.

Remembering, the formula of baudrate present on UM10139 Rev 1.0 is not
correct. Ive posted a note to philips support to correct it.

Regards

Jean Fernandes
Engineer - Brazil.