
Universal Asynchronous Receivers/Transmitters (UARTs)
202
October 6, 2006
Preliminary
3.
Write the fractional portion of the BRD to the UARTFBRD register.
4.
Write the desired serial parameters to the UARTLCRH register (in this case, a value of
0x00000060).
5.
Enable the UART by setting the UARTEN bit in the UARTCTL register.
11.4
Register Map
Table 11-1 lists the UART registers. The offset listed is a hexadecimal increment to the register’s
address, relative to that UART’s base address:
UART0: 0x4000C000
UART1: 0x4000D000
Note:
The UART must be disabled (see the UARTEN bit in the UARTCTL register on page 214)
before any of the control registers are reprogrammed. When the UART is disabled during
a TX or RX operation, the current transaction is completed prior to the UART stopping.
Table 11-1.
UART Register Map
Offset
Name
Reset
Type
Description
See
page
0x000
UARTDR
0x00000000
R/W
Data
204
0x004
UARTRSR
UARTECR
0x00000000
R/W
Receive Status (read)
Error Clear (write)
206
0x018
UARTFR
0x00000090
RO
Flag Register (read only)
208
0x024
UARTIBRD
0x00000000
R/W
Integer Baud-Rate Divisor
210
0x028
UARTFBRD
0x00000000
R/W
Fractional Baud-Rate Divisor
211
0x02C
UARTLCRH
0x00000000
R/W
Line Control Register, High byte
212
0x030
UARTCTL
0x00000300
R/W
Control Register
214
0x034
UARTIFLS
0x00000012
R/W
Interrupt FIFO Level Select
215
0x038
UARTIM
0x00000000
R/W
Interrupt Mask
216
0x03C
UARTRIS
0x0000000F
RO
Raw Interrupt Status
218
0x040
UARTMIS
0x00000000
RO
Masked Interrupt Status
219
0x044
UARTICR
0x00000000
W1C
Interrupt Clear
220
0xFD0
UARTPeriphID4
0x00000000
RO
Peripheral identification 4
221
0xFD4
UARTPeriphID5
0x00000000
RO
Peripheral identification 5
222
0xFD8
UARTPeriphID6
0x00000000
RO
Peripheral identification 6
223
0xFDC
UARTPeriphID7
0x00000000
RO
Peripheral identification 7
224
0xFE0
UARTPeriphID0
0x00000011
RO
Peripheral identification 0
225
0xFE4
UARTPeriphID1
0x00000000
RO
Peripheral identification 1
226
0xFE8
UARTPeriphID2
0x00000018
RO
Peripheral identification 2
227