30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 15: LPC2300 UART1<br />

It is the lowest priority interrupt and is activated whenever there is any state change on<br />

modem inputs pins, DCD, DSR or CTS. In addition, a low to high transition on modem<br />

input RI will generate a modem interrupt. The source of the modem interrupt can be<br />

determined by examining U1MSR[3:0]. A U1MSR read will clear the modem interrupt.<br />

3.6 UART1 FIFO Control Register (U1FCR - 0xE001 0008, Write Only)<br />

The U1FCR controls the operation of the UART1 RX and TX FIFOs.<br />

Table 330: UART1 FIFO Control Register (U1FCR - address 0xE001 0008, Write Only) bit<br />

description<br />

Bit Symbol Value Description Reset<br />

Value<br />

0 FIFO<br />

Enable<br />

1 RX FIFO<br />

Reset<br />

2 TX FIFO<br />

Reset<br />

0 UART1 FIFOs are disabled. Must not be used in the application. 0<br />

1 Active high enable for both UART1 Rx and TX FIFOs and<br />

U1FCR[7:1] access. This bit must be set for proper UART1<br />

operation. Any transition on this bit will automatically clear the<br />

UART1 FIFOs.<br />

0 No impact on either of UART1 FIFOs. 0<br />

1 Writing a logic 1 to U1FCR[1] will clear all bytes in UART1 Rx<br />

FIFO and reset the pointer logic. This bit is self-clearing.<br />

0 No impact on either of UART1 FIFOs. 0<br />

1 Writing a logic 1 to U1FCR[2] will clear all bytes in UART1 TX<br />

FIFO and reset the pointer logic. This bit is self-clearing.<br />

5:3 - Reserved, user software should not write ones to reserved bits.<br />

The value read from a reserved bit is not defined.<br />

7:6 RX<br />

Trigger<br />

Level<br />

These two bits determine how many receiver UART1 FIFO<br />

characters must be written before an interrupt is activated.<br />

00 Trigger level 0 (1 character or 0x01).<br />

01 Trigger level 1 (4 characters or 0x04).<br />

10 Trigger level 2 (8 characters or 0x08).<br />

11 Trigger level 3 (14 characters or 0x0E).<br />

NA<br />

0<br />

3.7 UART1 Line Control Register (U1LCR - 0xE001 000C)<br />

The U1LCR determines the format of the data character that is to be transmitted or<br />

received.<br />

Table 331: UART1 Line Control Register (U1LCR - address 0xE001 000C) bit description<br />

Bit Symbol Value Description Reset<br />

Value<br />

1:0 Word 00 5 bit character length. 0<br />

Length<br />

01 6 bit character length.<br />

Select<br />

10 7 bit character length.<br />

11 8 bit character length.<br />

2 Stop Bit 0 1 stop bit. 0<br />

Select<br />

1 2 stop bits (1.5 if U1LCR[1:0]=00).<br />

3 Parity 0 Disable parity generation and checking. 0<br />

Enable<br />

1 Enable parity generation and checking.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 350 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!