xr
OCTOBER 2005
XR16L784
HIGH PERFORMANCE 2.97V TO 5.5V QUAD UART
REV. 1.2.2
GENERAL DESCRIPTION
The XR16L784
1
(784) is a quad Universal
Asynchronous Receiver and Transmitter (UART). The
device is designed for high bandwidth requirement in
communication systems. The global interrupt source
register provides a complete interrupt status
indication for all 4 channels to speed up interrupt
parsing. Each UART has its own 16C550 compatible
set of configuration registers, transmit and receive
FIFOs of 64 bytes, fully programmable transmit and
receive FIFO level triggers, transmit and receive
FIFO level counters, automatic RTS/CTS or DTR/
DSR hardware flow control with programmable
hysteresis, automatic software (Xon/Xoff) flow
control, IrDA (Infrared Data Association) encoder/
decoder, and a 16-bit general purpose timer/counter.
N
OTE
:
1 Covered by U.S. Patents #5,649,122 and #5,949,787
FEATURES
•
2.97V to 5.5V operation with 5V Tolerant Inputs
•
8-bit Intel or Motorola Data Bus Interface
•
Single Open Drain Interrupt output for all 4
channels
•
Global Interrupt Source Registers for all channels
•
5G (Fifth Generation) “Flat” Register Set
•
Each UART is Independently Controlled with:
■
■
■
■
■
■
■
■
■
■
■
APPLICATIONS
•
Remote Access Servers
•
Ethernet Network to Serial Ports
•
Network Management
•
Factory Automation and Process Control
•
Point-of-Sale Systems
•
Multi-port RS-232/RS-422/RS-485 Cards
F
IGURE
1. B
LOCK
D
IAGRAM
16C550 Compatible Registers
64-byte Transmit and Receive FIFOs
Transmit and Receive FIFO Level Counters
Programmable TX and RX FIFO Trigger Levels
Automatic RTS/CTS or DTR/DSR Flow Control
Selectable RTS Flow Control Hysteresis
Automatic Xon/Xoff Software Flow Control
Automatic RS485 Half-duplex Control Output
with 16 Selectable Turn-around Delay
Infrared (IrDA 1.1) Data Encoder/Decoder
Programmable Data Rate with Prescaler
Up to 3.12 (16x) and 6.25 (8x) Mbps Data Rate
•
A General Purpose 16-bit Timer/Counter
•
Sleep Mode with Automatic Wake-up Indicator
•
64-pin LQFP Package (10x10x1.4 mm)
*All Inputs are 5V Tolerant
(Except XTAL1)
UART Channel 0
A7:A0
D7:D0
IOR#
IOW#
CS#
INT#
16/68#
RST#
ENIR
16-bit
Timer/Counter
UART Channel 3
Intel or
Motorola
Data
Bus
Interface
Device
Configuration
Register
s
BRG
UART
Regs
64 Byte TX FIFO
TX &
RX
IR
ENDEC
2.97V to 5.5V VCC
GND
TX0, RX0, DTR0#,
DSR0#, RTS0#,
CTS0#, CD0#, RI0#
64 Byte RX FIFO
UART Channel 1
UART Channel 2
TX3, RX3, DTR3#,
DSR3#, RTS3#,
CTS3#, CD3#, RI3#
XTAL1
XTAL2
TMRCK
784BLK
Crystal Osc/
Buffer
Exar
Corporation 48720 Kato Road, Fremont CA, 94538
•
(510) 668-7000
•
FAX (510) 668-7017
•
www.exar.com
XR16L784
HIGH PERFORMANCE 2.97V TO 5.5V QUAD UART
F
IGURE
2. P
IN
O
UT
A
SSIGNMENT
DSR1#
CTS1#
RX1
TX2
DTR2#
CD2#
DSR2#
CTS2#
RX2
TX1
DTR1#
RTS1#
RI1#
CD1#
RTS2#
RI2#
xr
REV. 1.2.2
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
XTAL2
XTAL1
GND
VCC
TX0
DTR0#
RTS0#
RI0#
CD0#
DSR0#
CTS0#
RX0
INT#
CS#
A0
A1
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
XR16L784
64-LQFP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
A2
A3
A4
A5
A6
A7
IOR#
IOW#
VCC
GND
D0
D1
D2
D3
D4
D5
ENIR
TMRCK
VCC
GND
TX3
DTR3#
RTS3#
RI3#
CD3#
DSR3#
CTS3#
RX3
RST#
16/68#
D7
D6
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
ORDERING INFORMATION
P
ART
N
UMBER
XR16L784CV
XR16L784IV
P
ACKAGE
64-Lead LQFP
64-Lead LQFP
O
PERATING
T
EMPERATURE
R
ANGE
0°C to +70°C
-40°C to +85°C
D
EVICE
S
TATUS
Active
Active
2
xr
REV. 1.2.2
XR16L784
HIGH PERFORMANCE 2.97V TO 5.5V QUAD UART
PIN DESCRIPTIONS
Pin Descriptions
N
AME
P
IN
#
T
YPE
D
ESCRIPTION
DATA BUS INTERFACE
A7-A0
6-1,64,63
I
Address data lines [7:0]. A0:A3 selects individual UART’s 16 configuration
registers, A4:A6 selects UART channel 0 to 3, and A7 selects the global
device configuration registers
Data bus lines (7:0] (bidirectional).
When 16/68# pin is HIGH, it selects Intel bus interface and this input is read
strobe (active low). The falling edge instigates an internal read cycle and
retrieves the data byte from an internal register pointed by the address lines
[A7:A0], puts it on the data bus to allow the host processor to read it on the
leading edge.
When 16/68# pin is LOW, it selects Motorola bus interface and this input
should be connected to VCC.
When 16/68# pin is HIGH, it selects Intel bus interface and this input
becomes write strobe (active low). The falling edge instigates the internal
write cycle and the leading edge transfers the data byte on the data bus to an
internal register pointed by the address lines.
When 16/68# pin is LOW, it selects Motorola bus interface and this input
becomes read (logic 1) and write (logic 0) signal.
When 16/68# pin is HIGH, this input is chip select (active low) to enable the
XR16L784 device.
When 16/68# pin is LOW, this input becomes the read and write strobe
(active low) for the Motorola bus interface.
Global interrupt output from XR16L784 (open drain, active low). This output
requires an external pull-up resistor (47K-100K ohms) to operate properly. It
may be shared with other devices in the system to form a single interrupt line
to the host processor and have the software driver polls each device for the
interrupt status.
D7:D0
IOR#
18-11
7
IO
I
IOW#
(R/W#)
8
I
CS#
62
I
INT#
61
OD
MODEM OR SERIAL I/O INTERFACE
TX0
RX0
53
60
O
I
UART channel 0 Transmit Data or infrared transmit data. Normal TXD output
idles HIGH while infrared TXD output idles LOW.
UART channel 0 Receive Data or infrared receive data. Normal RXD input
idles HIGH while infrared RXD input idles LOW. In the infrared mode, the
polarity of the incoming RXD signal can be selected via FCTR bit-4. If this bit
is a logic 0, a LOW on the RXD input is considered a mark and if this bit is a
logic 1, a HIGH on the RXD input is considered a space.
UART channel 0 Request to Send or general purpose output (active low).
This port must be asserted prior using for one of two functions:
1) auto RTS flow control, see EFR bit-6, MCR bits-1 & 2, FCTR bits 0-3 and
IER bit-6
2) Auto RS485 half-duplex direction control, see FCTR bit-5, MCR bit-2 and
MSR bits 4-7.
UART channel 0 Clear to Send or general purpose input (active low). It can be
used for auto CTS flow control, see EFR bit-7, MCR bit-2 and IER bit-7.
RTS0#
55
O
CTS0#
59
I
3
XR16L784
HIGH PERFORMANCE 2.97V TO 5.5V QUAD UART
Pin Descriptions
N
AME
DTR0#
P
IN
#
54
T
YPE
O
D
ESCRIPTION
xr
REV. 1.2.2
UART channel 0 Data Terminal Ready or general purpose output (active low).
This port must be asserted prior using for one of two functions:
1) auto DTR flow control, see EFR bit-6, FCTR bits-0 to 3, MCR bits-0 & 2,
and IER bit-6
2) Auto RS485 half-duplex direction control, see FCTR bit-5, MCR bit-2 and
MSR bit 4-7.
UART channel 0 Data Set Ready or general purpose input (active low). It can
be used for auto DSR flow control, see EFR bit-7, MCR bit-2 and IER bit-7.
UART channel 0 Carrier Detect or general purpose input (active low).
UART channel 0 Ring Indicator or general purpose input (active low).
UART channel 1 Transmit Data or infrared transmit data. Normal TXD output
idles HIGH while infrared TXD output idles LOW.
UART channel 1 Receive Data or infrared receive data. Normal RXD input
idles HIGH while infrared RXD input idles LOW. In the infrared mode, the
polarity of the incoming RXD signal can be selected via FCTR bit-4. If this bit
is a logic 0, a LOW on the RXD input is considered a mark and if this bit is a
logic 1, a HIGH on the RXD input is considered a space.
UART channel 1 Request to Send or general purpose output (active low).
See description of RTS0# pin.
UART channel 1 Clear to Send or general purpose input (active low). See
description of CTS0# pin.
UART channel 1 Data Terminal Ready or general purpose output (active low).
See description of DTS0# pin.
UART channel 1 Data Set Ready or general purpose input (active low). See
description of DSR0# pin.
UART channel 1 Carrier Detect or general purpose input (active low).
UART channel 1 Ring Indicator or general purpose input (active low).
UART channel 2 Transmit Data or infrared transmit data. Normal TXD output
idles HIGH while infrared TXD output idles LOW.
UART channel 2 Receive Data or infrared receive data. Normal RXD input
idles HIGH while infrared RXD input idles LOW. In the infrared mode, the
polarity of the incoming RXD signal can be selected via FCTR bit-4. If this bit
is a logic 0, a LOW on the RXD input is considered a mark and if this bit is a
logic 1, a HIGH on the RXD input is considered a space.
UART channel 2 Request to Send or general purpose output (active low).
See description of RTS0# pin.
UART channel 2 Clear to Send or general purpose input (active low). See
description of CTS0# pin.
UART channel 2 Data Terminal Ready or general purpose output (active low).
See description of DTS0# pin.
UART channel 2 Data Set Ready or general purpose input (active low). See
description of DSR0# pin.
UART channel 2 Carrier Detect or general purpose input (active low).
UART channel 2 Ring Indicator or general purpose intput (active low).
DSR0#
CD0#
RI0#
TX1
RX1
58
57
56
48
41
I
I
I
O
I
RTS1#
CTS1#
DTR1#
DSR1#
CD1#
RI1#
TX2
RX2
46
42
47
43
44
45
40
33
O
I
O
I
I
I
O
I
RTS2#
CTS2#
DTR2#
DSR2#
CD2#
RI2#
38
34
39
35
36
37
O
I
O
I
I
I
4
xr
REV. 1.2.2
XR16L784
HIGH PERFORMANCE 2.97V TO 5.5V QUAD UART
Pin Descriptions
N
AME
TX3
RX3
P
IN
#
28
21
T
YPE
O
I
D
ESCRIPTION
UART channel 3 Transmit Data or infrared transmit data. Normal TXD output
idles HIGH while infrared TXD output idles LOW.
UART channel 3 Receive Data or infrared receive data. Normal RXD input
idles HIGH while infrared RXD input idles LOW. In the infrared mode, the
polarity of the incoming RXD signal can be selected via FCTR bit-4. If this bit
is a logic 0, a LOW on the RXD input is considered a mark and if this bit is a
logic 1, a HIGH on the RXD input is considered a space.
UART channel 3 Request to Send or general purpose output (active low).
See description of RTS0# pin.
UART channel 3 Clear to Send or general purpose input (active low).d. See
description of CTS0# pin.
UART channel 3 Data Terminal Ready or general purpose output (active low).
See description of DTS0# pin.
UART channel 3 Data Set Ready or general purpose input (active low). See
description of DSR0# pin.
UART channel 3 Carrier Detect or general purpose input (active low).
UART channel 3 Ring Indicator or general purpose input (active low).
RTS3#
CTS3#
DTR3#
DSR3#
CD3#
RI3#
ANCILLARY SIGNALS
XTAL1
XTAL2
TMRCK
ENIR
26
22
27
23
24
25
O
I
O
I
I
I
50
49
31
32
I
O
I
I
Crystal or external clock input. Caution: this input is not 5V tolerant.
Crystal or buffered clock output.
16-bit timer/counter external clock input.
Infrared mode enable (active high). This pin is sampled during power up, fol-
lowing a hardware reset (RST#) or soft-reset (register RESET). It can be
used to start up all 8 UARTs in the infrared mode. The sampled logic state is
transferred to MCR bit-6 in the UART.
Reset (active low). The configuration and UART registers are reset to default
values, see Table-15.
Intel or Motorola data bus interface select. HIGH selects Intel bus interface
and LOW selects Motorola interface. This input affects the functionality of
IOR#, IOW# and CS# pins.
+5V or +3.3V supply, all inputs are 5V tolerant except for XTAL1.
Power supply common, ground.
RST#
16/68#
20
19
I
I
VCC
GND
9,30,52
10,29,51
N
OTE
:
Pin type: I=Input, O=Output, IO= Input/output, OD=Output Open Drain.
5