SM5221 SAMHOP [SamHop Microelectronics Corp.], SM5221 Datasheet - Page 9

no-image

SM5221

Manufacturer Part Number
SM5221
Description
32 KEYS ENCODER
Manufacturer
SAMHOP [SamHop Microelectronics Corp.]
Datasheet
(Ver. I)
Internal custom code ROM1 and ROM2 (total
(ROM1) corresponding to the external diodes, and 8 bits the part (ROM2) corresponding to the
external pull-up resistors.
(Ver. II)
With Ver. II, the CODE pin does not have the function of reading the external diodes.
Internal custom code ROM2 and ROM3 (total 28 bits) are effective, with 20 bits being the part
(ROM3) for setting the 4 channels of custom code C7, C6, C5, C4 and C3 as 5 bits each, and 8
bits being the part (ROM2) corresponding to the external pull-up resistors (excluding KI/O6 and
KI/O7).
With Ver. II 0/1 allocation to C2, C1 and C0 of the custom code high-order bits is set as shown in
the following table according to the pin connection status of KI/O0 through KI/O7.
KI/O0
KI/O1
KI/O2
KI/O3
KI/O4
KI/O5
KI/O6
KI/O7
CCS-
三合微科股份有限公司
S
AM
H
When CODE pin is open
(C2 C1 C0) = ( 0, 0, 0)
OP
Microelectronics Corp.
C2
0
0
0
0
1
1
1
1
C1
0
0
1
1
0
0
1
1
Page 9
C0
0
1
0
1
0
1
0
1
SM5221-001/002
32 KEYS ENCODER
V.2.0 Mar 8,2002

Related parts for SM5221