Datasheet HT81003, HT81R03 Datasheet (Holtek Semiconductor Inc)

Page 1
Preliminary
EasyVoice

Features

Operating voltage: 2.4V~3.6V
·
·
PWM function directly driver speaker
·
Low standby current (1mA typ. for VDD=3V)
·
Minimal external components
·
240 notes table ROM for key functions
·
Programmable silence length and end-pulse
·
width (minimal end-pulse width is 1.3ms at 8kHz sampling rate) 3-sec voice capacity (based on a 5kHz sam
·
pling rate) Controllable volume
·
FLAG1 options
·
-
End-pulse output
-
3Hz, 3HzB flash
-
6Hz, 6HzB flash
-
Busy output
-
OFF
HT81003/HT81R03
TM
3-Second Speech
FLAG2 options
·
-
3Hz flash
-
6Hz flash
-
Busy output
-
OFF
2 keys
·
Key options
·
-
Sequential/Directed
-
Repeat (KEY2)
-
-
STOP key (KEY2)
-
Key debounce time: 1.2ms, 22ms, 45ms (based on a 8kHz sampling rate)
-
One shot/Normal
-
Pull-high resistance: 0, 50kW, 100kW, 200kW
Section options
·
-
Retriggerable
-
Non-retriggerable
Dice form or 16-pin DIP package
·

Applications

Leisure products
·
Alarm clocks
·
Public address system
·

General Description

The HT81003 is a Mask ROM type and HT81R03 is an OTP type. The HT81003/ HT81R03 is a single-chip voice synthesizer LSI with 3-second voice capacity at 5kHz sampling rate. The chip when triggered drives a speaker through an external transistor with a PWM output. Negligible current is consumed in the standby state.
The HT81003/HT81R03 provides 2-key inputs and 2 programmable FLAG outputs. With
2.4V~5.0V power supply, a complete synthe sized voice playback system can be easily built with very few external components.
EasyVoiceTMis a trademark of Holtek Semiconductor Inc.
Alert and warning system
·
Sound effect generators
·
The customer¢s voice sources are recorded sec­tion by section into an internal mask ROM. The instructions of section playback arrangement of each key are stored in the table ROM. The key features are also programmable. With such a flexible structure, the HT81003/HT81R03 is ex cellent for versatile voice applications.
-
1 July 24, 2000
-
Page 2

Block Diagram

Preliminary
HT81003/HT81R03
TG 1
I/O 1
OSCI
VPP
OE
D ebounce
Circuit
O s c illa to r
Circuit
OTP
Circuit
(for H T 81R03 only)
O ne-shot
Tim e Base
G enerator
Audio
C ontroller
ROM Address
C ounter
Data RO M
Status
Display
C ontroller
Selector

Pin Assignment Pad Assignment

NC
16 D IP
16
OE
15
VSS
14
OUT1
13
VDD
12
OUT2
11
VSS
10
I/O 2
9
VDD
OSCI
1
2
NC
VPP
NC
VDD
NC
OSCI
KEY1
I/O 1
1
2
3
4
5
6
7
8
HT81R03
(0 ,0 )
VDD
VSS
I/O 2
OUT1
OUT2
VPP
11
OE
12
10
VSS
9
OUT1
VDD
8
3
KEY1
4
5
I/O 2
I/O 1
Chip size: 1020 ´ 1995 (mm)
7
6
VSS
OUT2
2
* The IC substrate should be connected to VSS
in the PCB layout artwork.
2 July 24, 2000
Page 3
Preliminary
HT81003/HT81R03

Pad Coordinates

Pad No. X Y Pad No. X Y
1 2 3 4 5 6 174.15
-345.85
-361.00 -385.35
-356.60 -691.45
-254.00 -839.95
-11.10 -838.55
850.70 7 343.85 8 343.85 9 343.85
10 334.25 11 305.30 851.65
-842.65
12 128.18 844.24
Unit: mm
-778.05
-514.85
-251.65
-58.75

Pin Description

Pin No. Pin Name I/O
1,3,5,16 NC
2 VPP
4, 12 VDD
6 OSCI I
7 KEY1 I Pull-high Trigger key 1, active low
8 I/O1 I
9 I/O2 O
10, 14 VSS
11 OUT2 O CMOS PWM output +/NMOS output
13 OUT1 O CMOS
15 OE
Internal
Connection
¾¾
¾¾
¾¾
¾
NMOS
Pull-high
NMOS
Pull-high
¾¾
¾¾
Description
No connection
Positive power supply
Oscillator input pin
Trigger key 2, active low/NMOS output
Pull-high/transistor output/NMOS output
Negative power supply
PWM output -/NMOS output

Absolute Maximum Ratings

