UART Registers
1640
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Universal Asynchronous Receiver/Transmitter (UART)
26.5.7 UARTLCRH Register (Offset = 0x2C) [reset = 0x0]
UART Line Control (UARTLCRH)
The UARTLCRH register is the line control register. Serial parameters such as data length, parity, and
stop bit selection are implemented in this register.
When updating the baud-rate divisor (UARTIBRD and/or UARTIFRD), the UARTLCRH register must also
be written. The write strobe for the baud-rate divisor registers is tied to the UARTLCRH register.
UARTLCRH is shown in
and described in
Return to
Figure 26-10. UARTLCRH Register
31
30
29
28
27
26
25
24
RESERVED
R-0x0
23
22
21
20
19
18
17
16
RESERVED
R-0x0
15
14
13
12
11
10
9
8
RESERVED
R-0x0
7
6
5
4
3
2
1
0
SPS
WLEN
FEN
STP2
EPS
PEN
BRK
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
Table 26-10. UARTLCRH Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
0x0
7
SPS
R/W
0x0
UART Stick Parity Select.
When bits 1, 2, and 7 of UARTLCRH are set, the parity bit is
transmitted and checked as a 0.
When bits 1 and 7 are set and 2 is cleared, the parity bit is
transmitted and checked as a 1.
When this bit is cleared, stick parity is disabled.
6-5
WLEN
R/W
0x0
UART Word Length.
The bits indicate the number of data bits transmitted or received in a
frame as follows:
0x0 = 5 bits (default)
0x1 = 6 bits
0x2 = 7 bits
0x3 = 8 bits
4
FEN
R/W
0x0
UART Enable FIFOs.
0x0 = The FIFOs are disabled (Character mode). The FIFOs
become 1-byte-deep holding registers.
0x1 = The transmit and receive FIFO buffers are enabled (FIFO
mode).
3
STP2
R/W
0x0
UART Two Stop Bits Select.
0x0 = One stop bit is transmitted at the end of a frame.
0x1 = Two stop bits are transmitted at the end of a frame. The
receive logic does not check for two stop bits being received.When
in 7816 smartcard mode (the SMART bit is set in the UARTCTL
register), the number of stop bits is forced to 2.