© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
Rev. 01 — 12 January 2006
85
Philips Semiconductors
UM10161
Volume 1
Chapter 9: UART0
9.3.4 UART0 Fractional Divider Register (U0FDR - 0xE000 C028)
The UART0 Fractional Divider Register (U0FDR) controls the clock pre-scaler for the baud
rate generation and can be read and written at user’s discretion. This pre-scaler takes the
APB clock and generates an output clock per specified fractional requirements.
This register controls the clock pre-scaler for the baud rate generation. The reset value of
the register keeps the fractional capabilities of UART0 disabled making sure that UART0 is
fully software and hardware compatible with UARTs not equipped with this feature.
UART0 baudrate can be calculated as:
(1)
Where PCLK is the peripheral clock, U0DLM and U0DLL are the standard UART0 baud
rate divider registers, and DIVADDVAL and MULVAL are UART0 fractional baudrate
generator specific parameters.
The value of MULVAL and DIVADDVAL should comply to the following conditions:
1. 0 < MULVAL
≤
15
2. 0
≤
DIVADDVAL
≤
15
Table 84:
UART0 Divisor Latch LSB register (U0DLL - address 0xE000 C000, when
DLAB = 1) bit description
Bit
Symbol
Description
Reset value
7:0
DLL
The UART0 Divisor Latch LSB Register, along with the U0DLM
register, determines the baud rate of the UART0.
0x01
Table 85:
UART0 Divisor Latch MSB register (U0DLM - address 0xE000 C004, when
DLAB = 1) bit description
Bit
Symbol
Description
Reset value
7:0
DLM
The UART0 Divisor Latch MSB Register, along with the U0DLL
register, determines the baud rate of the UART0.
0x00
Table 86:
UART0 Fractional Divider Register (U0FDR - address 0xE000 C028) bit description
Bit
Function
Description
Reset value
3:0
DIVADDVAL Baudrate generation pre-scaler divisor value. If this field is 0,
fractional baudrate generator will not impact the UART0
baudrate.
0
7:4
MULVAL
Baudrate pre-scaler multiplier value. This field must be greater
or equal 1 for UART0 to operate properly, regardless of
whether the fractional baudrate generator is used or not.
1
31:8
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
UART0
baudrate
PCLK
16
16
U0DLM
×
U0DLL
+
(
)
×
1
DivAddVal
MulVal
-----------------------------
+
⎝
⎠
⎛
⎞
×
-------------------------------------------------------------------------------------------------------------------------------
=