HT6221/HT6222
Multi-Purpose Encoders
Features
·
·
·
·
·
·
·
Operating voltage: 1.8V~3.5V
DOUT with 38kHz carrier for IR medium
Low standby current
Minimum transmission word: one word
455kHz ceramic resonator or crystal
16-bit address codes
8-bit data codes
·
·
·
·
PPM code method
Three double-active keys
Maximum active keys
-
HT6221: 32 keys
-
HT6222: 64 keys
Low power and high noise immunity
CMOS technology
Applications
·
·
·
·
Television and video cassette recorder con-
trollers
Burglar alarm systems
Smoke and fire alarm systems
Garage door controllers
·
·
·
·
Car door controllers
Car alarm systems
Security systems
Other remote control systems
General Description
The HT6221/HT6222 are CMOS LSI encoders
designed for use in remote control systems. They
are capable of encoding 16-bit address codes and
8-bit data codes. Each address/data input can be
set to one of the two logic states, 0 and 1.
The HT 6 2 2 1/H T622 2 c on tai n 32 k ey s
(K1~K32) and 64 keys (K1~K64), respectively.
When one of the keys is triggered, the pro-
grammed address/data is transmitted together
with the header bits via an IR (38kHz carrier)
transmission medium.
Block Diagram
X 2
X 1
D a ta S e le c t
& B u ffe r
S y n c .
C ir c u it
O s c illa to r
D iv id e r
D O U T
L E D
R 1
R 8
K e y b o a rd
M a tr ix &
G a te
C ir c u it
D a ta R O M
& R e g is te r s
¸
2 4 C o u n te r &
1 o f 2 4 D e c o d e r
B in a r y D e te c to r
C 1
C 8
A IN
D 7
V D D
V S S
1
March 2, 2000
HT6221/HT6222
Pin Assignment
R 3
R 4
R 1
1
2
3
4
5
6
7
8
9
1 0
R 2
R 3
R 4
D O U T
V D D
D 7
X 2
X 1
V S S
2 0
1 9
1 8
1 7
1 6
1 5
1 4
1 3
1 2
1 1
A IN
C 1
C 2
C 3
C 4
C 5
C 6
C 7
C 8
L E D
R 5
R 6
R 7
R 8
D O U T
V D D
D 7
X 2
X 1
V S S
9
1 0
1 1
1 2
8
7
6
5
4
3
2
1
2 4
2 3
2 2
2 1
2 0
1 9
1 8
1 7
1 6
1 5
1 4
1 3
R 2
R 1
A IN
C 1
C 2
C 3
C 4
C 5
C 6
C 7
C 8
L E D
H T 6 2 2 1
2 0 D IP /S O P
H T 6 2 2 2
2 4 D IP /S O P
Pad Assignment
C C S
K I3
2 4
K I2
2 3
K I1
2 2
K I0
2 1
2 0
1 9
K IO 0
K I4
1
K I5
2
3
1 8
1 7
4
5
(0 ,0 )
1 6
1 5
K IO 1
K IO 2
K I6
K I7
R E M
K IO 3
K IO 4
V D D
S E L
7
8
6
1 4
K IO 5
O S C O
9
1 0
1 1
1 2
1 3
K IO 6
Chip size: 94
´
104 (mil)
2
* The IC substrate should be connected to VDD in the PCB layout artwork.
O S C I
V S S
L M B
K IO 7
2
March 2, 2000
HT6221/HT6222
Pad Coordinates
Pad No.
1
2
3
4
5
6
7
8
9
10
11
12
X
-41.99
-41.99
-41.99
-41.99
-41.99
-41.99
-41.99
-41.99
-20.95
-14.32
-4.25
24.31
Y
34.43
22.02
15.39
2.98
-5.61
-28.31
-37.83
-46.88
-46.88
-46.88
-46.88
-46.88
Pad No.
13
14
15
16
17
18
19
20
21
22
23
24
X
34.17
41.95
41.95
41.95
41.95
41.95
39.99
28.26
-11.18
-23.16
-29.79
-39.27
Unit: mil
Y
-46.88
-30.26
-13.98
-4.12
12.16
22.02
46.84
46.84
46.84
46.84
46.84
46.84
Pin Description
HT6222
Pin No.
1~6
7
8
9
10
11
12
13
14~21
22
23~24
Pin Name
R3~R8
DOUT
VDD
D7
X2
X1
VSS
LED
C8~C1
AIN
R1~R2
I/O
I
O
¾
I
O
I
¾
O
I/O
I
I
Internal
Connection
CMOS IN
Pull-low
CMOS OUT
¾
CMOS IN
OSCILLATOR
OSCILLATOR
¾
CMOS OUT
CMOS IN/OUT
Pull-low
CMOS IN
Pull-high
Pull-low
CMOS IN
Pull-low
Description
Row control for keyboard matrix, active high
Serial data output pin, with a 38kHz carrier
Positive power supply, 1.8V~3.5V for normal
operation
Most significant data bit (D7) code setting
455kHz resonator oscillator output
455kHz resonator oscillator input
Negative power supply
Transmission enable indicator output
Column control for keyboard matrix
Low byte address codes (8 bits) scan input
Row control for keyboard matrix, active high
3
March 2, 2000
HT6221/HT6222
Approximate internal connection circuits
C M O S IN /O U T
V
D D
C M O S IN /O U T
P u ll- lo w
C M O S IN
P u ll- lo w
C M O S IN
C M O S O U T
V
D D
O S C IL L A T O R
X 1
1 0 M
W
E N
X 2
Absolute Maximum Ratings
Supply Voltage.................................-0.3V to 6V
Input Voltage .................V
SS
-0.3V
to V
DD
+0.3V
Storage Temperature.................-50°C to 125°C
Operating Temperature ..............-20°C to 75°C
Note: These are stress ratings only. Stresses exceeding the range specified under "Absolute Maxi-
mum Ratings" may cause substantial damage to the device. Functional operation of this device
at other conditions beyond those listed in the specification is not implied and prolonged expo-
sure to extreme conditions may affect device reliability.
Electrical Characteristic
Symbol
V
DD
I
STB
I
DD
I
OH1
I
OL1
I
OH2
I
OL2
I
OH3
Parameter
Operating Voltage
Standby Current
Operating Current
Output Source Current for DOUT
Output Sink Current for DOUT
Output Source Current for LED
Output Sink Current for LED
Output Source Current for C1~C8
Test Conditions
V
DD
¾
3V
3V
3V
3V
3V
3V
3V
Conditions
¾
Oscillator stops
f
OSC
=455kHz
No load
V
O
=2.7V
V
O
=0.3V
V
O
=2.7V
V
O
=0.3V
V
O
=2.7V
Ta=25°C
Min. Typ. Max. Unit
1.8
¾
¾
-2.0
50
-10
1.2
-0.6
3
0.1
200
-4.0
100
-60
2.0
-2.0
3.5
1.0
400
¾
¾
¾
¾
¾
V
mA
mA
mA
mA
mA
mA
mA
4
March 2, 2000
HT6221/HT6222
Symbol
I
OL3
V
IH1
V
IL1
V
IH2
V
IL2
V
IH3
V
IL3
R
PH1
R
PL1
R
PL2
R
PL3
f
OSC
Parameter
Output Sink Current for C1~C8
Input High Voltage for R1~R8
Input Low Voltage for R1~R8
Input High Voltage for C1~C8
Input Low Voltage for C1~C8
Input High Voltage for AIN
Input Low Voltage for AIN
Input Pull-high Resistance for AIN
Input Pull-low Resistance for AIN
Input Pull-low Resistance for R1~R8
Input Pull-low Resistance for C1~C8
System Frequency
Test Conditions
V
DD
3V
3V
3V
3V
3V
3V
3V
3V
3V
3V
3V
¾
Conditions
V
O
=0.3V
¾
¾
¾
¾
¾
¾
V
IN
=0V
V
IN
=3V
V
IN
=3V
V
IN
=3V
455kHz ceramic
resonator
Min. Typ. Max. Unit
10
1.9
0
1.1
0
1.25
0
100
70
120
300
¾
30
¾
¾
¾
¾
¾
¾
200
150
200
500
455
¾
3.0
0.8
3.0
0.6
3.0
0.6
400
250
320
1500
¾
mA
V
V
V
V
V
V
kW
kW
kW
kW
kHz
Functional Description
Keyboard scan
The HT6221/HT6222 remain in the halt mode
during the standby state (at this time, the oscil-
lator stops, and the standby current<1mA). The
HT6221 consists of 32 active keys, and the
HT6222 has 64 active keys. The keyboard
forms of the HT6221/ HT6222 are shown below.
·
The HT6221 keyboard form
C 1
R 1
R 2
R 3
R 4
K 1
K 2
K 3
K 4
C 2
K 5
K 6
K 7
K 8
C 3
K 9
K 1 0
K 1 1
K 1 2
C 4
K 1 3
K 1 4
K 1 5
K 1 6
C 5
K 1 7
K 1 8
K 1 9
K 2 0
C 6
K 2 1
K 2 2
K 2 3
K 2 4
C 7
K 2 5
K 2 6
K 2 7
K 2 8
C 8
K 2 9
K 3 0
K 3 1
K 3 2
·
The HT6222 keyboard form
C 1
R 1
R 2
R 3
R 4
R 5
R 6
R 7
R 8
K 1
K 2
K 3
K 4
K 3 3
K 3 4
K 3 5
K 3 6
C 2
K 5
K 6
K 7
K 8
K 3 7
K 3 8
K 3 9
K 4 0
C 3
K 9
K 1 0
K 1 1
K 1 2
K 4 1
K 4 2
K 4 3
K 4 4
C 4
K 1 3
K 1 4
K 1 5
K 1 6
K 4 5
K 4 6
K 4 7
K 4 8
C 5
K 1 7
K 1 8
K 1 9
K 2 0
K 4 9
K 5 0
K 5 1
K 5 2
C 6
K 2 1
K 2 2
K 2 3
K 2 4
K 5 3
K 5 4
K 5 5
K 5 6
C 7
K 2 5
K 2 6
K 2 7
K 2 8
K 5 7
K 5 8
K 5 9
K 6 0
C 8
K 2 9
K 3 0
K 3 1
K 3 2
K 6 1
K 6 2
K 6 3
K 6 4
5
March 2, 2000