áç
JUNE 2004
XR17D152
UNIVERSAL (3.3V AND 5V) PCI BUS DUAL UART
REV. 1.2.0
GENERAL DESCRIPTION
The XR17D152
1
(D152) is a monolithic dual PCI Bus
Universal Asynchronous Receiver and Transmitter
(UART) in Exar’s PCI Bus UART family. The device is
designed to meet today’s 32-bit PCI Bus and high
bandwidth requirement in communication systems.
The global interrupt source register provides a
complete interrupt status indication for both channels
to speed up interrupt parsing. Each UART is
independently controlled and has its own 16C550
compatible 5G (Fifth Generation) register set,
transmit and receive FIFOs of 64 bytes, fully
programmable transmit and receive FIFO trigger
levels, transmit and receive FIFO level counters,
automatic hardware flow control with programmable
hysteresis, automatic software (Xon/Xoff) flow
control, automatic half-duplex control output, wireless
IrDA (Infrared Data Association) infrared encoder/
decoder, 8 multi-purpose inputs/outputs and a 16-bit
general purpose timer/counter.
N
OTE
:
1 Covered by U.S. Patents #5,649,122, #5,949,787
FEATURES
•
High Performance Dual PCI UART
•
Universal PCI Bus Buffers - Auto-sense 3.3V and
5V Operation
•
32-bit PCI Bus 2.3 Target Signalling Compliance
•
A Global Interrupt Source Register for both UARTs
•
Data Transfer in Byte, Word and Double-word
•
Data Read/Write Burst Operation
•
Each UART is independently controlled with:
s
s
s
s
s
s
s
s
s
s
APPLICATIONS
•
Universal PCI Bus Add-in Card
•
Network Management
•
Factory Automation and Process Control
•
Ethernet Network to Serial Ports
•
Point-of-Sale Systems
•
Multi serial ports RS-232/RS-422/RS-485 Cards
F
IGURE
1. B
LOCK
D
IAGRAM
3.3V or 5V
(PCI VI/O
Power Supply)
CLK (33 MHz)
16C550 Compatible 5G Register Set
64-byte Transmit and Receive FIFOs
Transmit and Receive FIFO Level Counters
Programmable TX and RX FIFO Trigger Level
Automatic RTS/CTS or DTR/DSR Flow Control
Automatic Xon/Xoff Software Flow Control
Automatic RS485 HDX Control Output with
Selectable Turn-around Delay
Infrared (IrDA 1.0) Data Encoder/Decoder
Programmable Data Rate with Prescaler
Up to 6.25 Mbps Data Rate at 8X Sampling
•
Eight Multi-Purpose Inputs/outputs
•
A General Purpose 16-bit Timer/Counter
•
Sleep Mode with Automatic Wake-up
•
EEPROM Interface for PCI Configuration
•
Same package and pin-out as the XR17C152
(14x14x1.0 mm TQFP
)
VCC
(Core Logic)
GND
UART Channel 0
64 Byte TX F IFO
UA RT
Regs
TX & R X
IR
EN DEC
RST#
AD[31:0]
C/BE[3:0]#
FRAME#
IRDY#
TRDY#
DEVSEL#
STOP#
INTA#
IDSEL
PERR#
SERR#
PAR
TX0, RX0, DTR0#,
DSR0#, RTS0#,
CTS0#, CD0#, RI0#
PCI Local
Bus
Interface
Device
Configuration
Registers
BR G
64 Byte RX FIFO
UART Channel 1
UA RT
Regs
64 Byte TX F IFO
TX & R X
BR G
IR
EN DEC
TX1, RX1, DTR1#,
DSR1#, RTS1#,
CTS1#, CD1#, RI1#
64 Byte RX FIFO
Configuration
Space
Registers
EECK
EEDI
EEDO
EECS
ENIR
EN485#
EEPROM
Interface
16-bit
Timer/Counter
Multi-purpose
.
Inputs/Outputs
Crystal Osc/Buffer
MPIO0- MPIO7
XTAL1
XTAL2
TMRCK
Exar
Corporation 48720 Kato Road, Fremont CA, 94538
•
(510) 668-7000
•
FAX (510) 668-7017
•
www.exar.com
XR17D152
UNIVERSAL (3.3V AND 5V) PCI BUS DUAL UART
F
IGURE
2. P
IN
O
UT OF THE
XR17D152
áç
REV. 1.2.0
TMRCK
DSR0#
EN485#
DSR1#
DTR0#
DTR1#
RTS0#
CTS0#
RTS1#
CTS1#
MPIO0
52
ENIR
72
75
74
71
70
66
73
69
67
65
64
68
63
61
62
60
59
58
57
55
56
XTAL2
XTAL1
GND
TEST#
VCC
EEDO
EEDI
EECS
EECK
INTA#
RST#
CLK
GND
VIO
AD31
AD30
AD29
AD28
AD27
AD26
AD25
AD24
C/BE3#
IDSEL
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
54
53
51
MPIO1
CD0#
CD1#
GND
VCC
RI0#
RI1#
RX0
NC
RX1
TX0
TX1
NC
50
49
48
47
46
45
44
43
42
41
40
MPIO2
MPIO3
MPIO4
MPIO5
MPIO6
MPIO7
GND
VIO
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
C/BE0#
GND
VIO
AD8
AD9
AD10
AD11
AD12
AD13
XR17D152
100-TQFP
(14x14x1.0mm)
39
38
37
36
35
34
33
32
31
30
29
28
27
26
VIO 100
11
21
19
10
12
18
20
22
17
23
24
AD15
FRAME# 13
14
C/BE2#
TRDY# 15
GND
16
STOP#
GND
IRDY#
DEVSEL#
GND
PAR
VIO
VIO
AD23
AD22
AD21
AD20
AD18
AD17
PERR#
SERR#
ORDERING INFORMATION
P
ART
N
UMBER
XR17D152CM
XR17D152IM
P
ACKAGE
100-Lead TQFP
100-Lead TQFP
O
PERATING
T
EMPERATURE
R
ANGE
0°C to +70°C
-40°C to +85°C
D
EVICE
S
TATUS
Active
Active
2
C/BE1#
AD19
AD16
AD14
25
4
2
8
1
3
5
6
7
9
áç
REV. 1.2.0
XR17D152
UNIVERSAL (3.3V AND 5V) PCI BUS DUAL UART
PIN DESCRIPTIONS
N
AME
P
IN
#
T
YPE
D
ESCRIPTION
PCI LOCAL BUS INTERFACE
RST#
86
I
PCI Bus reset input (active low). It resets the PCI local bus configuration
space registers, device configuration registers and UART channel registers
to the default condition, see
Table 19 on page 50.
PCI Bus clock input of up to 33.34MHz.
Address data lines [31:0] (bidirectional).
CLK
AD31-AD24,
AD23-AD16,
AD15-AD8,
AD7-AD0
FRAME#
C/BE3#-
C/BE0#
IRDY#
87
90-97,
2-9,
24-31,
35-42
13
98, 12,
21, 34
14
I
I/O
I
I
Bus transaction cycle frame (active low). It indicates the beginning and dura-
tion of an access.
Bus Command/Byte Enable [3:0] (active low). This line is multiplexed for bus
Command during the address phase and Byte Enables during the data
phase.
Initiator Ready (active low). During a write, it indicates that valid data is
present on data bus. During a read, it indicates the master is ready to accept
data.
Target Ready (active low).
Target request to stop current transaction (active low).
Initialization device select (active high).
Device select to the XR17D152 (active low).
Device interrupt from XR17D152 (open drain, active low).
Parity is even across AD[31:0] and C/BE[3:0]#. (bidirectional, active high).
Data Parity error indicator, except for Special Cycle transactions (active low).
Optional in bus target application.
System error indicator, Address parity or Data parity during Special Cycle
transactions (open drain, active low). Optional in bus target application.
I
TRDY#
STOP#
IDSEL
DEVSEL#
INTA#
PAR
PERR#
SERR#
15
17
99
16
85
20
18
19
O
O
I
O
OD
I/O
O
OD
MODEM OR SERIAL I/O INTERFACE
TX0
RX0
73
66
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). If
this output is not used, leave it unconnected.
UART channel 0 Clear to Send or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 0 Data Terminal Ready or general purpose output (active
low). If this output is not used, leave it unconnected.
RTS0#
CTS0#
DTR0#
71
67
72
O
I
O
3
XR17D152
UNIVERSAL (3.3V AND 5V) PCI BUS DUAL UART
áç
REV. 1.2.0
PIN DESCRIPTIONS
N
AME
DSR0#
CD0#
RI0#
TX1
RX1
P
IN
#
68
69
70
62
55
T
YPE
I
I
I
O
I
D
ESCRIPTION
UART channel 0 Data Set Ready or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 0 Carrier Detect or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 0 Ring Indicator or general purpose input (active low). This
input should be connected to VCC when not used.
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). If
this output is not used, leave it unconnected.
UART channel 1 Clear to Send or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 1 Data Terminal Ready or general purpose output (active
low). If this output is not used, leave it unconnected.
UART channel 1 Data Set Ready or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 1 Carrier Detect or general purpose input (active low). This
input should be connected to VCC when not used.
UART channel 1 Ring Indicator or general purpose input (active low). This
input should be connected to VCC when not used.
RTS1#
CTS1#
DTR1#
DSR1#
CD1#
RI1#
ANCILLARY SIGNALS
MPIO0-MPIO7
60
56
61
57
58
59
O
I
O
I
I
I
52-45
I/O
Multi-purpose inputs/outputs 0-7. The function of these pin are defined thru
the Configuration Register MPIOSEL, MPIOLVL, MPIOINV, MPIO3T and
MPIOINT
Serial clock to EEPROM. An internal clock of CLK divide by 256 is used for
reading the vendor and sub-vendor ID during power up or reset. However, it
can be manually clocked thru the Configuration Register REGB.
Chip select to a EEPROM device like 93C46. It is manually selectable thru
the Configuration Register REGB. Requires a pull-up 4.7K ohm resister for
external sensing of EEPROM during power up. See DAN112 for further
details.
Write data to EEPROM device. It is manually accessible thru the Configura-
tion Register REGB. The D152 auto-configuration register interface logic
uses the 16-bit format.
Read data from EEPROM device. It is manually accessible thru the Configu-
ration Register REGB.
Crystal of up to 24MHz or external clock input of up to 50MHz for data rates
up to 6.25Mbps at 5V and 8X sampling. See AC Characterization table. Cau-
tion: this input is not 5V tolerant at 3.3V.
Crystal or buffered clock output.
EECK
84
O
EECS
83
O
EEDI
82
O
EEDO
XTAL1
81
77
I
I
XTAL2
76
O
4
áç
REV. 1.2.0
XR17D152
UNIVERSAL (3.3V AND 5V) PCI BUS DUAL UART
PIN DESCRIPTIONS
N
AME
TMRCK
ENIR
P
IN
#
75
74
T
YPE
I
I
D
ESCRIPTION
16-bit timer/counter external clock input.
Global Infrared mode enable (active high). This pin is sampled during power
up, following a hardware reset (RST#) or soft-reset (register RESET). It can
be used to start up both UARTs in the infrared mode. The sampled logic state
is transferred to MCR bit-6 in the UART. Software can override this pin there-
after and enable or disable it.
Global AutoRS485 half-duplex direction control enable (active low). During
power up or reset, this pin is sampled and if it is a logic high, both UARTs are
set for Auto RS485 Mode. Also, the Auto RS485 bit, FCTR[5], is set in both
channels. Software can override this pin thereafter and enable or disable it.
Factory Test. Connect to VCC for normal operation.
5V or 3.3V power supply for the core logic. This power supply determines
the VOH level of the non-PCI bus interface outputs. Note that
VCC
≥
VIO
for
normal device operation.
See “Application Examples” on page 7.
However,
VCC must equal VIO
if sleep mode is used. See
Sleep Mode
section on
page 18.
PCI bus I/O power supply - 3.3V or 5V, detected by the auto-sense circuitry of
the XR17D152. This power supply determines the VOH level of the PCI bus
interface outputs.
(PCI 2.3 signalling compliant at both 3.3V and 5V operation, suitable for uni-
versal form factor add-in card application.)
Power supply common, ground.
EN485#
65
I
TEST#
VCC
79
54, 80
I
PWR
VIO
10, 22, 32, 43,
89, 100
PWR
GND
1, 11, 23, 33,
44, 53, 78, 88
63, 64
PWR
NC
No Connection.
N
OTE
:
Pin type: I=Input, O=Output, I/O= Input/output, OD=Output Open Drain.
5