• Interfaces Directly with CDP1800-Series
Microprocessors
• Single Voltage Supply
• Full Military Temperature Range (-55
Ordering Information
PACKAGE TEMP. RANGE5V10V
PDIP-40
SBDIP-40
o
C to +85oC CDP1852CE CDP1852E E24.6
o
C to +85oC CDP1852CD CDP1852D D24.6
o
C to +125oC)
PKG.
NO.
Byte-Wide Input/Output Port
Description
The CDP1852 and CDP1852C are parallel, 8-bit, mode-programmable input/output ports. They are compatible and will
interface directly with CDP1800-series microprocessors. They
are also useful as 8-bit address latches when used with the
CDP1800 multiplex ed addre ss bus and as I/O po rts in genera lpurpose applications .
The mode control is used to program the device as an input port
(mode = 0) or as an out put port (mo de = 1). The SR
can be used as a s ignal to indicate when data is ready to be
transferred. In the inp ut mode, a peripheral device can strob e
data into the CDP1852, and microp rocessor can rea d that data
by device selection. In the output mode, a microprocessor
strobes data into th e C DP1852, and handshaking is establishe d
with a peripheral device w hen the CDP1852 is desele ct ed.
In the input mode, data at the data-in terminals (DI0-DI7) is
strobed into the port’s 8-bi t register by a high (1) level on the
clock line. The negative high-to-low transition of the clock
latches the data in th e r egister and sets the se rv ic e r equest output low (SR
(CS1/CS1
/SR = 0). When CS1/CS1 and CS2 are high
and CS2 = 1), the three-state output drivers are
enabled and data in the 8-bit register appear at the data-ou t terminals (D00-D07). When either CS1/CS1 or CS2 goes low
(CS1/CS1
or CS2 = 0), the data-out termina ls are three-stated
and the service request ou tp ut returns high (SR
In the output mo de, the outpu t drivers are en abled at all time s.
Data at the data-in termina ls (DI0-DI7) is strobed into the 8-bit
register when CS1 /CS1
is low (CS1/CS1 = 0) and CS2 and t he
clock are high (1), and are present at the data-out terminals
(D00-D07). The negative high-to-low transition of the clock
latches the data in the register. The SR
(SR
/SR = 1) when the device is de selected (CS1/CS1 = 1 or
CAUTION: Stresses above t hos e l iste d in “Absolute Max imum Ratings” may cause per ma nen t d am age to th e d evi ce . Thi s is a stre ss o nly rat ing and operatio n
of the device at these or any other conditions above those in dica ted in the operational sections of this specification is not implied.
At Distance 1/16 ± 1/32 inch (1.59 ± 0.79mm)
from Case for 10s max
o
C
Operating Conditions At T
= Full Package Temperature Range. For Maximum Reliability, Operating Conditions Should be
A
Selected so that Operation is Always within the Following Ranges:
LIMITS
CDP1852CDP1852C
PARAMETER
MINMAXMINMAX
DC Operating Voltage Range410.546.5V
Input Voltage RangeV
SS
V
DD
V
SS
V
DD
Functional Diagram
MODE 0MODE 1
P1CSICSI
P23SRSR
CSI/CSI
(NOTE 1)
CS2
MODE
CLOCK
CLEAR
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
13
11
14
16
18
20
22
1
2
3
5
7
9
DEVICE
SELECT
DECODE
RESET
8-BIT
DATA
REGISTER
CONTROL
LOGIC
CLOCK
23
SR
(NOTE 1)
ENABLE
THREE-
STATE
OUTPUT
DRIVERS
/SR
24
12
V
DD
V
SS
4
DO0
6
DO1
8
DO2
10
DO3
15
DO4
17
DO5
19
DO6
21
DO7
UNITS
V
NOTE:
1. Polarity depends on mode.
FIGURE 2. FUNCTIONAL BLOCK DIAGRAM FOR CDP1852
A CLEAR control is provided for resetting the port’s register
(DO0-DO7 = 0) and service request flip-flop (input mode:
SR/ SR = 1 and output mode: SR/SR = 0).
The CDP1852 is functionally identical to the CDP1852C.
The CDP1852 has a recommended operating voltage range
of 4 to 10.5 volts, and the CDP1852C has a recommended
operating voltage range of 4 to 6.5 volts.
The CDP1852 and CDP1852C are supplied in 24-lead,
hermetic, dual-in-line ce ramic p ack ages (D suf fix), in 24-lead
dual-in-line plastic packages (E suffix). The CDP1852C is
also available in chip form (H suffix).
2
Page 3
Logic Diagram
13
CS2
MODE
1
2
14
CS1/CS1
CLEAR
CDP1852, CDP1852C
V
SS
SR/SR
23
S
D
Q
R
CL
SERVICE
REQUEST
LATCH
DI0
DI1
DI7
11
3
5
22
CLOCK
Static Electrical Specifications At T
p
TG
n
p
TG
n
FIGURE 3. CDP1852 LOGIC DIAGRAM
= -40oC to +85oC, Unless Otherwise Specified
A
CONDITIONSLIMITS
V
DD
p
DO0
4
n
V
SS
DO1
6
DO7
21
PARAMETER
Quiescent Device CurrentI
Output Low Drive
(Sink) Current
Output High Drive
(Source) Current
Output Voltage Low-Level
(Note 2)
CDP1852CDP1852C
V
DD
(V)
V
IN
DD
(V)
MIN
V
(V)
O
-0, 55--10--50µA
(NOTE1)
TYPMAXMIN
(NOTE1)
TYPMAX
UNITS
-0, 1010--100-- -µA
I
0.40, 551.63.2-1.63.2 -mA
OL
0.50, 101036----mA
I
4.60, 55-1.15-2.3--1.15-2.3-mA
OH
9.50, 1010-3-6- ---mA
V
OL
-0, 55-00.1 -00.1V
-0, 1010-00.1 ---V
3
Page 4
CDP1852, CDP1852C
Static Electrical Specifications At T
PARAMETER
Output Voltage High Level
(Note 2)
Input Low VoltageV
Input High VoltageV
Input Leakage CurrentI
Three-State Output Leakage
Current
V
OH
IL
lH
lN
I
OUT
0, 100, 1010--±2---µA
= -40oC to +85oC, Unless Otherwise Specified (Continued)
A
CONDITIONSLIMITS
CDP1852CDP1852C
V
V
(V)
(V)
V
IN
DD
(V)
MIN
O
(NOTE1)
TYPMAXMIN
(NOTE1)
TYPMAX
UNITS
-0, 554.9 5-4.9 5- V
-0, 10109.910----V
0.5,
-5- - 1.5- - 1.5V
4.5
0.5,
-10--3---V
9.5
0.5,
-53.5 - -3.5 - - V
4.5
0.5,
-107-----V
9.5
-0, 55 --±1-- ±1µA
-0, 1010--±2---µA
0, 50, 55--±1-- ±1µA
Operating Current (Note 3)I
DD1
-0, 55-130300-150300µA
-0, 1010-550800---µA
Input Capacitance C
Output CapacitanceC
OUT
---- 5 7.5- 5 7.5pF
IN
---- 5 7.5- - -pF
NOTES:
1. Typical values are for T
= IOH = 1µA
2. I
OL
= 25oC and nominal VDD.
A
3. Operating current is measured at 2MHz in an CDP1802 system with open outputs and a program of 6N55, 6NAA, 6N55, 6NAA,....
2. Minimum value is measured from CS2, maximum value is measured from CS1/CS1
= 25oC and nominal VDD.
A
SSR
5-120240ns
10-60120ns
Input Port Mode 0 - Typical Operation
General Operation
When the mode control is tied to V
, the CDP1852
SS
becomes an input port. In this mode, the peripheral device
places data into the CDP1852 with a strobe pulse and the
CDP1852 signals the microprocessor that data is ready to be
transferred on the strobe’s trailing edge via the SR
output
line. The CDP1802 then issues an input instruction that
enables the CDP1852 to place the information from the
peripheral device on the data bus to be entered into a memory location and the accumulator of the microprocessor.
Detailed Operation (See Figure 5)
The STROBE from the perip heral device places DATA into
the 8-bit register of the CDP1852 when it goes high and
latches the DATA on its trailing edge. The SR
output is set
low on the strobe’s trailing edge. This output is connected to
a flag line of the CD P1802 micr oproce ssor a nd sof tware polling will determine that the flag line has gone low and peripheral data is ready to be transferred. The CDP1802 then
issues an input instruction that places an N
the MRD
line also high, the CD P1852 is selected and its out-
line high. With
X
put drivers place the DATA from the peripheral device on the
DATA BUS. When the CDP1802 selected the CDP1852, it
also selected and addressed the memory via one of the 16
internal address registers selected by an internal “X” register. The data from the CDP1852 is therefore entered into the
memory [Bus → M(R(X))]. The data is also transferred to the
D register (accumulator) in the microprocessor (Bus → D).
When the CDP1802’s execute cycle is completed, the
CDP1852 is deselected by the N
data output pins are three-stated. The SR
high.
.
line returning low and its
X
output returns
5
Page 6
CDP1852, CDP1852C
CS1 - CS2
(NOTE 1)
CLOCK
DATA IN
DATA BUS
SR
t
RSR
CLEAR
t
CLR
NOTE 1. CS1 • CS2 is the overlap of CS1 = 1 and CS2 = 1.
t
WW
t
DS
MODE 0 TRUTH TABLE
CLOCK† CS1-CS2CLEAR
DATA OUT EQUALS
X0XHigh Impedance
0100
011Data Latch
11XData In
† CS1
• CS2: CS1 = 1, CS2 = 1
FIGURE 4. MODE 0 INPUT PORT TIMING WAVEFORMS AND TRUTH TABLES
t
DH
HIGH
IMPEDANCE
t
CSR
t
SW
t
t
DOH
SSR
t
SDO
SERVICE REQUEST TRUTH TABLE
CLOCK CS1 or CS2
or CLEAR
SR/SR 0SR/SR 1
STROBE
PERIPHERAL
DATA
SR/SR
N
MRD
VALIDTHREE - STATEDATA BUS
CDP1852
CS2
CS1
SR
MODE
CLOCK
D1
D0
STROBE
DATA FROM
PERIPHERAL
PERIPHERAL DEVICE
PLACES DATA IN CDP1852
AND CDP1852 SIGNALS
CDP1802 THAT DATA IS READY
CDP1802 SELECTS
CDP1852 AND DATA
IS TRANSFERRED
TO MEMORY AND
THE MICROPROCESSOR
MEMORY
ADDRESS
LINES
X
CDP1802
DATA BUS
N
MRD
EF
X
X
V
SS
FIGURE 5. INPUT PORT MODE 0 FUNCTIONAL DIAGRAM AND WAVEFORMS - TYPICAL OPERATION
Connecting the mode control to VDD configures the
CDP1852 as an output port. The output drivers are always
on in this mode, so any data in the 8-bit register will be
present at the data-out lines when the CDP1852 is selected.
The N line and MRD
and CDP1802 remain the same as in the input mode
configuration, but now the cl oc k inp ut of the C DP 185 2 is tie d
to the TPB output of the CDP1802 and the SR output of the
CDP1852 will be used to signal the peripheral device that
valid data is present on its input lines. The microprocessor
issues an out put instruction, and da ta from the memory is
strobed into the CDP1852 with the TPB pulse. When the
CDP1852 is deselected, the SR output goes high to signal
the peripheral device.
connections between the CDP1852
Detailed Operation (See Figure 7)
The CDP1802 issues an output ins tructio n. The N
high and the MRD
line goes low. The memory is accessed
line goes
X
M(R(X)) → BUS and places data on the DATA BUS. This
data are strobed into the 8-bit register of the CDP1852 when
TPB goes high and latched on the TPB’s trailing edge. The
valid data thus appears on the CDP1852 output lines. When
the CDP1802 output instruction cycle is complete, the N
line goes low and the SR output goes high. SR will remain
high until the trailing edge of the next TPB pulse, when it will
return low.
7
X
Page 8
CS1 ⋅ CS2
t
(NOTE 2)
(NOTE 1)
CLOCK
DATA IN
t
DATA OUT
SR
CLEAR
NOTES
1. CS1 • CS2 is the overlap of CS1 = 0 and CS2 = 1.
2. Write is the overlap of CS1 • CS2 and CLOCK.
RDO
t
RSR
t
CLR
MODE 1 TRUTH TABLE
CLOCK† CS1
-CS2CLEARDATA OUT EQUALS
0X00
0X1Data Latch
X01Data Latch
11XData In
† CS1
• CS2 : CS1 = 0, CS2 = 1
FIGURE 6. MODE 1 OUTPUT PORT TIMING WAVEFORMS AND TRUTH TABLES
CDP1852, CDP1852C
WW
t
SH
t
DH
t
DS
t
DDO
t
WDO
t
SSR
CS1
or
CS2
t
CLK
SERVICE REQUEST TRUTH TABLE
CLOCK
or
CLEAR
SR/SR 1SR/SR 0
t
CSR
N
TPB
MRD
DATA BUS
DATA TO
PERIPHERAL
DEVICE
/SR
SR
MEMORY
ADDRESS
LINES
X
CDP1802
DATA BUS
VALID
N
MRD
TPB
DATA
CDP1852
X
CS2
CS1
CLOCK
V
MODE
DD
DATA
OUT
DATA IN
SR
DATA OUT TO
PERIPHERAL DEVICE
SIGNAL THAT INDICATES
DATA IS READY
CDP1852 IS SELECTED
AND DATA IS
STROBED INTO IT’S
REGISTER WITH TPB
DATA IS OUTPUTTED
FROM THE CDP1852
AND THE PERIPHERAL
DEVICE IS SIGNALED
FIGURE 7. OUTPUT PORT MODE 1 FUNCTIONAL DIAGRAM AND WAVEFORMS - TYPICAL OPERATION
8
Page 9
Application Information
CDP1852, CDP1852C
In a CDP1800 series microprocessor-based system where
MRD
is used to distinguish between INP and OUT
instructions, an lNP instruction is assumed to occur at the
beginning of every I/O cycle because MRD
starts high.
Therefore, at the start of an OUT instruction, which uses the
same 3-bit N code as that used for selection of an input port,
This condition forces SR low and sets the internal SR latch
(see Figure 3). In a small system with unique N codes for
inputs and outputs, this situation does not arise. Using the
CDP1853 N-bit decoder or equivalent logic to decode the N
lines after TPA prevents dual selection in larger systems
(see Figure 9 and Figure 10).
the input device is selected for a short time (see Figure 8).
MRD
N0
N1
N2
SELECT
SR
FIGURE 8. EXECUTION OF A “65” OUTPUT INSTRUCTION SHOWING MOMENTARY SELECTION OF INPUT PORT “D”
6D65
4
OUT 0
5
OUT 1
6
OUT 2
7
OUT 3
12
OUT 4
11
OUT 5
10
OUT 6
9
OUT 7
TPA
TPB
CE
EN
(NOTE 1)
OUTPUT
FIGURE 9. CDP1853 TIMING W AVE FORM S
2
N0
1 OF 8
DECODER
EN
Qn
CE
CLOCK A
(TPA)
CLOCK B
(TPB)
N1
N2
3
14
13
1
15
FIGURE10. CDP1853 FUNCTIONAL DIAGRAM
NOTE:
1. Output enabled when EN = HIGH. Internal signal shown for reference only (See Figure 1).
All Intersil U.S. products are manufa ct ured , asse mbled and tested utilizing ISO9000 quality systems.
Intersil Corporation’s quality certifications can be viewed at www.intersil.com/design/quality
Intersil products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design, software and/or specifications at any time without
notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and
reliable. However, no responsibility is assumed by Intersil or its subsidiari es for it s use; nor for any inf ringemen t s of paten ts or other rights of third parties which may res ul t
from its use. No license is granted by imp lication or otherwise under any patent or patent rights of Intersil or its subsidiaries.
For information regarding Intersil Corporation and its products, see www.intersil.com
9
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.