English
Language : 

UM10430 Datasheet, PDF (762/1164 Pages) NXP Semiconductors – LPC18xx ARM Cortex-M3 microcontroller
UM10430 NXP
Semiconductors
Table
Bit
3:0
7:4
70FMD5uIUV:nLAcUVDtAAiDoLRnVTA1L FrBDfbgBararcaaaeeutcuusaitdoddcitore--nrarrniraaaptaeoltttele.irDobegpinavqerueiundd-aese-lrrcraa1aRttliefeooerngrgmeUpisnruAteeletR-rirsapTct(lionFaerlDrteowvRr aiodll-lpiuvnaeeiosdr.taodTitrmrehveippassDarlsufoRCcieepA0thl.eFxtdhaITr4flempy0Dt,hU0tuRrie8ssAeADrtFgRfR2ibT3aeA0Te3rDlF2ddnTR:8lieAD)LssFRbP0sTADi,CtDFRdTR1AR01eAFD8seTFRxTcsADxreDFRitUTpRDAvtARFDAiaTFAoRRlTFAnDuTDFTReTRDA1ARDFTFDARTRFADTADFRTFRDATADRF
of whether the fractional baud-rate generator is used or not.
31:8 -
Reserved, user software should not write ones to reserved 0
bits. The value read from a reserved bit is not defined.
This register controls the clock pre-scaler for the baud rate generation. The reset value of
the register keeps the fractional capabilities of UART1 disabled making sure that UART1
is fully software and hardware compatible with UARTs not equipped with this feature.
UART1 baud rate can be calculated as (n = 1):
(9)
UART1baudrate
=
----------------------------------------------------------P----C----L----K------------------------------------------------------------
16

 256

U1DL
M
+
U1DLL



1
+
D-----iM--v---A-u---ld--V--d--a-V--l--a---l
Where PCLK is the peripheral clock, U1DLM and U1DLL are the standard UART1 baud
rate divider registers, and DIVADDVAL and MULVAL are UART1 fractional baud rate
generator specific parameters.
The value of MULVAL and DIVADDVAL should comply to the following conditions:
1. 1  MULVAL  15
2. 0  DIVADDVAL  14
3. DIVADDVAL < MULVAL
The value of the U1FDR should not be modified while transmitting/receiving data or data
may be lost or corrupted.
If the U1FDR register value does not comply to these two requests, then the fractional
divider output is undefined. If DIVADDVAL is zero then the fractional divider is disabled,
and the clock will not be divided.
33.5.16.1
Baud rate calculation
UART1 can operate with or without using the Fractional Divider. In real-life applications it
is likely that the desired baud rate can be achieved using several different Fractional
Divider settings. The following algorithm illustrates one way of finding a set of DLM, DLL,
MULVAL, and DIVADDVAL values. Such set of parameters yields a baud rate with a
relative error of less than 1.1% from the desired one.
<Document ID>
User manual
All information provided in this document is subject to legal disclaimers.
Rev. 00.13 — 20 July 2011
© NXP B.V. 2011. All rights reserved.
762 of 1164