CDP1871 Intersil Corporation, CDP1871 Datasheet - Page 7

no-image

CDP1871

Manufacturer Part Number
CDP1871
Description
CMOS Keyboard Encoder
Manufacturer
Intersil Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CDP1871
Quantity:
5 510
Part Number:
CDP1871
Manufacturer:
HIT
Quantity:
5 510
Part Number:
CDP1871ACE
Manufacturer:
INTERSIL
Quantity:
5 510
Part Number:
CDP1871ACE
Manufacturer:
INTERS
Quantity:
55
Part Number:
CDP1871ACE
Manufacturer:
HARRIS
Quantity:
20 000
Part Number:
CDP1871ACQ
Quantity:
5 510
Part Number:
CDP1871ACQ
Manufacturer:
MURATA
Quantity:
5 510
Operation
The CDP1871A is made up of two major sections: the
counter/scan-selection logic and the control logic (Figure 2).
The counter and scan-selection logic scans the keyboard
array using the drive lines (D1-D11) and the sense lines (S1-
S8). The outputs of the internal 5-stage scancounter are
conditionally encoded by the ALPHA, SHIFT, and CONTROL
inputs (Table 1, Table 3) and are used to drive the D1-D11
output lines high one at a time. Each D1-D11 output may
drive up to eight keys, which are sampled by the sense line
inputs (S1-S8). The S1-S8 inputs are enabled by the internal
3-stage scancounter.
The control logic interfaces with the CDP1800-series I/O and
timing signals to establish timing and status conditions for
the CDP1871A.
The TPB input clocks the scancounters and is also used to
reset the Data Available output (DA). When a valid keydown
condition is detected on a sense line, the control logic inhib-
its the clock to the scancounters on the next low-to-high tran-
sition of TPB and the DA output is set low. The scancounter
LSD
b4
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
b3
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
BITS
b2
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
TABLE 4. HEXIDECIMAL VALUES OF ASCII CHARACTERS
b1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
b7
b6
b5
A
B
C
D
E
F
CDP1871A, CDP1871AC
0
1
2
3
4
5
6
7
8
9
HEX
0
SOH
EOT
ENQ
ACK
NUL
STX
ETX
BEL
BS
HT
CR
SO
LF
VT
FF
SI
0
0
0
4-72
0
NAK
SYN
CAN
SUB
ESC
DLE
DC1
DC2
DC3
DC4
ETB
EM
GS
outputs (C1 - C8) represent the ASCII and HEX key codes
and are used to drive the BUS 0 - BUS 7 outputs, which
interface directly to the CDP1800-Series data bus. The BUS
0 - BUS 7 outputs, which are normally three-stated, are
enabled by decoding the CS inputs during a CPU input
instruction (Table 2). The low-to-high transition of TPB during
the input instruction resets the DA output high. Once the DA
output has been reset, it cannot go low again until the
present key is released and a new keydown condition is
detected. (This prevents unwanted repeated keycode out-
puts which may be caused by fast software routines).
After the depressed key is released and the debounce delay
(determined by RX, CX) has occurred, the scan clock inhibit
is removed, allowing the scancounters to advance on the fol-
lowing high-to-low transitions of TPB. This provides an N-key
lockout feature, which prevents the entry of erroneous codes
when two or more keys are pressed simultaneously. The first
key pressed in the scanning order is recognized, while all
other keys pressed are ignored until the first key is released
FS
RS
US
0
1
1
0
SP
%
&
1
2
#
$
+
*
!
/
(
)
,
-
.
/
0
0
1
3
0
1
2
3
4
5
6
7
8
9
<
=
>
?
:
;
MSD
1
1
@
C
D
G
H
M
N
O
A
B
E
F
K
0
4
J
L
I
0
1
W
Q
R
U
0
5
P
S
T
V
X
Y
Z
[
\
]
-
1
1
m
1
6
a
b
c
d
e
g
h
k
n
o
\
f
i
j
l
0
1
DEL
w
1
7
p
q
s
u
v
x
y
z
~
r
{
}
t
|
|
1

Related parts for CDP1871