You are on page 1of 10

HT6P20

24
2 OTP Encoder
Features
· Operating voltage: 2V~12V · One time programmable process
· Low power consumption · Data active: D0~D7
· Built-in oscillator needs only 5% resistor · Minimal external components
· 0/2/4/8 data selectable · HT6P20/A/B: 8-pin DIP/NSOP package
· 224 maximum address and data codes HT6P20/D: 16-pin DIP/NSOP package
· Easy interface with an RF or IR medium

Applications
· Burglar alarm system · Security system
· Smoke and fire alarm system · Cordless telephones
· Garage door controllers · Other remote control systems
· Car door controllers

General Description
The HT6P20 is a CMOS LSI encoder designed grammable process. In addition, the chip offers
for remote control system applications. It en- various packaging for flexible combination of
codes 24 bits of information and then serially programmable address/data so as to meet vari-
transmits it via the DOUT pin upon receipt of ous applications. Its programmable ad-
transmission enable (DATA pins: D0~D7) sig- dress/data is transmitted together with the
nals. The combination of address and data bits anti-code bits via RF or infrared transmission
of the HT6P20 is designed using one time pro- medium upon receipt of a trigger signal.

Block Diagram

O S C 1 A d d re s s
O s c illa to r
O S C 2 C o u n te r

V P P P r o g r a m m in g M ix e r &
D O U T
S IO C ir c u it 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 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 2 2 -A d d re s s 2 0 -A d d re s s
0 -D a ta 2 -D a ta 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
O S C 1 4 5 D O U T O S C 2 4 5 O S C 1 N C 8 9 O S C 2

H T 6 P 2 0 A H T 6 P 2 0 B H T 6 P 2 0 D
8 D IP /N S O P 8 D IP /N S O P 1 6 D IP /N S O P

B la n k d e v ic e 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 H T 6 P 2 0
8 D IP /N S O P 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 program-
ming 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 Pad Coordinates Unit: mm

D O U T
Pad No. X Y

V D D
V P P
1 -956.50 762.75
1 2 0 1 9
2 -1123.00 498.75
S IO 2
3 -1123.00 236.25
4 -1123.00 -86.25
P G M 3 5 -1123.00 -261.25
(0 ,0 ) 6 -1123.00 -583.75
D 0 4 7 -1027.50 -776.75
1 8 O S C 1
N C 5 8 -852.50 -776.75
1 7 O S C 2 9 -530.00 -776.75
D 1 6 10 -355.00 -776.75
7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 D 7 11 -180.00 -776.75
12 142.50 -776.75
D 2
D 3

N C
V S S
N C

D 4
D 5

D 6
N C
13 317.50 -776.75
14 640.00 -776.75
2 15 815.00 -776.75
Chip size: 2590 ´ 2010 (mm)
16 1137.50 -776.75
* The IC substrate should be connected to VSS in 17 1118.00 -466.75
the PCB layout artwork. 18 1118.00 -205.75
19 489.00 772.05
20 223.50 789.75

Pin Description

HT6P20D
Internal
Pin No. Pin Name I/O Description
Connection
16 CMOS IN Data input and transmission enable (active low)
D0~D3 I
1~3 Pull-high 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 Data serial transmission output
12 VDD ¾ ¾ Positive power supply
Programming power supply, VDD for normal opera-
13 VPP I ¾
tion
CMOS Programming address/control code input and mode
14 SIO I/O
IN/OUT code output for mode verification
CMOS IN
15 PGM I Program mode control pin, active low
Pull-high

3 May 2, 2000
HT6P20

Approximate internal connection circuits

C M O S IN /O U T C M O S IN
C M O S O U T O S C IL L A T O R
P u ll- h ig h
V D D

O S C 1 O S C 2

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 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.

Electrical Characteristics Ta=25°C

Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Operating Voltage ¾ ¾ 2 ¾ 12 V
ISTB Standby Current 12V Oscillator stops ¾ 1 2 mA

