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

no-image

SM5221

Manufacturer Part Number
SM5221
Description
32 KEYS ENCODER
Manufacturer
SAMHOP [SamHop Microelectronics Corp.]
Datasheet
(3) Custom Code
(4) Custom Code Mask ROM Specification
Ver. II
Ver. I
* Standard product SM5221-001/002 uses the Ver. I
specification
* Standard product SM5221-002 uses the Ver. II specification.
The DOUT output custom code can be set in any of 65536 ways by means of the diodes
attached to the CODE (Custom Code Select) pin and the KI/O pins and the pull-up resistors
attached to the KI/O pins. When a code other than code 00000000 (no diode connection)
is used.
The custom code can also be set by mask ROM. When the mask ROM specification is used
the custom code can be set without the connection of external diodes and resistors, and by
combining external diodes and resistors with mask ROM it is possible to output a code with
different contents from those set by the mask ROM. When mask ROM specification is used,
(Ver. I) or (Ver. II) can be selected.
Internal ROM is set as follows:
三合微科股份有限公司
S
Determined by logical OR of internal
ROM1 and external diode positions.
C0, C1, C2:
Determined by wiring one of pins
KI/O0 thru KI/O7 to CCS pin.
C3 thru C7:
Determined by internal ROM3 and
absence/presence of KI/O6 & KI/O7
external pull-up resistors.
AM
C0 C1 C2 C3 C4 C5 C6 C7
0
Custom code high-order 8 bits
H
Custom Code High-Order
0
OP
0
Microelectronics Corp.
ROM 1
0
8 Bits
0
0
0
0
Page 7
Determined by logical OR of interanl ROM2
and external pull-up resistor positions
Determined by logical OR of internal ROM2
and external pull-up resistor (KI/O0 thru
KI/O5) positions.
C0 C1 C2 C3 C4 C5 C6 C7
0
Custom code' low-order 8 bits
0
Custom Code' Low-Order
0
ROM 2
0
0
SM5221-001/002
8 Bits
0
32 KEYS ENCODER
0
V.2.0 Mar 8,2002
0

Related parts for SM5221