In Auto-RTS Mode, RCV FIFO Contents and
Threshold Control RTS
D
Serial and Modem Control Outputs Drive a
RJ11 Cable Directly When Equipment Is on
the Same Power Drop
D
Capable of Running With All Existing
TL16C450 Software
D
After Reset, All Registers Are Identical to
the TL16C450 Register Set
D
Up to 16-MHz Clock Rate for Up to 1-Mbaud
Operation
D
In the TL16C450 Mode, Hold and Shift
Registers Eliminate the Need for Precise
Synchronization Between the CPU and
Serial Data
D
Programmable Baud Rate Generator Allows
Division of Any Input Reference Clock by 1
16
to (2
Clock
D
Standard Asynchronous Communication
Bits (Start, Stop, and Parity) Added to or
Deleted From the Serial Data Stream
description
–1) and Generates an Internal 16×
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
D
5-V and 3.3-V Operation
D
Independent Receiver Clock Input
D
Transmit, Receive, Line Status, and Data
Set Interrupts Independently Controlled
D
Fully Programmable Serial Interface
Characteristics:
– 5-, 6-, 7-, or 8-Bit Characters
– Even-, Odd-, or No-Parity Bit Generation
and Detection
– 1-, 1 1/2-, or 2-Stop Bit Generation
– Baud Generation (dc to 1 Mbit/s)
D
False-Start Bit Detection
D
Complete Status Reporting Capabilities
D
3-State Output TTL Drive Capabilities for
Bidirectional Data Bus and Control Bus
D
Line Break Generation and Detection
D
Internal Diagnostic Capabilities:
– Loopback Controls for Communications
Link Fault Isolation
– Break, Parity, Overrun, and Framing
Error Simulation
D
Fully Prioritized Interrupt System Controls
D
Modem Control Functions (CTS, RTS, DSR,
DTR
, RI, and DCD)
The TL16C550C and the TL16C550CI are functional upgrades of the TL16C550B asynchronous
communications element (ACE), which in turn is a functional upgrade of the TL16C450. Functionally equivalent
to the TL16C450 on power up (character or TL16C450 mode), the TL16C550C and the TL16C550CI, like the
TL16C550B, can be placed in an alternate FIFO mode. This relieves the CPU of excessive software overhead
by buffering received and transmitted characters. The receiver and transmitter FIFOs store up to 16 bytes
including three additional bits of error status per byte for the receiver FIFO. In the FIFO mode, there is a
selectable autoflow control feature that can significantly reduce software overload and increase system
efficiency by automatically controlling serial data flow using RTS
The TL16C550C and TL16C550CI perform serial-to-parallel conversions on data received from a peripheral
device or modem and parallel-to-serial conversion on data received from its CPU. The CPU can read the ACE
status at any time. The ACE includes complete modem control capability and a processor interrupt system that
can be tailored to minimize software management of the communications link.
Both the TL16C550C and the TL16C550CI ACE include a programmable baud rate generator capable of
dividing a reference clock by divisors from 1 to 65535 and producing a 16 × reference clock for the internal
transmitter logic. Provisions are included to use this 16× clock for the receiver logic. The ACE accommodates
a 1-Mbaud serial rate (16-MHz input clock) so that a bit time is 1 µs and a typical character time is 10 µs (start
bit, 8 data bits, stop bit).
Two of the TL16C450 terminal functions on the TL16C550C and the TL16C550CI have been changed to
TXRDY
and RXRDY, which provide signaling to a DMA controller.
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
output and CTS input signals.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
Copyright 1998, Texas Instruments Incorporated
1
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
Autoflow control is comprised of auto-CTS
the transmitter FIFO can emit data. With auto-RTS
and notifies the sending serial device. When RTS
and auto-RTS. With auto-CTS, the CTS input must be active before
, RTS becomes active when the receiver needs more data
is connected to CTS, data transmission does not occur unless
the receiver FIFO has space for the data; thus, overrun errors are eliminated using ACE1 and ACE2 from a
TLC16C550C with the autoflow control enabled. If not, overrun errors occur when the transmit data rate exceeds
the receiver FIFO read latency.
ACE1ACE2
SINSOUT
RTS
SOUTSIN
CTS
CTS
RTS
Parallel
to Serial
XMT
FIFO
Flow
Control
Serial to
Parallel
RCV
FIFO
Flow
Control
D7–D0
RCV
FIFO
XMT
FIFO
Serial to
Parallel
Flow
Control
Parallel
to Serial
Flow
Control
Figure 1. Autoflow Control (Auto-RTS and Auto-CTS) Example
auto-RTS (see Figure 1)
D7–D0
Auto-RTS
data flow control originates in the receiver timing and control block (see functional block diagram)
and is linked to the programmed receiver FIFO trigger level. When the receiver FIFO level reaches a trigger level
of 1, 4, or 8 (see Figure 3), RTS
is deasserted. With trigger levels of 1, 4, and 8, the sending ACE may send
an additional byte after the trigger level is reached (assuming the sending ACE has another byte to send)
because it may not recognize the deassertion of RTS
until after it has begun sending the additional byte. RTS
is automatically reasserted once the RCV FIFO is emptied by reading the receiver buffer register.
When the trigger level is 14 (see Figure 4), RTS
present on the SIN line. RTS
auto-CTS
(see Figure 1)
The transmitter circuitry checks CTS
is reasserted when the RCV FIFO has at least one available byte space.
before sending the next data byte. When CTS is active, it sends the next
byte. To stop the transmitter from sending the following byte, CTS
last stop bit that is currently being sent (see Figure 2). The auto-CTS
system. When flow control is enabled, CTS
automatically controls its own transmitter. Without auto-CTS
is deasserted after the first data bit of the 16th character is
must be released before the middle of the
function reduces interrupts to the host
level changes do not trigger host interrupts because the device
, the transmitter sends any data present in the
transmit FIFO and a receiver overrun error may result.
enabling autoflow control and auto-CTS
Autoflow control is enabled by setting modem control register bits 5 (autoflow enable or AFE) and 1 (RTS) to
a 1. Autoflow incorporates both auto-RTS
control register should be cleared (this assumes that a control signal is driving CTS
and auto-CTS. When only auto-CTS is desired, bit 1 in the modem
).
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
3
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
auto-CTS and auto-RTS functional timing
SOUT
CTS
NOTES: A. When CTS is low, the transmitter keeps sending serial data out.
B. If CTS
C. When CTS
StartBits 0–7StartBits 0–7StartBits 0–7
goes high before the middle of the last stop bit of the current byte, the transmitter finishes sending the current byte but it does
not send the next byte.
goes from high to low, the transmitter begins sending data again.
StopStopStop
Figure 2. CTS Functional Timing Waveforms
The receiver FIFO trigger level can be set to 1, 4, 8, or 14 bytes. These are described in Figures 3 and 4.
SIN
RTS
RD
(RD RBR)
NOTES: A. N = RCV FIFO trigger level (1, 4, or 8 bytes)
B. The two blocks in dashed lines cover the case where an additional byte is sent as described in the preceding auto-RTS
NOTE A: Terminal numbers shown are for the N package.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
8
5
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
Terminal Functions
TERMINAL
NAME
A0
A1
A2
ADS252824IAddress strobe. When ADS is active (low), A0, A1, and A2 and CS0, CS1, and CS2 drive the internal
BAUDOUT151712OBaud out. BAUDOUT is a 16× clock signal for the transmitter section of the ACE. The clock rate is
CS0
CS1
CS2
CTS364038IClear to send. CTS is a modem status signal. Its condition can be checked by reading bit 4 (CTS) of
D0
D1
D2
D3
D4
D5
D6
D7
DCD384240IData carrier detect. DCD is a modem status signal. Its condition can be checked by reading bit 7 (DCD)
DDIS232622ODriver disable. DDIS is active (high) when the CPU is not reading data. When active, DDIS can disable
DSR374139IData set ready. DSR is a modem status signal. Its condition can be checked by reading bit 5 (DSR) of
DTR333733OData terminal ready. When active (low), DTR informs a modem or data set that the ACE is ready to
INTRPT303330OInterrupt. When active (high), INTRPT informs the CPU that the ACE has an interrupt to be serviced.
MR353935IMaster reset. When active (high), MR clears most ACE registers and sets the levels of various output
NO.NNO.FNNO.
28
31
27
30
26
29
12
14
13
15
14
16
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
I/O
PT
28
IRegister select. A0–A2 are used during read and write operations to select the ACE register to read
27
26
9
10
11
43
44
45
46
47
2
3
4
from or write to. Refer to Table 1 for register addresses and refer to ADS
select logic directly; when ADS
levels they were in when the low-to-high transition of ADS
established by the reference oscillator frequency divided by a divisor specified by the baud generator
divisor latches. BAUDOUT
IChip select. When CS0 and CS1 are high and CS2 is low , these three inputs select the ACE. When any
of these inputs are inactive, the ACE remains inactive (refer to ADS
the modem status register. Bit 0 (∆CTS) of the modem status register indicates that CTS
states since the last read from the modem status register. If the modem status interrupt is enabled when
CTS
changes levels and the auto-CTS mode is not enabled, an interrupt is generated. CTS is also used
in the auto-CTS
I/O Data bus. Eight data lines with 3-state outputs provide a bidirectional path for data, control, and status
information between the ACE and the CPU.
of the modem status register. Bit 3 (∆ DCD) of the modem status register indicates that DCD
changed states since the last read from the modem status register. If the modem status interrupt is
enabled when DCD
an external transceiver.
the modem status register. Bit 1 (∆ DSR) of the modem status register indicates DSR
levels since the last read from the modem status register. If the modem status interrupt is enabled when
DSR
changes levels, an interrupt is generated.
establish communication. DTR
register. DTR
operation, or clearing the DTR bit.
Four conditions that cause an interrupt to be issued are: a receiver error, received data that is available
or timed out (FIFO mode only), an empty transmitter holding register, or an enabled modem status
interrupt. INTRPT is reset (deactivated) either when the interrupt is serviced or as a result of a master
reset.
signals (refer to Table 2).
mode to control the transmitter.
changes levels, an interrupt is generated.
is placed in the inactive level either as a result of a master reset, during loop mode
is high, the register select and chip select signals are held at the logic
may also be used for the receiver section by tying this output to RCLK.
is placed in the active level by setting the DTR bit of the modem control
DESCRIPTION
description.
occurred.
description).
has changed
has
has changed
6
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
Terminal Functions (Continued)
TERMINAL
NAME
OUT1
OUT2
RCLK9105IReceiver clock. RCLK is the 16× baud rate clock for the receiver section of the ACE.
RD1
RD2
RI394341IRing indicator. RI is a modem status signal. Its condition can be checked by reading bit 6 (RI) of the
RTS323632ORequest to send. When active, RTS informs the modem or data set that the ACE is ready to receive
RXRDY293229OReceiver ready. Receiver direct memory access (DMA) signalling is available with RXRDY. When
SIN10117ISerial data input. SIN is serial data input from a connected communications device
SOUT11138OSerial data output. SOUT is composite serial data output to a connected communication device. SOUT
TXRDY242723OTransmitter ready. Transmitter DMA signalling is available with TXRDY. When operating in the FIFO
V
CC
V
SS
WR1
WR2
XIN
XOUT
NO.NNO.FNNO.
343138353431OOutputs 1 and 2. These are user-designated output terminals that are set to the active (low) level by
212224251920IRead inputs. When either RD1 or RD2 is active (low or high respectively) while the ACE is selected,
4044425-V supply voltage
202218Supply common
181920211617IWrite inputs. When either WR1 or WR2 is active (low or high respectively) and while the ACE is
161718191415I/O External clock. XIN and XOUT connect the ACE to the main timing reference (clock or crystal).
PT
I/O
setting respective modem control register (MCR) bits (OUT1 and OUT2). OUT1
inactive the (high) level as a result of master reset, during loop mode operations, or by clearing bit 2
(OUT1) or bit 3 (OUT2) of the MCR.
the CPU is allowed to read status information or data from a selected ACE register. Only one of these
inputs is required for the transfer of data during a read operation; the other input should be tied to its
inactive level (i.e., RD2 tied low or RD1
modem status register. Bit 2 (TERI) of the modem status register indicates that RI
a low to a high level since the last read from the modem status register. If the modem status interrupt
is enabled when this transition occurs, an interrupt is generated.
data. RTS
(high) level either as a result of a master reset or during loop mode operations or by clearing bit 1 (RTS)
of the MCR. In the auto-RTS
operating in the FIFO mode, one of two types of DMA signalling can be selected using the FIFO control
register bit 3 (FCR3). When operating in the TL16C450 mode, only DMA mode 0 is allowed. Mode 0
supports single-transfer DMA in which a transfer is made between CPU bus cycles. Mode 1 supports
multitransfer DMA in which multiple transfers are made continuously until the receiver FIFO has been
emptied. In DMA mode 0 (FCR0 = 0 or FCR0 = 1, FCR3 = 0), when there is at least one character in
the receiver FIFO or receiver holding register, RXRDY
but there are no characters in the FIFO or holding register, RXRDY
(FCR0 = 1, FCR3 = 1), when the trigger level or the time-out has been reached, RXRDY
(low); when it has been active but there are no more characters in the FIFO or holding register, it goes
inactive (high).
is set to the marking (high) level as a result of master reset.
mode, one of two types of DMA signalling can be selected using FCR3. When operating in the
TL16C450 mode, only DMA mode 0 is allowed. Mode 0 supports single-transfer DMA in which a transfer
is made between CPU bus cycles. Mode 1 supports multitransfer DMA in which multiple transfers are
made continuously until the transmit FIFO has been filled.
selected, the CPU is allowed to write control words or data into a selected ACE register. Only one of
these inputs is required to transfer data during a write operation; the other input should be tied to its
inactive level (i.e., WR2 tied low or WR1
is set to the active level by setting the RTS modem control register bit and is set to the inactive
mode, RTS is set to the inactive level by the receiver threshold control logic.
DESCRIPTION
and OUT2 are set to
tied high).
has transitioned from
is active (low). When RXRDY has been active
goes inactive (high). In DMA mode 1
goes active
tied high).
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
7
TL16C550C, TL16C550CI
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Supply voltage range, V
Input voltage range at any input, V
Output voltage range, V
Operating free-air temperature range, T
Storage temperature range, T
Case temperature for 10 seconds, T
Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds: N or PT package 260°C. . . . . . . . . . . . . . .
†
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE 1: All voltage values are with respect to VSS.
Supply voltage, V
Input voltage, V
High-level input voltage, VIH (see Note 2)0.7 V
Low-level input voltage, VIL (see Note 2)0.3 V
Output voltage, VO (see Note 3)0V
High-level output current, IOH (all outputs)1.8mA
Low-level output current, IOL (all outputs)3.2mA
Input capacitance1pF
Operating free-air temperature, T
Junction temperature range, TJ (see Note 4)025115°C
Oscillator/clock speed14MHz
NOTES: 2. Meets TTL levels, V
CC
I
A
= 2 V and V
3. Applies for external output buffers
4. These junction temperatures reflect simulated conditions. Absolute maximum junction temperature is 150°C. The customer is
responsible for verifying junction temperature.
IHmin
= 0.8 V on nonhysteresis inputs
ILmax
33.33.6V
0V
CC
02570°C
CC
CC
CC
V
V
V
V
†
standard voltage (5 V nominal)
MINNOMMAXUNIT
Supply voltage, V
Input voltage, V
High-level input voltage, V
Low-level input voltage, V
Output voltage, VO (see Note 5)0V
High-level output current, IOH (all outputs)4mA
Low-level output current, IOL (all outputs)4mA
Input capacitance1pF
Operating free-air temperature, T
Junction temperature range, TJ (see Note 6)025115°C
Oscillator/clock speed16MHz
8
CC
I
IH
IL
A
5. Applies for external output buffers
6. These junction temperatures reflect simulated conditions. Absolute maximum junction temperature is 150°C. The customer is
responsible for verifying junction temperature.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
4.7555.25V
0V
0.7 V
CC
02570°C
0.2 V
CC
CC
CC
V
V
V
V
TL16C550C, TL16C550CI
IlInput current
CC
,
SS
,
10µA
,
,
V
CC
3.6V,V
SS
0,
OZ
g
O
µ
V
CC
T
A
25 C
SIN, DSR, DCD, CTS, and RI at 2 V
ICCSulycurrent
All oth
XTAL1 at 4 MH
8
mA
f
MHz
T
A
25°C
g
Allotherterminalsgrounded
IlInput current
CC
,
SS
,
10µA
,
,
V
CC
5.25V,V
SS
0,
OZ
g
O
µ
V
CC
T
A
25 C
SIN, DSR, DCD, CTS, and RI at 2 V
ICCSulycurrent
All oth
XTAL1 at 4 MH
10
mA
f
MHz
T
A
25°C
g
Allotherterminalsgrounded
ASYNCHRONOUS COMMUNICATIONS ELEMENT
WITH AUTOFLOW CONTROL
SLLS177E – MARCH 1994 – REVISED APRIL1998
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted)
low voltage (3.3 V nominal)
PARAMETERTEST CONDITIONSMIN TYP†MAXUNIT
‡
V
OH
V
OL
I
OZ
I
C
i(CLK)
C
o(CLK)
C
i
C
o
†
All typical values are at VCC = 3.3 V and TA = 25°C.
‡
These parameters apply for all outputs except XOUT.
Delay time, start to INTRPTt
Delay time, WR (WR THR) to reset INTRPTt
Delay time, initial write to INTRPT (THRE†)t
Delay time, read IIR† to reset INTRPT