Supply Voltage ................................-0.3V to 6V
Input Voltage ............... V
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.
-0.3V to VDD+0.3V
SS
Storage Temperature ............... -50°Cto125°C
Operating Temperature .............-20°Cto70°C
3 July 24, 2000
-
-
Page 4
Preliminary
HT81003/HT81R03

Electrical Characteristics

Symbol Parameter
V
I
I
I
I
I
I
I
V
V
DD
STB
OL1
OH1
OL2
OH2
OL3
Operating Voltage
DD
Operating Current 3V No load (OSC on)
Standby Current 3V
OUT1 (PWM+) PWM Output Current
I/O2 (TR) Tr Output Current
I/O1 (FLAG Sink Current) 3V
²H² Input Voltage ¾¾
IH
²L² Input Voltage ¾¾
IL
Test Conditions
V
DD
¾¾
3V
3V
3V
3V

Functional Description

The EasyVoiceTMis voice synthesizer with 3-second voice capacity. A group of pre-recorded voice sections is played upon receipt of key trigger input signals. Two FLAG signals are output while playing voices.
The 3-sec voice capacity can be divided into sec­tions of arbitrary length. Notice that the silence length and end-pulse width are not included in the memory.
By using Holtek¢s programming tools, the con­tents and arrangement of sections, as well as key features and FLAG output are all program­mable before device fabrication.
The IC provides 2 key inputs (KEY1~KEY2), KEY1 can be optioned as a direct, sequential trigger key. Key 2 can be selected as a stop or a direct key.
Conditions
¾¾
V
=0.1V
OL
V
OH
V
OL
V
OH
V
OL
=0.9V
=0.1V
=0.9V
=0.1V
DD
DD
DD
DD
DD
0.8V
Play function block diagram
Key
trigger
Key
features
option
Play control logic
Ta=25°C
Min. Typ. Max. Unit
2.4
¾
¾
1000 1200
13
75 90
36
13
-1 -2 ¾
35
¾
DD
0
Key
fu n c tio n
table ROM
8/16/32
speaker
¾
W
Voice ROM
3.6 V
¾
¾
¾
¾
V
DD
0.2V
DD
PW M +
PW M
-
Select
TR
Flag
output
mA
mA
mA
mA
mA
mA
mA
V
DD
speaker
V
V
8
W
4 July 24, 2000
Page 5
Preliminary
HT81003/HT81R03
System oscillator
The EasyVoice
TM
has a built-in RC oscillator which requires only one external resistor for nor mal applications. The oscillator frequency is typi cally 2MHz for an external resistor of 150kW. The required oscillator frequency may vary with differ ent sampling rates in the process of voice pro gramming. As a result, the value of the oscillator resistor may be different with respect to different items.
OSCI
H T 81003/
R
OSC
HT81R03
The oscillator is turned on when triggered by a key input. After playing, it is immediately turned off. Then the chip goes into the standby state.
Voice ROM
The voice ROM is originally designed to continu ously record the 3-sec voice data at about 5kHz sampling rate. A higher sampling rate will gener ate voices of better playback quality, but will shorten the total recording time. On the other hand, a lower sampling rate will result in longer recording time but sacrifice the voice quality.
The playback time can be significantly extended by making use of coding efficiency, silence play­ing, section repeating, section cascade, etc.
The following are examples of section division:
Exam ple 1: O ne section only
-
-
Exam ple 2: 3 section division
-
-
Exam ple 3: N section division
sec.1 sec.2 sec.3
sec.2 sec.Nsec.1
sec.1
ROM
ROM
ROM
In addition, a section can be set as retriggerable or non-retriggerable depending on code option.
·
Retriggerable When the currently playing section is set as
retriggerable, it will stop immediately upon receipt of other key inputs.
·
Non-retriggerable
-
When the currently playing section is selected as non-retriggerable, it will go on playing until
-
the whole section is completed, whether or not there is a key input in the process of playing.
For a key group, some sections can be set as retriggerable and some as non-retriggerable. When a retriggerable section of a key group is playing, any key can be triggered to interrupt its playing. If it is a non-retriggerable section playing, any key interrupt is invalid.
Section
Section is the basic element constituting the contents of the voice ROM. During program­ming, the customer¢s voice sources can be di vided into as many sections as required. A section can be composed of a voice or an interval of silence. However, the silent length is not counted in the voice ROM. The total number of sections included should be less than 256 due to the space limitation of the function table ROM. The total length of the included sections is lim ited by the voice ROM.
A section, when triggered by a key input, can be played once, repeatedly or cascaded with other sections, depending on the key function table instructions.
Group
The EasyVoice
TM
plays groups according to the key input. A group can be made up of one or more sections. When a key is triggered, the cor
­responding group is played. For example, trig gering KEY2 plays group 2, and so on. The same section is allowed to appear in different groups. However, KEY1 can be made up of mul tiple groups when it is optioned as a sequential key. Otherwise, each key is composed by one group only.
-
Key function table
The voice ROM sections are played according to the instructions of the key function table. The function table contains group information and
5 July 24, 2000
-
-
-
Page 6
Preliminary
HT81003/HT81R03
the playing order of the sections in the groups. Notice that the total amount of sections in cluded in the groups should be less than 256 which is the space limitation of the function ta ble ROM.
·
KEY1 as a direct key Each key is mapped to a group in the
function table. If a key is not used, the group mapped to that key is a piece of silence. The following is an example of the function table:
Group 1 sec.1 + sec.2 + sec.3 + sec.4
Group 2 sec.3
As illustrated in the table, voice ROM is com posed of 4 sections, and 5 sections for the function table. If KEY1 is momentarily trig gered, section 1, section 2, section 3 and sec tion 4 are played in sequence and then stopped. Triggering KEY2 plays section 3.
·
KEY1 as a sequential key When KEY1 is optioned as a sequential key, it
can include multiple groups (sub-groups) in the function table. However, KEY2 is used as a direct key exclusively and comprise of only one group in the function table. An example is shown below:
Group 1-1 sec.4 + sec.2
Group 1-2 sec.1 + sec.3
: :
: :
Group 1-N sec.2 + sec.3
Group 2 sec.2 + sec.3
As indicated in the above table, KEY1 can be made up of sub-groups. The corresponding sub-groups is played in sequence each time KEY1 is triggered.
¨
The playing sequence of sequential KEY1 is:
-
Group 1-1 ® Group 1-2 ® Group 1-3 ..... ®
Group 1-N (the last group) ® Group 1-1 .....
-
¨
Reset of KEY1 playing sequence
If a sub-group of KEY1 group is being played and KEY2 is triggered, the playing sub-group will be terminated, and the newly triggered key group is played in stead. The first sub-group will start playing by retriggering KEY1. In other words, the KEY1 playing sequence is reset whenever a key other than KEY1 is triggered (see Figure
1).
¨
-
-
-
Sub-group selection
When KEY1 is triggered with pulses, a de sired sub-group can be selected by controlling its corresponding pulse number. However, the features of KEY1 have to be set in the fol
-
-
lowing ways:
-
sequential
-
retriggerable
-
minimum key debounce time
(@1.2ms, f
OSC
=2MHz)
For instance, if sub-group 1-3 is the previous playing group, sub-group 1-5 will start playing after 2 pulses are applied to KEY1, and so on.
To make a selection of KEY1 sub-groups more easy, KEY2 should be programmed as silence. Then this silence key has to be triggered to re­set KEY1. By so doing, the playing sub-group of KEY1 is directly specified by the pulse number applied to KEY1 (see Figure 2).
·
KEY2 as a stop key (by mask option) When KEY2 functions as a stop key, any voice
output can be stopped by pressing KEY2.
KEY1
KEY2
AUD
G roup 1-1 G roup 1-2 G roup 1-N
Figure 1. Reset of KEY1 playing sequence
6 July 24, 2000
G roup (2~8)
G roup 1-1
Page 7
KEY1
KEY2
(S ile n c e )
AUD
Preliminary
N pulse
G roup 1-N
Figure 2. KEY1 sub-group selection
HT81003/HT81R03
M pulse
G roup 1-M
·
KEY2 as a repeat key As a repeat key, the sections included can be
played sequentially and repeatedly until other key input is triggered.
Key features
·
Key priority When two keys are triggered simultaneously,
the output voice is determined by the key pri ority as shown below:
KEY1>KEY2
·
Key debounce time There are three kinds of key-in debounce time to
be selected by mask option, namely, 1.2ms, 22ms, 45ms. The key debounce time varies with the value of the system frequency.
·
Pull-high resistance Four kinds of key input pin pull-high resis-
tance can be selected by mask option, namely, 0kW, 50kW, 100kW and 200kW. The resistance may vary with VDD, tempera­tures and the chip itself due to process vari­ations.
·
Trigger mode The two keys can optioned as one-shot trigger
mode or normal mode.
¨
One shot
When one of the two keys (KEY1, KEY2) is pressed momentarily or held down, the group corresponding to that key will play once.
KEY N
¨
Normal trigger
When one of the two keys is pressed and held down, the corresponding group will continue playing. Once the pressed key is released, the group will not stop until the included sections are all completed.
KEY N
-
AUD
G roup N
G roup N
G roup N
FLAG
When voices are playing, both FLAG1 and FLAG2 pins are activated to output one of the following signals through code option.
FLAG1 can be optioned as one of the following signal outputs:
OFF, 3HzB flash, Busy, 6HzB flash, 3hz, 6Hz or End-pulse output
FLAG2, on the other hand, can be set as one of the following signal outputs:
OFF, 3Hz flash, 6Hz flash, or Busy output
·
3Hz/3HzB flash When voices are playing, FLAG1 as well as
FLAG2 pin outputs a 3Hz signal to drive a LED. The signal is active low, 25% duty. Once the voice output is terminated, the FLAG1 and FLAG2 pins become floating outputs. When the FLAG1 and the FLAG2 pins are optioned as 3HzB and 3Hz output, they will alternately output at a 3Hz rate.
AUD
G roup N
G roup N
7 July 24, 2000
Page 8
Preliminary
HT81003/HT81R03
AUD
FLAG
: Floating
·
6Hz/6HzB flash When voices are playing, the FLAG1 pin
outputs a 6Hz signal to drive a LED. The signal is active low, 25% duty. Once the voice output is terminated, the FLAG1 pin be comes a floating output. When the FLAG1 and the FLAG2 pins are optioned as 6HzB and 6Hz outputs, they will alternately out put at a 6Hz rate.
AUD
FLAG
: F lo a tin g
·
Busy output
When a voice group is playing, the outputs of both FLAG1 and FLAG2 are turned low, indi­cating that the chip is busy.
AUD
AUD
FLAG
: Floating
Volume control
The function of the volume control can be set by mask option. A code is written in the function table for the purpose of controlling the volume
­of each section output after the volume control
function is chosen. There are two volume op tions, namely; full range and half range.
-
I/O2
The I/O2 pin is a PWM structure. It outputs voice signals to drive a speaker through an ex ternal NPN transistor when the chip is active. The OUT1 and OUT2 pins are configured as PWM structure which can drive 8/16/32W speaker directly.
An 8050 type transistor with h
@150 is recom
FE
mended for an output driver.
OUT1OSCI
R
OSC
OUT2
-
-
-
SPK
FLAG
: Floating
In addition to the above-stated output sig nals, FLAG1 can also generate one of the fol lowing signals by code option:
¨
End-pulse output
When the voice output is completed, the FLAG1 pin outputs an active low pulse. The pulse width can be programmed depending on the customer¢s requirements.
The FLAG1 as well as FLAG2 pins are both floating outputs when the chip is in the standby state.
H T 81003/H T 81R 03
V
DD
SPK
-
-
R
OSC
I/O 2OSCI
H T 81003/H T 81R 03
8 July 24, 2000
Page 9

