á
3.3V AND 5V DUART WITH 128-BYTE FIFO
XR16C2852
REV. 2.0.0
6
2.0
2.1
The CPU interface is 8 data bits wide with 3 address
lines and control signals to execute data bus read and
write transactions. The 2852 data interface supports
the Intel compatible types of CPUs and it is compati-
ble to the industry standard 16C550 UART. No clock
FUNCTIONAL DESCRIPTIONS
CPU I
NTERFACE
(oscillator nor external clock) is required to operate a
data bus transaction. Each bus cycle is asynchronous
using CS#, IOR# and IOW# signals. Both UART
channels share the same data bus for host opera-
tions. The data bus interconnections are shown in
Figure 3.
.
2.2
The RESET input resets the internal registers and the
serial interface outputs in both channels to their de-
fault state (see Table 16 on page 31). An active high
pulse of longer than 40 ns duration will be required to
activate the reset function in the device.
2.3
D
EVICE
I
DENTIFICATION
AND
R
EVISION
The XR16C2852 provides a Device Identification
code and a Device Revision code to distinguish the
part from other devices and revisions. To read the
identification code from the part, it is required to set
the baud rate generator registers DLL and DLM both
to 0x00. Now reading the content of the DLM will pro-
D
EVICE
R
ESET
vide 0x12 for the XR16C2852 and reading the con-
tent of DLL will provide the revision of the part; for ex-
ample, a reading of 0x01 means revision A.
2.4
C
HANNEL
A
AND
B S
ELECTION
The UART provides the user with the capability to bi-
directionally transfer information between an external
CPU and an external serial communication device. A
logic 0 on chip select pin (CS#) allows the user to se-
lect the UART and then using the channel select
(CHSEL) pin, the user can select channel A or B to
configure, send transmit data and/or unload receive
data to/from the UART. Individual channel select func-
tions are shown in Table 1.
F
IGURE
3. XR16C2852 D
ATA
B
US
I
NTERCONNECTIONS
VCC
VCC
(OP2A#)
DSRA#
CDA#
CTSA#
RTSA#
DTRA#
RXA
TXA
RIA#
(OP2B#)
DSRB#
CDB#
CTSB#
RTSB#
DTRB#
RXB
TXB
RIB#
GND
A0
A1
A2
UART_CS#
UART_CHSEL
IOR#
IOW#
D0
D1
D2
D3
D4
D5
D6
D7
A0
A1
A2
CS#
CHSEL
D0
D1
D2
D3
D4
D5
D6
D7
IOR#
IOW#
UART
Channel A
UART
Channel B
UART_INTB
UART_INTA
INTB
INTA
(RXRDYA#)
TXRDYB#
TXRDYA#
(RXRDYA#)
TXRDYB#
TXRDYA#
(RXRDYB#)
(RXRDYB#)
UART_RESET
RESET
Serial Interface of
RS-232, RS-485
Serial Interface of
RS-232, RS-485
2750int
(BAUDOUTB#)
(BAUDOUTA#)
Pins in parentheses become available through the MF# pin. MF# A/B becomes RXRDY# A/B when AFR[2:1] = '10'. MF# A/B becomes OP2# A/B
when AFR[2:1] = '00'. MF# A/B becomes BAUDOUT# A/B when AFR[1:0] = '01'.