XR16C854 [EXAR]

QUAD UART WITH RX/TX FIFO COUNTERS,128-BYTE FIFO; 与RX / TX FIFO计数器QUAD UART , 128字节的FIFO
XR16C854
型号: XR16C854
厂家: EXAR CORPORATION    EXAR CORPORATION
描述:

QUAD UART WITH RX/TX FIFO COUNTERS,128-BYTE FIFO
与RX / TX FIFO计数器QUAD UART , 128字节的FIFO

计数器 先进先出芯片
文件: 总51页 (文件大小:456K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Preliminary  
Information  
XR16C854  
QUAD UART WITH RX/TX FIFO  
COUNTERS,128-BYTE FIFO  
DESCRIPTION  
1
The XR16C854 * (854) is a universal asynchronous receiver and transmitter (UART) with a dual foot print  
interface compatible with the ST16C554D/654 and ST68C554/654. The 854 is an enhanced UART with 128 byte  
FIFO’s, Independent Transmit and Receive FIFO counter, automatic hardware/software flow control, and data  
rates up to 1.5Mbps. Onboard status registers provide the user with error indications and operational status,  
modem interface control. System interrupts may be tailored to meet user requirements. An internal loop-back  
capability allows onboard diagnostics. The 854 is available in 64 pin TQFP, 68 pin PLCC, and 100 pin QFP  
packages. The 64 pin package offers the 16 interface mode which is compatible with the industry standard  
ST16C554. The68and100pinpackagesofferanadditional68modewhichallowseasyintegrationwithMotorola,  
and other popular microprocessors. The XR16C854CV (64 pin) offers three state interrupt control while the  
XR16C854DV provides constant active interrupt outputs. The 64 pin devices do not offer TXRDY/RXRDY outputs  
or the default clock select option (CLKSEL). The 100 pin packages offer faster channel status access by providing  
separate outputs for TXRDY and RXRDY, offer separate Infrared TX outputs and a musical instrument clock input  
(MIDICLK). The 854 combines the package interface modes of the 16C554/654 and 68C554/654 series on a  
single integrated chip.  
FEATURES  
PLCC Package  
Compatibility with the Industry Standard  
ST16C554/654, ST68C554/654, TL16C554  
1.5 Mbps transmit/receive operation (24MHz)  
128 byte transmit and receive FIFO  
Independent transmit and receive FIFO counter  
Automatic software/hardware flow control  
Programmable Xon/Xoff characters  
Software selectable Baud Rate Generator pre-  
scaleable clock rates of 1X, 4X.  
Four selectable, and Programmable Transmit/  
Receive FIFO interrupt trigger levels  
Standard modem interface or infrared IrDA en-  
coder/decoder interface  
Software flow control turned off optionally by any  
(Xon) RX character  
Independent MIDI interface on 100 pin packages  
100 pin packages offer internal register FIFO  
monitoring and separate IrDA TX outputs  
Sleep mode ( 200µA stand-by)  
-DSRA 10  
-CTSA 11  
-DTRA 12  
VCC 13  
-RTSA 14  
INTA  
60 -DSRD  
59 -CTSD  
58 -DTRD  
57 GND  
56 -RTSD  
55  
15  
INTD  
-CSA 16  
TXA 17  
54 -CSD  
53 TXD  
52 -IOR  
51 TXC  
50 -CSC  
49 INTC  
48 -RTSC  
47 VCC  
46 -DTRC  
45 -CTSC  
44 -DSRC  
XR16C854CJ  
16 MODE  
-IOW 18  
TXB 19  
-CSB 20  
INTB 21  
-RTSB 22  
GND 23  
-DTRB 24  
-CTSB 25  
-DSRB 26  
ORDERING INFORMATION  
Partnumber  
Pins Package Operatingtemperature  
Partnumber  
Pins Package Operatingtemperature  
XR16C854CJ  
XR16C854CV  
XR16C854DCV  
XR16C854CQ  
68  
64  
64  
PLCC  
TQFP  
TQFP  
0° C to + 70° C  
0° C to + 70° C  
0° C to + 70° C  
0° C to + 70° C  
XR16C854IJ  
68  
64  
64  
PLCC  
TQFP  
TQFP  
-40° C to + 85° C  
-40° C to + 85° C  
-40° C to + 85° C  
-40° C to + 85° C  
XR16C854IV  
XR16C854DIV  
XR16C854IQ  
Note *1: Patent Pending  
100 QFP  
100 QFP  
Rev. 1.00P  
EXAR Corporation, 48720 Kato Road, Fremont, CA 94538 (510) 668-7000 FAX (510) 668-7017  
XR16C854  
Figure 1, Package Descriptions  
64 Pin TQFP Package  
68 Pin PLCC Package  
-DSRA 10  
-CTSA 11  
-DTRA 12  
VCC 13  
-RTSA 14  
-IRQ 15  
-CS 16  
60 -DSRD  
59 -CTSD  
58 -DTRD  
57 GND  
56 -RTSD  
55 N.C.  
1
2
48  
47  
46  
45  
44  
43  
42  
41  
40  
39  
38  
37  
36  
35  
34  
33  
-DSRD  
-CTSD  
-DTRD  
GND  
-DSRA  
-CTSA  
-DTRA  
VCC  
3
4
-RTSA  
INTA  
5
-RTSD  
INTD  
6
54 N.C.  
-CSA  
TXA  
7
-CSD  
TXD  
TXA 17  
53 TXD  
8
XR16C854CV  
XR16C854CJ  
68 MODE  
R/-W 18  
TXB 19  
52 N.C.  
9
-IOR  
-IOW  
51 TXC  
XR16C854DCV  
10  
11  
12  
13  
14  
15  
16  
TXC  
-TXB  
A3 20  
50 A4  
-CSC  
INTC  
-CSB  
INTB  
N.C. 21  
-RTSB 22  
GND 23  
-DTRB 24  
-CTSB 25  
49 N.C.  
48 -RTSC  
47 VCC  
46 -DTRC  
45 -CTSC  
-RTSB  
GND  
-RTSC  
VCC  
-DTRB  
-CTSB  
-DTRC  
-CTSC  
100 Pin QFP Package  
D Y D X R - T 8 1  
D Y D R X - R 8 2  
D D - C 8 3  
C Y D R X - R  
C D - C  
5 0  
4 9  
4 8 C I - R  
D I - R 8 4  
C
D
R X  
G N  
4 7  
4 6  
4 5  
4 4  
D
C
R X 8 5  
V C 8 6  
Y D X R - T  
Y D R X - R  
S T E N L I  
8 7  
D 0 8 8  
D 1 8 9  
D 2 9 0  
D 3 9 1  
D 4 9 2  
D 5 9 3  
D 6 9 4  
D 7 9 5  
G N 9 6  
R X 9 7  
4 3 T E S R E  
4 2  
4 1  
4 0  
C L D I K I M  
A L X T  
A L X T  
2
1
XR16C854CQ  
3 9 A 0  
3 8 A 1  
3 7 A 2  
3 6  
3 5  
3 4  
3 3  
3 2  
3 1  
6 - 8 / 1 6  
K L S C E L  
R X  
D
A
B
A I - R 9 8  
A D - C 9 9  
B I - R  
B D - C  
A Y D R X - R  
0
1 0  
B Y D R X - R  
Rev. 1.00P  
2
XR16C854  
Figure 2, Block Diagram 16 Mode  
Transmit  
FIFO  
Registers  
Transmit  
Shift  
Register  
TX A-D  
D0-D7  
-IOR  
-IOW  
RESET  
Flow  
Control  
Logic  
Ir  
Encoder  
Receive  
FIFO  
Registers  
Receive  
Shift  
Register  
A0-A2  
-CS A-D  
RX A-D  
RXIR A-D  
Flow  
Control  
Logic  
Ir  
Decoder  
INT A-D  
-RXRDY A-D  
-TXRDY A-D  
INTSEL  
-DTR A-D  
-RTS A-D  
Modem  
Control  
Logic  
-CTS A-D  
-RI A-D  
XTAL1  
MIDI  
-CD A-D  
-DSR A-D  
XTAL2  
Rev. 1.00P  
3
XR16C854  
Figure 3, Block Diagram 68 Mode  
Transmit  
FIFO  
Registers  
Transmit  
Shift  
Register  
TX A-D  
D0-D7  
R/-W  
-RESET  
Flow  
Control  
Logic  
Ir  
Encoder  
Receive  
FIFO  
Registers  
Receive  
Shift  
Register  
A0-A4  
-CS  
RX A-D  
RXIR A-D  
Flow  
Control  
Logic  
Ir  
Decoder  
IRQ  
-RXRDY A-D  
-TXRDY A-D  
-DTR A-D  
-RTS A-D  
Modem  
Control  
Logic  
XTAL1  
MIDI  
-CTS A-D  
-RI A-D  
-CD A-D  
-DSR A-D  
XTAL2  
Rev. 1.00P  
4
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
16/-68  
31  
36  
-
I
16/68 Interface Type Select (input with internal pull-up). -  
This input provides the 16 (Intel) or 68 (Motorola) bus  
interface type select. The functions of -IOR, -IOW, INT A-  
D, and -CS A-D are re-assigned with the logical state of this  
pin. Whenthispinisalogic1, the16modeinterface16C554  
is selected. When this pin is a logic 0, the 68 mode interface  
(68C554) is selected. When this pin is a logic 0, -IOW is re-  
assigned to R/-W, RESET is re-assigned to -RESET, -IOR  
is not used, and INT A-D(s) are connected in a WIRE-OR”  
configuration. The WIRE-OR outputs are connected inter-  
nally to the open source IRQ signal output. This pin is not  
available on 64 pin packages which operate in the 16 mode  
only.  
A0  
34  
33  
32  
39  
38  
37  
24  
23  
22  
-
I
I
I
I
Address-0 Select Bit. Internal registers address selection in  
16 and 68 modes.  
A1  
Address-1 Select Bit. Internal registers address selection in  
16 and 68 modes.  
A2  
Address-2 Select Bit. - Internal registers address selection  
in 16 and 68 modes.  
A3-A4  
20,50 17,64  
Address 3-4 Select Bits. - When the 68 mode is selected,  
these pins are used to address or select individual UART’s  
(providing -CS is a logic 0). In the 16 mode, these pins are  
reassignedaschipselects,see-CSBand-CSC.Thesepins  
are not available on 64 pin packages which operate in the  
16 mode only.  
CLKSEL  
30  
16  
35  
13  
-
I
Clock Select. - The 1X or 4X pre-scaleable clock is selected  
by this pin. The 1X clock is selected when CLKSEL is a logic  
1 (connected to VCC) or the 4X is selected when CLKSEL  
is a logic 0 (connected to GND). MCR bit-7 can override the  
state of this pin following reset or initialization (see MCR bit-  
7). This pin is not available on 64 pin packages which  
provide MCR bit-7 selection only.  
-CS  
-
I
Chip Select. (active low) - In the 68 mode, this pin functions  
as a multiple channel chip enable. In this case, all four  
Rev. 1.00P  
5
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
UARTs (A-D) are enabled when the -CS pin is a logic 0. An  
individual UART channel is selected by the data contents of  
address bits A3-A4. When the 16 mode is selected (68/100  
pindevices), thispinfunctionsas-CSA, seedefinitionunder  
-CS A-B. This pin is not available on 64 pin packages which  
operate in the 16 mode only.  
-CS A-B  
-CS C-D  
16,20 13,17 7,11  
50,54 64,68 38,42  
I
Chip Select A, B, C, D (active low) - This function is  
associated with the 16 mode only, and for individual chan-  
nels, “A” through “D.” When in 16 Mode, these pins enable  
datatransfersbetweentheuserCPUandtheXR16C854for  
the channel(s) addressed. Individual UART sections (A, B,  
C, D) are addressed by providing a logic 0 on the respective  
-CS A-D pin. When the 68 mode is selected, the functions  
of these pins are reassigned. 68 mode functions are de-  
scribed under the their respective name/pin headings.  
-CSRDY  
-
76  
-
I
Control Status Ready (active low) - This feature is available  
on 100 pin QFP packages only. On 100 pin packages, the  
Contents of the FIFORDY Register is read when this pin is  
a logic 0. However it should be noted, D0-D3 will contain the  
inverted logic states of TXRDY, status bits A-D, and D4-D7  
the inverted logic states of RXRDY, status bits D4-D7.  
D0-D2  
D3-D7  
66-68 88-90 53-55  
1-5 91-95 56-60  
I/O  
Data Bus (Bi-directional) - These pins are the eight bit, three  
state data bus for transferring information to or from the  
controlling CPU. D0 is the least significant bit and the first  
data bit in a transmit or receive serial data stream.  
GND  
GND  
6,23 96,20 14,28  
40,57 46,71 45,61  
Pwr  
O
Signal and power ground.  
INT A-B  
INT C-D  
15,21 12,18 6,12  
49,55 63,69 37,43  
InterruptA, B, C, D(activehigh)-Thisfunctionisassociated  
with the 16 mode only. These pins provide individual  
channel interrupts, INT A-D. INT A-D are enabled when  
MCR bit-3 is set to a logic 1, interrupts are enabled in the  
interrupt enable register (IER), and when an interrupt con-  
Rev. 1.00P  
6
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
dition exists. Interrupt conditions include: receiver errors,  
available receiver buffer data, transmit buffer empty, or  
when a modem status flag is detected. When the 68 mode  
is selected, the functions of these pins are reassigned. 68  
mode functions are described under the their respective  
name/pin headings.  
INTSEL  
65  
87  
-
I
Interrupt Select. (active high, with internal pull-down) - This  
function is associated with the 16 mode only. When the 16  
mode is selected, this pin can be used in conjunction with  
MCRbit-3toenableordisablethethreestateinterrupts,INT  
A-D or override MCR bit-3 and force continuous interrupts.  
Interrupt outputs are enabled continuously by making this  
pin a logic 1. Making this pin a logic 0 allows MCR bit-3 to  
control the three state interrupt output. In this mode, MCR  
bit-3 is set to a logic “1” to enable the three state outputs.  
This pin is disabled in the 68 mode. Due to pin limitations on  
64 pin packages, this pin is not available. To cover this  
limitation, two 64 pin QFP package versions are offered.  
The XR16C854DCV operates in the continuos interrupt  
enable mode by bonded this pin to VCC internally. The  
XR16C854CV operates with MCR bit-3 control by bonding  
this pin to GND.  
-IOR  
52  
18  
66  
15  
40  
I
I
Input/Output Read. (active low Strobe) - This function is  
associatedwiththe16modeonly. Alogic0transitiononthis  
pin will load the contents of an Internal register defined by  
address bits A0-A2 onto the XR16C854 data bus (D0-D7)  
for access by an external CPU. This pin is disabled in the 68  
mode.  
-IOW  
9
Input/Output Write. (active low strobe) - This function is  
associatedwiththe16modeonly. Alogic0transitiononthis  
pin will transfer the contents of the data bus (D0-D7) from  
the external CPU to an internal register that is defined by  
address bits A0/A2. When the 16 mode is selected (68/100  
pin devices), this pin functions as R/-W, see definition under  
R/W.  
Rev. 1.00P  
7
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
-IRQ  
15  
12  
-
O
Interrupt Request or Interrupt “A” - This function is associ-  
ated with the 68 mode only. In the 68 mode, interrupts from  
UART channels A-D are WIRE-OR’ed” internally to function  
as a single IRQ interrupt. This pin transitions to a logic 0 (if  
enabled by the interrupt enable register) whenever a UART  
channel(s) requires service. Individual channel interrupt  
status can be determined by addressing each channel  
through its associated internal register, using -CS and A3-  
A4. In the 68 mode an external pull-up resistor must be  
connected between this pin and Vcc. The function of this pin  
changes to INTA when operating in the 16 mode, see  
definition under INTA.  
IRTX A-B  
IRTX C-D  
-
-
6,24  
57,75  
-
-
O
Infrared Transmit Data Output (IrDA) - This function is  
associated with 100 pin packages only. These pins provide  
separate infrared IrDA TX outputs for UART channel’s (A-  
D). The serial infrared IRTX data is transmitted via these  
pins with added start, stop and parity bits. The IRTX signal  
will be a logic 0 during reset, idle (no data), or when the  
transmitter is disabled. MCR bit-6 selects the standard  
modem or infrared interface.  
MIDICLK  
-
42  
43  
-
I
I
MIDI (Musical Instrument Digital Interface) Clock Input -  
Thisfunctionisassociatedwith100pinpackagesonly.RXC  
and TXC can function as MIDI input/output ports when an  
external MIDI Clock is provided at this pin. External Clock  
or a crystal is connected to the XTAL2 pins for normal  
operation (see XTAL 1 & 2).  
-RESET  
RESET  
37  
27  
Reset. - In the 16 mode a logic 1 on this pin will reset the  
internal registers and all the outputs. The UART transmitter  
output and the receiver input will be disabled during reset  
time. (See XR16C854 External Reset Conditions for initial-  
ization details.) When 16/-68 is a logic 0 (68 mode), this pin  
functions similarly but, as an inverted reset interface signal,  
-RESET.  
Rev. 1.00P  
8
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
R/-W  
18  
15  
-
I
Read/Write Strobe (active low) - This function is associated  
with the 68 mode only. This pin provides the combined  
functions for Read or Write strobes. A logic 1 to 0 transition  
transfers the contents of the CPU data bus (D0-D7) to the  
register selected by -CS and A0-A4. Similarly a logic 0 to 1  
transition places the contents of a 854 register selected by  
-CS and A0-A4 on the data bus, D0-D7, for transfer to an  
external CPU.  
-RXRDY  
38  
44  
-
O
Receive Ready (active low) - This function is associated  
with 68 and 100 pin packages only. -RXRDY contains the  
wire “OR-ed” status of all four receive channel FIFO’s,  
RXRDY A-D. A logic 0 indicates receive data ready status,  
i.e. the RHR is full or the FIFO has one or more RX  
characters available for unloading. This pin goes to a logic  
1 when the FIFO/RHR is full or when there are no more  
characters available in either the FIFO or RHR. The 100 pin  
chip-sets provide both the combined wire “or’ed” output and  
individual channel RXRDY-A-D outputs. RXRDY A-D is  
discussedinafollowingparagraph.For64/68pinpackages,  
individual channel RX status is read by examining indi-  
vidual internal registers via -CS and A0-A4 pin functions.  
-RXRDY A-B  
-RXRDY C-D  
-
-
100,31  
50,82  
-
O
Receive Ready A-D (active low) - This function is associ-  
ated with 100 pin packages only. This function provides the  
RX FIFO/RHR status for individual receive channels (A-D).  
A logic 0 indicates there is receive data to read/unload, i.e.,  
receive ready status with one or more RX characters  
available in the FIFO/RHR. This pin is a logic 1 when the  
FIFO/RHR is empty or when the programmed trigger level  
has not been reached.  
-TXRDY  
39  
45  
-
O
(active low) - This function is associated with 68 and 100 pin  
packages only. -TXRDY contains the wire “OR-ed” status of  
all four transmit channel FIFO’s, TXRDY A-D. A logic 0  
indicates a buffer ready status, i.e., at least one location is  
empty and available in one of the TX channels (A-D). This  
pin goes to a logic 1 when all four channels have no more  
empty locations in the TX FIFO or THR. The 100 pin chip-  
Rev. 1.00P  
9
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
sets provide both the combined wire “or’ed” output and  
individual channel TXRDY-A-D outputs. TXRDY A-D is  
discussed in a following paragraph For 64/68 pin packages,  
individual channel TX status can be read by examining  
individual internal registers via -CS and A0-A4 pin func-  
tions.  
-TXRDY A-B  
-TXRDY C-D  
-
-
5,25  
56,81  
-
O
This function is associated with 100 pin packages only.  
These outputs provide the TX FIFO/THR status for indi-  
vidual transmit channels (A-D). As such, an individual  
channel’s -TXRDY A-D buffer ready status is indicated by  
logic 0, i.e., at least one location is empty and available in  
the FIFO or THR. This pin goes to a logic 1 when there are  
no more empty locations in the FIFO or THR.  
VCC  
VCC  
13  
10  
4,21  
47,64 61,86 35,52  
I
I
Power supply inputs.  
XTAL1  
35  
40  
25  
Crystal or External Clock Input - Functions as a crystal input  
or as an external clock input. A crystal can be connected  
between this pin and XTAL2 to form an internal oscillator  
circuit (see figure 8). Alternatively, an external clock can be  
connected to this pin to provide custom data rates (see  
Baud Rate Generator Programming and optional MIDCLK).  
XTAL2  
36  
41  
26  
O
I
OutputoftheCrystalOscillatororBufferedClock-(Seealso  
XTAL1). Crystal oscillator output or buffered clock output.  
-CD A-B  
-CD C-D  
9,27 99,32 64,18  
43,61 49,83 31,49  
Carrier Detect (active low) - These inputs are associated  
with individual UART channels A through D. A logic 0 on this  
pin indicates that a carrier has been detected by the modem  
for that channel.  
-CTS A-B  
-CTS C-D  
11,25 8,22  
45,59 59,73 33,47  
2,16  
I
CleartoSend(activelow)-Theseinputsareassociatedwith  
individual UART channels, A through D. A logic 0 on the -  
CTS pin indicates the modem or data set is ready to accept  
transmit data from the 854. Status can be tested by reading  
Rev. 1.00P  
10  
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
MSR bit-4. This pin only affects the transmit and receive  
operations when Auto CTS function is enabled via the  
Enhanced Feature Register (EFR) bit-7, for hardware flow  
control operation.  
-DSR A-B  
-DSR C-D  
10,26 7,23  
44,60 58,74 32,48  
1,17  
I
Data Set Ready (active low) - These inputs are associated  
with individual UART channels, A through D. A logic 0 on  
this pin indicates the modem or data set is powered-on and  
is ready for data exchange with the UART. This pin has no  
effect on the UART’s transmit or receive operation.  
-DTR A-B  
-DTR C-D  
12,24 9,21  
46,58 60,72 34,46  
3,15  
O
Data Terminal Ready (active low) - These inputs are  
associated with individual UART channels, A through D. A  
logic 0 on this pin indicates that the 854 is powered-on and  
ready. This pin can be controlled via the modem control  
register. Writing a logic 1 to MCR bit-0 will set the -DTR  
outputtologic0, enablingthemodem. Thispinwillbealogic  
1 after writing a logic 0 to MCR bit-0, or after a reset. This  
pin has no effect on the UART’s transmit or receive opera-  
tion.  
-RI A-B  
-RI C-D  
8,28 98,33 63,19  
42,62 48,84 30,50  
I
Ring Indicator (active low) - These inputs are associated  
with individual UART channels, A through D. A logic 0 on  
this pin indicates the modem has received a ringing signal  
from the telephone line. A logic 1 transition on this input pin  
will generate an interrupt.  
-RTS A-B  
-RTS C-D  
14,22 11,19 5,13  
48,56 62,70 36,44  
O
RequesttoSend(activelow)-Theseoutputsareassociated  
withindividualUARTchannels, AthroughD. Alogic0onthe  
-RTS pin indicates the transmitter has data ready and  
waiting to send. Writing a logic 1 in the modem control  
register (MCR bit-1) will set this pin to a logic 0 indicating  
data is available. After a reset this pin will be set to a logic  
1. This pin only affects the transmit and receive operations  
when Auto RTS function is enabled via the Enhanced  
Feature Register (EFR) bit-6, for hardware flow control  
Rev. 1.00P  
11  
XR16C854  
SYMBOL DESCRIPTION  
Symbol  
Pin  
100  
Signal  
type  
Pin Description  
68  
64  
operation.  
RX/IRRX A-B  
7,29 97,34 62,20  
RX/IRRX C-D 41,63 47,85 29,51  
I
Receive Data Input RX/IRRX A-D. - These inputs are  
associated with individual serial channel data to the  
XR16C854. Twouserselectableinterfaceoptionsareavail-  
able. The first option supports the standard modem inter-  
face. The second option provides an Infrared decoder  
interface, see figures 2/3. When using the standard modem  
interface, the RX signal will be a logic 1 during reset, idle (no  
data), or when the transmitter is disabled. The inactive state  
(no data) for the Infrared decoder interface is a logic 0. MCR  
bit-6 selects the standard modem or infrared interface.  
During the local loop-back mode, the RX input pin is  
disabled and TX data is internally connected to the UART  
RX Input, internally.  
TX/IRTX A-B 17,19 14,16 8,10  
TX/IRTX C-D 51,53 65,67 39,41  
O
Transmit Data - These outputs are associated with indi-  
vidual serial transmit channel data from the 854. Two user  
selectable interface options are available. The first user  
option supports a standard modem interface. The second  
optionprovidesanInfraredencoderinterface, seefigures2/  
3. When using the standard modem interface, the TX signal  
will be a logic 1 during reset, idle (no data), or when the  
transmitter is disabled. The inactive state (no data) for the  
Infrared encoder/ decoder interface is a Logic 0. MCR bit-  
6 selects the standard modem or infrared interface. During  
the local loop-back mode, the TX input pin is disabled and  
TX data is internally connected to the UART RX Input.  
Rev. 1.00P  
12  
XR16C854  
The854combinesthepackageinterfacemodesofthe  
16C554/654 and 68/C554/654 series on a single inte-  
grated chip. The 16 mode interface is designed to  
operatewiththeInteltypeofmicroprocessorbuswhile  
the 68 mode is intended to operate with Motorola, and  
other popular microprocessors. Following a reset, the  
854 is down-ward compatible with the ST16C454/  
ST68C454 or the ST68C454/ST68C554 dependent  
on the state of the interface mode selection pin, 16/-  
68.  
GENERAL DESCRIPTION  
The 854 provides serial asynchronous receive data  
synchronization, parallel-to-serial and serial-to-paral-  
lel data conversions for both the transmitter and  
receiver sections. These functions are necessary for  
convertingtheserialdatastreamintoparalleldatathat  
is required with digital data systems. Synchronization  
for the serial data stream is accomplished by adding  
start and stops bits to the transmit data to form a data  
character (character orientated protocol). Data integ-  
rity is insured by attaching a parity bit to the data  
character. The parity bit is checked by the receiver for  
any transmission bit errors. The electronic circuitry to  
provide all these functions is fairly complex especially  
when manufactured on a single integrated silicon  
chip. The XR16C854 represents such an integration  
with greatly enhanced features. The 854 is fabricated  
with an advanced CMOS process to achieve low drain  
power and high speed requirements.  
The 854 is capable of operation to 1.5Mbps with a 24  
MHz crystal or external clock input. With a crystal of  
14.7464 MHz and through a software option, the user  
can select data rates up to 460.8Kbps or 921.6Kbps,  
8 times faster than the 16C554.  
The rich feature set of the 854 is available through  
internal registers. Automatic hardware/software flow  
control, selectable transmit and receive FIFO trigger  
levels, selectable TX and RX baud rates, infrared  
encoder/decoder interface, modem interface con-  
trols,andasleepmodeareallstandardfeatures.MCR  
bit-5 provides a facility for turning off (Xon) software  
flow control with any incoming (RX) character. In the  
16 mode INTSEL and MCR bit-3 can be configured to  
provide a software controlled or continuous interrupt  
capability. Due of pin limitations for the 64 pin 854 this  
feature is offered by two different QFP packages. The  
XR16C854DCV operates in the continuos interrupt  
enable mode by bonded INTSEL to VCC internally.  
The XR16C854CV operates in conjunction with MCR  
bit-3 by bonding INTSEL to GND internally.  
The 854 is an upward solution that provides 128 bytes  
of transmit and receive FIFO memory, instead of 64  
bytes provided in ST16C654, 16 bytes provided in the  
16/68C554, or none in the 16/68C454. The 854 is  
designedtoworkwithhighspeedmodemsandshared  
network environments, that require fast data process-  
ing time. Increased performance is realized in the 854  
by the larger transmit and receive FIFO’s. This allows  
the external processor to handle more networking  
tasks within a given time. For example, the ST16C554  
with a 16 byte FIFO, unloads 16 bytes of receive data  
in1.53ms(Thisexampleusesacharacterlengthof11  
bits, including start/stop bits at 115.2Kbps). This  
means the external CPU will have to service the  
receive FIFO at 1.53 ms intervals. However with the  
128 byte FIFO in the 854, the data buffer will not  
require unloading/loading for 12.2 ms. This increases  
the service interval giving the external CPU additional  
time for other applications and reducing the overall  
UART interrupt servicing time. In addition, the 4  
selectable levels of FIFO trigger interrupt and auto-  
matic hardware/software flow control is uniquely pro-  
vided for maximum data throughput performance  
especially when operating in a multi-channel environ-  
ment. The combination of the above greatly reduces  
the bandwidth requirement of the external controlling  
CPU, increases performance, and reduces power  
consumption.  
The 68 and 100 pin XR16C854 packages offer a clock  
select pin to allow system/board designers to preset  
the default baud rate table. The CLKSEL pin selects  
the 1X or 4X pre-scaleable baud rate generator table  
during initialization, but can be overridden following  
initialization by MCR bit-7.  
The 100 pin packages offer several enhances fea-  
tures. These features include an MIDI clock input, an  
internal FIFO monitor register, and separate IrDA TX  
outputs. The MIDI (Musical Instrument Digital Inter-  
face) can be connected to the XTAL2 pin for normal  
Rev. 1.00P  
13  
XR16C854  
The 68 Mode Interface  
operation or to external MIDI oscillator for MIDI appli-  
cations. A separate register is provided for monitoring  
the real time status of the FIFO signals -TXRDY and  
-RXRDY for each of the four UART channels (A-D).  
This reduces polling time involved in accessing indi-  
vidual channels. The 100 pin QFP package also  
offers, four separate IrDA (Infrared Data Association  
Standard) outputs for Infrared applications. These  
outputs are provided in addition to the standard asyn-  
chronous modem data outputs.  
The68modeconfiguresthepackageinterfacepinsfor  
connection with Motorola, and other popular micro-  
processor bus types. The interface operates similar to  
the 68C554/654. In this mode the 854 decodes two  
additional addresses, A3-A4 to select one of the four  
UART ports. The A3-A4 address decode function is  
used only when in the 68 mode (16/-68 logic 0), and is  
shown in Table 3 below.  
Table 3, SERIAL PORT CHANNEL SELECTION  
GUIDE, 68 MODE INTERFACE  
FUNCTIONAL DESCRIPTIONS  
-CS  
A4  
A3  
UART  
CHANNEL  
Interface Options  
1
0
0
0
0
N/A N/A  
None  
A
B
C
D
Two user interface modes are selectable for the 854  
package. These interface modes are designated as  
the “16 mode” and the “68 mode.” This nomenclature  
corresponds to the early 16C554/654 and 68C554/  
654 package interfaces respectively.  
0
0
1
1
0
1
0
1
The 16 Mode Interface  
Internal Registers  
The16modeconfiguresthepackageinterfacepinsfor  
connection as a standard 16 series (Intel) device and  
operates similar to the standard CPU interface avail-  
able on the 16C554/654. In the 16 mode (pin 16/-68  
logic 1) each UART is selected with individual chip  
select (CSx) pins as shown in Table 2 below.  
The 854 provides 15 (64/68 pin packages) or 16 (100  
pin packages) internal registers for monitoring and  
control. These resisters are shown in Table 4 below.  
Twelve registers are similar to those already available  
in the standard 16C554. These registers function as  
data holding registers (THR/RHR), interrupt status  
and control registers (IER/ISR), a FIFO control regis-  
ter(FCR),linestatusandcontrolregisters(LCR/LSR),  
modem status and control registers (MCR/MSR), pro-  
grammable data rate (clock) control registers (DLL/  
DLM), and a user assessable scratchpad register  
(SPR). Beyond the general 16C554 features and  
capabilities, the 854 offers an enhanced feature reg-  
ister set (EFR, Xon/Xoff 1-2) that provides on board  
hardware/software flow control. Register functions  
are more fully described in the following paragraphs.  
Table 2, SERIAL PORT CHANNEL SELECTION  
GUIDE, 16 MODE INTERFACE  
-CSA -CSB -CSC -CSD  
UART  
CHANNEL  
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
None  
A
B
C
D
Rev. 1.00P  
14  
XR16C854  
Table 4, INTERNAL REGISTER DECODE  
A2  
A1  
A0  
READ MODE  
WRITE MODE  
General Register Set (THR/RHR, IER/ISR, MCR/MSR, LCR/LSR, SPR):  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Receive Holding Register  
Interrupt Status Register  
Transmit Holding Register  
Interrupt Enable Register  
FIFO Control Register  
Line Control Register  
Modem Control Register  
Line Status Register  
Modem Status Register  
Scratchpad Register  
Scratchpad Register  
Baud Rate Register Set (DLL/DLM): Note *2  
0
0
0
0
0
1
LSB of Divisor Latch  
MSB of Divisor Latch  
LSB of Divisor Latch  
MSB of Divisor Latch  
Enhanced Register Set (EFR, Xon/off 1-2): Note *3  
0
0
0
1
1
1
1
0
0
1
0
0
1
1
0
1
0
0
1
0
1
FIFO Trigger Register  
FIFO trigger counter  
Feature Control Register  
Enhanced Feature Register  
Xon-1 Word  
Xon-2 Word  
Xoff-1 Word  
Enhanced Feature Register  
Xon-1 Word  
Xon-2 Word  
Xoff-1 Word  
Xoff-2 Word  
Xoff-2 Word  
FIFO Ready Register: Note *4  
RXRDY (A-D), TXRDY (A-D)  
X
X
X
Note *2: These registers are accessible only when LCR bit-7 is set to a logic 1.  
Note *3: Enhanced Feature Register, Xon 1,2 and Xoff 1,2 are accessible only when the LCR is set to  
“BF(HEX).  
Note *4: FIFO Ready Register is available through the CSRDY interface pin only.  
Rev. 1.00P  
15  
XR16C854  
FIFO Operation  
Hardware Flow Control  
The 128 byte transmit and receive data FIFO’s are  
enabled by the FIFO Control Register (FCR) bit-0.  
With 16C554 devices, the user can set the receive  
trigger level but not the transmit trigger level. The 854  
provides independent trigger levels for both receiver  
and transmitter. To remain compatible with  
ST16C554, the transmit interrupt trigger level is set to  
8 following a reset. It should be noted that the user can  
set the transmit trigger levels by writing to the FCR  
register, but activation will not take place until EFR bit-  
4issettoalogic1. ThereceiverFIFOsectionincludes  
a time-out function to ensure data is delivered to the  
external CPU. An interrupt is generated whenever the  
Receive Holding Register (RHR) has not been read  
following the loading of a character or the receive  
triggerlevelhasnotbeenreached. (seehardwareflow  
control for a description of this timing).  
When automatic hardware flow control is enabled, the  
854monitorsthe-CTSpinforaremotebufferoverflow  
indication and controls the -RTS pin for local buffer  
overflows. Automatic hardware flow control is se-  
lected by setting bits 6 (RTS) and 7 (CTS) of the EFR  
register to a logic 1. If -CTS transitions from a logic 0  
to a logic 1 indicating a flow control request, ISR bit-  
5 will be set to a logic 1 (if enabled via IER bit 6-7), and  
the 854 will suspend TX transmissions as soon as the  
stop bit of the character in process is shifted out.  
Transmission is resumed after the -CTS input returns  
to a logic 0, indicating more data may be sent.  
With the Auto RTS function enabled, an interrupt is  
generated when the receive FIFO reaches the pro-  
grammed trigger level. The -RTS pin will not be forced  
to a logic 1 (RTS Off), until the receive FIFO reaches  
the next trigger level. However, the -RTS pin will  
return to a logic 0 after the data buffer (FIFO) is  
unloaded to the next trigger level below the pro-  
grammed trigger. However, under the above de-  
scribed conditions the 854 will continue to accept data  
until the receive FIFO is full.  
Selected  
Trigger  
INT  
Pin  
-RTS  
Logic “1”  
-RTS  
Logic “0”  
Level  
Activation  
(characters) (characters)  
(characters)  
8
8
16  
56  
60  
60  
0
8
16  
56  
16  
56  
60  
16  
56  
60  
Rev. 1.00P  
16  
XR16C854  
Software Flow Control  
Special Feature Software Flow Control  
When software flow control is enabled, the 854 com-  
pares one or two sequential receive data characters  
with the programmed Xon or Xoff-1,2 character  
value(s). If receive character(s) (RX) match the pro-  
grammed values, the 854 will halt transmission (TX)  
as soon as the current character(s) has completed  
transmission. When a match occurs, the receive  
ready (if enabled via Xoff IER bit-5) flags will be set  
and the interrupt output pin (if receive interrupt is  
enabled) will be activated. Following a suspension  
due to a match of the Xoff characters values, the 854  
will monitor the receive data stream for a match to the  
Xon-1,2 character value(s). If a match is found, the  
854 will resume operation and clear the flags (ISR bit-  
4). The 854 offers a special Xon mode via MCR bit-5.  
The initialized default setting of MCR bit-5 is a logic 0.  
In this state Xoff and Xon will operate as defined  
above. Setting MCR bit-5 to a logic 1 sets a special  
operational mode for the Xon function. In this case  
Xoff operates normally however, transmission (Xon)  
will resume with the next character received, i.e., a  
match is declared simply by the receipt of an incoming  
(RX) character.  
A special feature is provided to detect an 8-bit charac-  
ter when bit-5 is set in the Enhanced Feature Register  
(EFR). When 8 bit character is detected, it will be  
placed on the user accessible data stack along with  
normal incoming RX data. This condition is selected in  
conjunction with EFR bits 0-3. Note that software flow  
control should be turned off when using this special  
mode by setting EFR bit 0-3 to a logic 0.  
The 854 compares each incoming receive character  
with Xoff-2 data. If a match exists, the received data  
will be transferred to FIFO and ISR bit-4 will be set to  
indicate detection of special character (see Figure 9).  
Although the Internal Register Table shows each X-  
Register with eight bits of character information, the  
actual number of bits is dependent on the pro-  
grammed word length. Line Control Register (LCR)  
bits 0-1 defines the number of character bits, i.e.,  
either 5 bits, 6 bits, 7 bits, or 8 bits. The word length  
selected by LCR bits 0-1 also determines the number  
of bits that will be used for the special character  
comparison. Bit-0 in the X-registers corresponds with  
the LSB bit for the receive character.  
Xon Any Feature  
Reset initially sets the contents of the Xon/Xoff 8-bit  
flow control registers to a logic 0. Following reset the  
user can write any Xon/Xoff value desired for software  
flow control. Different conditions can be set to detect  
Xon/Xoff characters and suspend/resume transmis-  
sions. When double 8-bit Xon/Xoff characters are  
selected, the 854 compares two consecutive receive  
characters with two software flow control 8-bit values  
(Xon1, Xon2, Xoff1, Xoff2) and controls TX transmis-  
sions accordingly. Under the above described flow  
control mechanisms, flow control characters are not  
placed (stacked) in the user accessible RX data buffer  
or FIFO.  
A special feature is provided to return the Xoff flow  
control to the inactive state following its activation. In  
this mode any RX character received will return the  
Xoff flow control to the inactive state so that transmis-  
sions may be resumed with a remote buffer. This  
feature is more fully defined in the Software Flow  
Control section.  
Device Identification  
The XR16C854 provides Device identification and  
Device Revision code to distinguish the part from  
others.  
In the event that the receive buffer is overfilling and  
flow control needs to be executed, the 854 automati-  
cally sends an Xoff message (when enabled) via the  
serial TX output to the remote modem. The 854 sends  
the Xoff-1,2 characters as soon as received data  
passes the programmed trigger level. To clear this  
condition, the 854 will transmit the programmed Xon-  
1,2 characters as soon as receive data drops below  
the programmed trigger level.  
To read the identification number from the part, its is  
required to set the baud rate generator divisor latch to  
“1” and then set the content of the baud rate generator  
DLL and DLM registers to “0”. Reading the content of  
the DLM will provide “14” hex for XR16C854 part and  
reading the content of the DLL will provide the revision  
of the part.  
Rev. 1.00P  
17  
XR16C854  
Hardware/Software and Timeout Interrupts  
Example -B: If the user programs the word length = 7,  
with parity and one stop bit, the time out will be:  
T=4X7(programmedwordlength)+12=40bittimes.  
Character time = 40 / 10 [ (programmed word length  
= 7) + (parity = 1) + (stop bit = 1) + (start bit = 1) = 4  
characters.  
Three special interrupts have been added to monitor  
thehardwareandsoftwareflowcontrol. Theinterrupts  
are enabled by IER bits 5-7. Care must be taken when  
handling these interrupts. Following a reset the trans-  
mitter interrupt is enabled, the 854 will issue an  
interrupt to indicate that transmit holding register is  
empty. This interrupt must be serviced prior to con-  
tinuing operations. The LSR register provides the  
current singular highest priority interrupt only. It could  
be noted that CTS and RTS interrupts have lowest  
interrupt priority. A condition can exist where a higher  
priority interrupt may mask the lower priority CTS/  
RTS interrupt(s). Only after servicing the higher pend-  
ing interrupt will the lower priority CTS/ RTS  
interrupt(s) be reflected in the status register. Servic-  
ing the interrupt without investigating further interrupt  
conditions can result in data errors.  
In the 16 mode for 68/100 pin packages, the system/  
board designer can optionally provide software con-  
trolled three state interrupt operation. This is accom-  
plished by INTSEL and MCR bit-3. When INTSEL  
interface pin is left open or made a logic 0, MCR bit-  
3 controls the three state interrupt outputs, INT A-D.  
When INTSEL is a logic 1, MCR bit-3 has no effect on  
the INT A-D outputs and the package operates with  
interrupt outputs enabled continuously.  
Programmable Baud Rate Generator  
The 854 supports high speed modem technologies  
that have increased input data rates by employing  
data compression schemes. For example a 33.6Kbps  
modem that employs data compression may require a  
115.2Kbpsinputdatarate.A128.0KbpsISDNmodem  
that supports data compression may need an input  
data rate of 460.8Kbps. The 854 can support a stan-  
dard data rate of 921.6Kbps.  
When two interrupt conditions have the same priority,  
it is important to service these interrupts correctly.  
Receive Data Ready and Receive Time Out have the  
same interrupt priority (when enabled by IER bit-3).  
The receiver issues an interrupt after the number of  
characters have reached the programmed trigger  
level. In this case the 854 FIFO may hold more  
characters than the programmed trigger level. Follow-  
ingtheremovalofadatabyte, theusershouldrecheck  
LSR bit-0 for additional characters. A Receive Time  
Out will not occur if the receive FIFO is empty. The  
time out counter is reset at the center of each stop bit  
received or each time the receive holding register  
(RHR) is read. The actual time out value is T (Time out  
length in bits) = 4 X P (Programmed word length) + 12.  
To convert the time out value to a character value, the  
user has to consider the complete word length, includ-  
ing data information length, start bit, parity bit, and the  
size of stop bit, i.e., 1X, 1.5X, or 2X bit times.  
Figure 8, Crystal oscillator connection  
Example -A: If the user programs a word length of 7,  
with no parity and one stop bit, the time out will be:  
T=4X7(programmedwordlength)+12=40bittimes.  
The character time will be equal to 40 / 9 = 4.4  
characters, or as shown in the fully worked out ex-  
ample: T = [(programmed word length = 7) + (stop bit  
= 1) + (start bit = 1) = 9]. 40 (bit times divided by 9) =  
4.4 characters.  
X1  
1.8432 MHz  
C1  
22pF  
C2  
33pF  
Rev. 1.00P  
18  
XR16C854  
Single baud rate generator is provided for the  
transmitter and receiver, allowing independent TX/  
RX channel control. The programmable Baud Rate  
Generator is capable of accepting an input clock up  
to 24 MHz, as required for supporting a 1.5Mbps  
data rate. The 854 can be configured for internal or  
external clock operation. For internal clock oscilla-  
tor operation, an industry standard microprocessor  
crystal (parallel resonant/ 22-33 pF load) is con-  
nected externally between the XTAL1 and XTAL2  
pins (see figure ). Alternatively, an external clock  
can be connected to the XTAL1 pin to clock the  
internal baud rate generator for standard or custom  
rates. (see Baud Rate Generator Programming).  
high data rate applications using the same system  
design. After a hardware reset and during initializa-  
tion, the854setsthedefaultbaudratetableaccording  
to the state of the CLKSEL. pin. A logic 1 on CLKSEL  
will set the 1X clock default whereas, logic 0 will set  
the 4X clock default table. Following the default clock  
rate selection during initialization, the rate tables can  
bechangedbytheinternalregister, MCRbit-7. Setting  
MCR bit-7 to a logic 1 when CLKSEL is a logic 1  
provides an additional divide by 4 whereas, setting  
MCR bit-7 to a logic 0 only divides by 1. (See Table 5  
and Figure 11). Customized Baud Rates can be  
achieved by selecting the proper divisor values for the  
MSB and LSB sections of baud rate generator.  
The generator divides the input 16X clock by any  
divisor from 1 to 216 -1. The 854 divides the basic  
crystal or external clock by 16. Further division of this  
16X clock provides two table rates to support low and  
Programming the Baud Rate Generator Registers  
DLM (MSB) and DLL (LSB) provides a user capability  
for selecting the desired final baud rate. The example  
in Table 5 below, shows the two selectable baud rate  
tables available when using a 7.3728 MHz crystal.  
Table 5, BAUD RATE GENERATOR PROGRAMMING TABLE (7.3728 MHz CLOCK):  
Output  
Output  
User  
User  
DLM  
Program  
Value  
DLL  
Program  
Value  
Baud Rate Baud Rate 16 x Clock 16 x Clock  
MCR  
BIT-7=1  
MCR  
Bit-7=0  
Divisor  
(Decimal)  
Divisor  
(HEX)  
(HEX)  
(HEX)  
50  
300  
600  
200  
1200  
2400  
4800  
9600  
19.2K  
38.4k  
76.8k  
153.6k  
230.4k  
460.8k  
2304  
384  
192  
96  
48  
24  
12  
6
900  
180  
C0  
60  
30  
18  
0C  
06  
03  
02  
01  
09  
01  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
80  
C0  
60  
30  
18  
0C  
06  
03  
02  
01  
1200  
2400  
4800  
9600  
19.2k  
38.4k  
57.6k  
115.2k  
3
2
1
Rev. 1.00P  
19  
XR16C854  
Figure 11, Baud Rate Generator Circuitry  
MCR  
Bit-7=0  
Divide  
by  
1 logic  
Clock  
Oscillator  
Baudrate  
Generator  
Logic  
XTAL1  
-BAUDOUT  
XTAL2  
Logic  
Divide  
by  
4 logic  
MCR  
Bit-7=1  
DMA Operation  
Sleep Mode  
The 854 FIFO trigger level provides additional flexibil-  
ity to the user for block mode operation. LSR bits 5-6  
provide an indication when the transmitter is empty or  
has an empty location(s). The user can optionally  
operate the transmit and receive FIFO’s in the DMA  
mode (FCR bit-3). When the transmit and receive  
FIFO’s are enabled and the DMA mode is deactivated  
(DMA Mode “0”), the 854 activates the interrupt output  
pin for each data transmit or receive operation. When  
DMA mode is activated (DMA Mode “1”), the user  
takes the advantage of block mode operation by  
loading or unloading the FIFO in a block sequence  
determined by the preset trigger level. In this mode,  
the 854 sets the interrupt output pin when characters  
in the transmit FIFO’s are below the transmit trigger  
level, or the characters in the receive FIFO’s are  
above the receive trigger level.  
The 854 is designed to operate with low power con-  
sumption. A special sleep mode is included to further  
reduce power consumption when the chip is not being  
used. With EFR bit-4 and IER bit-4 enabled (set to a  
logic 1), the 854 enters the sleep mode but resumes  
normaloperationwhenastartbitisdetected,achange  
of state on any of the modem input pins RX, -RI, -CTS,  
-DSR, -CD, or transmit data is provided by the user. If  
thesleepmodeisenabledandthe854isawakenedby  
one of the conditions described above, it will return to  
the sleep mode automatically after the last character  
is transmitted or read by the user. In any case, the  
sleep mode will not be entered while an interrupt(s) is  
pending. The 854 will stay in the sleep mode of  
operation until it is disabled by setting IER bit-4 to a  
logic 0.  
Rev. 1.00P  
20  
XR16C854  
Loop-back Mode  
Theinternalloop-backcapabilityallowsonboarddiag-  
nostics. In the loop-back mode the normal modem  
interface pins are disconnected and reconfigured for  
loop-back internally. MCR register bits 0-3 are used  
for controlling loop-back diagnostic testing. In the  
loop-back mode OP1 and OP2 in the MCR register  
(bits 3/2) control the modem -RI and -CD inputs  
respectively. MCR signals -DTR and -RTS (bits 0-1)  
are used to control the modem -CTS and -DSR inputs  
respectively. The transmitter output (TX) and the  
receiver input (RX) are disconnected from their asso-  
ciated interface pins, and instead are connected to-  
gether internally (See Figure 12). The -CTS, -DSR, -  
CD, and -RI are disconnected from their normal  
modemcontrolinputspins,andinsteadareconnected  
internally to -DTR, -RTS, -OP1 and -OP2. Loop-back  
test data is entered into the transmit holding register  
via the user data bus interface, D0-D7. The transmit  
UARTserializesthedataandpassestheserialdatato  
the receive UART via the internal loop-back connec-  
tion. The receive UART converts the serial data back  
into parallel data that is then made available at the  
user data interface, D0-D7. The user optionally com-  
pares the received data to the initial transmitted data  
for verifying error free operation of the UART TX/RX  
circuits.  
In this mode, the receiver and transmitter interrupts  
are fully operational. The Modem Control Interrupts  
are also operational. However, the interrupts can only  
be read using lower four bits of the Modem Control  
Register (MCR bits 0-3) instead of the four Modem  
Status Register bits 4-7. The interrupts are still con-  
trolled by the IER.  
Rev. 1.00P  
21  
XR16C854  
Figure 12, INTERNAL LOOP-BACK MODE DIAGRAM  
Transmit  
FIFO  
Registers  
Transmit  
Shift  
Register  
TX A-D  
D0-D7  
-IOR,-IOW  
RESET  
Flow  
Control  
Logic  
Ir  
Encoder  
Receive  
FIFO  
Registers  
Receive  
Shift  
Register  
RX A-D  
A0-A2  
-CS A-D  
Flow  
Control  
Logic  
Ir  
Decoder  
-RTS A-D  
-CD A-D  
-DTR A-D  
INT A-D  
-RXRDY  
-TXRDY  
-RI A-D  
-OP1 A-D  
XTAL1  
XTAL2  
-DSR A-D  
-OP2 A-D  
-CTS A-D  
Rev. 1.00P  
22  
XR16C854  
REGISTER FUNCTIONAL DESCRIPTIONS  
The following table delineates the assigned bit functions for the fifteen 854 internal registers. The assigned  
bit functions are more fully defined in the following paragraphs.  
XR16C854 ACCESSIBLE REGISTERS  
A2 A1 A0  
Register  
[Default]  
Note *5  
BIT-7  
BIT-6  
BIT-5  
BIT-4  
BIT-3  
BIT-2  
BIT-1  
BIT-0  
General Register Set  
0
0
0
0
0
0
0
0
1
RHR[XX]  
THR [XX]  
IER [00]  
bit-7  
bit-7  
bit-6  
bit-6  
bit-5  
bit-5  
bit-4  
bit-4  
bit-3  
bit-3  
bit-2  
bit-2  
bit-1  
bit-1  
bit-0  
bit-0  
0/  
-CTS  
interrupt  
0/  
-RTS  
interrupt  
0/  
Xoff  
interrupt  
0/  
Sleep  
mode  
modem  
status  
interrupt  
receive  
line  
status  
interrupt  
transmit  
holding  
register  
receive  
holding  
register  
0
0
0
1
1
1
1
1
0
0
0
0
1
0
1
FCR [00]  
ISR [01]  
LCR [00]  
MCR [00]  
LSR [60]  
RCVR  
trigger  
(MSB)  
RCVR  
trigger  
(LSB)  
0/TX  
trigger  
(MSB)  
0/TX  
trigger  
(LSB)  
DMA  
mode  
select  
XMIT  
FIFO  
reset  
RCVR  
FIFO  
reset  
FIFO  
enable  
0/  
0/  
0/  
-RTS,  
-CTS  
0/  
Xoff  
int  
priority  
bit-2  
int  
priority  
bit-1  
int  
priority  
bit-0  
int  
status  
FIFO’s  
enabled  
FIFO’s  
enabled  
divisor  
latch  
enable  
set  
break  
set  
parity  
even  
parity  
parity  
enable  
stop  
bits  
word  
length  
bit-1  
word  
length  
bit-0  
Clock  
select  
0/  
IRRT  
enable  
0/  
Xon  
Any  
loop  
back  
-OP2  
-OP1  
-RTS  
-DTR  
0/  
FIFO  
error  
trans.  
empty  
trans.  
holding  
empty  
break  
interrupt  
framing  
error  
parity  
error  
overrun  
error  
receive  
data  
ready  
1
1
1
1
0
1
MSR[X0]  
-CD  
bit-7  
-RI  
-DSR  
bit-5  
-CTS  
bit-4  
delta  
-CD  
delta  
-RI  
delta  
-DSR  
delta  
-CTS  
SCPAD [FF]  
bit-6  
bit-3  
bit-2  
bit-1  
bit-0  
Special Register Set Note *2  
0
0
0
0
0
1
DLL [XX]  
DLM [XX]  
bit-7  
bit-6  
bit-5  
bit-4  
bit-3  
bit-2  
bit-1  
bit-9  
bit-0  
bit-8  
bit-15  
bit-14  
bit-13  
bit-12  
bit-11  
bit-10  
Rev. 1.00P  
23  
XR16C854  
A2 A1 A0  
Register  
[Default]  
Note *5  
BIT-7  
BIT-6  
BIT-5  
BIT-4  
BIT-3  
BIT-2  
BIT-1  
BIT-0  
Enhanced Register Set Note*3  
0
0
0
TRG [00]  
Trig/  
FC  
Trig/  
FC  
Trig/  
FC  
Trig/  
FC  
Trig  
FC  
Trig/  
FC  
Trig/  
FC  
Trig/  
FC  
0
0
1
FCTR [00]  
Rx/Tx  
Mode  
SCPAD  
Swap  
Trig  
Bit-1  
Trig  
Bit-0  
RS-485  
Auto  
control  
IrRx  
Inv.  
-RTS  
Delay  
Bit-1  
-RTS  
Delay  
Bit-0  
0
1
1
1
0
1
EFR [00]  
Auto  
-CTS  
Auto  
-RTS  
Special  
Char.  
select  
Enable  
IER  
Bits 4-7,  
ISR, FCR  
Bits 4-5,  
MCR  
Cont-3  
Tx,Rx  
Control  
Cont-2  
Tx,Rx  
Control  
Cont-1  
Tx,Rx  
Control  
Cont-0  
Tx,Rx  
Control  
Bits 5-7  
EMSR [00]  
Not  
Used  
Not  
Used  
Not  
Used  
Not  
Used  
Not  
Used  
Not  
Used  
ALT.  
Rx/Tx  
FIFO  
Rx/-Tx  
FIFO  
Count  
Count  
1
1
1
1
0
0
1
1
0
1
0
1
Xon-1[00]  
Xon-2[00]  
Xoff-1[00]  
Xoff-2[00]  
bit-7  
bit-15  
bit-7  
bit-6  
bit-14  
bit-6  
bit-5  
bit-13  
bit-5  
bit-4  
bit-12  
bit-4  
bit-3  
bit-11  
bit-3  
bit-2  
bit-10  
bit-2  
bit-1  
bit-9  
bit-1  
bit-9  
bit-0  
bit-8  
bit-0  
bit-8  
bit-15  
bit-14  
bit-13  
bit-12  
bit-11  
bit-10  
FIFO Ready Register: Note *4  
X
X
X
FIFORdy  
RXRDY  
D
RXRDY  
C
RXRDY  
B
RXRDY  
A
TXRDY  
D
TXRDY  
C
TXRDY  
B
TXRDY  
A
2
Note * : The Special register set is accessible only when LCR bit-7 is set to “1”.  
3
Note * : Enhanced Feature Register, Xon 1,2 and Xoff 1,2 are accessible only when LCR is set to “BF” HEX.  
4
Note * : FIFORdy register is available only in 100 pin QFP packages and is selected by -CSRDY vice A0-A2.  
5
Note * : The value between the square brackets represents the register’s initialized HEX value.  
Rev. 1.00P  
24  
XR16C854  
Transmit (THR) and Receive (RHR) Holding Reg-  
isters  
FIFO drops below the programmed trigger level.  
B) FIFO status will also be reflected in the user  
accessible ISR register when the FIFO trigger level is  
reached. Both the ISR register status bit and the  
interrupt will be cleared when the FIFO drops below  
the trigger level.  
The serial transmitter section consists of an 8-bit  
Transmit Hold Register (THR) and Transmit Shift  
Register (TSR). The status of the THR is provided in  
the Line Status Register (LSR). Writing to the THR  
transfers the contents of the data bus (D7-D0) to the  
THR, providing that the THR or TSR is empty. The  
THRemptyflagintheLSRregisterwillbesettoalogic  
1 when the transmitter is empty or when data is  
transferred to the TSR. Note that a write operation can  
be performed when the transmit holding register  
empty flag is set (logic 0 = FIFO full, logic 1= at least  
one FIFO location available).  
C) The data ready bit (LSR BIT-0) is set as soon as a  
character is transferred from the shift register to the  
receive FIFO. It is reset when the FIFO is empty.  
IER Vs Receive/Transmit FIFO Polled Mode Op-  
eration  
When FCR BIT-0 equals a logic 1; resetting IER bits  
0-3 enables the 854 in the FIFO polled mode of  
operation. Since the receiver and transmitter have  
separate bits in the LSR either or both can be used in  
the polled mode by selecting respective transmit or  
receive control bit(s).  
The serial receive section also contains an 8-bit  
Receive Holding Register, RHR. Receive data is  
removed from the 854 and receive FIFO by reading  
the RHR register. The receive section provides a  
mechanism to prevent false starts. On the falling edge  
of a start or false start bit, an internal receiver counter  
starts counting clocks at 16x clock rate. After 7 1/2  
clocks the start bit time should be shifted to the center  
of the start bit. At this time the start bit is sampled and  
if it is still a logic 0 it is validated. Evaluating the start  
bit in this manner prevents the receiver from assem-  
bling a false character. Receiver status codes will be  
posted in the LSR.  
A) LSR BIT-0 will be a logic 1 as long as there is one  
byte in the receive FIFO.  
B) LSR BIT 1-4 will provide the type of errors encoun-  
tered, if any.  
C) LSR BIT-5 will indicate when the transmit FIFO is  
empty.  
Interrupt Enable Register (IER)  
D) LSR BIT-6 will indicate when both the transmit  
FIFO and transmit shift register are empty.  
The Interrupt Enable Register (IER) masks the inter-  
rupts from receiver ready, transmitter empty, line  
status and modem status registers. These interrupts  
would normally be seen on the INT A-D output pins in  
the 16 mode, or on WIRE-OR IRQ output pin, in the 68  
mode.  
E) LSR BIT-7 will indicate any FIFO data errors.  
IER BIT-0:  
This interrupt will be issued when the FIFO has  
reached the programmed trigger level or is cleared  
when the FIFO drops below the trigger level in the  
FIFO mode of operation.  
Logic 0 = Disable the receiver ready interrupt. (normal  
default condition)  
IER Vs Receive FIFO Interrupt Mode Operation  
When the receive FIFO (FCR BIT-0 = a logic 1) and  
receive interrupts (IER BIT-0 = logic 1) are enabled,  
the receive interrupts and register status will reflect  
the following:  
Logic 1 = Enable the receiver ready interrupt.  
IER BIT-1:  
A) The receive data available interrupts are issued to  
the external CPU when the FIFO has reached the  
programmed trigger level. It will be cleared when the  
This interrupt will be issued whenever the THR is  
empty and is associated with bit-1 in the LSR register.  
Rev. 1.00P  
25  
XR16C854  
DMA MODE  
Logic 0 = Disable the transmitter empty interrupt.  
(normal default condition)  
Mode 0 Set and enable the interrupt for each  
single transmit or receive operation, and is similar to  
the ST16C454 mode. Transmit Ready (-TXRDY) will  
go to a logic 0 when ever an empty transmit space is  
available in the Transmit Holding Register (THR).  
Receive Ready (-RXRDY) will go to a logic 0 when-  
ever the Receive Holding Register (RHR) is loaded  
with a character.  
Logic 1 = Enable the transmitter empty interrupt.  
IER BIT-2:  
This interrupt will be issued whenever a fully as-  
sembled receive character is transferred from the  
RSR to the RHR/FIFO, i.e., data ready, LSR bit-0.  
Logic 0 = Disable the receiver line status interrupt.  
(normal default condition)  
Logic 1 = Enable the receiver line status interrupt.  
Mode 1 Set and enable the interrupt in a block  
mode operation. The transmit interrupt is set when the  
transmit FIFO is below the programmed trigger level.  
-TXRDY remains a logic 0 as long as one empty FIFO  
location is available. The receive interrupt is set when  
the receive FIFO fills to the programmed trigger level.  
However the FIFO continues to fill regardless of the  
programmed level until the FIFO is full. -RXRDY  
remains a logic 0 as long as the FIFO fill level is above  
the programmed trigger level.  
IER BIT-3:  
Logic 0 = Disable the modem status register interrupt.  
(normal default condition)  
Logic 1 = Enable the modem status register interrupt.  
IER BIT -4:  
Logic 0 = Disable sleep mode. (normal default condi-  
tion)  
Logic1=Enablesleepmode.SeeSleepModesection  
for details.  
FCR BIT-0:  
Logic 0 = Disable the transmit and receive FIFO.  
(normal default condition)  
IER BIT-5:  
Logic 0 = Disable the software flow control, receive  
Xoff interrupt. (normal default condition)  
Logic 1 = Enable the software flow control, receive  
Xoff interrupt. See Software Flow Control section for  
details.  
Logic 1 = Enable the transmit and receive FIFO. This  
bit must be a “1” when other FCR bits are written to or  
they will not be programmed.  
FCR BIT-1:  
Logic 0 = No FIFO receive reset. (normal default  
condition)  
IER BIT-6:  
Logic 0 = Disable the RTS interrupt. (normal default  
condition)  
Logic 1 = Enable the RTS interrupt. The 854 issues an  
interrupt when the RTS pin transitions from a logic 0  
to a logic 1.  
Logic 1 = Clears the contents of the receive FIFO and  
resets the FIFO counter logic (the receive shift regis-  
ter is not cleared or altered). This bit will return to a  
logic 0 after clearing the FIFO.  
FCR BIT-2:  
IER BIT-7:  
Logic 0 = No FIFO transmit reset. (normal default  
condition)  
Logic 1 = Clears the contents of the transmit FIFO and  
resets the FIFO counter logic (the transmit shift regis-  
ter is not cleared or altered). This bit will return to a  
logic 0 after clearing the FIFO.  
Logic 0 = Disable the CTS interrupt. (normal default  
condition)  
Logic 1 = Enable the CTS interrupt. The 854 issues an  
interrupt when CTS pin transitions from a logic 0 to a  
logic 1.  
FIFO Control Register (FCR)  
This register is used to enable the FIFO’s, clear the  
FIFO’s, set the transmit/receive FIFO trigger levels,  
and select the DMA mode. The DMA, and FIFO  
modes are defined as follows:  
Rev. 1.00P  
26  
XR16C854  
FCR BIT-3:  
TRIGGER TABLE-A (Transmit)  
“Default setting after reset ST16C550 mode”  
Logic 0 = Set DMA mode “0”. (normal default condi-  
tion)  
Logic 1 = Set DMA mode “1.”  
BIT-5  
BIT-4  
FIFO trigger level  
Transmit operation in mode “0”:  
X
X
None  
When the 854 is in the ST16C450 mode (FIFO’s  
disabled, FCR bit-0 = logic 0) or in the FIFO mode  
(FIFO’s enabled, FCR bit-0 = logic 1, FCR bit-3 = logic  
0) and when there are no characters in the transmit  
FIFO or transmit holding register, the -TXRDY pin will  
be a logic 0. Once active the -TXRDY pin will go to a  
logic 1 after the first character is loaded into the  
transmit holding register.  
TRIGGER TABLE-B (Transmit)  
BIT-5  
BIT-4  
FIFO trigger level  
0
0
1
1
0
1
0
1
16  
8
24  
30  
Receive operation in mode “0”:  
When the 854 is in mode “0” (FCR bit-0 = logic 0) or  
in the FIFO mode (FCR bit-0 = logic 1, FCR bit-3 =  
logic 0) and there is at least one character in the  
receive FIFO, the -RXRDY pin will be a logic 0. Once  
active the -RXRDY pin will go to a logic 1 when there  
are no more characters in the receiver.  
TRIGGER TABLE-C (Transmit)  
BIT-5  
BIT-4  
FIFO trigger level  
0
0
1
1
0
1
0
1
8
Transmit operation in mode “1”:  
16  
32  
56  
When the 854 is in FIFO mode ( FCR bit-0 = logic 1,  
FCR bit-3 = logic 1 ), the -TXRDY pin will be a logic 1  
when the transmit FIFO is completely full. It will be a  
logic 0 if one or more FIFO locations are empty.  
TRIGGER TABLE-D (Transmit)  
Receive operation in mode “1”:  
When the 854 is in FIFO mode (FCR bit-0 = logic 1,  
FCR bit-3 = logic 1) and the trigger level has been  
reached, or a Receive Time Out has occurred, the -  
RXRDY pin will go to a logic 0. Once activated, it will  
go to a logic 1 after there are no more characters in the  
FIFO.  
BIT-5  
BIT-4  
FIFO trigger level  
X
X
User programmable  
Trigger levels  
FCR BIT 4-5: (logic 0 or cleared is the default condi-  
tion, TX trigger level = none)  
The XR16C854 provide 4 user selectable trigger  
levels, The FCTR Bits 4-5 selects one of the following  
table. Thesebitsareusedtosetthetriggerlevelforthe  
transmit FIFO interrupt. The XR16C854 will issue a  
transmitemptyinterruptwhennumberofcharactersin  
FIFO drops below the selected trigger level.  
Rev. 1.00P  
27  
XR16C854  
FCR BIT 6-7: (logic 0 or cleared is the default condi-  
tion, RX trigger level =8)  
Interrupt Status Register (ISR)  
These bits are used to set the trigger level for the  
receiver FIFO interrupt. The FCTR Bits 4-5 selects  
one of the following table.  
The 854 provides six levels of prioritized interrupts to  
minimize external software interaction. The Interrupt  
Status Register (ISR) provides the user with six inter-  
ruptstatusbits. PerformingareadcycleontheISRwill  
provide the user with the highest pending interrupt  
level to be serviced. No other interrupts are acknowl-  
edged until the pending interrupt is serviced. When-  
ever the interrupt status register is read, the interrupt  
status is cleared. However it should be noted that only  
the current pending interrupt is cleared by the read. A  
lower level interrupt may be seen after rereading the  
interrupt status bits. The Interrupt Source Table 7  
(below) shows the data values (bit 0-5) for the six  
prioritized interrupt levels and the interrupt sources  
associated with each of these interrupt levels:  
TRIGGER TABLE-A (Receive)  
“Default setting after reset ST16C550 mode”  
BIT-7  
BIT-6  
FIFO trigger level  
0
0
1
1
0
1
0
1
1
4
8
14  
TRIGGER TABLE-B (Receive)  
BIT-7  
BIT-6  
FIFO trigger level  
0
0
1
1
0
1
0
1
8
16  
24  
28  
TRIGGER TABLE-C (Receive)  
BIT-7  
BIT-6  
FIFO trigger level  
0
0
1
1
0
1
0
1
8
16  
56  
60  
TRIGGER TABLE-D (Receive)  
BIT-7  
BIT-6  
FIFO trigger level  
X
X
User programmable  
Trigger levels  
Rev. 1.00P  
28  
XR16C854  
Table 7, INTERRUPT SOURCE TABLE  
Priority  
[ ISR BITS ]  
Level  
Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 Bit-0  
Source of the interrupt  
1
2
2
3
4
5
6
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
0
1
1
1
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
LSR (Receiver Line Status Register)  
RXRDY (Received Data Ready)  
RXRDY (Receive Data time out)  
TXRDY ( Transmitter Holding Register Empty)  
MSR (Modem Status Register)  
RXRDY (Received Xoff signal)/ Special character  
CTS, RTS change of state  
ISR BIT-0:  
LCR BIT 0-1: (logic 0 or cleared is the default condi-  
tion)  
Logic 0 = An interrupt is pending and the ISR contents  
may be used as a pointer to the appropriate interrupt  
service routine.  
These two bits specify the word length to be transmit-  
ted or received.  
Logic 1 = No interrupt pending. (normal default condi-  
tion)  
BIT-1  
BIT-0  
Word length  
ISRBIT1-3:(logic0orclearedisthedefaultcondition)  
These bits indicate the source for a pending interrupt  
at interrupt priority levels 1, 2, and 3 (See Interrupt  
Source Table).  
0
0
1
1
0
1
0
1
5
6
7
8
ISRBIT4-5:(logic0orclearedisthedefaultcondition)  
These bits are enabled when EFR bit-4 is set to a logic  
1. ISR bit-4 indicates that matching Xoff character(s)  
have been detected. ISR bit-5 indicates that CTS,  
RTS have been generated. Note that once set to a  
logic 1, the ISR bit-4 will stay a logic 1 until Xon  
character(s) are received.  
LCR BIT-2: (logic 0 or cleared is the default condition)  
The length of stop bit is specified by this bit in  
conjunction with the programmed word length.  
BIT-2  
Word length  
Stop bit  
length  
ISRBIT6-7:(logic0orclearedisthedefaultcondition)  
These bits are set to a logic 0 when the FIFO is not  
being used. They are set to a logic 1 when the FIFO’s  
are enabled.  
(Bit time(s))  
0
1
1
5,6,7,8  
5
6,7,8  
1
1-1/2  
2
Line Control Register (LCR)  
The Line Control Register is used to specify the  
asynchronous data communication format. The word  
length, the number of stop bits, and the parity are  
selected by writing the appropriate bits in this register.  
Rev. 1.00P  
29  
XR16C854  
LCR BIT-3:  
Logic 1 = Forces the transmitter output (TX) to a logic  
0 for alerting the remote receiver to a line break  
condition.  
Parity or no parity can be selected via this bit.  
Logic 0 = No parity. (normal default condition)  
Logic 1 = A parity bit is generated during the transmis-  
sion, receiver checks the data and parity for transmis-  
sion errors.  
LCR BIT-7:  
The internal baud rate counter latch and Enhance  
Feature mode enable.  
LCR BIT-4:  
Logic 0 = Divisor latch disabled. (normal default  
condition)  
Logic 1 = Divisor latch and enhanced feature register  
enabled.  
If the parity bit is enabled with LCR bit-3 set to a logic  
1, LCR BIT-4 selects the even or odd parity format.  
Logic 0 = ODD Parity is generated by forcing an odd  
number of logic 1’s in the transmitted data. The  
receiver must be programmed to check the same  
format. (normal default condition)  
Modem Control Register (MCR)  
Logic 1 = EVEN Parityis generated by forcing an even  
thenumberoflogic1’sinthetransmitted. Thereceiver  
must be programmed to check the same format.  
This register controls the interface with the modem or  
a peripheral device.  
MCR BIT-0:  
LCR BIT-5:  
Logic 0 = Force -DTR output to a logic 1. (normal  
default condition)  
Logic 1 = Force -DTR output to a logic 0.  
If the parity bit is enabled, LCR BIT-5 selects the  
forced parity format.  
LCR BIT-5 = logic 0, parity is not forced. (normal  
default condition)  
MCR BIT-1:  
LCR BIT-5 = logic 1 and LCR BIT-4 = logic 0, parity bit  
is forced to a logical 1 for the transmit and receive  
data.  
LCR BIT-5 = logic 1 and LCR BIT-4 = logic 1, parity bit  
is forced to a logical 0 for the transmit and receive  
data.  
Logic 0 = Force -RTS output to a logic 1. (normal  
default condition)  
Logic 1 = Force -RTS output to a logic 0.  
Automatic RTS may be used for hardware flow control  
by enabling EFR bit-6 (See EFR bit-6).  
MCR BIT-2:  
This bit is used in the Loop-back mode only. In the  
loop-back mode this bit is use to write the state of the  
modem -RI interface signal via -OP1.  
LCR  
LCR  
LCR  
Parity selection  
Bit-5 Bit-4 Bit-3  
X
0
0
1
1
X
0
1
0
1
0
1
1
1
1
No parity  
Odd parity  
Even parity  
Force parity “1”  
Forced parity “0”  
MCR BIT-3: (Used to control the modem -CD signal  
in the loop-back mode.)  
Logic 0 = Forces INT (A-D) outputs to the three state  
mode during the 16 mode. (normal default condition)  
In the Loop-back mode, sets -OP2 (-CD) internally to  
a logic 1.  
Logic 1 = Forces the INT (A-D) outputs to the active  
mode during the 16 mode. In the Loop-back mode,  
sets -OP2 (-CD) internally to a logic 0.  
LCR BIT-6:  
When enabled the Break control bit causes a break  
condition to be transmitted (the TX output is forced to  
a logic 0 state). This condition exists until disabled by  
setting LCR bit-6 to a logic 0.  
MCR BIT-4:  
Logic 0 = Disable loop-back mode. (normal default  
condition)  
Logic 0 = No TX break condition. (normal default  
condition)  
Logic 1 = Enable local loop-back mode (diagnostics).  
Rev. 1.00P  
30  
XR16C854  
MCR BIT-5:  
therefore the data in the FIFO is not corrupted by the  
error.  
Logic 0 = Disable Xon any function (for 16C550  
compatibility). (normal default condition)  
Logic 1 = Enable Xon any function. In this mode any  
RX character received will enable Xon.  
LSR BIT-2:  
Logic 0 = No parity error. (normal default condition)  
Logic 1 = Parity error. The receive character does not  
have correct parity information and is suspect. In the  
FIFO mode, this error is associated with the character  
at the top of the FIFO.  
MCR BIT-6:  
Logic 0 = Enable the standard modem receive and  
transmit input/output interface. (normal default condi-  
tion)  
LSR BIT-3:  
Logic 1 = Enable infrared IrDA receive and transmit  
inputs/outputs. While in this mode, the TX/RX output/  
Inputsareroutedtotheinfraredencoder/decoder.The  
data input and output levels will conform to the IrDA  
infrared interface requirement. As such, while in this  
modetheinfraredTXoutputwillbealogic0duringidle  
data conditions.  
Logic 0 = No framing error. (normal default condition)  
Logic 1 = Framing error. The receive character did not  
have a valid stop bit(s). In the FIFO mode this error is  
associated with the character at the top of the FIFO.  
LSR BIT-4:  
Logic 0 = No break condition. (normal default condi-  
tion)  
MCR BIT-7:  
Logic 0 = Divide by one. The input clock (crystal or  
external) is divided by sixteen and then presented to  
the Programmable Baud Rate Generator (BGR) with-  
out further modification, i.e., divide by one. (normal,  
default condition)  
Logic 1 = The receiver received a break signal (RX  
was a logic 0 for one character frame time). In the  
FIFO mode, only one break character is loaded into  
the FIFO.  
LSR BIT-5:  
Logic 1 = Divide by four. The divide by one clock  
described in MCR bit-7 equals a logic 0, is further  
divided by four (also see Programmable Baud Rate  
Generator section).  
This bit is the Transmit Holding Register Empty indi-  
cator. This bit indicates that the UART is ready to  
accept a new character for transmission. In addition,  
this bit causes the UART to issue an interrupt to CPU  
when the THR interrupt enable is set. The THR bit is  
settoalogic1whenacharacteristransferredfromthe  
transmit holding register into the transmitter shift  
register. The bit is reset to logic 0 concurrently with the  
loading of the transmitter holding register by the CPU.  
IntheFIFOmodethisbitissetwhenthetransmitFIFO  
is empty; it is cleared when at least 1 byte is written to  
the transmit FIFO.  
Line Status Register (LSR)  
This register provides the status of data transfers  
between the 854 and the CPU.  
LSR BIT-0:  
Logic 0 = No data in receive holding register or FIFO.  
(normal default condition)  
Logic 1 = Data has been received and is saved in the  
receive holding register or FIFO.  
LSR BIT-6:  
This bit is the Transmit Empty indicator. This bit is set  
to a logic 1 whenever the transmit holding register and  
the transmit shift register are both empty. It is reset to  
logic 0 whenever either the THR or TSR contains a  
data character. In the FIFO mode this bit is set to one  
wheneverthetransmitFIFOandtransmitshiftregister  
are both empty.  
LSR BIT-1:  
Logic 0 = No overrun error. (normal default condition)  
Logic 1 = Overrun error. A data overrun error occurred  
in the receive shift register. This happens when addi-  
tional data arrives while the FIFO is full. In this case  
the previous data in the shift register is overwritten.  
Note that under this condition the data byte in the  
receive shift register is not transferred into the FIFO,  
Rev. 1.00P  
31  
XR16C854  
LSR BIT-7:  
modem -CTS signal. A logic 1 at the -CTS pin will stop  
854 transmissions as soon as current character has  
finished transmission.  
Logic 0 = No Error. (normal default condition)  
Logic 1 = At least one parity error, framing error or  
break indication is in the current FIFO data. This bit is  
cleared when LSR register is read.  
Normally MSR bit-4 bit is the compliment of the -CTS  
input. However in the loop-back mode, this bit is  
equivalent to the RTS bit in the MCR register.  
Modem Status Register (MSR)  
MSR BIT-5:  
This register provides the current state of the control  
interface signals from the modem, or other peripheral  
device that the 854 is connected to. Four bits of this  
register are used to indicate the changed information.  
These bits are set to a logic 1 whenever a control input  
from the modem changes state. These bits are set to  
a logic 0 whenever the CPU reads this register.  
DSR (active high, logical 1). Normally this bit is the  
compliment of the -DSR input. In the loop-back mode,  
thisbitisequivalenttotheDTRbitintheMCRregister.  
MSR BIT-6:  
RI (active high, logical 1). Normally this bit is the  
compliment of the -RI input. In the loop-back mode  
this bit is equivalent to the OP1 bit in the MCR register.  
MSR BIT-0:  
Logic 0 = No -CTS Change (normal default condition)  
Logic 1 = The -CTS input to the 854 has changed state  
since the last time it was read. A modem Status  
Interrupt will be generated.  
MSR BIT-7:  
CD (active high, logical 1). Normally this bit is the  
compliment of the -CD input. In the loop-back mode  
this bit is equivalent to the OP2 bit in the MCR register.  
MSR BIT-1:  
Scratchpad Register (SPR)  
Logic 0 = No -DSR Change. (normal default condition)  
Logic1=The-DSRinputtothe854haschangedstate  
since the last time it was read. A modem Status  
Interrupt will be generated.  
The XR16C854 provides a temporary data register to  
store 8 bits of user information.  
Enhanced Feature Register (EFR)  
MSR BIT-2:  
Enhanced features are enabled or disabled using this  
register.  
Logic 0 = No -RI Change. (normal default condition)  
Logic 1 = The -RI input to the 854 has changed from  
a logic 0 to a logic 1. A modem Status Interrupt will be  
generated.  
Bits-0 through 4 provide single or dual character  
softwareflowcontrolselection(seetable8). Whenthe  
Xon1 and Xon2 and/or Xoff1 and Xoff2 modes are  
selected,thedouble8-bitwordsareconcatenatedinto  
two sequential characters.  
MSR BIT-3:  
Logic 0 = No -CD Change. (normal default condition)  
Logic 1 = Indicates that the -CD input to the has  
changed state since the last time it was read. A  
modem Status Interrupt will be generated.  
EFR BIT 0-3: (logic 0 or cleared is the default condi-  
tion)  
Combinations of software flow control can be selected  
by programming these bits.  
MSR BIT-4:  
-CTS functions as hardware flow control signal input if  
it is enabled via EFR bit-7. The transmit holding  
register flow control is enabled/disabled by MSR bit-4.  
Flow control (when enabled) allows the starting and  
stopping the transmissions based on the external  
Rev. 1.00P  
32  
XR16C854  
Table 8, SOFTWARE FLOW CONTROL FUNCTIONS  
Cont-3 Cont-2 Cont-1 Cont-0 TX, RX software flow controls  
0
1
0
1
X
X
X
1
0
0
1
1
X
X
X
0
X
X
X
X
0
1
0
1
X
X
X
X
0
0
1
1
No transmit flow control  
Transmit Xon1/Xoff1  
Transmit Xon2/Xoff2  
Transmit Xon1 and Xon2/Xoff1 and Xoff2  
No receive flow control  
Receiver compares Xon1/Xoff1  
Receiver compares Xon2/Xoff2  
Transmit Xon1/ Xoff1.  
Receiver compares Xon1 and Xon2,  
Xoff1 and Xoff2  
0
1
0
1
1
0
1
1
1
1
1
1
Transmit Xon2/Xoff2  
Receiver compares Xon1 and Xon2/Xoff1 and Xoff2  
Transmit Xon1 and Xon2/Xoff1 and Xoff2  
Receiver compares Xon1 and Xon2/Xoff1 and Xoff2  
No transmit flow control  
Receiver compares Xon1 and Xon2/Xoff1 and Xoff2  
EFR BIT-4:  
EFR BIT-5:  
Enhanced function control bit. The content of the IER  
bits 4-7, ISR bits 4-5, FCR bits 4-5, and MCR bits 5-7  
can be modified and latched. After modifying any bits  
in the enhanced registers, EFR bit-4 can be set to a  
logic 0 to latch the new values. This feature prevents  
existing software from altering or overwriting the 854  
enhanced functions.  
Logic 0 = Special Character Detect Disabled. (normal  
default condition)  
Logic 1 = Special Character Detect Enabled. The 854  
compares each incoming receive character with Xoff-  
2 data. If a match exists, the received data will be  
transferred to FIFO and ISR bit-4 will be set to indicate  
detection of special character. Bit-0 in the X-registers  
correspondswiththeLSBbitforthereceivecharacter.  
Whenthisfeatureisenabled, thenormalsoftwareflow  
control must be disabled (EFR bits 0-3 must be set to  
a logic 0).  
Logic 0 = disable/latch enhanced features. IER bits 4-  
7, ISR bits 4-5, FCR bits 4-5, and MCR bits 5-7 are  
savedtoretaintheusersettings,thenIERbits4-7,ISR  
bits 4-5, FCR bits 4-5, and MCR bits 5-7 are initialized  
to the default values shown in the Internal Resister  
Table. Afterareset, theIERbits4-7, ISRbits4-5, FCR  
bits 4-5, and MCR bits 5-7 are set to a logic 0 to be  
compatible with ST16C554 mode. (normal default  
condition).  
Logic 1 = Enables the enhanced functions. When this  
bit is set to a logic 1 all enhanced features of the 854  
areenabledandusersettingsstoredduringaresetwill  
be restored.  
EFR BIT-6:  
Automatic RTS may be used for hardware flow control  
by enabling EFR bit-6. When AUTO RTS is selected,  
an interrupt will be generated when the receive FIFO  
is filled to the programmed trigger level and -RTS will  
go to a logic 1 at the next trigger level. -RTS will return  
toalogic0whendataisunloadedbelowthenextlower  
trigger level (Programmed trigger level -1). The state  
of this register bit changes with the status of the  
Rev. 1.00P  
33  
XR16C854  
hardware flow control. -RTS functions normally when  
hardware flow control is disabled.  
FCTR  
Bit-1  
FCTR  
Bit-0  
Trigger  
level  
0 = Automatic RTS flow control is disabled. (normal  
default condition)  
1 = Enable Automatic RTS flow control.  
0
0
Next trigger  
level  
0
1
1
1
0
1
4 word+trigger level  
6 word+trigger level  
8 word+trigger level  
EFR bit-7:  
Automatic CTS Flow Control.  
Logic 0 = Automatic CTS flow control is disabled.  
(normal default condition)  
Logic 1 = Enable Automatic CTS flow control. Trans-  
mission will stop when -CTS goes to a logical 1.  
Transmission will resume when the -CTS pin returns  
to a logical 0.  
FCTR BIT-2:  
0 = Select RX input as encoded IrDa data.  
1 = Select RX input as active high encoded IrDa data.  
FCTR BIT-3:  
Interrupt type select.  
FIFO READY REGISTER  
0=StandardST16C550mode.Transmittergenerates  
interrupt when transmit holding register is empty and  
transmit shift register is shifting data out.  
1 = Transmit empty interrupt. Transmit interrupt is  
generated when transmit holding and shift register is  
empty.  
This register is applicable to 100 pin XR16C854s only.  
The FIFO resister provides the real time status of the  
transmit and receive FIFO’s. Each TX and RX cannel  
(A-D) has its own 128 byte FIFO. When any of the  
eight TX/RX FIFO’s become full, a bit associated with  
its TX/RX function and channel A-D is set in the FIFO  
status register.  
FCTR BIT 4-5:  
Transmit / receive trigger table select.  
FIFO channel A-D RDY Bit 0-3:  
0 = The transmit FIFO A-D associated with this bit is  
full. This channel will not accept any more transmit  
data.  
FCTR  
Bit-5  
FCTR  
Bit-4  
Table  
1 = One or more empty locations exist in the FIFO.  
0
0
1
1
0
1
0
1
Table-A (TX/RX)  
Table-B (TX/RX)  
Table-C (TX/RX)  
Table-D (TX/RX)  
FIFORdy Bit 4-7:  
0 = The receive FIFO is above the programmed  
trigger level or time-out is occurred.  
1 = Receiver is ready and is below the programmed  
trigger level.  
FCTR BIT-6:  
Register mode select.  
FEATURE CONTROL REGISTER  
This register controls the XR16C854 new functions  
that are not available on ST16C550 or ST16C650.  
0 = Scratch Pad register is selected as general read  
and write register. ST16C550 compatible mode.  
1 = FIFO count register, Enhanced Mode Select  
Register. Number of characters in transmit or receive  
holding register can be read via scratch pad register  
when this bit is set. Enhanced Mode is selected when  
it is written into it.  
FCTR BIT 0-1:  
User selectable -RTS delay timer for hardware flow  
control application. After reset, these bits are set to “0”  
to select the next trigger level for hardware flow  
control.  
Rev. 1.00P  
34  
XR16C854  
XR16C854 EXTERNAL RESET CONDITIONS  
REGISTERS RESET STATE  
FCTR BIT-7:  
Programmable trigger register select.  
0 = Receiver programmable trigger level register is  
selected.  
1 = Transmitter programmable trigger level register is  
selected.  
IER  
ISR  
LCR  
MCR  
LSR  
IER BITS 0-7=0  
ISR BIT-0=1, ISR BITS 1-7=0  
LCR BITS 0-7=0  
MCR BITS 0-7=0  
LSR BITS 0-4=0,  
TRIGGER LEVEL / FIFO DATA COUNT REGISTER  
User programmable transmit / receive trigger level  
register.  
LSR BITS 5-6=1 LSR, BIT 7=0  
MSR BITS 0-3=0,  
MSR  
TRG BIT 0-7: Write only.  
these bits are used to programmed desire trigger  
levels that are not available in standard tables.  
MSR BITS 4-7= input signals  
FCR BITS 0-7=0  
EFR BITS 0-7=0  
FCR  
EFR  
FCTR  
EMSR  
TRG  
FCTR BITS 0-7=0  
EMSR BITS 0-7=0  
TRG BITS 0-7=0  
TRG BIT 0-7: Read only.  
Transmit / receive FIFO count. Number of characters  
in transmit or receive FIFO can be read via this  
register.  
SIGNALS  
RESET STATE  
ENHANCED MODE SELECT REGISTER  
This register is accessible only when FCTR Bit-6 is set  
to “1”.  
TX A-D  
-RTS A-D  
-DTR A-D  
High  
High  
High  
EMSR BIT-0: “Write only”  
-RXRDY A-D High  
-TXRDY A-D Low  
0 = Receive FIFO count register. The scratch pad  
register is used to provide the receive FIFO count  
when it is read.  
1 = Transmit FIFO count register. The scratch pad  
register is used to provide the transmit FIFO count  
when it is read.  
EMSR BIT-1: “Write only”  
0 = Normal.  
1 = Alternate receive - transmit FIFO count. When  
EMSR Bit-0=1 and EMSR Bit=1, scratch pad register  
is used to provide the receive - transmit FIFO count  
when it is read every alternate read cycle. The TRG  
Bit-7 will provide the FIFO count mode information,  
TRG Bit-7=0 receive mode, TRG Bit-7=1 transmit  
mode.  
EMSR BIT 4-7:  
Reserved for future use.  
Rev. 1.00P  
35  
XR16C854  
AC ELECTRICAL CHARACTERISTICS  
TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified.  
Symbol  
Parameter  
Limits  
3.3  
Limits  
5.0  
Units Conditions  
Min  
Max  
Min  
Max  
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
1w,  
3w  
6s  
T2w  
Clock pulse duration  
Oscillator/Clock frequency  
Address setup time  
-IOR delay from chip select  
-IOR strobe width  
Chip select hold time from -IOR  
Read cycle delay  
Delay from -IOR to data  
Data disable time  
-IOW delay from chip select  
-IOW strobe width  
Chip select hold time from -IOW  
Write cycle delay  
Data setup time  
20  
20  
ns  
MHz  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
8
24  
10  
10  
50  
5
50  
35  
5
7d  
7w  
7h  
9d  
10  
25  
5
50  
25  
35  
10  
40  
0
12d  
12h  
13d  
13w  
13h  
15d  
16s  
16h  
17d  
18d  
35  
35  
10  
40  
0
50  
20  
50  
50  
15  
35  
Data hold time  
Delay from -IOW to output  
Delay to set interrupt from MODEM  
input  
50  
50  
50  
35  
100 pF load  
100 pF load  
T19d  
T20d  
T21d  
T22d  
T23d  
Delay to reset interrupt from -IOR  
Delay from stop to set interrupt  
Delay from -IOR to reset interrupt  
Delay from stop to interrupt  
Delay from initial INT reset to transmit  
start  
50  
35  
ns  
Rclk  
ns  
ns  
Rclk  
100 pF load  
100 pF load  
1Rclk  
1Rclk  
200  
100  
24  
200  
100  
24  
8
8
T24d  
T25d  
T26d  
T27d  
T28d  
T30s  
T30w  
T30h  
T30d  
T31d  
T31h  
T32s  
T32h  
T32d  
T33s  
Delay from -IOW to reset interrupt  
Delay from stop to set -RxRdy  
Delay from -IOR to reset -RxRdy  
Delay from -IOW to set -TxRdy  
Delay from start to reset -TxRdy  
Address setup time  
Chip select strobe width  
Address hold time  
Read cycle delay  
Delay from -CS to data  
Data disable time  
Write strobe setup time  
Write strobe hold time  
Write cycle delay  
175  
1
175  
175  
8
175  
1
175  
175  
8
ns  
Rclk  
ns  
ns  
Rclk  
ns  
ns  
ns  
ns  
ns  
10  
40  
15  
70  
15  
10  
40  
15  
70  
15  
15  
10  
10  
70  
15  
ns  
ns  
ns  
ns  
10  
10  
70  
20  
Data setup time  
ns  
Rev. 1.00P  
36  
XR16C854  
AC ELECTRICAL CHARACTERISTICS  
TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified.  
Symbol  
Parameter  
Limits  
3.3  
Limits  
5.0  
Units Conditions  
Min  
Max  
Min  
Max  
T
T
N
33h  
R
Data hold time  
Reset pulse width  
Baud rate devisor  
10  
40  
1
10  
40  
1
ns  
ns  
Rclk  
216-1  
216-1  
Rev. 1.00P  
37  
XR16C854  
ABSOLUTE MAXIMUM RATINGS  
Supply range  
7 Volts  
GND - 0.3 V to VCC +0.3 V  
-40° C to +85° C  
Voltage at any pin  
Operating temperature  
Storage temperature  
Package dissipation  
-65° C to 150° C  
500 mW  
DC ELECTRICAL CHARACTERISTICS  
TA=0° - 70°C (-40° - +85°C for Industrial grade packages), Vcc=3.3 - 5.0 V ± 10% unless otherwise specified.  
Symbol  
Parameter  
Limits  
3.3  
Limits  
5.0  
Units Conditions  
Min  
Max  
Min  
Max  
VILCK  
VIHCK  
VIL  
VIH  
VOL  
VOL  
VOH  
VOH  
IIL  
ICL  
ICC  
ICC  
CP  
Clock input low level  
Clock input high level  
Input low level  
-0.3  
2.4  
-0.3  
2.0  
0.6  
VCC  
0.8  
-0.5  
3.0  
-0.5  
2.2  
0.6  
VCC  
0.8  
VCC  
0.4  
V
V
V
V
V
V
Input high level  
Output low level on all outputs  
Output low level on all outputs  
Output high level  
Output high level  
Input leakage  
IOL= 5 mA  
IOL= 4 mA  
IOH= -5 mA  
IOH= -1 mA  
0.4  
2.4  
V
V
2.0  
±10  
±10  
3
100  
5
±10  
±10  
6
200  
5
µA  
µA  
mA  
µA  
pF  
kΩ  
Clock leakage  
Avg power supply current  
Avg stand by current  
Input capacitance  
RIN  
Internal pull-up resistance  
3
15  
Note: See the Symbol Description Table, for a listing of pins having internal pull-up resistors.  
Rev. 1.00P  
38  
XR16C854  
A0-A4  
-CS  
T30h  
T30s  
T30w  
T30d  
T31h  
R/-W  
D0-D7  
T31d  
8654-RD-1  
General read timing in 68 mode  
A0-A4  
-CS  
T30s  
T30h  
T32h  
T32s  
T32d  
T30w  
R/-W  
D0-D7  
T33h  
T33s  
8654-WD-1  
General write timing in 68 mode  
Rev. 1.00P  
39  
XR16C854  
Valid  
Address  
A0-A2  
T6s  
Active  
-CS  
T7d  
T7w  
T7h  
T9d  
-IOR  
Active  
T12d  
T12h  
D0-D7  
Data  
X654-RD-2  
General write timing in 16 mode  
Valid  
Address  
A0-A2  
-CS  
T6s  
Active  
T13h  
T13d  
T13w  
T15d  
Active  
-IOW  
D0-D7  
T16s  
T16h  
Data  
X654-WD-2  
General read timing in 16 mode  
Rev. 1.00P  
40  
XR16C854  
Active  
-IOW  
T17d  
Change of state  
-RTS  
-DTR  
Change of state  
-CD  
-CTS  
Change of state  
Change of state  
-DSR  
T18d  
T18d  
Active  
INT  
Active  
Active  
Active  
Active  
T19d  
Active  
-IOR  
T18d  
Change of state  
X654-MD-1  
-RI  
Modem input/output timing  
T1w  
T2w  
EXTERNAL  
CLOCK  
X654-CK-1  
T3w  
External clock timing  
Rev. 1.00P  
41  
XR16C854  
START  
BIT  
STOP  
BIT  
DATA BITS (5-8)  
RX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
PARITY  
BIT  
NEXT  
DATA  
START  
BIT  
5 DATA BITS  
6 DATA BITS  
7 DATA BITS  
T20d  
Active  
INT  
T21d  
Active  
-IOR  
16 BAUD RATE CLOCK  
X654-RX-1  
Receive timing  
Rev. 1.00P  
42  
XR16C854  
START  
BIT  
STOP  
BIT  
DATA BITS (5-8)  
RX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
PARITY  
BIT  
NEXT  
DATA  
START  
BIT  
T25d  
Active  
Data  
Ready  
-RXRDY  
-IOR  
T26d  
Active  
X654-RX-2  
Receive ready timing in none FIFO mode  
START  
BIT  
STOP  
BIT  
DATA BITS (5-8)  
RX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
PARITY  
BIT  
First byte  
that reaches  
the trigger  
level  
T25d  
Active  
Data  
Ready  
-RXRDY  
-IOR  
T26d  
Active  
X654-RX-3  
Receive timing in FIFO mode  
Rev. 1.00P  
43  
XR16C854  
START  
BIT  
STOP  
BIT  
DATA BITS (5-8)  
TX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
PARITY  
BIT  
NEXT  
DATA  
START  
BIT  
5 DATA BITS  
6 DATA BITS  
7 DATA BITS  
T22d  
Active  
Tx Ready  
INT  
T24d  
T23d  
-IOW  
Active  
Active  
16 BAUD RATE CLOCK  
X654-TX-1  
Transmit timing  
Rev. 1.00P  
44  
XR16C854  
START  
BIT  
STOP  
BIT  
DATA BITS (5-8)  
TX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
PARITY  
BIT  
NEXT  
DATA  
START  
BIT  
-IOW  
Active  
T28d  
D0-D7  
BYTE #1  
T27d  
Active  
Transmitter ready  
-TXRDY  
Transmitter  
not ready  
X654-TX-2  
Transmit ready timing in none FIFO mode  
Rev. 1.00P  
45  
XR16C854  
START BIT  
DATA BITS (5-8)  
STOP BIT  
TX  
D0  
D1  
D2  
D3  
D4  
D5  
D6 D7  
5 DATA BITS  
PARITY BIT  
6 DATA BITS  
7 DATA BITS  
-IOW  
Active  
T28d  
D0-D7  
BYTE #128  
T27d  
-TXRDY  
FIFO Full  
X552-TX-3  
Transmit ready timing in FIFO mode  
Rev. 1.00P  
46  
XR16C854  
UART Frame  
Data Bits  
1
1
1
1
1
0
0
0
0
0
TX DATA  
IRTX (A-D)  
TX  
1/2 Bit Time  
Bit Time  
3/16 Bit Time  
Infrared transmit timing  
IRRX (A-D)  
RX  
Bit Time  
0-1 16x clock  
delay  
RX DATA  
1
1
1
1
1
0
0
0
0
0
Data Bits  
UART Frame  
X654-IR-1  
Infrared receive timing  
Rev. 1.00P  
47  
Package Dimensions  
Package Dimensions  
64 LEAD THIN QUAD FLAT PACK  
(10 x 10 x 1.4 mm, TQFP)  
Rev. 2.00  
D
D
1
48  
33  
49  
32  
D
D
1
64  
17  
1
16  
B
A
2
e
C
A
α
Seating Plane  
A
1
L
INCHES  
MILLIMETERS  
SYMBOL  
MIN  
MAX  
MIN  
MAX  
A
0.055  
0.002  
0.053  
0.005  
0.004  
0.465  
0.390  
0.063  
0.006  
0.057  
0.009  
0.008  
0.480  
0.398  
1.40  
0.05  
1.35  
0.13  
0.09  
11.80  
9.90  
1.60  
0.15  
A
1
A
2
B
1.45  
0.23  
C
D
D
e
0.20  
12.20  
10.10  
0.50 BSC  
0.75  
1
0.020 BSC  
L
0.018  
0.030  
0.45  
α
0°  
7°  
0°  
7°  
Note: The control dimension is the millimeter column  
Package Dimensions  
68 LEAD PLASTIC LEADED CHIP CARRIER  
(PLCC)  
Rev. 1.00  
D
C
Seating Plane  
D
45° x H1  
1
A
2
45° x H2  
2 1 68  
B
1
B
D
D
2
3
D
D
1
e
R
D
3
A
1
A
INCHES  
MILLIMETERS  
SYMBOL  
MIN  
MAX  
MIN  
MAX  
A
A
A
B
B
0.165  
0.090  
0.020  
0.013  
0.026  
0.008  
0.985  
0.950  
0.890  
0.200  
0.130  
–––.  
4.19  
2.29  
5.08  
3.30  
1
2
0.51  
–––  
0.021  
0.032  
0.013  
0.995  
0.958  
0.930  
0.33  
0.53  
0.66  
0.81  
1
C
D
D
D
D
e
0.19  
0.32  
25.02  
24.13  
22.61  
25.27  
24.33  
23.62  
1
2
3
0.800 typ.  
0.050 BSC  
20.32 typ.  
1.27 BSC  
H1  
H2  
R
0.042  
0.056  
0.048  
0.045  
1.07  
1.42  
1.22  
1.14  
0.042  
0.025  
1.07  
0.64  
Note: The control dimension is the inch column  
NOTICE  
EXAR Corporation reserves the right to make changes to the products contained in this publication in order to im-  
prove design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any circuits de-  
scribed herein, conveys no license under any patent or other right, and makes no representation that the circuits are  
free of patent infringement. Charts and schedules contained here in are only for illustration purposes and may vary  
depending upon a user’s specific application. While the information in this publication has been carefully checked;  
no responsibility, however, is assumed for inaccuracies.  
EXAR Corporation does not recommend the use of any of its products in life support applications where the failure or  
malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly  
affect its safety or effectiveness. Products are not authorized for use in such applications unless EXAR Corporation  
receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the  
user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circum-  
stances.  
Copyright 1994 EXAR Corporation  
Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.  

