UART/Autobaud Control and Status Registers
12-17
UART Devices
12.3 UART/Autobaud Control and Status Registers
The programming combinations for register selection are shown in
Table 12–12.
12.3.1 UART/Autobaud Modem Register Mapping
UART1 and UART2 are accessible as follows:
-
MPU (32-bit-byte aligned address) from the following base addresses:
J
UART1: 0xFFFB 0000
J
UART2: 0xFFFB 0800
-
DSP (16-bit-aligned word address) from the following base addresses:
J
UART1: 0x008000
J
UART2: 0x008400
Table 12–12. UART Modem Register Program
Registers
MPU
Byte
Off-
DSP
Byte
Off-
LCR[7] = 0
LCR[7] = 1
LCR[7:0]
≠
0xBF
LCR[7:0] = 0xBF
Off-
set
Off-
set
READ
WRITE
READ
WRITE
READ
WRITE
0x00
0x00
RHR
THR
DLL
DLL
DLL
DLL
0x04
0x02
IER
†
IER
†
DLH
DLH
DLH
DLH
0x08
0x04
IIR
FCR
†
IIR
FCR
†
EFR
EFR
0x0C
0x06
LCR
LCR
LCR
LCR
LCR
LCR
0x10
0x08
MCR
†
MCR
†
MCR
†
MCR
†
XON1
XON1
0x14
0x0A
LSR
-
LSR
-
XON2
XON2
0x18
0x0C
MSR/TCR
‡
TCR
‡
MSR/TCR
‡
TCR
‡
XOFF1/TCR
‡
XOFF1/TCR
‡
0x1C
0x0E
SPR/TLR
‡
SPR/TLR
‡
SPR/TLR
‡
SPR/TLR
‡
XOFF2/TLR
‡
XOFF2/TLR
‡
0x20
0x10
MDR1
MDR1
MDR1
MDR1
MDR1
MDR1
0x24
0x12
-
-
-
-
-
-
0x28
0x14
-
-
-
-
-
-
0x2C
0x16
-
-
-
-
-
-
† MCR[7:5], FCR[5:4], and IER[7:4] can only be written when EFR[4] = 1.
‡ Transmission control register (TCR) and trigger level register (TLR) are accessible only when EFR[4] = 1 and MCR[6] = 1.