EasyManuals Logo

NXP Semiconductors LPC1311 User Manual

NXP Semiconductors LPC1311
368 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #187 background imageLoading...
Page #187 background image
UM10375 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
User manual Rev. 3 — 14 June 2011 187 of 368
NXP Semiconductors
UM10375
Chapter 12: LPC13xx UART
[1] Values "0000", “0011”, “0101”, “0111”, “1000”, “1001”, “1010”, “1011”,”1101”,”1110”,”1111” are reserved.
[2] For details see Section 12.6.9 “
UART Line Status Register (U0LSR - 0x4000 8014, Read Only)
[3] For details see Section 12.6.1 “UART Receiver Buffer Register (U0RBR - 0x4000 8000, when DLAB = 0,
Read Only)
[4] For details see Section 12.6.5 “UART Interrupt Identification Register (U0IIR - 0x4004 8008, Read Only)
and Section 12.6.2 “
UART Transmitter Holding Register (U0THR - 0x4000 8000 when DLAB = 0, Write
Only)
The UART THRE interrupt (U0IIR[3:1] = 001) is a third level interrupt and is activated
when the UART THR FIFO is empty provided certain initialization conditions have been
met. These initialization conditions are intended to give the UART THR FIFO a chance to
fill up with data to eliminate many THRE interrupts from occurring at system start-up. The
initialization conditions implement a one character delay minus the stop bit whenever
THRE = 1 and there have not been at least two characters in the U0THR at one time
since the last THRE = 1 event. This delay is provided to give the CPU time to write data to
U0THR without a THRE interrupt to decode and service. A THRE interrupt is set
immediately if the UART THR FIFO has held two or more characters at one time and
currently, the U0THR is empty. The THRE interrupt is reset when a U0THR write occurs or
a read of the U0IIR occurs and the THRE is the highest interrupt (U0IIR[3:1] = 001).
12.6.6 UART FIFO Control Register (U0FCR - 0x4000 8008, Write Only)
The U0FCR controls the operation of the UART RX and TX FIFOs.
0100 Second RX Data
Available
Rx data available or trigger level reached in FIFO
(U0FCR0=1)
U0RBR
Read
[3]
or
UART FIFO
drops below
trigger level
1100 Second Character
Time-out
indication
Minimum of one character in the RX FIFO and no
character input or removed during a time period
depending on how many characters are in FIFO
and what the trigger level is set at (3.5 to 4.5
character times).
The exact time will be:
[(word length) 7 - 2] 8 + [(trigger level - number
of characters) 8 + 1] RCLKs
U0RBR
Read
[3]
0010 Third THRE THRE
[2]
U0IIR
Read
[4]
(if
source of
interrupt) or
THR write
Table 200. UART Interrupt Handling
U0IIR[3:0]
value
[1]
Priority Interrupt
type
Interrupt source Interrupt
reset

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC1311 and is the answer not in the manual?

NXP Semiconductors LPC1311 Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC1311
CategoryController
LanguageEnglish

Related product manuals