TI 16C552

TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
D
D
D
D
D
D
D
IBM PC/AT  Compatible
Two TL16C550 ACEs
Enhanced Bidirectional Printer Port
16-Byte FIFOs Reduce CPU Interrupts
D
Independent Control of Transmit, Receive,
Line Status, and Data Set Interrupts on
Each Channel
D
Individual Modem Control Signals for Each
Channel
Programmable Serial Interface
Characteristics for Each Channel:
– 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
3-State TTL Drive for the Data and Control
Bus on Each Channel
Hardware and Software Compatible With
TL16C452
description
RXRDY0
DCD1
GND
RI1
DSR1
CLK
CS1
TRI
PEMD
ACK
PE
BUSY
SLCT
VDD
ERR
SIN1
RXRDY1
FN PACKAGE
(TOP VIEW)
9
10
8 7
6
5 4 3 2
1 68 67 66 65 64 63 62 61
60
11
59
12
58
13
57
14
56
15
55
16
54
17
53
18
52
19
51
20
50
21
49
22
48
23
47
24
46
25
45
44
26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
INT1
INT2
SLIN
INIT
AFD
STB
GND
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
INT0
BDO
GND
CTS0
DCD0
RI0
DSR0
CS0
A2
A1
A0
IOW
IOR
CS2
RESET
VDD
SIN0
TXRDY1
ENIRQ
SOUT1
DTR1
RTS1
CTS1
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
TXRDY0
VDD
RTS0
DTR0
SOUT0
description
The TL16C552 is an enhanced dual channel version of the popular TL16C550 asynchronous communications
element (ACE). The device serves two serial input/output interfaces simultaneously in microcomputer or
microprocessor-based systems. Each channel performs serial-to-parallel conversion on data characters
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.
IBM PC/AT is a trademark of International Business Machines Corporation.
Copyright  1996, Texas Instruments Incorporated
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
1
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
description (continued)
received from peripheral devices or modems and parallel-to-serial conversion on data characters transmitted
by the CPU. The complete status of each channel of the dual ACE can be read at any time during functional
operation by the CPU. The information obtained includes the type and condition of the transfer operations being
performed and the error conditions.
In addition to its dual communications interface capabilities, the TL16C552 provides the user with a fully
bidirectional parallel data port that fully supports the parallel Centronics-type printer. The parallel port and the
two serial ports provide IBM PC/AT-compatible computers with a single device to serve the three system ports.
A programmable baud rate generator is included that can divide the timing reference clock input by a divisor
between 1 and (216 – 1).
The TL16C552 is housed in a 68-pin plastic leaded chip carrier.
functional block diagram
CTS0
DSR0
DCD0
RI0
SIN0
CS0
DB – DB7
28
24
31
25
29
26
ACE
#1
30
41
45
9
22
32
14 – 21
RTS0
DTR0
SOUT0
INT0
RXRDY0
TXRDY0
8
8
CTS1
DSR1
DCD1
RI1
SIN1
CS1
A0 – A2
IOW
IOR
RESET
CLK
12
5
11
8
10
ACE
#2
6
62
60
61
42
3
RTS1
DTR1
SOUT1
INT1
RXRDY1
TXRDY1
35 – 33
36
Select
and
Control
Logic
37
39
44
BDO
8
4
8
ERR
SLCT
BUSY
PE
ACK
PEMD
CS2
ENIRQ
2
13
53 – 46
63
57
65
56
66
55
Parallel
Port
67
68
1
38
43
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
58
59
PD0 – PD7
INIT
AFD
STB
SLIN
INT2
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
Terminal Functions
TERMINAL
NAME
NO.
I/O
DESCRIPTION
ACK
68
I
Line printer acknowledge. ACK goes low to indicate a successful data transfer has taken place.
It generates a printer port interrupt during its positive transition.
AFD
56
I/O
Line printer autofeed. AFD is an open-drain line that provides the printer with an active-low signal
when continuous form paper is to be autofed to the printer. This terminal has an internal pullup
resistor to VDD of approximately 10 kΩ.
35, 34, 33
I
Address lines A0 – A2. A0, A1, and A2 select the internal registers during CPU bus operations. See
Table 2 for the decode of the serial channels and Table 13 for the decode of the parallel printer port.
BDO
44
O
Bus buffer output. BDO is an active-high output that is asserted when either serial channel or the
parallel port is read. This output can control the system bus driver (74LS245).
BUSY
66
I
Line printer busy. BUSY is an input line from the printer that goes high when the printer is not ready
to accept data.
CLK
4
I
Clock input. CLK is an external clock input to the baud rate divisor of each ACE.
32, 3, 38
I
Chip selects. CS0, CS1, and CS2 act as an enable for the write and read signals for the serial
channels 1 (CS0) and 2 (CS1). CS2 enables the signals to the printer port.
CTS0, CTS1
28, 13
I
Clear to send inputs. The logical state of CTS0 or CTS1 is reflected in the CTS bit of the modem
status register (CTS is bit 4 of the modem status register, written MSR4) of each ACE. A change
of state in either CTS terminal, since the previous reading of the associated modem status register,
causes the setting of delta clear to send (∆CTS) bit (MSR0) of each modem status register.
DB0 – DB7
14 – 21
I/O
Data bits DB0 – DB7. The data bus provides eight 3-state I/O lines for the transfer of data, control,
and status information between the TL16C552 and the CPU. These lines are normally in a
high-impedance state except during read operations. D0 is the least significant bit (LSB) and is the
first serial data bit to be received or transmitted.
DCD0, DCD1
29, 8
I
Data carrier detect. DCD is a modem input. Its condition can be tested by the CPU by reading the
MSR7 (DCD) bit of the modem status registers. The MSR3 (delta data carrier detect or ∆DCD) bit
of the modem status register indicates whether the DCD input has changed states since the
previous reading of the modem status register. DCD has no affect on the receiver.
DSR0, DSR1
31, 5
I
Data set ready inputs. The logical state of DSR0 and DSR1 is reflected in MSR5 of its associated
modem status register. The MSR1 (delta data set ready or ∆DSR) bit indicates whether the
associated DSR terminal has changed states since the previous reading of the modem status
register.
DTR0, DTR1
25, 11
O
Data terminal ready lines. DTR0 and DTR1 can be asserted low by setting modem control register
bit 0 (MCR0) of its associated ACE. This signal is asserted high by clearing the DTR bit (MCR0)
or whenever a reset occurs. When active (low), the DTR terminal indicates that its ACE is ready
to receive data.
ENIRQ
43
I
Parallel port interrupt source mode selection. When ENIRQ is low, the PC/AT mode of interrupts
is enabled. In this mode, the INT2 output is internally connected to the ACK input. When the ENIRQ
input is tied high, the INT2 output is internally tied to the PRINT signal in the line printer status
register. INT2 is latched high on rising edge of ACK.
ERR
63
I
Line printer error. ERR is an input line from the printer. The printer reports an error by holding this
line low during the error condition.
GND
7, 27, 54
INIT
57
I/O
Line printer initialize. INIT is an open-drain line that provides the printer with an active-low signal,
which allows the printer initialization routine to be started. This terminal has an internal pullup
resistor to VDD of approximately 10 kΩ.
IOR
37
I
Input/output read strobe. IOR is an active-low input that enables the selected channel to output
data to the data bus (DB0 – DB7). The data output depends upon the register selected by the
address inputs A0, A1, A2, and chip select. Chip select 0 (CS0) selects ACE #1, chip select 1 (CS1)
selects ACE #2, and chip select 2 (CS2) selects the printer port.
IOW
36
I
Input/output write strobe. IOW is an active-low input causing data from the data bus to be input to
either ACE or to the parallel port. The destination depends upon the register selected by the address
inputs A0, A1, A2, and chip selects CS0, CS1, and CS2.
A0, A1, A2
CS0, CS1, CS2
Ground (0 V). All terminals must be tied to ground for proper operation.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
3
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
Terminal Functions (continued)
TERMINAL
I/O
DESCRIPTION
45, 60
O
Serial channel interrupts. INT0 and INT1 are 3-state serial channel interrupt outputs (enabled by bit
3 of the MCR) that go active (high) when one of the following interrupts has an active (high) condition
and is enabled by the interrupt enable register of its associated channel: receiver error flag, received
data available, transmitter holding register empty, and modem status. The interrupt is cleared upon
appropriate service. When reset, the interrupt output is in the high-impedance state.
59
O
Printer port interrupt. INT2 is an active-high, 3-state output generated by the positive transition of ACK.
It is enabled by bit 4 of the write control register. Upon a reset, the interrupt output is in the
high-impedance state. Its mode is also controlled by ENIRQ.
53 – 46
I/O
Parallel data bits (0 – 7). These eight lines (PD0 – PD7) provide a byte wide input or output port to the
system.
PE
67
I
Printer paper empty. PE is an input line from the printer that goes high when the printer runs out of
paper.
PEMD
1
I
Printer enhancement mode. When low, PEMD enables the write data register to the PD0 – PD7 lines.
A high on this signal allows direction control of the PD0 – PD7 port by the DIR bit in the control register.
PEMD is usually tied low for the printer operation.
RESET
39
I
Reset. When low, RESET forces the TL16C552 into an idle mode in which all serial data activities are
suspended. The modem control register along with its associated outputs are cleared. The line status
register is cleared except for the THRE and TEMT bits, which are set. All functions of the device remain
in an idle state until programmed to resume serial data activities. This input has a hysteresis level of
typically 400 mV.
RTS0, RTS1
24, 12
O
Request to send outputs. RTSx is asserted low by setting MCR1, bit 1 of its UARTs modem control
register. Both RTSx terminals are set by RESET. A low on the RTSx terminal indicates that its ACE has
data ready to transmit. In half-duplex operations, RTSx controls the direction of the line.
RXRDY0,
RXRDY1
9, 61
O
Receiver ready. RXRDY0 and RXRDY1 are receiver direct memory access (DMA) signaling
terminals. One of two types of DMA signaling can be selected using FIFO control register bit 3 (FCR3)
when operating in the FIFO mode. Only DMA mode 0 is allowed when operating in the TL16C450
mode. For signal transfer DMA (a transfer is made between CPU bus cycles), mode 0 is used. Multiple
transfers that are made continuously until the receiver FIFO has been emptied are supported by
mode 1.
NAME
INT0, INT1
INT2
PD0 – PD7
NO.
Mode 0. RXRDYx is active (low) when in the FIFO mode (FCR0=1, FCR3=0) or when in the TL16C450
mode (FCR0=0) and the receiver FIFO or receiver holding register contain at least one character.
When there are no more characters in the receiver FIFO or receiver holding register, the RXRDYx
terminal goes inactive (high).
Mode 1. RXRDYx goes active (low) in the FIFO mode (FCR0=1) when FCR3=1 and the time-out or
trigger levels have been reached. It goes inactive (high) when the FIFO or receiver holding register is
empty.
RI0, RI1
30, 6
I
Ring indicator inputs. RI0 and RI1 are modem control inputs. Their condition is tested by reading
MSR6 (RI) of each ACE. The modem status register outputs trailing edge of ring indicator (TERI or
MSR2) that indicates whether either input has changed states from high to low since the previous
reading of the modem status register.
SIN0, SIN1
41, 62
I
Serial data inputs. SIN0 and SIN1 are serial data inputs that move information from the communication
line or modem to the TL16C552 receiver circuits. Mark (set) is a high state and a space (cleared) is
low state. Data on the serial data inputs is disabled when operating in the loop mode.
SLCT
65
I
Printer selected. SLCT is an input line from the printer that goes high when the printer has been
selected.
SLIN
58
I/O
Line printer select. SLIN is an open-drain input that selects the printer when it is active (low). This
terminal has an internal pullup resistor to VDD of approximately 10 kΩ.
26, 10
O
Serial data outputs. SOUT0 and SOUT1 are the serial data outputs from the ACE transmitter circuitry.
A mark is a high state and a space is a low state. Each SOUT is held in the mark condition when the
transmitter is disabled, when RESET is true (low), when the transmitter register is empty, or when in
the loop mode.
SOUT0, SOUT1
4
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
Terminal Functions (continued)
TERMINAL
NAME
NO.
I/O
DESCRIPTION
STB
55
I/O
Printer strobe. STB is an open-drain line that provides communication between the TL16C552 and the
printer. When it is active (low), it provides the printer with a signal to latch the data currently on the
parallel port. This terminal has an internal pullup resistor to VDD of approximately 10 kΩ.
TRI
2
I
3-state control. TRI controls the 3-state control of all I/O and output terminals. When TRI is asserted,
all I/O and outputs become high impedance, allowing board level testers to drive the outputs without
overdriving the internal buffers. This terminal is level sensitive, is a CMOS input, and is pulled down
with an internal resistor that is approximately 5 kΩ.
22, 42
O
Transmitter ready. TXRDY0 and TXRDY1 are transmitter ready signals. Two types of DMA signaling
are available. Either can be selected using FCR3 when operating in the FIFO mode. Only DMA mode
0 is allowed when operating in the TL16C450 mode. Single-transfer DMA (a transfer is made between
CPU bus cycles) is supported by mode 0. Multiple transfers that are made continuously until the
transmitter FIFO has been filled are supported by mode 1.
TXRDY0,
TXRDY1
Mode 0. When in the FIFO mode (FCR0=1, FCR3=0) or in the TL16C450 mode (FCR0=0) and there
are no characters in the transmitter holding register or transmitter FIFO, TXRDY are active (low). Once
TXRDY is activated (low), it goes inactive after the first character is loaded into the holding register of
transmitter FIFO.
Mode 1. TXRDYx goes active (low) if in the FIFO mode (FCR0=1) when FCR3=1 and there are no
characters in the transmitter FIFO. When the transmitter FIFO is completely full, TXRDYx goes inactive
(high).
VDD
23, 40, 64
Power supply. VDD is the power supply requirement is 5 V ± 5%.
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)†
Supply voltage range, VDD (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to VDD + 0.3 V
Input voltage range, VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to 7 V
Output voltage range, VO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to VDD + 0.3 V
Continuous total power dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500 mW
Operating free-air temperature range, TA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 10°C to 70°C
Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 65°C to 150°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 levels are with respect to ground (VSS).
recommended operating conditions
Supply voltage, VDD
Clock high-level input voltage, VIH(CLK)
MIN
NOM
4.75
5
2
Clock low-level input voltage, VIL(CLK)
– 0.5
High-level input voltage, VIH
2
Low-level input voltage, VIL
– 0.5
Clock frequency, fclock
Operating free-air temperature range, TA
0
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
MAX
UNIT
5.25
V
VDD
0.8
V
VDD
0.8
V
V
V
8
MHz
70
°C
5
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
electrical characteristics over recommended ranges of operating free-air temperature and supply
voltage
PARAMETER
TEST CONDITIONS
VOH
High-level output voltage
IOH = – 0.4 mA for DB0 – DB7,
IOH = – 2 mA for PD0 – PD7,
IOH = – 0.4 mA for INIT, AFD, STB, and SLIN (see Note 2),
IOH = – 0.4 mA for all other outputs
VOL
Low-level output voltage
IOL = 4 mA for DB0 – DB7,
IOL = 12 mA for PD0 – PD7,
IOL = 10 mA for INIT, AFD, STB, and SLIN (see Note 2),
IOL = 2 mA for all other outputs
II
II(CLK)
Input current
IOZ
High-impedance
High
im edance out
output
ut current
VDD = 5
5.25
25 V
V,
VO = 0 with chi
chip deselected,
deselected or
VO = 5
5.25
25 V with chip and write mode selected
Supply current
VDD = 5.25 V,,
No loads on outputs,,
SIN0, SIN1, DSR0, DSR1, DCD0, DCD1, CTS0, CTS1,
RI0 and RI1 at 2 V,
Other inputs at 0.8 V,
Baud rate generator fclock = 8 MHz,
Baud rate = 56 kbit/s
IDD
Clock input current
VDD = 5.25 V,
VI = 0 to 5.25 V
MIN
MAX
2.4
All other terminals are floating
UNIT
V
0.4
V
± 10
µA
± 10
µA
± 20
µA
50
mA
NOTE 2: These four terminals contain an internal pullup resistor to VDD of approximately 10 kΩ.
clock timing requirements over recommended ranges of operating free-air temperature and supply
voltage
MIN
MAX
UNIT
tw1
tw2
Pulse duration, CLK high (external clock, 8 MHz max) (see Figure 1)
55
ns
Pulse duration, CLK low (external clock, 8 MHz max) (see Figure 1)
55
ns
tw3
Pulse duration, master (RESET) low (see Figure 16)
1000
ns
read cycle timing requirements over recommended ranges of operating free-air temperature and
supply voltage (see Figure 4)
MIN
MAX
UNIT
tw4
tsu1
Pulse duration, IOR low
80
ns
Setup time, chip select valid before IOR low (see Note 3)
15
ns
tsu2
th1
Setup time, A2 – A0 valid before IOR low (see Note 3)
15
ns
Hold time, A2 – A0 valid after IOR high (see Note 3)
20
ns
th2
td1
Hold time, chip select valid after IOR high (see Note 3)
20
ns
175
ns
Delay time, tsu2 + tw4 + td2 (see Note 4)
td2
Delay time, IOR high to IOR or IOW low
80
NOTES: 3. The internal address strobe is always active.
4. In the FIFO mode, td1 = 425 ns (min) between reads of the receiver FIFO and the status registers (IIR and LSR).
6
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
ns
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
write cycle timing requirements over recommended ranges of operating free-air temperature and
supply voltage (see Figure 5)
MIN
MAX
UNIT
tw5
tsu4
Pulse duration, IOW low
80
ns
Setup time, chip select valid before IOW low (see Note 3)
15
ns
tsu5
tsu6
Setup time, A2 – A0 valid before IOW low (see Note 3)
15
ns
Setup time, D0 – D7 valid before IOW high
15
ns
th3
th4
Hold time, A2 – A0 valid after IOW high (see Note 3)
20
ns
Hold time, chip select valid after IOW high (see Note 3)
20
ns
th5
td3
Hold time, D0 – D7 valid after IOW high
Delay time, tsu5 + tw5 + td4
td4
Delay time, IOW high to IOW or IOR low
NOTE 3: The internal address strobe is always active.
15
ns
175
ns
80
ns
read cycle switching characteristics over recommended ranges of operating free-air temperature
and supply voltage (see Figure 4)
PARAMETER
tpd1
ten
tdis
TEST CONDITIONS
Propagation delay time from IOR high to BDO high or from IOR low to
BDO low
CL = 100 pF,
See Note 5
Enable time from IOR low to D0 – D7 valid
CL = 100 pF,
See Note 5
Disable time from IOR high to D0 – D7 released
CL = 100 pF,
See Note 5
MIN
0
MAX
UNIT
60
ns
60
ns
60
ns
NOTE 5: VOL and VOH (and the external loading) determine the charge and discharge time.
transmitter switching characteristics over recommended ranges of operating free-air temperature
and supply voltage (see Figures 6, 7, and 8)
PARAMETER
TEST CONDITIONS
MIN
MAX
UNIT
8
24
RCLK
cycles
td5
Delay time, interrupt THRE low to SOUT low at start
td6
Delay time, SOUT low at start to interrupt THRE high
See Note 6
8
8
RCLK
cycles
td7
Delay time, IOW (WR THR) high to interrupt THRE high
See Note 6
16
32
RCLK
cycles
td8
Delay time, SOUT low at start to TXRDY low
CL = 100 pF
8
RCLK
cycles
tpd2
tpd3
Propagation delay time from IOW (WR THR) low to interrupt THRE low
CL = 100 pF
140
ns
Propagation delay time from IOR (RD IIR) high to interrupt THRE low
CL = 100 pF
140
tpd4
Propagation delay time from IOW (WR THR) high to TXRDY high
CL = 100 pF
195
NOTE 6: When the transmitter interrupt delay is active, this delay si lengthened by one character time minus the last stop bit time.
ns
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
ns
7
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
receiver switching characteristics over recommended ranges of operating free-air temperature
and supply voltage (see Figures 9, 10, 11, 12 and 13)
PARAMETER
td9
Delay time from stop to INT high
tpd5
tpd6
Propagation delay time from RCLK high to sample CLK high
TEST CONDITIONS
MIN
See Note 7
MAX
UNIT
1
RCLK
cycle
100
ns
Propagation delay time from IOR (RD RBR/RD LSR) high to reset interrupt low
CL = 100 pF
150
ns
tpd7
Propagation delay time from IOR (RD RBR) low to RXRDY high
150
ns
NOTE 7: The receiver data available indication, the overrun error indication, the trigger level interrupts and the active RXRDY indication is delayed
three RCLK cycles in the FIFO mode (FCR0 = 1). After the first byte has been received, status indicators (PE, FE, BI) is delayed three
RCLK cycles. These indicators are updated immediately for any further bytes received after RD RBR goes active. There are eight RCLK
cycle delays for trigger change level interrupts.
modem control switching characteristics over recommended ranges of operating free-air
temperature and supply voltage (see Figure 14)
PARAMETER
TEST CONDITIONS
MAX
UNIT
tpd8
tpd9
Propagation delay time from IOW (WR MCR) high to RTS (DTR) low/high
CL = 100 pF
MIN
100
ns
Propagation delay time from modem input (CTS, DSR) low/high to interrupt high
CL = 100 pF
170
ns
tpd10
tpd11
Propagation delay time from IOR (RD MSR) high to interrupt low
CL = 100 pF
140
ns
Propagation delay time from RI high to interrupt high
CL = 100 pF
170
ns
parallel port timing requirements over recommended ranges of supply voltage and operating
free-air temperature (see Figure 15)
MIN
MAX
µs
tsu7
th6
Setup time, data valid before STB low
1
Hold time, data valid after STB high
1
tw6
td10
Pulse duration, STB low
1
Delay time, BUSY high to ACK low
Defined by printer
td11
tw6
Delay time, BUSY low to ACK low
Defined by printer
Pulse duration, ACK low
Defined by printer
tw7
td12
Pulse duration, BUSY high
Defined by printer
Delay time, BUSY high after STB high
Defined by printer
8
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
UNIT
µs
500
µs
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
tw1
2V
CLK (XTAL1)
0.8 V
tw2
fclock = 8 MHz MAX
Figure 1. Clock Input (CLK) Voltage Waveform
2.54 V
Device Under Test
680 Ω
TL16C552
82 pF†
†Includes scope and jig capacitance
Figure 2. Output Load Circuit
TL16C552
Data Bus
Serial
Channel 1
Buffers
9-Pin D Connector
Serial
Channel 2
Buffers
9-Pin D Connector
Address Bus
Dual
Ace and
Printer
Port
Control Bus
Option
Jumpers
Parallel
Port
R/C
Network
25-Pin D Connector
Figure 3. Basic Test Configuration
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
9
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
Valid
50 %
A2, A1, A0
50 %
th1
CS0, CS1, CS2
50 %
50 %
Valid
th2
td1
tsu1
tsu2
IOR
Active
50 %
50 %
50 %
td2
tw4
OR
IOW
50 %
Active
tpd1
tpd1
BDO
Active
50 %
50 %
tdis
ten
Data
D0 – D7
Valid Data
Figure 4. Read Cycle Timing Waveforms
A2, A1, A0
50 %
Valid
50 %
th3
CS0, CS1, CS2
50 %
Valid
50 %
th4
td3
tsu4
tsu5
IOW
50 %
Active
50 %
50 %
td4
tw5
IOR
Data
D0 – D7
th5
Valid Data
Figure 5. Write Cycle Timing Waveforms
10
OR
50 %
tsu6
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
Active
Active
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
Start
Serial Out
(SOUT)
50 %
Data Bits 5 – 8
Stop (1– 2)
Parity
td5
Interrupt
(THRE)
50 %
50 %
td6
50 %
tpd2
50 %
50 %
tpd2
td7
IOW
(WR THR) 50 %
Start
50 %
50 %
50 %
tpd3
IOR
(RD IIR)
50 %
Figure 6. Transmitter Timing Waveforms
IOW
(WR THR)
SOUT
Byte #1
50 %
Data
Parity
50 % Start
Stop
td8
tpd4
TXRDY
50 %
50 %
Figure 7. Transmitter Ready Mode 0 Timing Waveforms
IOW
(WR THR)
Byte #16
50 %
Start of
Byte #16
SOUT
Data
Parity
Stop
Start
td8
tpd4
TXRDY
50 %
FIFO Full
50 %
Figure 8. Transmitter Ready Mode 1 Timing Waveforms
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
11
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
RCLK
tpd5
8 CLK Cycles
CLK
TL16C450 MODE
SIN
(receiver input
data)
Start
Data Bits 5 – 8
Parity
Stop
Sample
CLK
td9
Interrupt
(data ready or
RCVR ERR)
50 %
50 %
tpd6
Active
IOR
50 %
Figure 9. Receiver Timing Waveforms
SIN
Start
Data Bits 5 – 8
Parity
Stop
Sample
CLK
(FIFO at or above
trigger level)
Trigger
Interrupt
(FCR6, 7 = 0, 0)
50 %
50 %
td9
tpd6
IOR
(RD RBR)
Line Status
Interrupt (LSI)
50 %
50 %
Active
50 %
tpd6
IOR
(RD LSR)
Active
50 %
Figure 10. Receiver FIFO First Byte (Sets RDR) Waveforms
12
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
(FIFO below
trigger level)
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
SIN
Stop
Sample
CLK
td9
(see Note A)
Time Out or
Trigger Level
Interrupt
50 %
(FIFO at or above
trigger level)
50 %
(FIFO below
trigger level)
tpd6
LSI
Interrupt
50 %
Top Byte of FIFO
tpd6
td9
IOR
(RD LSR)
Active
IOR
(RD RBR)
50 %
50 %
Active
50 %
50 %
Active
Previous Byte
Read From FIFO
Figure 11. Receiver FIFO After First Byte (After RDR Set) Waveforms
IOR
(RD RBR)
SIN
(first byte)
50 %
Active
See Note A
Stop
Sample
CLK
RXRDY
td9
(see Note B )
50 %
50 %
tpd7
Figure 12. Receiver Ready Mode 0 Waveforms
NOTES: A. This is the reading of the last byte in the FIFO.
B. When FCR0=1, then td9 = 3 RCLK cycles. For a time-out interrupt, td9 = 8 RCLK cycles.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
13
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
IOR
(RD RBR)
Active
50 %
See Note A
SIN
(first byte that reaches
the trigger level)
Stop
Sample
CLK
td9
(see Note B)
RXRDY
50 %
50 %
tpd7
NOTES: A. This is the reading of the last byte in the FIFO.
B. When FCR0=1, then td9 = 3 RCLK cycles. For a trigger change level interrupt, td9 = 8 RCLK
Figure 13. Receiver Ready Mode 1 Waveforms
IOW
(WR MCR)
50 %
50 %
tpd8
tpd8
50 %
RTS, DTR
CTS, DSR, DCD
50 %
50 %
tpd9
INT0, INT1,
1 INT, 2 INT
tpd9
50 %
50 %
50 %
tpd10
IOR
(RD MSR)
tpd11
50 %
50 %
RI
Figure 14. Modem Control Timing Waveforms
14
50 %
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PARAMETER MEASUREMENT INFORMATION
DATA
Valid
50 %
50 %
tsu7
STB
th6
50 %
50 %
tw6
ACK
50 %
ÉÉÉÉ
ÉÉÉÉ
ÉÉÉÉ
50 %
tw6
td10
BUSY
50 %
td12
td11
50 %
50 %
tw7
Figure 15. Parallel Port Timing Waveforms
RESET
50 %
50 %
tw3
Figure 16. RESET Voltage Waveform
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
15
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
Three types of information are stored in the internal registers used in the ACE: control, status, and data.
Mnemonic abbreviations are shown in the Table 1 for the registers.
Table 1. Internal Register Types With Mnemonics
CONTROL
MNEMONIC
STATUS
MNEMONIC
DATA
MNEMONIC
Line control register
LCR
Line status register
LSR
Receiver buffer register
RBR
FIFO control register
FCR
Modem status register
MSR
Transmitter holding register
THR
Modem control register
MCR
Divisor latch LSB
DLL
Divisor latch MSB
DLM
Interrupt enable register
IER
The address, read, and write inputs are used with the divisor latch access bit (DLAB) in the line control register
(bit 7) to select the register to be written to or read from (see Table 2).
Table 2. Register Selection†‡
DLAB
A2
A1
A0
MNEMONIC
L
L
L
L
RBR
Receiver buffer register (read only)
REGISTER
L
L
L
L
THR
Transmitter holding register (write only)
L
L
L
H
IER
Interrupt enable register
X
L
H
L
IIR
Interrupt identification register (read only)
X
L
H
L
FCR
FIFO control register (write only)
X
L
H
H
LCR
Line control register
X
H
L
L
MCR
Modem control register
X
H
L
H
LSR
Line status register
X
H
H
L
MSR
Modem status register
X
H
H
H
SCR
Scratch register
H
L
L
L
DLL
Divisor latch (LSB)
H
L
L
H
DLM
Divisor latch (MSB)
† X = irrelevant, L = low level, H = high level
‡ The serial channel is accessed when either CS0 or CS1 is low.
Individual bits within the registers are referred to by the register mnemonic and the bit number in parenthesis.
As an example, LCR7 refers to line control register bit 7.
The transmitter buffer register and receiver buffer register are data registers that hold from five to eight bits of
data. If less than eight data bits are transmitted, data is right justified to the LSB. Bit 0 of a data word is always
the first serial data bit received and transmitted. The ACE data registers are double buffered so that read and
write operations may be performed when the ACE is performing the parallel-to-serial or serial-to-parallel
conversion.
16
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
accessible registers
The system programmer, using the CPU, has access to and control over any of the ACE registers that are
summarized in Table 2. These registers control ACE operations, receive data, and transmit data. Descriptions
of these registers follow Table 3.
Table 3. Summary of Accessible Registers
ADDRESS
REGISTER
MNEMONIC
REGISTER BIT NUMBER
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
0
RBR
(read only)
Data
Bit 7
(MSB)
Data
Bit 6
Data
Bit 5
Data
Bit 4
Data
Bit 3
Data
Bit 2
Data
Bit 1
Data
Bit 0
(LSB)
0
THR
(write only)
Data
Bit 7
Data
Bit 6
Data
Bit 5
Data
Bit 4
Data
Bit 3
Data
Bit 2
Data
Bit 1
Data
Bit 0
Bit 0
0†
1†
DLL
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
DLM
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
1
IER
0
0
0
0
(EDSSI)
Enable
modem
sstatus
a us
interrupt
(ERLSI)
Enable
receiver
e
line
status
interrupt
(ERBFI)
Enable
received
da
a
data
available
interrupt
2
FCR
(write only)
Receiver
Trigger
gg
(MSB)
Receiver
Trigger
gg
(LSB)
Reserved
Reserved
DMA
mode
select
Tranmitter
FIFO
reset
(ETBEI)
Enable
transmitter
od g
holding
register
g
emptyy
interrupt
Receiver
FIFO
reset
2
IIR
(read only)
FIFOs
Enabled‡
FIFOs
Enabled‡
0
0
Interrupt ID
Bit (2)‡
Interrupt ID
Bit (1)
Interrupt ID
Bit (0)
0 If
interrupt
pending
3
LCR
((DLAB))
Divisor latch
access bit
Set
break
Stick
parity
((EPS))
Even parity
select
((PEN))
Parity
enable
((STB))
Number of
stop bits
((WLSB1))
Word length
g
select bit 1
((WLSB0))
Word length
g
select bit 0
4
MCR
0
0
0
Loop
Enable
externall
interruptt
interru
((INT0
0o
or
INT1)
OUT1
((an unused
d
internal
ssignal)
g a)
(RTS)
Request
R
to send
(DTR)
D
Data
terminal
eady
ready
5
LSR
Error in
receiver
FIFO‡
((TEMT))
Transmitter
empty
((THRE))
Transmitter
holding
register
i t
empty
((BI))
Break
interrupt
((FE))
Framing
g
error
((PE))
Parity
error
((OE))
Overrun
error
( )
(DR)
Data
ready
6
MSR
((DCD))
Data carrier
detect
((RI))
Ring
g
indicator
((DSR))
Data set
ready
(
(CTS)
)
Clear
to send
((∆DCD))
Delta
data carrier
detect
d t t
((TERI))
Trailing
g
edge ring
indicator
i di t
((∆DSR))
Delta
data set
ready
d
((∆CTS))
Delta
clear
to
t send
d
7
SCR
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
FIFO
Enable
† DLAB = 1
‡ These bits are always 0 when FIFOs are disabled.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
17
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
FIFO control register (FCR)
This write-only register is at the same location as the IIR. It enables and clears the FIFOs, sets the trigger level
of the receiver FIFO, and selects the type of DMA signaling. The contents of FCR are described in Table 3 and
the following bulleted list.
D
D
D
D
D
D
Bit 0: FCR0 enables both the transmitter and receiver FIFOs. All bytes in both FIFOs can be reset by
clearing FCR0. Data is cleared automatically from the FIFOs when changing from the FIFO mode to the
TL16C450 mode and vice versa. Programming of other FCR bits is enabled by setting FCR0 =1.
Bit 1: FCR1=1 clears all bytes in the receiver FIFO and resets the counter. This does not clear the shift
register.
Bit 2: FCR2=1 clears all bytes in the transmitter FIFO and resets the counter. This does not clear the shift
register.
Bit 3: FCR3=1 changes the RXRDY and TXRDY terminals from mode 0 to mode 1 when FCR0 =1.
Bits 4 and 5: These two bits are reserved for future use.
Bits 6 and 7: These two bits set the trigger level for the receiver FIFO interrupt as shown in Table 4.
Table 4. Receiver FIFO Trigger Level
7
6
RECEIVER FIFO
TRIGGER LEVEL (BYTES)
0
0
01
0
1
04
1
0
08
1
1
14
BIT
FIFO interrupt mode operation
The following receiver status occurs when the receiver FIFO and receiver interrupts are enabled:
1. LSR0 is set when a character is transferred from the shift register to the receiver FIFO. When the FIFO is
empty, it is cleared.
2. IIR = 06 receiver line status interrupt has higher priority than the received data available interrupt IIR = 04.
3. Receive data available interrupt is issued to the CPU when the programmed trigger level is reached by the
FIFO. As soon as the FIFO drops below its programmed trigger level, it is cleared.
4. IIR = 04 (receive data available indication) also occurs when the FIFO reaches its trigger level. It is cleared
when the FIFO drops below the programmed trigger level.
The following receiver FIFO character time-out status occurs when receiver FIFO and receiver interrupts are
enabled.
18
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
FIFO interrupt mode operation (continued)
1. A FIFO timeout interrupt occurs when the following conditions exist:
a. Minimum of one character in FIFO
b. Last received serial character was longer than four continuous previous character times ago (if two stop
bits are programmed, the second one is included in the time delay).
c.
The last CPU read of the FIFO was more than four continuous character times earlier. At 300 baud and
12-bit characters, the FIFO time-out interrupt causes a latency of 160 ms maximum from received
character to interrupt issued.1
2. By using the RCLK input for a clock signal, the character times can be calculated. (The delay is proportional
to the baud rate.)
3. The time-out timer is reset after the CPU reads the receiver FIFO or after a new character is received, when
there has been no time-out interrupt.
4. A time-out interrupt is cleared and the timer is reset when the CPU reads a character from the receiver FIFO.
Transmitter interrupts occur as follows when the transmitter and transmitter FIFO interrupts are enabled
(FCRO = 1, IER = 1).
1. When the transmitter FIFO is empty, the THR interrupt (IIR = 02) occurs. The interrupt is cleared as soon
as the THR is written to or the IIR is read. One to sixteen characters can be written to the transmit FIFO when
servicing this interrupt.
2. The transmitter FIFO empty indications are delayed one character time minus the last stop bit time
whenever the following occurs:
THRE = 1 and there has not been a minimum of two bytes at the same time in transmitter FIFO, since the
last THRE = 1. The first transmitter interrupt after changing FCR0 is immediate, however, assuming it is
enabled.
Receiver FIFO trigger level and character time-out interrupts have the same priority as the received data
available interrupt. The THRE interrupt has the same priority as the transmitter FIFO empty interrupt.
FIFO polled mode operation
Clearing IER0, IER1, IER2, IER3, or all, with FCR0 = 1, puts the ACE into the FIFO polled mode. Receiver and
transmitter are controlled separately. Therefore, either or both can be in the polled mode.
In the FIFO polled mode, there is no time-out condition indicated or trigger level reached. However, the receiver
and transmitter FIFOs still have the capability of holding characters. The LSR must be read to determine the
ACE status.
interrupt enable register (IER)
The IER independently enables the four serial channel interrupt sources that activate the interrupt (INT0 or
INT1) output. All interrupts are disabled by clearing IER0 – IER3. Interrupts are enabled by setting the
appropriate bits of the IER. Disabling the interrupt system inhibits the IIR and the active (high) interrupt output.
All other system functions operate in their normal manner, including the setting of the LSR and MSR. The
contents of the IER are described in Table 3 and in the following bulleted list.
D
Bit 0: IER0, when set, enables the received data available interrupt and the time-out interrupts in the FIFO
mode.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
19
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
interrupt enable register (IER) (continued)
D
D
D
D
Bit 1: IER1, when set, enables the THRE interrupt.
Bit 2: IER2, when set, enables the receiver line status interrupt.
Bit 3: IER3, when set, enables the modem status interrupt.
Bits 4 – 7: IER4 – IER7 are always cleared.
interrupt identification register (IIR)
In order to minimize software overhead during data character transfers, the serial channel prioritizes interrupts
into four levels. The four levels of interrupt conditions are shown in the following bulleted list:
D
D
D
D
Priority 1 – Receiver line status (highest priority)
Priority 2 – Receiver data ready or receiver character time out
Priority 3 – Transmitter holding register empty
Priority 4 – Modem status (lowest priority)
Information indicating that a prioritized interrupt is pending and the type of interrupt is stored in the IIR. The IIR
indicates the highest priority interrupt pending. The contents of the IIR are indicated in Table 5.
Table 5. Interrupt Control Functions
FIFO
MODE
ONLY
INTERRUPT
IDENTIFICATION
REGISTER
INTERRUPT SET AND RESET FUNCTIONS
PRIORITY
LEVEL
BIT 3
BIT 2
BIT 1
BIT 0
0
0
0
1
–
0
1
1
0
First
0
1
0
0
1
1
0
0
0
0
0
D
D
D
D
D
20
INTERRUPT TYPE
INTERRUPT SOURCE
INTERRUPT RESET
CONTROL
None
None
Receiver line status
OE, PE, FE, or BI
LSR read
–
Second
Received data available
Receiver data available or trigger level
reached
RBR read until FIFO
drops below the
trigger level
0
Second
Character time-out
indication
No characters have been removed
from or input to the receiver FIFO
during the last four character times and
there is at least one character in it
during this time.
RBR read
1
0
Third
THRE
THRE
IIR read if THRE is
the interrupt source
or THR write
0
0
Fourth
Modem status
CTS, DSR, RI, or DCD
MSR read
Bit 0: IIR0 indicates whether an interrupt is pending. When IIR0 is cleared, an interrupt is pending.
Bits 1 and 2: IIR1 and IIR2 identify the highest priority interrupt pending as indicated in Table 5.
Bit 3: IIR3 is always cleared when in the TL16C450 mode. This bit is set along with bit 2 when in the FIFO
mode and a trigger change level interrupt is pending.
Bits 4 and 5: IIR4 and IIR5 are always cleared.
Bits 6 and 7: IIR6 and IIR7 are set when FCR0=1.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
line control register (LCR)
The format of the data character is controlled by the LCR. The LCR may be read. Its contents are described
in the following bulleted list and shown in Figure 17.
D
D
D
D
D
D
Bits 0 and 1: LCR0 and LCR1 are the word length select bits. The number of bits in each serial character
is programmed as shown in Figure 17.
Bit 2: LCR2 is the stop bit select bit. LCR2 specifies the number of stop bits in each transmitted character
as shown in Figure 17. The receiver always checks for one stop bit.
Bit 3: LCR3 is the parity enable bit 3. When LCR3 is high, a parity bit between the last data word bit and
stop bit is generated and checked.
Bit 4: LCR4 is the even parity select bit 4. When enabled, setting this bit selects even parity.
Bit 5: LCR5 is the stick parity bit 5. When parity is enabled (LCR3=1), LCR5=1 causes the transmission
and reception of a parity bit to be in the opposite state from the value of LCR4. This forces parity to a known
state and allows the receiver to check the parity bit in a known state.
Bit 6: LCR6 is the break control bit 6. When LCR6 is set, the serial output (SOUT1 and SOUT0) is forced
to the spacing state (low). The break control bit acts only on the serial output and does not affect the
transmitter logic. When the following sequence is used, no invalid characters are transmitted because of
the break:
Step 1. Load a zero byte in response to the transmitter holding register empty (THRE) status indication.
Step 2. Set the break in response to the next THRE status indication.
Step 3. Wait for the transmitter to be idle when transmitter empty status signal is set high (TEMT=1). Then
clear the break when the normal transmission has to be restored.
D
Bit 7: LCR7 is the divisor latch access bit (DLAB) bit 7. Bit 7 must be set to access the divisor latches DLL
and DLM of the baud rate generator during a read or write operation. LCR7 must be cleared to access the
receiver buffer register, the transmitter holding register or the interrupt enable register.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
21
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
line control register (LCR) (continued)
LINE CONTROL REGISTER
LCR LCR LCR LCR LCR LCR LCR LCR
7
6
5
4
3
2
1
0
Word Length
Select
0
0
1
1
0 = 5 Data Bits
1 = 6 Data Bits
0 = 7 Data Bits
1 = 8 Data Bits
Stop Bit
Select
0 = 1 Stop Bits
1 = 1.5 Stop Bits if 5 Data Bits Selected
2 Stop Bits if 6, 7, 8 Data Bits Selected
Parity Enable
0 = Parity Disabled
1 = Parity Enabled
Even Parity
Select
0 = Odd Parity
1 = Even Parity
Stick Parity
0 = Stick Parity Disabled
1 = Stick Parity Enabled
Break Control
0 = Break Disabled
1 = Break Enabled
Divisor Latch
Access Bit
0 = Access Receiver Buffer
1 = Access Divisor Latches
Figure 17. Line Control Register Contents
line printer port (LPT)
The line printer port contains the functionality of the port included in the TL16C452, but offers a hardware
programmable extended mode controlled by the printer enhancement mode (PEMD) terminal. This
enhancement is the addition of a direction control bit, and an interrupt status bit.
register 0 line printer data register (LPD)
The LPD port is either output only or bidirectional, depending on the state of the extended mode terminal and
data direction control bits.
D
D
22
Compatibility mode (PEMD is low). Reads to the LPD register return the last data that was written to the
port. Write operations immediately output data to the PD0 – PD7 terminals.
Extended mode (PEMD is high). Read operations return either the data last written to the LPT data register
when the direction bit is cleared to write, or the data that is present on PD0 – PD7 when the direction is set
to read. Writes to the LPD register latch data into the output register, but only drive the LPT port when the
direction bit is cleared to write.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
line printer port (LPT) (continued)
Table 6 summarizes the possible combinations of extended mode and the direction control bit. In either
case, the bits of the LPD register are defined as follows:
Table 6. Extended Mode and Direction Control Bit Combinations
PEMD
DIR
PD0 – PD7 FUNCTION
L
X
PC/AT mode – output
H
0
PS/2 mode – output
H
1
PS/2 mode – input
register 1 read line printer status register
The line printer status (LPS) register is a read-only register that contains interrupt and printer status of the LPT
connector terminals. In Table 7 (in the default column), are the values of each bit after reset in the case of the
printer being disconnected from the port.
Table 7. LPS Register Bit Description
BIT
DESCRIPTION
DEFAULT
0
Reserved
1
1
Reserved
1
2
PRINT
1
3
ERR
†
4
SLCT
†
5
PE
†
6
ACK
†
7
BSY
†
† Outputs are dependent upon device inputs.
D
D
D
D
D
D
D
Bits 0 and 1: These bits are reserved and are always set.
Bit 2: This bit is the printer interrupt (PRINT, active low) status bit. When cleared indicates that the printer
has acknowledged the previous transfer with an ACK handshake (bit 4 of the control register is set). The
bit is cleared on the active to inactive transition of the ACK signal. This bit is set after a read of the status
port.
Bit 3: This bit is the error (ERR, active low) status bit corresponds to ERR input.
Bit 4: This bit is the select (SLCT) status bit corresponds to SLCT input.
Bit 5: This bit is the paper empty (PE) status bit corresponds to PE input.
Bit 6: This bit is the acknowledge (ACK, active low) status bit corresponds to ACK input.
Bit 7: This bit is the busy (BSY, active low) status bit corresponds to BUSY input (active high).
register 2 line printer control (LPC) register
The LPC register is read/write port that controls the PD0 – PD7 direction and drive the printer control lines. Write
operations set or clear these bits, while read operations return the state of the last write operation to this register.
The bits in this register are described in Table 8.
PS/2 is a trademark of International Business Machines Corporation.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
23
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
line printer port (LPT) (continued)
Table 8. LPC Register Bit Description
BIT
D
D
D
D
D
D
DESCRIPTION
0
STB
1
AFD
2
INIT
3
SLIN
4
INT2 EN
5
DIR
6
Reserved (0)
7
Reserved (0)
Bit 0: This bit is the printer strobe (STB) control bit. When this bit is set, the STB signal is asserted on the
LPT interface. When STB is cleared, the signal is negated.
Bit 1: This bit is the auto feed (AFD) control bit. When this bit is set, the AFD signal is asserted on the LPT
interface. When AFD is cleared, the signal is negated.
Bit 2: This bit is the initialize printer (INIT) control bit. When this bit is set, the INIT signal is negated. When
INIT is cleared, the INIT signal is asserted on the LPT interface.
Bit 3: This bit is the select input (SLIN) control bit. When this bit is set, the SLCT signal is asserted on the
LPT interface. when SLIN is cleared, the signal is negated.
Bit 4: This bit is the interrupt request enable (INT2 EN) control bit. When set, this bit enables interrupts from
the LPT port whenever the ACK signal is released. When cleared, INT2 EN disables interrupts and places
INT2 signal in 3-state.
Bit 5: This bit is the direction (DIR) control bit (only used when PEMD is high). When this bit is set, the output
buffers in the LPD port are disabled allowing data driven from external sources to be read from the LPD port.
When DIR is cleared, the LPD port is in output mode.
line status register (LSR)
The LSR is a single register that provides status indications. The LSR is shown in Table 9 and is described in
the following bulleted list.
Table 9. Line Status Register Bits
LSR BITS
LSR0 data ready (DR)
1
0
Ready
Not ready
LSR1 overrun error (OE)
Error
No error
LSR2 parity error (PE)
Error
No error
LSR3 framing error (FE)
Error
No error
LSR4 break interrupt (BI)
Break
No break
LSR5 THRE
Empty
Not empty
LSR6 transmitter empty (TEMT)
Empty
Not empty
LSR7 receiver FIFO error
Error in FIFO
No error in FIFO
† LSR is intended only for factory test. It should be considered as read only by applications software.
24
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
line status register (LSR) (continued)
D
D
D
D
D
Bit 0: LSR0 is the data ready (DR) bit. DR is set high when an incoming character has been received and
transferred into the receiver buffer register or the FIFO. LSR0 is cleared by a CPU read of the data in the
receiver buffer register or the FIFO.
Bit 1: SR1 is the overrun error (OE) bit. OE indicates that data in the receiver buffer register was not read
by the CPU before the next character was transferred into the receiver buffer register overwriting the
previous character. The OE indicator is cleared whenever the CPU reads the contents of the LSR. An OE
occurs in the FIFO mode after the FIFO is full and the next character is completely received. The OE is
detected by the CPU on the first LSR read after the overrun happens. The character in the shift register is
not transferred to the FIFO but it is overwritten.
Bit 2: LSR2 is the parity error (PE) bit. PE indicates that the received data character does not have the
correct parity as selected by LCR3 and LCR4. The PE bit is set upon detection of a parity error and is cleared
when the CPU reads the contents of the LSR. In the FIFO mode, the parity error is associated with a
particular character in the FIFO. LSR2 reflects the error when the character is at the top of the FIFO.
Bit 3: LSR3 is the framing error (FE) bit. FE indicates that the received character did not have a valid stop
bit. LSR3 is set when the stop bit following the last data bit or parity bit is detected as a zero bit (spacing
level). The FE indicator is cleared when the CPU reads the contents of the LSR. In the FIFO mode, the
framing error is associated with a particular character in the FIFO. LSR3 reflects the error when the
character is at the top of the FIFO.
Bit 4: LSR4 is the break interrupt (BI) bit. BI is set when the received data input is held in the spacing
(cleared) state for longer than a full word transmission time (start bit + data bits + parity + stop bits). The
BI indicator is cleared when the CPU reads the contents of the LSR. In the FIFO mode, this is associated
with a particular character in the FIFO. LSR2 reflects the BI when the break character is at the top of the
FIFO. The error is detected by the CPU when its associated character is at the top of the FIFO during the
first LSR read. Only one zero character is loaded into the FIFO when BI occurs.
LSR1 – LSR4 are the error conditions that produce a receiver line status interrupt (priority 1 interrupt in the
interrupt identification register) when any of the conditions are detected. This interrupt is enabled by setting
IER2=1 in the interrupt enable register.
D
D
D
Bit 5: LSR5 is the THRE bit. THRE indicates that the ACE is ready to accept a new character for
transmission. The THRE bit is set when a character is transferred from the transmitter holding register
(THR) into the transmitter shift register (TSR). LSR5 is cleared by the loading of the transmitter holding
register by the CPU. LSR5 is not reset by a CPU read of the LSR. In the FIFO mode when the transmitter
FIFO is empty, this bit is set. It is cleared when one byte is written to the transmitter FIFO. When the THRE
interrupt is enabled by IER1, THRE causes a priority 3 interrupt in the IIR. When THRE is the interrupt source
indicated in IIR, INTRPT is cleared by a read of the IIR.
Bit 6: LSR6 is the transmitter empty (TEMT) bit. TEMT is set when the THR and the TSR are both empty.
LSR6 is cleared when a character is loaded into the THR and remains low until the character is transferred
out of SOUT. TEMT is not cleared by a CPU read of the LSR. In the FIFO mode, when both the transmitter
FIFO and shift register are empty, this bit is set.
Bit 7: LSR7 is the receiver FIFO error bit. The LSR7 bit is always cleared in the TL16C450 mode. In FIFO
mode, it is set when at least one of the following data errors is in the FIFO: PE, FE, or BI indication. It is
cleared when the CPU reads the LSR if there are no subsequent errors in the FIFO.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
25
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
master reset
After power up, the ACE RESET input should be held low for one microsecond to reset the ACE circuits to an
idle mode until initialization. A low on RESET causes the following:
1. It initializes the transmitter and receiver clock counters.
2. It clears the LSR, except for TEMT and THRE, which are set. The MCR is also cleared. All of the discrete
lines, memory elements, and miscellaneous logic associated with these register bits are also cleared or
turned off. The LCR, divisor latches, RBR, and transmitter buffer register are not effected.
Following the removal of the reset condition (RESET high), the ACE remains in the idle mode until programmed.
A hardware reset of the ACE sets the THRE and TEMT status bit in the LSR. When interrupts are subsequently
enabled, an interrupt occurs due to THRE. A summary of the affect of a reset on the ACE is given in Table 10.
Table 10. RESET Affects On Registers and Signals
REGISTER/SIGNAL
RESET
Interrupt enable register
Reset
All bits cleared (0 – 3 forced and 4 – 7
permanent)
Interrupt identification register
Reset
Bit 0 is set,, bits 1,, 2,, 3,, 6,, and 7 cleared
Bits 4 – 5 are permanently cleared
Line control register
Reset
All bits cleared
Modem control register
Reset
All bits cleared
FIFO control register
Reset
All bits cleared
Line status register
Reset
All bits cleared, except bits 5 and 6 are set
Modem status register
Reset
Bits 0 – 3 cleared, bits 4 – 7 input signal
Reset
High
SOUT
Interrupt (receiver errs)
Read LSR/Reset
Cleared
Interrupt (receiver data ready)
Read RBR/Reset
Cleared
Read IIR/Write THR/Reset
Cleared
Read MSR/Reset
Cleared
Interrupt (THRE)
Interrupt (modem status changes)
26
RESET CONTROL
OUT2
Reset
High
RTS
Reset
High
DTR
Reset
High
OUT1
Reset
High
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
modem control register (MCR)
The MCR controls the interface with the modem or data set as described in Figure 18. The MCR can be written
to and read from. The RTS and DTR outputs are directly controlled by their control bits in this register. A high
input asserts a low (true) at the output terminals. MCR bits 0, 1, 2, 3, and 4 are shown as follows:
MODEM CONTROL REGISTER
MCR MCR MCR MCR MCR MCR MCR MCR
7
6
5
4
3
2
1
0
Data Terminal
Ready
0 = DTR Output High (inactive)
1 = DTR Output Low (active)
Request
to Send
0 = RTS Output High (inactive)
1 = RTS Output Low (active)
Out 1
0 = OUT1 Output High
1 = OUT1 Output Low
Out 2
0 = OUT2 Output High
1 = OUT2 Output Low
Loop
0 = Loop Disabled
1 = Loop Enabled
Bits are Cleared
Figure 18. Modem Control Register Contents
D
D
D
D
D
D
Bit 0: When MCR0 is set, the DTR output is forced low. When MCR0 is cleared, the DTR output is forced
high. The DTR output of the serial channel can be input into an inverting line driver in order to obtain the
proper polarity input at the modem or data set.
Bit 1: When MCR1 is set, the RTS output is forced low. When MCR1 is cleared, the RTS output is forced
high. The RTS output of the serial channel can be input into an inverting line driver to obtain the proper
polarity input at the modem or data set.
Bit 2: When MCR2 is set, OUT1 is forced low.
Bit 3: When MCR3 is set, the OUT2 output is forced low.
Bit 4: MCR4 provides a local loopback feature for diagnostic testing of the channel. When MCR4 is set,
serial output (SOUT) is set to the marking (high) state, and the SIN is disconnected. The output of the TSR
is looped back into the receiver shift register input. The four modem control inputs (CTS, DSR, DCD, and
RI) are disconnected. The modem control outputs (DTR, RTS, OIUT1, and OUT2) are internally connected
to the four modem control inputs. The modem control output terminals are forced to their inactive state (high)
on the TL16C552. In the diagnostic mode, data transmitted is immediately received. This allows the
processor to verify the transmit and receive data paths of the selected serial channel. Interrupt control is
fully operational. However, interrupts are generated by controlling the lower four MCR bits internally.
Interrupts are not generated by activity on the external terminals represented by those four bits.
Bits 5 – 7: These three bits(MCR5 – MCR7) are permanently cleared.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
27
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
modem status register (MSR)
The MSR provides the CPU with status of the modem input lines from the modem or peripheral devices. The
MSR allows the CPU to read the serial channel modem signal inputs by accessing the data bus interface of the
ACE in addition to the current status of four bits of the MSR that indicate whether the modem inputs have
changed since the last reading of the MSR. The delta status bits are set when a control input from the modem
changes state and cleared when the CPU reads the MSR.
The modem input lines are CTS, DSR, RI, and DCD. MSR4 – MSR7 are status indications of these lines. A
status bit = 1 indicates the input is a low. A status bit = 0 indicates the input is high. When the modem status
interrupt in the interrupt enable register is enabled (IER3), an interrupt is generated whenever MSR0 – MSR3
is set. The MSR is a priority 4 interrupt. The contents of the MSR are described in Table 11.
Table 11. Modem Status Register Bits
MNEMONIC
MSR0
∆CTS
Delta clear to send
DESCRIPTION
MSR1
∆DSR
Delta data set ready
MSR2
TERI
Trailing edge of ring indicator
MSR3
∆DCD
Delta data carrier detect
MSR4
CTS
Clear to send
MSR5
DSR
Data set ready
MSR6
RI
Ring indicator
MSR7
DCD
Data carrier detect
D
Bit 0: MSR0 is the delta clear to send (∆CTS) bit. ∆CTS displays that the CTS input to the serial channel
has changed state since it was last read by the CPU.
D
Bit 1: MSR1 is the delta data set ready (∆DSR) bit. ∆DSR indicates that the DSR input to the serial channel
has changed state since the last time it was read by the CPU.
D
D
D
D
D
D
28
MSR BIT
Bit 2: MSR2 is the trailing edge of ring indicator (TERI) bit. TERI indicates that the RI input to the serial
channel has changed states from low to high since the last time it was read by the CPU. High-to-low
transitions on RI do not activate TERI.
Bit 3: MSR3 is the delta data carrier detect (∆DCD) bit. ∆DCD indicates that the DCD input to the serial
channel has changed state since the last time it was read by the CPU.
Bit 4: MSR4 is the clear to send (CTS) bit. CTS is the complement of the CTS input from the modem
indicating to the serial channel that the modem is ready to receive data from SOUT. When the serial channel
is in the loop mode ((MCR4 = 1), MSR4 reflects the value of RTS in the MCR.
Bit 5: MSR5 is the data set ready (DSR) bit. DSR is the complement of the DSR input from the modem to
the serial channel that indicates that the modem is ready to provide received data to the serial channel
receiver circuitry. When the channel is in the loop mode (MCR4=1), MSR5 reflects the value of DTR in the
MCR.
Bit 6: MSR6 is the ring indicator (RI) bit. RI is the complement of the RI input. When the channel is in the
loop mode (MCR4=1), MSR6 reflects the value of OUT1 in the MCR.
Bit 7: MSR7 is the data carrier detect (DCD) bit. DCD indicates the status of the data carrier detect (DCD)
input. When the channel is in the loop mode (MCR4=1), MSR7 reflects the value of OUT2 in the MCR.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
modem status register (MSR) (continued)
Reading the MSR register clears the delta modem status indications but has no affect on the other status bits.
For LSR and MSR, the setting of status bits is inhibited during status register read operations. When a status
condition is generated during a read IOR operation, the status bit is not set until the trailing edge of the read.
If a status bit is set during a read operation, and the same status condition occurs, that status bit is cleared at
the trailing edge of the read instead of being set again. In the loop back mode, when modem status interrupts
are enabled, the CTS, DSR, RI and DCD input terminals are ignored. However, a modem status interrupt can
still be generated by writing to MCR3 – MCR0. Applications software should not write to the MSR.
parallel port registers
The TL16C552 parallel port can interface to the device to a Centronics-style printer interface. When chip select
2 (CS2) is low, the parallel port is selected. Table 12 shows the registers associated with this parallel port. The
read or write function of the register is controlled by the state of the read (IOR) and write (IOW) terminal as
shown. The read data register allows the microprocessor to read the information on the parallel bus.
The read status register allows the microprocessor to read the status of the printer in the six most significant
bits. The status bits are printer busy BSY, acknowledge (ACK) which is a handshake function, paper empty (PE),
printer selected (SLCT), error (ERR) and printer interrupt (PRINT). The read control register allows the state
of the control lines to be read. The write control register sets the state of the control lines. They are direction
(DIR), interrupt enable (INT2 EN), select in (SLIN), initialize the printer (INIT), autofeed the paper (AFD), and
strobe (STB), which informs the printer of the presence of a valid byte on the parallel bus. The write data register
allows the microprocessor to write a byte to the parallel bus. The parallel port is completely compatible with the
parallel port implementation used in the IBM serial parallel adaptor.
Table 12. Parallel Port Registers
REGISTER
REGISTER BITS
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Read Data
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
Read Status
BSY
ACK
PE
SLCT
ERR
PRINT
1
1
Read Control
Write Data
Write Control
0
0
DIR
INT2 EN
SLIN
INIT
AFD
STB
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
0
0
DIR
INT2 EN
SLIN
INIT
AFD
STB
Table 13. Parallel Port Register Select
CONTROL TERMINALS
REGISTER SELECTED
IOR
IOW
CS2
A1
A0
L
H
L
L
L
Read data
L
H
L
L
H
Read status
L
H
L
H
L
Read control
L
H
L
H
H
Invalid
H
L
L
L
L
Write data
H
L
L
L
H
Invalid
H
L
L
H
L
Write control
H
L
L
H
H
Invalid
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
29
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
programmable baud generator
The ACE serial channel contains a programmable baud rate generator that divides the clock (dc to 8 MHz) by
any divisor from 1 to (216 – 1). The output frequency of the baud rate generator is 16× the data rate (divisor #
= clock ÷ (baud rate × 16)) referred to in this document as RCLK. Two 8-bit divisor latch registers store the divisor
in a 16-bit binary format. These divisor latch registers must be loaded during initialization. Upon loading either
of the divisor latches, a 16-bit baud counter is immediately loaded. This prevents long counts on initial load. The
baud rate generator can use any of three different popular frequencies to provide standard baud rates. These
frequencies are 1.8432 MHz, 3.072 MHz, and 8 MHz. With these frequencies, standard bit rates from 50- to
512-kbits/s are available. Tables 14, 15, and 16 illustrate the divisors needed to obtain standard rates using
these three frequencies.
Table 14. Baud Rates Using a 1.8432-MHz Crystal
BAUD RATE
DESIRED
50
75
110
134.5
150
300
600
1200
1800
2000
2400
3600
4800
7200
9600
19200
38400
56000
DIVISOR (N) USED TO
GENERATE 16 X CLOCK
PERCENT ERROR DIFFERENCE
BETWEEN DESIRED AND ACTUAL
2304
1536
1047
857
768
384
192
96
64
58
48
32
24
16
12
6
3
2
–
–
0.026
0.058
–
–
–
–
–
0.690
–
–
–
–
–
–
–
2.860
Table 15. Baud Rates Using a 3.072-MHz Crystal
BAUD RATE
DESIRED
50
75
110
134.5
150
300
600
1200
1800
2000
2400
3600
4800
7200
9600
19200
38400
30
DIVISOR (N) USED TO
GENERATE 16 X CLOCK
PERCENT ERROR DIFFERENCE
BETWEEN DESIRED AND ACTUAL
3840
2560
1745
1428
1280
640
320
160
107
96
80
53
40
27
20
10
5
–
–
0.026
0.034
–
–
–
–
0.312
–
–
0.628
–
1.230
–
–
–
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
programmable baud generator (continued)
Table 16. Baud Rates Using a 8.192-MHz Crystal
BAUD RATE
DESIRED
50
75
110
134.5
150
300
600
1200
1800
2000
2400
3600
4800
7200
9600
19200
38400
56000
128000
256000
512000
DIVISOR (N) USED TO
GENERATE 16 X CLOCK
PERCENT ERROR DIFFERENCE
BETWEEN DESIRED AND ACTUAL
1000
6667
4545
3717
3333
1667
833
417
277
250
208
139
104
69
52
26
13
9
4
2
1
–
0.005
0.010
0.013
0.010
0.020
0.040
0.080
0.080
–
0.160
0.080
0.160
0.644
0.160
0.160
0.160
0.790
2.344
2.344
2.400
programming
The serial channel of the ACE is programmed by the control registers: LCR, IER, DLL, DLM, MCR, and FCR.
These control words define the character length, number of stop bits, parity, baud rate, and modem interface.
While the control registers can be written in any order, the IER should be written last because it controls the
interrupt enables. Once the serial channel is programmed and operational, these registers can be updated any
time the ACE serial channel is not transmitting or receiving data.
receiver
Serial asynchronous data is input into the SIN terminal. The ACE continually searches for a high-to-low
transition
from the idle state. When the transition is detected, a counter is cleared, and counts the 16× clock to 7 1/2, which
is the center of the start bit. The start bit is valid when the SIN is still low. Verifying the start bits prevents the
receiver from assembling a false data character due to a low-going noise spike on the SIN input.
The LCR determines the number of data bits in a character [LCR0, LCR1]. When parity is used LCR3 and the
polarity of parity LCR4 are needed. Status for the receiver is provided in the LSR. When a full character is
received, including parity and stop bits, the data received indication in LSR0 is set. The CPU reads the RBR,
which clears LSR0. If the character is not read prior to a new character transfer from the RSR to the RBR, the
OE status indication is set in LSR1. When there is a PE, the PE bit is set in LSR2. If a stop bit is not detected,
a FE indication is set in LSR3.
When the data into SIN is a symmetrical square wave, the center of the data cells occurs within ± 3.125% of the
actual center, providing an error margin of 46.875%. The start bit can begin as much as one 16 × clock cycle
prior to being detected.
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
31
TL16C552
DUAL ASYCHRONOUS COMMUNICATIONS ELEMENT
WITH FIFO
SLLS102B – DECEMBER 1990 – REVISED MARCH 1996
PRINCIPLES OF OPERATION
scratchpad register
The scratch register is an 8-bit read/write register that has no affect on either channel in the ACE. It is intended
to be used by the programmer to temporarily hold data.
32
POST OFFICE BOX 655303
• DALLAS, TEXAS 75265
IMPORTANT NOTICE
Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor
product or service without notice, and advises its customers to obtain the latest version of relevant information
to verify, before placing orders, that the information being relied on is current and complete.
TI warrants performance of its semiconductor products and related software to the specifications applicable at
the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are
utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each
device is not necessarily performed, except those mandated by government requirements.
Certain applications using semiconductor products may involve potential risks of death, personal injury, or
severe property or environmental damage (“Critical Applications”).
TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED, OR WARRANTED
TO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHER
CRITICAL APPLICATIONS.
Inclusion of TI products in such applications is understood to be fully at the risk of the customer. Use of TI
products in such applications requires the written approval of an appropriate TI officer. Questions concerning
potential risk applications should be directed to TI through a local SC sales office.
In order to minimize risks associated with the customer’s applications, adequate design and operating
safeguards should be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance, customer product design, software performance, or
infringement of patents or services described herein. Nor does TI warrant or represent that any license, either
express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property
right of TI covering or relating to any combination, machine, or process in which such semiconductor products
or services might be or are used.
Copyright  1998, Texas Instruments Incorporated