Application Circuits

Preliminary
HT81003/HT81R03
OSCI
KEY1
I/O 1
VDD
1
HT81R03
2
3
4
VDD
V
DD
VPP
OE
12
11
VDD
1
V
DD
VPP
OE
200
W
12
11
LED 1 LE D 2
HT81R03
VSS
10
104pF
9
OUT1
VDD
8
7
5
I/O 2
V
OUT2
6
VSS
200
W
DD
VPP
OE
8W/1 6W/3 2
8050
Speaker
Speaker
8
W
W
OSCI
KEY1
I/O 1
2
3
4
5
6
I/O 2
V
DD
VDD
VPP
VSS
10
104pF
9
OUT1
VDD
8
7
OUT2
8050
Speaker
8
W
VSS
200
W
OE
OSCI
KEY1
1
HT81R03
2
3
4
I/O 1
12
11
200
W
LED 2
VSS
10
104pF
9
OUT1
VDD
8
200
7
5
6
I/O 2
VSS
W
OUT2
LED 1
Speaker
8W/1 6W/3 2
LED 2
W
OSCI
KEY1
I/O 1
1
HT81R03
2
3
4
12
11
VSS
10
104pF
9
OUT1
VDD
8
7
5
I/O 2
OUT2
6
VSS
8W/1 6W/3 2
8050
Speaker
Speaker
8
W
W
9 July 24, 2000
Page 10
Preliminary
V
DD
HT81003/HT81R03
V
DD
OSCI
KEY1
I/O 1
VDD
1
HT81R03
2
3
4
VPP
OE
12
11
VDD
1
VPP
OE
12
11
HT81R03
9
8
7
Tone In
VSS
104pF
OUT1
VDD
OUT2
Speaker
8W/1 6W/3 2
W
VSS
10
104pF
9
OUT1
VDD
8
7
5
6
I/O 2
OUT2
200
LED 1
W
VSS
Speaker
8W/1 6W/3 2
W
OSCI
KEY1
I/O 1
2
3
4
10
5
6
I/O 2
VSS
10 July 24, 2000
Page 11
Preliminary
HT81003/HT81R03
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 arisingfrom 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.
11 July 24, 2000
-
Loading...