IDD No load
Operating Current 12V ¾ 200 400 mA
fOSC=3kHz
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
5V 0.9VDD -2 -5 ¾ mA
Source
12V 0.9VDD -6.5 -15 ¾ mA
IDOUT Output Current
5V 0.1VDD 2 5 ¾ mA
Sink
12V 0.1VDD 6 15 ¾ mA
fOSC Oscillator Frequency 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 encod- · Mode control (B0)
ing integrated circuit. The programmable codes
consist of 4-bit control codes and 24-bit address B0 Function
codes. Before using the device, first program the 0 Not programmed
internal 4 control bits and 24 address bits. Then,
to program the address and control codes, con- 1 Programmed
nect the PGM pin to VSS, allowing the SIO pin to
receive control and address codes from the con- · Address and data format (B1,B2)
tinuously transmitting programming kit. The B2 B1 Code Format
control codes (B0~B3) and address timing are re-
spectively shown on the Table and the Figure for 0 0 A0~A23
Programming Timing. In the programming pro- 0 1 A0~A21 + D1~D0
cess, the mode bit (B0) has to be programmed
first. The 0/2/4/8 data number is selected by the 1 0 A0~A19 + D3~D0
address along with the data format bits (B1,B2). 1 1 A0~A15 + D7~D0
The HT6P20, in addition, provides a polarity bit
(B3) to select the polarity of the output data. · Polarity control (B3)
Various packages of the HT6P20 offer program-
mable combinations of address/data to meet B3 Data Output Polarity
various application needs. 0 Negative polarity
1 Positive polarity
B 0 B 1 B 2 B 3
P o la r ity c o n tr o l The HT6P20A/D can be programmed by the
A d d re s s a n d d a ta fo rm a t SIO pins. The HT6P20B, on the other hand, is
M o d e c o n tro l programmed for 2-data and positive polarity
application.

Programming timing of the HT6P20D (B0~B3=1010)

O S C 2
(3 k H z )

P G M

S IO

1 1 0 1 0 0 1 0 0 1 0 X X X X

P r o g r a m m in g
C B 0 B 1 B 2 B 3 A 0 A 1 A 2 A 3 A 1 8 A 1 9 A 2 0 A 2 1 A 2 2 A 2 3
b it
N o te : ( 1 ) B 0 ~ B 3 a re c o n tro l c o d e s
P r o g r a m m in g ( 2 ) A 0 ~ A 2 3 a re a d d r e s s c o d e s
( 3 ) A 2 0 ~ A 2 3 s ta n d s fo r d o n 't c a re fo r th e H T 6 P 2 0 D
( 4 ) S IO m u s t b e s e t to " H ig h " d u r in g C a n d B 0 p e r io d s
( 5 ) 0 : "L o w " ; 1 : " H ig h "; X : D o 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 trans-
mission 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
1 c lo c k
D O U T

1 /3 b it 0 1 0 1

p ilo t p e r io d ( A 0 ~ A 1 9 , 6 0 c lo c k s ) ( D 3 ~ D 0 , 1 2 c lo c k s ) a n ti- c o d e p e r io d
( 2 3 c lo c k s ) a d d r e s s c o d e p e r io d d a ta 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
P G M = 0 ?

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
Y e s m o d e

A d d re s s /d a ta w o rd s
tr a n s m itte d
N o P r o g r a m m in g
c o m p le te d ?

Y e s
N o 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 1 6
D 1 D 0
2 D 2 1 5
P G M
3 D 3 S IO 1 4 + 1 2 V
1 8
P G M S IO 4 1 3
V S S V P P
2 7 + 1 2 V 5 N C V D D 1 2
V S S V P P
6 N C D O U T 1 1 L E D
3 6
O S C 2 V D D R o s c
7 N C O S C 1 1 0
T E L E D
R o s c
4 5 8 9
O S C 1 D O U T N C O S C 2

H T 6 P 2 0 A H T 6 P 2 0 D
R o s c @ 1 .4 M W 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 1 6
D 1 D 0
2 1 5
D 2 P G M
3 1 4 + 1 2 V
D 3 S IO
4 1 3
V S S V P P 1 0 0 W
5 1 2
N C V D D
6 D O U T 1 1 0 .1 m F
N C
1 0 R o s c
7 N C O S C 1
8 9
N C O S C 2

H T 6 P 2 0 D
R o s c @ 1 .4 M W

+ 1 2 V

1 0 0 k W

T r a n s m itte r C ir c u it 4 .7 k W T r a n s m itte r C ir c u it

1 D 1 D 0 1 6 1 D 1 D 0 1 6

2 D 2 1 5 2 D 2 1 5
P G M P G M
3 D 3 S IO 1 4 3 D 3 S IO 1 4
+ 1 2 V
4 V S S V P P 1 3 4 V S S V P P 1 3
1 0 0 W 1 0 0 W
5 N C V D D 1 2 5 N C V D D 1 2

6 1 1 0 .1 m F L E D 6 1 1 0 .1 m F L E D
N C D O U T N C D O U T
7 1 0 7 N C O S C 1 1 0
N C O S C 1
8 9 R o s c 8 9 R o s c
N C O S C 2 N C O S C 2

H T 6 P 2 0 D H T 6 P 2 0 D
R o s c @ 1 .4 M W 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 pres-
ent 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
This datasheet has been downloaded from:

www.DatasheetCatalog.com

Datasheets for electronic components.

You might also like