Professional Documents
Culture Documents
Applications
· Televisions and video cassette recorder · Car door controllers
controllers · Security systems
· Garage door controllers · Other remote control systems
General Description
The HT6230 is designed as infrared remote en- keys and to each key is assigned one program-
coder, usually applied to TV systems. A total of mable code. The code is programmable by mask
2048 different commands can be generated and option. Legal and illegal key operation can be
arranged into 32 systems where each system distinguished.
contains 64 different commands. There are 96
Block Diagram
P a r a lle l
R C 1 3
O S C O S C 3 ´ 2 1 2 D iv id e r T o S e r ia l
C o n v e rte r
T T 1 R e s e t
T e s t
A c tio n O u tp u t
M o d e G e n e ra to r S ta g e C O D E
T T 2
M o d e
M S M o d u la tio n
S e le c tio n C o n tro l
O u tp u t M C O D E
U n it S ta g e
Z IN 3
Z -k e y Z -k e y
E n c o d e r P A L
Z IN 0
D R S 7
Z -D R S K e y S c a n
X IN 7 C o m m a n d D r iv e r
P A L
X -k e y A n d D e c o d e r
X -k e y
E n c o d e r S y s te m X -D R S D R S 0
P A L C o d e L a tc h
X IN 0 P A L
V S S V D D
X IN 7
X IN 6
X IN 5
V D D
X IN 4
Z IN 0
X IN 3
Z IN 1
M S
X IN 7 1 2 8 V D D
M S 2 2 7 X IN 6
1 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1
Z IN 0 3 2 6 X IN 5
Z IN 1 4 2 5 X IN 4
Z IN 2 5 2 4 X IN 3 2 0 X IN 2
Z IN 3 6 2 3 X IN 2 Z IN 2 2 1 9 X IN 1
M C O D E 7 2 2 X IN 1
Z IN 3 3
C O D E 8 2 1 X IN 0 X IN 0
1 8
D R S 7 9 2 0 T T 1 M C O D E 4
(0 ,0 ) 1 7 T T 1
D R S 6 1 0 1 9 T T 2
D R S 5 1 1 1 8 O S C 1 6 T T 2
D R S 4 1 2 1 7 D R S 0 C O D E 5
D R S 3 1 3 1 6 D R S 1
V S S 1 4 1 5 D R S 2 D R S 7 6
H T 6 2 3 0 D R S 6 7
2 8 S O P
D R S 5 8 9 1 0 1 1 1 2 1 3 1 4 1 5
D R S 4
D R S 3
V S S
D R S 2
D R S 1
D R S 0
O S C
2
Chip size: 1605 ´ 1910 (mm)
* The IC substrate should be connected to VDD in the
layout artwork.
Pad Description
Internal
Pad No. Pad Name I/O Description
Connection
1~3 ZIN1~ZIN3 CMOS with
I Detect inputs from Z-key matrix
28 ZIN0 PMOS Pull-high
Tri-state Generate modulation output data code with
4 MCODE O
CMOS 1/12 system frequency and 1/4 duty cycle
Tri-state
5 CODE O Generates output data code
CMOS
Open Drain
6~10 DRS7~DRS3 O Drive for key scanning
NMOS
11 VSS ¾ ¾ Negative power supply, ground
Open Drain
12~14 DRS2~DRS0 O Drive for key scanning
NMOS
15 OSC I CMOS Oscillator input
Switch to four operating modes:
0 0 normal mode
16~17 TT2~TT1 I CMOS 0 1 test mode 1
1 0 test mode 2
1 1 Reset
CMOS with
18~24 XIN0~XIN6 I Detect inputs from X-key matrix
PMOS Pull-high
25 VDD ¾ ¾ Positive power supply
CMOS with
26 XIN7 I Detect input from X-key matrix
PMOS Pull-high
Select system mode (Two modes provided:
27 MS I CMOS One-key system mode and Two-key system
mode)
P in : X IN 0 ~ X IN 7 , Z IN 0 ~ Z IN 3
P in : M S , T T 1 , T T 2 , O S C
( w ith p u ll- h ig h r e s is to r )
V D D V D D
V D D
· Output terminal
P in : D R S 0 ~ D R S 7 P in : C O D E , M C O D E
V D D
E N B
D A T A IN
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 de-
vice at other conditions beyond those listed in the specification is not implied and prolonged
exposure to extreme conditions may affect device reliability.
Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Supply Voltage ¾ ¾ 2.4 ¾ 5.2 V
Functional Description
cent state both CODE and MCODE are high
Key operation
impedance.
When MS is low, the legal key operation is that
only one ZIN or XIN can be connected to one Key scan drivers
DRS driver and if more than one XIN, ZIN or
The key scan drivers DRS0 to DRS7 are open
both are pressed at the same time then the key
drain NMOS and the outputs of these are all
operation is recognized as illegal; hence, the os-
low in quiescent state. When a legal key opera-
cillator will not start. When MS is high, the le-
tion is detected, the debounce cycle starts and
gal key operation is that exactly one ZIN and
at the end of the debounce cycle, the DRS out-
one XIN are connected to two DRS drivers and
puts are high impedance. Furthermore, the
other cases of key operation are all considered
scanning cycle starts and DRS outputs take
as illegal.
turns to switch to low state.
However, when one XIN or ZIN is connected to
more than one DRS, the last key scan driver is Programmable output data code
to generate output data code.
The output data code corresponding to each key
is programmable by hardware mask option.
Format of transmission code
The PAL circuit is necessary for this purpose.
The output pin CODE transmits the data code
as a code format, as shown at the bottom figure. Operation mode
The method of transmitting one code bit is called · One-key system mode
biphase transmission and is represented by the
The device enters this mode by switching the
following fig:
MS input pin to low state. The pull-high resis-
tors are connected to all XIN and ZIN inputs
so that all sense inputs are at high state, until
pulled to low state by key operation. In this
mode the legal key operation is that only one
lo g ic 0 lo g ic 1 ZIN or XIN can be connected to one DRS.
When a sense input detects a low level, an en-
8 able signal is generated to latch the system or
Where one code bit time is 3´2 ´TOSC. The out-
put signal of the MCODE pin is the signal of the command latches. If the sense input belongs
generated output code modulated by 1/12 of the to ZIN, the corresponding system code is gen-
system frequency with 1/4 duty cycle. In quies- erated and the command code is defined as all
o n e c o d e
1 1 M S B L S B M S B L S B
D e b o u n c e c y c le S c a n S ta rt
( 1 6 b it- tim e ) c y c le b its 5 s y s te m b its 6 c o m m a n d b its
s ta rt C o n tro l
b it
C o d e 1 C o d e 2
logic 1. If the sense input comes from XIN, the · During Tsep and debounce time, the device
corresponding command code together with will reset immediately if a key is released.
the system code stored in the system latches · During Scan cycle in Tcode, a reset will occur
are generated.
if a key is released in three cases described be-
· Two-key system mode low:
The device goes into this mode by switching ¨ When one of the key scan drivers is in the
the MS input pin to high state. The pull-high low state
resistors are only connected to XIN inputs ex- ¨ Before that key has been detected
cept the first scan cycle. In the first scan cycle, ¨ When MS is high and there is no wired con-
there only exists pull-high resistors in ZIN in- nection in Z-key matrix
puts. In this mode, the legal key operation is
that exactly one XIN and one ZIN are con- Test pins (TT1 and TT2)
nected to two DRS drivers. In the first scan
duration, it detects which key in Z-key matrix There are four modes by the combination of TT1
is pressed and generates an enable signal to and TT2.
latch the system latches. While in the second TT1 TT2 Mode
scan duration, it detects which key in the
X-key matrix is pressed and generates an en- 0 0 Normal mode
abled signal to latch the command latches. Af- 1 1 Reset
ter being latched, the system and command
codes are transmitted. 1 0 Test mode 1
0 1 Test mode 2
Control bit
A control bit is added after two start bits and
will be complemented if one key is released. The
decoder can decide whether the next code is a
new command or not.
Oscillator
The embedded part of the oscillator is an
RC-oscillation circuit. The OSC pin is the input
terminal of the RC-oscillation circuit and is con-
nected to an external ceramic resonator (429kHz).
A resistor of 6.8kW must be in series with the
resonator. The resonator and resistor are
grounded at one side.
D e b o u n c e
C o d e 1 tim e C o d e 2
T c o d e T s e p T c o d e
R e p e titio n tim e
Application Circuits
V D D
1 2 8
X IN 7 V D D
2 2 7
M S X IN 6
3 2 6
V D D Z IN 0 X IN 5
4 2 5
Z IN 1 X IN 4
In fra -R e d
5 2 4
Z IN 2 X IN 3
6 2 3
4 7 9 Z IN 3 X IN 2
7 2 2
1 k 9 M C O D E X IN 1
8 2 1
C O D E X IN 0
9 2 0
D R S 7 T T 1
1 0 1 9
D R S 6 T T 2
1 1 1 8
D R S 5 O S C
1 2 1 7
D R S 4 D R S 0
1 3 1 6
D R S 3 D R S 1
1 4 1 5
V S S D R S 2
R e s o n a to r (4 2 9 k H z )
H T 6 2 3 0
2 8 S O P 6 .8 k 9
w h e re p u s h - b u tto n s w itc h