UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
84 of 258
NXP Semiconductors
UM10429
Chapter 10: LPC1102 Universal Asynchronous Transmitter (UART)
Fig 11. Algorithm for setting UART dividers
PCLK,
BR
Calculating UART
baudrate (BR)
DL
est
= PCLK/(16 x BR)
DL
est
is an
integer?
DIVADDVAL = 0
MULVAL = 1
True
FR
est
= 1.5
DL
est
= Int(PCLK/(16 x BR x FR
est
))
1.1 < FR
est
< 1.9?
Pick another FR
est
from
the range [1.1, 1.9]
FR
est
= PCLK/(16 x BR x DL
est
)
DIVADDVAL = table(FR
est
)
MULVAL = table(FR
est
)
DLM = DL
est
[15:8]
DLL = DL
est
[7:0]
End
False
True
False