相关型号:

XR16C854CJ

2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
EXAR

XR16C854CJ68

Serial I/O Controller, 4 Channel(s), 0.1875MBps, CMOS, PQCC68, PLASTIC, LCC-68
EXAR

XR16C854CJTR-F

Serial I/O Controller, CMOS
EXAR

XR16C854CQ

2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
EXAR

XR16C854CQ-F

Serial I/O Controller, 4 Channel(s), 0.25MBps, CMOS, PQFP100, 14 X 20 MM, GREEN, PLASTIC, QFP-100
EXAR

XR16C854CQ64

Serial I/O Controller, 4 Channel(s), 0.1875MBps, CMOS, PQFP64, 10 X 10 MM, 1.40 MM HEIGHT, TQFP-64
EXAR

XR16C854CQTR-F

Serial I/O Controller, 4 Channel(s), 0.25MBps, CMOS, PQFP100, 14 X 20 MM, GREEN, MS-022, MQFP-100
EXAR

XR16C854CV

2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
EXAR

XR16C854CV-F

Serial I/O Controller, 4 Channel(s), 0.25MBps, CMOS, PQFP64, 10 X 10 MM, 1.40 MM HEIGHT, GREEN, TQFP-64
EXAR

XR16C854D

2.97V TO 5.5V QUAD UART WITH 128-BYTE FIFO
EXAR

XR16C854DCV

QUAD UART WITH RX/TX FIFO COUNTERS,128-BYTE FIFO
EXAR

XR16C854DCV-F

Serial I/O Controller, 4 Channel(s), 0.25MBps, CMOS, PQFP64, 10 X 10 MM, 1.40 MM HEIGHT, GREEN, TQFP-64
EXAR