ChipFind - документация

Электронный компонент: ST16C552ACJ68

Скачать:  PDF   ZIP
EXAR Corporation, 48720 Kato Road, Fremont, CA 94538
(510) 668-7000
FAX (510) 668-7017
ST16C552
ST16C552A
PLCC Package
DUAL UART WITH 16-BYTE FIFO AND
PARALLEL PRINTER PORT
December 2003
Rev. 3.40
DESCRIPTION
The ST16C552/ST16C552A (552/552A) is a dual universal asynchronous receiver and transmitter (UART) with
an added bi-directional parallel port that is directly compatible with a CENTRONICS type printer. The parallel port
is designed such that the user can configure it as general purpose I/O interface, or for connection to other printer
devices. The 552/552A provides enhanced UART functions with 16 byte FIFO's, a modem control interface, and
data rates up to 1.5Mbps. Onboard status registers provide the user with error indications and operational status.
The system interrupts and control may be tailored to meet user requirements. An internal loop-back capability
allows onboard diagnostics. A programmable baud rate generator is provided to select transmit and receive clock
rates from 50 bps to 1.5 Mbps. The 552/552A is available in a 68 pin PLCC package. The 552/552A is compatible
with the 16C450 and 16C550. The difference between the ST16C552 and ST16C552A is the logic state of the
printer port, INTP interrupt. The INTP interrupt is active high (logic 1) on the ST16C552 whereas INTP is active
low (logic 0) on the ST16C552A part when the interrupt latch mode is selected. The 552/552A is fabricated in an
advanced CMOS process with power down mode to reduce the power consumption. The 552A does not support
the power down mode.
INTB
INTP
-SLCTIN
INIT
-AUTOFDXT
-STROBE
GND
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
INTA
RDOUT
-
R
X
RD
YA
-
C
D
B
G
N
D
-
R
I
B
-
D
S
R
B
C
L
K
-
C
SB
G
N
D
B
I
D
E
N
A
C
K
P
E
-
B
U
S
Y
S
L
C
T
V
CC
E
RR
O
R
R
X
B
-
R
X
RD
YB
G
N
D
-
C
T
S
A
-
C
D
A
-
R
I
A
-
D
S
R
A
-
C
SA
A
2
A
1
A
0
-
I
O
W
-
I
O
R
-
C
SP
-
R
ES
E
T
V
CC
R
X
A
-
T
X
R
D
Y
B
I
N
T
S
E
L
9
8
7
6
5
4
3
2
1
6
8
6
7
6
6
6
5
6
4
6
3
6
2
6
1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
2
7
2
8
2
9
3
0
3
1
3
2
3
3
3
4
3
5
3
6
3
7
3
8
3
9
4
0
4
1
4
2
4
3
ST16C552CJ68
ST16C552ACJ68
TXB
-DTRB
-RTSB
-CTSB
D0
D1
D2
D3
D4
D5
D6
D7
-TXRDYA
VCC
-RTSA
-DTRA
TXA
FEATURES
Added features in device revision "F" and newer:
5V Tolerant Inputs
Pin to pin and functional compatible to ST16C452/
452PS, TL16C552
2.97 to 5.5 volt operation
Software compatible with INS8250, NS16C550
1.5 Mbps transmit/receive operation (24MHz)
16 byte transmit FIFO
16 byte receive FIFO with error flags
Independent transmit and receive control
Modem and printer status registers
UART port and printer port Bi-directional
Printer port direction set by single control bit or 8 bit
pattern (AA/55)
Modem control signals (-CTS, -RTS, -DSR, -DTR,
-RI, -CD)
Programmable character lengths (5, 6, 7, 8)
Even, odd, or no parity bit generation and detection
TTL compatible inputs, outputs
Power down mode
ORDERING INFORMATION
Part number
Pins
Package
Operating temperature
Device Status
ST16C552CJ68
68
PLCC
0 C to + 70 C
Active
ST16C552ACJ68
68
PLCC
0 C to + 70 C
Active
ST16C552IJ68
68
PLCC
-40 C to + 85 C
Active
ST16C552AIJ68
68
PLCC
-40 C to + 85 C
Active
2
ST16C552/552A
Rev. 3.40
Figure 1, Block Diagram
D0-D7
-IOR
-IOW
-RESET
BIDEN
A0-A2
-CSA
-CSB
-CSP
INT A,B
INTP
-RXRDY
-TXRDY
-DTR A,B
-RTS A,B
-CTS A,B
-RI A,B
-CD A,B
-DSR A,B
TX A,B
RX A,B
D
a
t
a
b
u
s
&
C
o
n
t
r
o
l
L
o
g
i
c
R
e
g
i
s
t
e
r
S
e
l
e
c
t
L
o
g
i
c
Modem
Control
Logic
I
n
t
e
r
r
u
p
t
C
o
n
t
r
o
l
L
o
g
i
c
Transmit
FIFO
Registers
Transmit
Shift
Register
Receive
FIFO
Registers
Receive
Shift
Register
I
n
t
e
r
C
o
n
n
e
c
t
B
u
s
L
i
n
e
s
&
C
o
n
t
r
o
l
s
i
g
n
a
l
s
Clock
&
Baud Rate
Generator
C
L
K
Printer
Data
Ports
PD0-PD7
Printer
Control
Logic
-STROBE
INIT
-AUTOFDX
-SELCTIN
PE, SELECT
-BUSY, -ACK
ERROR
3
ST16C552/552A
Rev. 3.40
SYMBOL DESCRIPTION
Symbol
Pin
Signal Type
Pin Description
A0
35
I
Address-0 Select Bit - Internal registers address selection.
A1
34
I
Address-1 Select Bit - Internal registers address selection.
A2
33
I
Address-2 Select Bit - Internal registers address selection.
-ACK
68
I
Acknowledge (with internal pull-up) - General purpose input
or line printer acknowledge (active low). a logic 0 from the
printer, indicates successful data transfer to the print buffer.
-AutoFDXT
56
I/O
General purpose I/O (open drain, with internal pull-up) or
automatic line feed (open drain input with internal pull-up).
When this signal is low the printer should automatically line
feed after each line is printed.
BIDEN
1
I
Bi-Direction Enable - PD7-PD0 direction select. A logic 0
sets the parallel port for I/O Select Register Control. A logic
1 sets the parallel port for Control Register Bit-5 Control.
BUSY
66
I
Busy (with internal pull-up) - General purpose input or line
printer busy (active high). can be used as an output from the
printer to indicate printer is not ready to accept data.
CLK
4
I
Clock Input. - An external clock must be connected to this
pin to clock the baud rate generator and internal circuitry
(see Programmable Baud Rate Generator). This input is not
5V tolerant.
-CSA
32
I
Chip Select A - A logic 0 at this pin enables the serial
channel-A UART registers for CPU data transfers.
-CSB
3
I
Chip Select B - A logic 0 at this pin enables the serial
channel-B UART registers for CPU data transfers.
-CSP
38
I
Printer Port Chip Select - (active low). A logic 0 at this pin
enables the parallel printer port registers and/or PD7-PD0
for external CPU data transfers.
D0-D7
14-21
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.
4
ST16C552/552A
Rev. 3.40
SYMBOL DESCRIPTION
Symbol
Pin
Signal Type
Pin Description
-ERROR
63
I
Error, Printer (with internal pull-up) - General purpose input
or line printer error. This pin may be connected to the active
low (logic 0) output of a printer to indicate an error condition.
GND
2,7,54
Pwr
Signal and Power Ground.
27
INIT
57
I/O
Initialize (open drain, with internal pull-up) - General pur-
pose I/O signal. This pin may be connected for initialization
service of a connected line printer. Generally when this
signal is a logic 0, any connected printer will be initialized.
INT A/B
45,60
O
Interrupt output A/B ( three state active high) - These pins
provide individual channel interrupts, INT A-B. INT A-B 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 condition exists. Interrupt conditions include: re-
ceiver errors, available receiver buffer data, transmit buffer
empty, or when a modem status flag is detected.
-INTP
59
O
Printer Interrupt, - This pin can be used to signal the
interrupt status of a connected printer. This pin basically
tracks the -ACK input pin, When INTSEL is a logic 0 and
interrupts are enabled by bit-4 in the control register. A
latched mode can be selected by setting INTSEL to a logic
1. In this case the interrupt -INTP is generated normally but
does not return to the inactive state until the trailing edge of
the read cycle (-IOR pin). -INTP is three stated until CON
bit-4 is set to a logic 1. The difference between the
ST16C552 and ST16C552A is the output state of INTP.
INTP is active high (logic 1) on the ST16C552 whereas
INTP is active low (logic 0) on the ST16C552A part when the
interrupt latch mode is selected.
INTSEL
43
I
Interrupt Select mode - This pin selects the interrupt type for
the printer port (-INTP). When this pin is a logic 0, the
external -ACK signal state is generally followed, minus
some minor propagation delay. Making this pin a logic 1 or
connecting it to VCC will set the interrupt latched mode. In this
case the printer interrupt (-INTP) will not return to a logic 0 on
the 552 or a logic 1 on the 552A (552A is inverted), until the
5
ST16C552/552A
Rev. 3.40
SYMBOL DESCRIPTION
Symbol
Pin
Signal Type
Pin Description
trailing edge of -IOR (end of the external CPU read cycle).
-IOR
37
I
Read strobe.- A logic 0 transition on this pin will place the
contents of an Internal register defined by address bits A0-
A2 for either UART channels A/B or A0-A1 for the printer
port, onto D0-D7 data bus for a read cycle by an external
CPU.
-IOW
36
I
Write strobe.- A logic 0 transition on this pin will transfer the
data on the internal data bus (D0-D7), as defined by either
address bits A0-A2 for UART channels A/B or A0-A1 for the
printer port, into an internal register during a write cycle from
an external CPU.
PD7-PD0
46-53
I/O
Printer Data port (Bi-directional three state) - These pins are
the eight bit, three state data bus for transferring information
to or from an external device (usually a printer). D0 is the
least significant bit. PD7-PD0 are latched during a write
cycle (output mode).
PE
67
I
Paper Empty - General purpose input or line printer paper
empty (Internal pull-up). This pin can be connected to
provide a printer out of paper indication.
RDOUT
44
O
Read Out (active high) - This pin goes to a logic 1 when the
external CPU is reading data from the 552/552A. This signal
can be used to enable/disable external transceivers or other
logic functions.
-RESET
39
I
Master Reset (active low) - a logic 0 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 ST16C552/552A External Reset Conditions for
initialization details.)
-RXRDY A/B
9,61
O
Receive Ready A/B (active low). This function is associated
with the dual channel UARTs and provide the RX FIFO/
RHR status for individual receive channels (A-B). 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