HOLTEK HT6P20

2
24
HT6P20
OTP Encoder
Features
·
·
·
·
·
·
Operating voltage: 2V~12V
Low power consumption
Built-in oscillator needs only 5% resistor
0/2/4/8 data selectable
224 maximum address and data codes
Easy interface with an RF or IR medium
·
·
·
·
One time programmable process
Data active: D0~D7
Minimal external components
HT6P20/A/B: 8-pin DIP/NSOP package
HT6P20/D: 16-pin DIP/NSOP package
·
·
·
Security system
Cordless telephones
Other remote control systems
Applications
·
·
·
·
Burglar alarm system
Smoke and fire alarm system
Garage door controllers
Car door controllers
General Description
The HT6P20 is a CMOS LSI encoder designed
for remote control system applications. It encodes 24 bits of information and then serially
transmits it via the DOUT pin upon receipt of
transmission enable (DATA pins: D0~D7) signals. The combination of address and data bits
of the HT6P20 is designed using one time pro-
grammable process. In addition, the chip offers
various packaging for flexible combination of
programmable address/data so as to meet various applications. Its programmable address/data is transmitted together with the
anti-code bits via RF or infrared transmission
medium upon receipt of a trigger signal.
Block Diagram
O S C 1
O S C 2
V P P
S IO
O s c illa to r
A d d re s s
C o u n te r
P r o g r a m m in g
C ir c u it
M ix e r &
D r iv e r
C o n tr o l U n it
D a ta L a tc h
P G M
D 0
D O U T
D 7
Note: Address/Data numbers are available in various combinations, refer to the functional descrip
tion.
1
May 2, 2000
HT6P20
Pin Assignment
2 4 -A d d re s s
0 -D a ta
2 2 -A d d re s s
2 -D a ta
2 0 -A d d re s s
4 -D a ta
D 1
1
1 6
D 0
D 2
2
1 5
P G M
D 3
3
1 4
S IO
V S S
4
1 3
V P P
P G M
1
8
S IO
D 0
1
8
N C
N C
5
1 2
V D D
V S S
2
7
V P P
D 1
2
7
V D D
N C
6
1 1
D O U T
O S C 2
3
6
V D D
V S S
3
6
D O U T
N C
7
1 0
O S C 1
4
5
D O U T
O S C 2
4
5
O S C 1
N C
8
H T 6 P 2 0 A
8 D IP /N S O P
O S C 2
H T 6 P 2 0 D
1 6 D IP /N S O P
H T 6 P 2 0 B
8 D IP /N S O P
B la n k d e v ic e
O S C 1
9
B la n k d e v ic e
D 1
1
1 6
D 0
D 2 /N C
2
1 5
P G M
D 3 /N C
3
1 4
S IO
V S S
4
1 3
V P P
P G M
1
8
S IO
D 4 /N C
5
1 2
V D D
V S S
2
7
V P P
D 5 /N C
6
1 1
D O U T
O S C 2
3
6
V D D
D 6 /N C
7
1 0
O S C 1
O S C 1
4
5
D O U T
D 7 /N C
8
9
O S C 2
H T 6 P 2 0
8 D IP /N S O P
H T 6 P 2 0
1 6 D IP /N S O P
Note: The customer code and control code have been programmed into HT6P20A/B/D by Holtek¢s
factory process.
The blank device HT6P20 is not programmed, it can be programmed by Holtek¢s programming
kit.
Warning: The 8-pin blank device only allows programming as HT6P20A type.
The 16-pin blank device allows programming as one of HT6P20/D type. After programming the HT6P20 pin name are the same as one of HT6P20D, which is determined by the
kit programming procedure.
Pin name ²NC² stands for no connection (floating).
2
May 2, 2000
HT6P20
Pad Assignment
3
D 0
4
N C
5
D 1
6
D O U T
P G M
V D D
2
V P P
S IO
Pad Coordinates
1
2 0
1 9
(0 ,0 )
1 1
1 2
1 3
1 4
1 5
N C
D 4
D 5
D 6
N C
N C
D 3
1 0
V S S
8
D 2
9
7
1 8
O S C 1
1 7
O S C 2
1 6
D 7
2
Chip size: 2590 ´ 2010 (mm)
* The IC substrate should be connected to VSS in
the PCB layout artwork.
Pad No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
X
-956.50
-1123.00
-1123.00
-1123.00
-1123.00
-1123.00
-1027.50
-852.50
-530.00
-355.00
-180.00
142.50
317.50
640.00
815.00
1137.50
1118.00
1118.00
489.00
223.50
Unit: mm
Y
762.75
498.75
236.25
-86.25
-261.25
-583.75
-776.75
-776.75
-776.75
-776.75
-776.75
-776.75
-776.75
-776.75
-776.75
-776.75
-466.75
-205.75
772.05
789.75
Pin Description
HT6P20D
Pin No. Pin Name I/O
Internal
Connection
Description
16
1~3
D0~D3
I
CMOS IN
Pull-high
Data input and transmission enable (active low)
They can be externally set to VSS or left open.
4
VSS
¾
¾
Negative power supply, ground
5~8
NC
¾
¾
No connection
9
OSC2
O
OSCILLATOR Oscillator output pin
10
OSC1
I
OSCILLATOR Oscillator input pin
11
DOUT
O
CMOS OUT
12
VDD
¾
¾
Positive power supply
13
VPP
I
¾
Programming power supply, VDD for normal operation
14
SIO
I/O
CMOS
IN/OUT
Programming address/control code input and mode
code output for mode verification
15
PGM
I
CMOS IN
Pull-high
Data serial transmission output
Program mode control pin, active low
3
May 2, 2000
HT6P20
Approximate internal connection circuits
C M O S IN /O U T
C M O S IN
P u ll- h ig h
C M O S O U T
V
O S C IL L A T O R
D D
O S C 2
O S C 1
Absolute Maximum Ratings
Supply Voltage ..............................-0.3V to 12V
Storage Temperature.................-50°C to 125°C
Input Voltage .................VSS-0.3V to VDD+0.3V
Operating Temperature ..............-20°C to 75°C
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum 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
exposure to extreme conditions may affect device reliability.
Electrical Characteristics
Symbol
Ta=25°C
Test Conditions
Parameter
Min.
Typ.
Max.
Unit
¾
2
¾
12
V
VDD
Conditions
¾
VDD
Operating Voltage
ISTB
Standby Current
12V
Oscillator stops
¾
1
2
mA
IDD
Operating Current
12V
No load
fOSC=3kHz
¾
200
400
mA
VIH
²H² Input Voltage
¾
¾
0.8VDD
¾
VDD
V
VIL
²L² Input Voltage
¾
¾
0
¾
0.2VDD
V
RPH
D0~D7 Pull-high Resistance
12V
¾
¾
150
300
kW
Source
IDOUT
Output Current
Sink
fOSC
Oscillator Frequency
5V
0.9VDD
-2
-5
¾
mA
12V
0.9VDD
-6.5
-15
¾
mA
5V
0.1VDD
2
5
¾
mA
12V
0.1VDD
6
15
¾
mA
12V
ROSC=1.4MW
¾
3
¾
kHz
4
May 2, 2000
HT6P20
Functional Description
Programming
Table 1: Control code
The HT6P20 is a one time programmable encoding integrated circuit. The programmable codes
consist of 4-bit control codes and 24-bit address
codes. Before using the device, first program the
internal 4 control bits and 24 address bits. Then,
to program the address and control codes, connect the PGM pin to VSS, allowing the SIO pin to
receive control and address codes from the continuously transmitting programming kit. The
control codes (B0~B3) and address timing are respectively shown on the Table and the Figure for
Programming Timing. In the programming process, the mode bit (B0) has to be programmed
first. The 0/2/4/8 data number is selected by the
address along with the data format bits (B1,B2).
The HT6P20, in addition, provides a polarity bit
(B3) to select the polarity of the output data.
· Mode control (B0)
B0
B 1
B 2
0
Not programmed
1
Programmed
· Address and data format (B1,B2)
B2
B1
Code Format
0
0
A0~A23
0
1
A0~A21 + D1~D0
1
0
A0~A19 + D3~D0
1
1
A0~A15 + D7~D0
· Polarity control (B3)
Various packages of the HT6P20 offer programmable combinations of address/data to meet
various application needs.
B 0
Function
B3
B 3
Data Output Polarity
0
Negative polarity
1
Positive polarity
The HT6P20A/D can be programmed by the
SIO pins. The HT6P20B, on the other hand, is
programmed for 2-data and positive polarity
application.
P o la r ity c o n tr o l
A d d re s s a n d d a ta fo rm a t
M o d e c o n tro l
Programming timing of the HT6P20D (B0~B3=1010)
O S C 2
(3 k H z )
P G M
S IO
P r o g r a m m in g
b it
C
0
1
1
B 0
B 1
P r o g r a m m in g
1
B 2
0
0
B 3
1
A 0
N o te : (
(
(
(
(
1 )
2 )
3 )
4 )
5 )
0
0
A 1
A 2
A 3
B 0 ~
A 0 ~
A 2 0
S IO
0 : "L
B 3 a re c o n tro
A 2 3 a re a d d r
~ A 2 3 s ta n d s
m u s t b e s e t to
o w " ; 1 : " H ig h
1
0
X
X
X
X
A 1 8 A 1 9 A 2 0 A 2 1 A 2 2 A 2 3
l c o d e
e s s c o
fo r d o
" H ig h
"; X :
s
d e
n 't
" d
D o
s
c a re fo r th e H T 6 P 2 0 D
u r in g C a n d B 0 p e r io d s
n 't c a r e
Programming timing for the HT6P20D
5
May 2, 2000
HT6P20
Normal operation
The HT6P20 encodes and transmits address/data to a decoder upon receipt of a trigger signal. The
address codes of the HT6P20A are always transmitted as long as power (VDD) is supplied. The transmission function of the HT6P20B/D is enabled by the D0~D7 pins (active low). The following is the
transmission timing of the HT6P20:
D 0 ~ D 7
< 1 w o rd
> 1 w o rd
E n c o d e r
D O U T
Transmission timing
A complete code word of the HT6P20D consists of 3 periods as shown below.
fo s c
D O U T
1 c lo c k
0
1 /3 b it
p ilo t p e r io d
( 2 3 c lo c k s )
( A 0 ~ A 1 9 , 6 0 c lo c k s )
a d d r e s s c o d e p e r io d
( D 3 ~ D 0 , 1 2 c lo c k s )
d a ta c o d e p e r io d
1
0
1
a n ti- c o d e p e r io d
( 4 b its )
A complete code word for the HT6P20D
The HT6P20A/B/D detects the logic state of the internal programmed address and the external data
pins, and then transmits the detected information during the code period. Each address/data bit can be
set to one of the following two logic states:
fo s c
" O n e "
"Z e ro "
A d d re s s /
D a ta b it
6
May 2, 2000
HT6P20
Flowchart
P o w e r o n
S ta n d b y m o d e
N o
N o
Y e s
T r a n s m is s io n
e n a b le d ?
P r o g r a m m in g
m o d e
Y e s
A d d re s s /d a ta w o rd s
tr a n s m itte d
N o
P G M = 0 ?
N o
P r o g r a m m in g
c o m p le te d ?
Y e s
T r a n s m is s io n
s till e n a b le d
Y e s
N o te : O n e tim e p r o g r a m m a b le
A d d re s s /d a ta w o rd s
tr a n s m itte d
c o n tin u o u s ly
Application Circuits
T r a n s m itte r C ir c u it
T r a n s m itte r C ir c u it
1
2
P G M
3
R o s c
4
S IO
V S S
V P P
O S C 2
V D D
O S C 1
D O U T
D 1
2
D 2
P G M
3
D 3
S IO
1 4
4
V S S
V P P
1 3
5
N C
V D D
1 2
6
N C
D O U T
1 1
N C
O S C 1
1 0
N C
O S C 2
8
1
7
+ 1 2 V
6
T E
5
7
L E D
8
H T 6 P 2 0 A
R o s c @ 1 .4 M W
1 6
D 0
1 5
+ 1 2 V
L E D
R o s c
9
H T 6 P 2 0 D
R o s c @ 1 .4 M W
7
May 2, 2000
HT6P20
T r a n s m itte r C ir c u it
1
D 1
2
D 2
P G M
3
D 3
S IO
1 6
D 0
4
V S S
V P P
5
N C
V D D
6
N C
D O U T
7
N C
O S C 1
8
N C
O S C 2
1 5
1 4
+ 1 2 V
1 3
1 0 0 W
1 2
1 1
1 0
0 .1 m F
R o s c
9
H T 6 P 2 0 D
R o s c @ 1 .4 M W
+ 1 2 V
1 0 0 k W
4 .7 k W
T r a n s m itte r C ir c u it
1
T r a n s m itte r C ir c u it
1 6
1
D 1
1 5
2
D 2
P G M
S IO
1 4
3
D 3
S IO
1 4
V S S
V P P
1 3
4
V S S
V P P
1 3
5
N C
V D D
1 2
5
N C
V D D
1 2
6
N C
D O U T
1 1
6
N C
D O U T
1 1
7
N C
O S C 1
1 0
8
N C
O S C 2
9
D 1
D 0
D 2
P G M
3
D 3
4
7
2
8
N C
O S C 1
N C
O S C 2
+ 1 2 V
1 0 0 W
0 .1 m F
L E D
9
1 0
R o s c
H T 6 P 2 0 D
R o s c @ 1 .4 M W
1 6
D 0
1 5
1 0 0 W
0 .1 m F
L E D
R o s c
H T 6 P 2 0 D
R o s c @ 1 .4 M W
Note: In order to prevent the IC from getting damaged due to the latch up, the 100W resistor or the
LED which can also be a transmission indicator is indispensible when VDD=9V~12V.
8
May 2, 2000
HT6P20
Holtek Semiconductor Inc. (Headquarters)
No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C.
Tel: 886-3-563-1999
Fax: 886-3-563-1189
Holtek Semiconductor Inc. (Taipei Office)
5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C.
Tel: 886-2-2782-9635
Fax: 886-2-2782-9636
Fax: 886-2-2782-7128 (International sales hotline)
Holtek Semiconductor (Hong Kong) Ltd.
RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong
Tel: 852-2-745-8288
Fax: 852-2-742-8657
Copyright Ó 2000 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek
assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are
used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications
will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek reserves the right to alter its products without prior
notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.
9
May 2, 2000