UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
991 of 1269
NXP Semiconductors
UM10503
Chapter 38: LPC43xx UART1
38.6.6.1 DMA Operation
The user can optionally operate the UART transmit and/or receive using DMA. The DMA
mode is determined by the DMA Mode Select bit in the FCR register. Note that for DMA
operation as for any operation of the UART, the FIFOs must be enabled via the FIFO
Enable bit in the FCR register.
UART receiver DMA
In DMA mode, the receiver DMA request is asserted on the event of the receiver FIFO
level becoming equal to or greater than trigger level, or if a character time-out occurs. See
the description of the RX Trigger Level above. The receiver DMA request is cleared by the
DMA controller.
UART transmitter DMA
In DMA mode, the transmitter DMA request is asserted on the event of the transmitter
FIFO transitioning to not full. The transmitter DMA request is cleared by the DMA
controller.
38.6.7 UART1 Line Control Register
The LCR determines the format of the data character that is to be transmitted or received.
1
RXFIFORES
RX FIFO Reset.
0
0
No impact on either of UART1 FIFOs.
1
Writing a logic 1 to FCR[1] will clear all bytes in UART1 Rx FIFO, reset the
pointer logic. This bit is self-clearing.
2
TXFIFORES
TX FIFO Reset.
0
0
No impact on either of UART1 FIFOs.
1
Writing a logic 1 to FCR[2] will clear all bytes in UART1 TX FIFO, reset the
pointer logic. This bit is self-clearing.
3
DMAMODE
DMA Mode Select. When the FIFO enable bit (bit 0 of this register) is set, this
bit selects the DMA mode. See
0
5:4
-
Reserved, user software should not write ones to reserved bits. The value read
from a reserved bit is not defined.
NA
7:6
RXTRIGLVL
RX Trigger Level. These two bits determine how many receiver UART1 FIFO
characters must be written before an interrupt is activated.
0
0x0
Trigger level 0 (1 character or 0x01).
0x1
Trigger level 1 (4 characters or 0x04).
0x2
Trigger level 2 (8 characters or 0x08).
0x3
Trigger level 3 (14 characters or 0x0E).
31:8
-
Reserved, user software should not write ones to reserved bits.
NA
Table 856: UART1 FIFO Control Register (FCR - address 0x4008 2008) bit description
Bit
Symbol
Value Description
Reset value