19
ST16C452/452PS
Rev. 3.20
Scratchpad Register (SPR)
The ST16C452/452PS provides a temporary data
register to store 8 bits of user information.
PRINTER PORT REGISTER DESCRIPTIONS
Port Register (PR)
PR BIT 0-7:
Printer Data port (Bi-directional) - These pins are the
eight bit 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).
I/O Select Register (IOSEL) [452PS only]
This register is used in conjunction with the state of
BIDEN to set the direction (input/output) of the PD7-
PD0 data bus. This register is used only when BIDEN
is a logic 0.
Logic 55 (Hex) + BIDEN 0 = PD7-PD0 are set for
output mode
Logic AA (Hex) + BIDEN 0 = PD7-PD0 are set for input
mode
Status Register (SR)
This register provides the printer port input logical
states and the status of the interrupt -INTP based on
the condition of the -ACK printer port interface signal.
The logical state of these pins is dependent on exter-
nal interface signals.
SR BIT 1-0:
Not Used - initialized to a logic 1.
SR BIT-2:
Logic 0 = an interrupt is pending
When INTSEL is a logic 0, SR bit-2 basically tracks the
-ACK input interface pin (returns to a logic 1 when the
-ACK input returns to a logic 1). However when
INTSEL is a logic 1, the latched mode is selected, SR
bit-2 goes to a logic 0 with the -ACK input but does not
return to a logic 1 until the end of the read cycle, i.e.,
reading SR will set this bit to a logic 1.
Logic 1 = no interrupt is pending. (normal inactive
state)
SR BIT-3:
Logic 0 = -ERROR input is a logic 0.
Logic 1 = -ERROR input is a logic 1. (normal inactive
state)
SR BIT-4:
Logic 0 = SLCT input is a logic 0. (normal inactive
state)
Logic 1 = SLCT input is a logic 1.
SR BIT-5:
Logic 0 = PE input is a logic 0. (normal inactive state)
Logic 1 = PE input is a logic 1.
SR BIT-6:
Logic 0 = -ACK input is a logic 0.
Logic 1 = -ACK input is a logic 1. (normal inactive
state)
SR BIT-7:
Logic 0 = BUSY input is a logic 0
Logic 1 = BUSY input is a logic 1 (normal inactive
state)
Command Register (COM)
This register provides the printer port input logical
states and the status of the printer interrupt INIT,
which is based on the state of CON bit-1.
COM BIT-0:
-STROBE is a bi-directional signal with an open
source driver and internal pull-up so that it may be
wire-or’d with other outputs. COM bit-1 is used to read
status while CON bit 1 is used to set an output state.
If it is to function as an input, CON bit-1 shall be set to
a logic 1 first.
Logic 0 = -STROBE pin is a logic 1. (normal default
condition)
Logic 1 = -STROBE pin is a logic 0.
COM BIT-1:
-AutoFDXT is a bi-directional signal with an open
source driver and internal pull-up so that it may be
wire-or’d with other outputs. COM bit-1 is used to read
status while CON bit 1 is used to set an output state.
If it is to function as an input, CON bit-1 shall be set to
20
ST16C452/452PS
Rev. 3.20
a logic 1 first.
Logic 0 = -AutoFDXT pin is a logic 1. (normal default
condition)
1= -AutoFDXT pin is a logic 0.
COM BIT-2:
INIT is a bi-directional signal with an open source
driver and internal pull-up so that it may be wire-or’d
with other outputs. COM bit-2 is used to read status
while CON bit 2 is used to set an output state. If it is to
function as an input, CON bit-1 shall be set to a logic
1 first.
Logic 0 = INIT pin is a logic 0. (normal default
condition)
Logic 1 = INIT pin is a logic 1.
COM BIT-3:
-SLCTIN is a bi-directional signal with an open source
driver and internal pull-up so that it may be wire-or’d
with other outputs. COM bit-1 is used to read status
while CON bit 1 is used to set an output state. If it is to
function as an input, CON bit-1 shall be set to a logic
1 first.
Logic 0 = -SLCTIN pin is a logic 1 (normal default
condition)
Logic 1 = -SLCTIN pin is a logic 0
COM BIT-4:
This bit allows the state of -INTP to be read back by the
external CPU.
Logic 0 = Interrupt (-INTP output) is disabled (normal
default condition)
Logic 1 = Interrupt (-INTP output) is enabled
COM BIT 5-7:
Not Used - initialized to a logic 1.
Control Register (CON)
This register provides control of the printer port output
logical states and controls the printer interrupts INIT
and -INTP. With the exception of PD 0-7 IN/OUT, the
status of this register may be read by reading the COM
register.
CON BIT-0:
The -STROBE output control bit is under software
control, i.e., the hardware will not generate a strobe. It
is up to software to return the state of -STROBE to the
inactive (logic 1) state. The hardware driver is open
drain so that -STROBE may be wire-or’d. The state of
this bit can be read using COM bit-0.
Logic 0 = -STROBE output is set to a logic 1. (normal
default condition)
Logic 1 = -STROBE output is set to a logic 0.
CON BIT-1:
The -AutoFDXT output control bit is set by software
using CON bit-1. The hardware driver is open drain so
that -AutoFDXT may be wire-or’d. The state of this bit
can be read using COM bit-1.
Logic 0 = -AutoFDXT output is set to a logic 1. (normal
default condition)
Logic 1 = -AutoFDXT output is set to a logic 0.
CON BIT-2:
The INIT output control bit is set by software using
CON bit-2. The hardware driver is open drain so that
INIT may be wire-or’d. The state of this bit can be read
using COM bit-2.
Logic 0 = INIT output is set to a logic 0. (normal default
condition)
Logic 1 = INIT output is set to a logic 1.
CON BIT-3:
The -SLCTIN output control bit is set by software using
CON bit-3. The hardware driver is open drain so that
-AutoFDXT may be wire-or’d. The state of this bit can
be read using COM bit-3.
Logic 0 = -SLCTIN output is set to a logic 1. (normal
default condition)
Logic 1 = -SLCTIN output is set to a logic 0.
CON BIT-4:
This bit enables or masks the printer interrupt output
-INTP. The state of this bit can be read using COM bit-
4.
Logic 0 = Disable -INTP output. (normal default con-
dition)
Logic 1 = Enable -INTP output.
21
ST16C452/452PS
Rev. 3.20
CON BIT-5: [452PS only]
This bit is used in conjunction with the state of BIDEN
to set the direction (input/output) of the PD7-PD0 data
bus.
Logic 0 + BIDEN 1 = PD7-PD0 are set for output mode
(normal default condition)
Logic 1 + BIDEN 1 = PD7-PD0 are set for input mode
CON BIT 6-7:
Not Used - initialized to a logic 1.
ST16C452/452PS EXTERNAL RESET CONDI-
TION
REGISTERS RESET STATE
(UART)
IER BITS 0-7=0
ISR ISR BIT-0=1, ISR BITS 1-7=0
LCR LCR BITS 0-7=0
MCR MCR BITS 0-7=0
LSR LSR BITS 0-4=0,
LSR BITS 5-6=1 LSR, BIT 7=0
MSR MSR BITS 0-3=0,
MSR BITS 4-7=input signals
REGISTERS RESET STATE
Printer Port
IOSEL IOSEL BITS-0-7=0
SR SR BITS 0-1=1, BITS 2-7=input
signals
COM COM BITS 0-4=0, BITS 5-7=1
CON CON BITS 0-5=0, BITS 6-7=1
SIGNALS RESET STATE
TX A/B High
-RTS A/B High
-DTR A/B High
INT A/B, P Three state mode
PD0-PD7 Low, output mode
-STROBE High, output mode
-AutoFDXT High, output mode
INIT Low, output mode
-SLCTIN High, output mode

ST16C452IJ68-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
UART Interface IC DUAL UART W/PARALEL PRINTER PORT
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union