HOLTEK HT85048

HT85XXX
TM
Green Voice
Features
·
·
·
·
·
·
·
·
·
Operating voltage: 2.4V~5.0V
Driver speaker (32W) VDD=4.5V,
IDD=90mA
Programmable tone melody generator
ADPCM, m-law PCM, PCM synthesis
Wide range of sampling rate for voice
synthesis
Minimum sampling rate step: 100Hz
Voice melody mixed output
Programmable 2 channels of melody
mixed output
Programmable 2 channels of voice
mixed output
·
·
·
·
·
·
·
·
·
·
·
13 kinds of melody beats
5 octaves of tone level and 18 tempos
16 levels of digital volume control
Eight programmable I/O pins
Four programmable input pins
Provides 36 sec to 96 sec of voice capacity
Timer controller
Voice fill-in function
Powerful user-defined functions
Power-on initial setting
28-pin SKDIP package
General Description
The HT85XXX family is a series of programmable speech synthesizers and tone generators designed for user-defined voice and melody
applications. It provides various sampling
rates and beats, tone levels, tempos for the
speech synthesizer and melody generator.
program the powerful custom function such as to
build-in a tiny controller. The Green Voice provides various operational functions similar to
arithmetic operation, logic operation, branch decision, random counter, and a programmable
timer. The Green Voice series are suitable for
versatilevoiceandsoundeffect applications.
The HT85XXX series has a built-in high quality,
current type D/Aoutputs with 16 levels of volume
control. The user¢s commands enable the user to
The HT85XXX Green Voice series is Easy FormatTM supported.
Selection Table
The HT85XXX series provides various voice capacity as shown below:
Part No.
HT85036
HT85048
HT85072
HT85096
ROM
768Kb
1024Kb
1536Kb
2048Kb
Voice
Length
36 sec
48 sec
72 sec
96 sec
Note: The voice capacity is based on a sampling rate of 4-bit ADPCM 5.25kHz.
*: under development.
Green Voice
TM
and Easy Format
TM
are trademark of Grow With Me, Inc.
1
August 24, 2000
HT85XXX
Block Diagram
T im e B a s e
G e n e ra to r
O S C
P B 0 ~ P B 7
T o n e /M e lo d y
G e n e ra to r
D A
a n
U s
In s tru
R O
D e c o d e r
a n d
C o n tr o lle r
P A 0 ~ P A 3
V D D
V S S
T A
d
e r
c tio n
M
A U D
D /A
a n d
G re e n
D r iv e r
P D A
P P 1
P P 0
S p e e c h
S y n th e s iz e r
Pin Assignment
N C
1
2 8
N C
2
2 7
N C
3
2 6
N C
4
2 5
N C
5
2 4
N C
6
2 3
O S C
7
2 2
V S S
8
2 1
V S S
9
2 0
P A 0
1 0
1 9
P A 1
1 1
1 8
P A 2
1 2
1 7
P A 3
1 3
1 6
P B 0
1 4
1 5
P B 1
N C
P P 0
P D A
P P 1
V D D
A U D
N C
P B 7
P B 6
P B 5
P B 4
P B 3
P B 2
H T 8 5 X X X
2 8 S K D IP
2
August 24, 2000
HT85XXX
Pad Assignment
HT85036, HT85048, HT85072, HT85096
(0 ,0 )
P P 0
1
O S C
2
P D A
P P 1
3
V D D
V D D
A U D
2 1
4
5
6
1 0
1 1
1 2
1 3
1 4
P B 7
P B 6
P B 5
P B 4
P B 3
P B 2
P B 1
P B 0
1 5
1 6
P A 2
9
V S S
V S S
1 8
P A 0
1 7
P A 1
8
P A 3
7
2 0
1 9
2
Chip size: 2315 ´ 2875 (mm)
* The IC substrate should be connected to VSS in the PCB layout artwork.
Pad Coordinates
HT85036, HT85048, HT85072, HT85096
Unit: mm
Pad No.
X
Y
Pad No.
X
Y
1
2
3
4
5
6
7
8
9
10
11
-785.05
-785.05
-785.05
-785.05
-970.35
-973.35
-577.70
-443.35
-226.85
-132.35
44.15
-216.50
-377.10
-533.85
-671.55
-761.05
-910.10
-1172.50
-1172.50
-1172.50
-1172.50
-1172.50
12
13
14
15
16
17
18
19
20
21
178.65
355.15
489.95
662.95
789.70
962.20
961.30
958.10
956.30
960.96
-1172.50
-1172.50
-1172.50
-1172.50
-1172.50
-1172.50
-861.10
-634.65
-505.15
-192.93
3
August 24, 2000
HT85XXX
Pin Description
Pin No. Pin Name I/O
Internal
Connection
Description
1, 2, 8,
24~28
NC
¾
¾
No connection
3, 4, 5
PP0, PDA,
PP1
O
¾
Green Voice Speaker control pin
6
VDD
¾
¾
Positive power supply
O
PMOS
Audio output for driving an external transistor
Open Drain
7
AUD
15~9
PB1~PB7
I/O
Pull-high
or CMOS
Bidirectional I/O pins
Can be optioned as trigger inputs or LED outputs
16
PB0
I/O
Pull-high
or CMOS
Bidirectional I/O pins
Can be optioned as CDS interface with internal
Schmitt trigger input
20~17
PA0~PA3
I
Wake-up
Pull-high
Trigger inputs
Can also be configured as wake-up inputs
21, 22
VSS
¾
¾
Negative power supply, ground
23
OSC
I
¾
Built-in RC oscillator
An oscillator resistor is connected between OSC and VSS
Absolute Maximum Ratings
Supply Voltage.................................-0.3V to 6V
Storage Temperature.................-50°C to 125°C
Input Voltage .................VSS-0.3V to VDD+0.3V
Operating Temperature ..............-20°C to 70°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
Parameter
Ta=25°C
Test Conditions
VDD
Conditions
Min.
Typ. Max. Unit
VDD
Operating Voltage
¾
¾
2.4
¾
5.2
V
ISTB
Standby Current
3V
No load, system HALT
¾
1
3
mA
IDD
Operating Current
3V
No load, fSYS=4MHz
¾
5
8
mA
IOL
PB0~PB7 Sink Current
3V
VOL=0.3V
4
6
¾
mA
IO
Max. AUD Output Current
3V
VOH=0.6V
-1.5
-2
¾
mA
fSYS
System Frequency
3V
ROSC=240kW
3.6
4.0
4.4
MHz
4
August 24, 2000
HT85XXX
Functional Description
Current type D/A output
The Green Voice series is a series of programmable speech synthesizers and melody generators. It provides various sampling rates and
beats, tone levels, tempos for speech synthesizer and melody generator. For voice synthesizer, the Green Voice provides 8-bit PCM, 6-bit
m-law PCM and 4-bit ADPCM synthesis. In
HT85XXX series, a mixed output of two channels PCM synthesis is allowed but only one
channel ADPCM synthesis is allowed. For melody generator, the Green Voice supports a tone
melody and PCM melody generator and two
channels mixed output for the whole series.
The HT85XXX series supply high accuracy current type D/A output pins for audio output. The
output volume is changeable from 0 to 15 digital levels by writing a value to the VOLUME
registers. The D/A pins are PMOS open drain
structure and ouput synthesized signals for
driving a speaker through an external NPN
transistor when the chip is active. However, it
becomes floating when the chip is in the
standby state. An 8050 type transistor with
hFE=150 is recommended for the output driver
of the D/A output pin.
The Green Voice series build-in 8 programmable I/O pins and 4 programmable input pins
along with powerful user¢s command. The
user¢s instructions are employed to develop
new and customized functions for a wide variety of innovative applications.
Melody/Tone generator
The HT85XXX family has a built-in melody/tone generator. The generator can generate
13 different kinds of melody beats, 5 octaves of
tone level, 18 tempos, and 2 channels mixed
output. Of these components, the melody tempo
is changeable and generates sound effects by
writing a control value to the TEMPO register.
The chip provides the following 18 tempos, 13
beats, and 5 octaves for user¢s programming.
Speech and melody analysis
The speech and melody sources of the Green
Voice can be recorded and edited from the PC
sound card and media tools. Holtek¢s CAD tools
first load a speech source file as .WAV or .PCM
format, then transfer the speech file as PCM,
LOG-PCM or ADPCM format, and finally save
it to the internal mask ROM by changing a
layer of the mask. The PCM format generates a
higher sound quality whereas the ADPCM format brings about a longer recording capacity.
The melody source can either be in the .MID or
in the .MLD format.
· 18 tempos (Beats/Min.)
68
78
82
93
100
105
109
114
119
125
132
139
147
156
179
192
227
310
· 13 beats
1 1 1 1 1 1 1 2 3
4 3
1,
2
24, 12, 8, 6, 4, 3, 2, 3, 4, 3, 2,
The .MID file is the standard format of the windows media tools. The .MLD file is a text format. After the .MID file is compiled, the .MLD
file is automatically generated.
· 5 octaves
C1~B1, C2~B2, C3~B3, C4~B4, C5~B5
The Green Voice can support the following compression format of the voice .WAV and .PCM
file: AD4, PCM8, m-law PCM.
5
August 24, 2000
HT85XXX
PCM/ADPCM synthesizer
For the oscillator circuit, an external resistor is
required between OSC and VSS. The oscillator
frequency is typically 4MHz for an external resistor of 240kW. The RC type of oscillator offers
the most cost-effective solution, although the
frequency of the oscillation may vary with temperature and the chip itself due to process variation.
The HT85XXX family contains a PCM and
ADPCM synthesizer. The synthesizer offers a
wide range of sampling rates from 4kHz to
24kHz for PCM synthesis and 4kHz to 16kHz
for ADPCM synthesis. The sampling rate of the
synthesizer can be changed by writing a control
value to the sampling rate register. It also supports a small variety of 100Hz. For a higher
performance sound quality, the PCM coding is
required. But for a longer recording capacity,
the ADPCM coding is recommended.
ROSC
HT84EVA HT84P00
fOSC
The capability of the voice sampling rate for
various voice compression format.
IC
4M
180kW
240kW
240kW
5M
150kW
210kW
210kW
6M
120kW
180kW
180kW
8M
91kW
150kW
150kW
fOSC
PCM8
m-law
PCM
AD4
4M
12kHz
11kHz
8kHz
5M
15kHz
14kHz
10kHz
Mask options
6M
18kHz
16kHz
12kHz
8M
24kHz
22kHz
16kHz
The following options have to be defined to ensure a proper system functioning:
· Pull-high resistor: 33kW/98kW (3V)
· Key debounce time: 0ms~255ms (fOSC=4MHz)
Oscillator configuration
The HT85XXX series provides an RC oscillator
for the system clock. The system oscillator
stops in the standby state so as to reduce power
consumption.
6
August 24, 2000
HT85XXX
Application Circuits
Basic application
V
E A S Y 4
D D
P A 0
1 m F
V D D
P A 1
P P 0
P A 2
P P 1
P D A
8 0 5 0
A U D
O S C
R
O S C
V S S
V
1 m F
P B 7
O U T 8
P B 6
O U T 7
P B 5
O U T 6
P B 4
O U T 5
P B 3
O U T 4
P B 2
O U T 3
P B 1
O U T 2
P B 0
O U T 1
V D D
P A 1
P P 0
P A 2
P P 1
P D A
8 0 5 0
A U D
P A 3
P B 3
O S C
P B 2
P B 1
V S S
1 m F
P B 0
P P 0
P A 2
T R 3
P A 3
T R 4
T R 1
T R 2
T R 3
T R 4
A U D
P B 7
P B 6
P B 5
P B 4
P B 3
O S C
R
O S C
V
T R 8
P A 0
1 m F
V D D
P A 1
P P 0
P A 2
P P 1
P D A
8 0 5 0
O U T 6
P B 0
E A S Y 1 2
D D
T R 6
T R 7
P B 2
P B 1
V S S
T R 5
T R 2
P A 1
P D A
8 0 5 0
T R 1
V D D
P P 1
P B 6
P B 4
R
P A 0
P B 7
P B 5
O S C
T R 3
P A 3
P A 0
E A S Y 4 -1
D D
T R 2
T R 4
E A S Y 8
D D
V
T R 1
A U D
P A 3
O U T 7
O U T 6
O U T 5
O U T 4
O U T 3
O U T 2
O U T 1
T R 1
T R 5
T R 2
T R 6
T R 3
T R 7
T R 4
T R 8
T R 9
T R 1 0
T R 1 1
T R 1 2
P B 7
P B 6
P B 5
O U T 5
P B 4
O U T 4
P B 3
O U T 3
O S C
O U T 2
R
O U T 1
O S C
P B 1
V S S
7
P B 2
P B 0
O U T 5
O U T 4
O U T 3
O U T 2
O U T 1
August 24, 2000
HT85XXX
V
E A S Y 1 6
D D
P A 0
1 m F
V D D
P A 1
P P 0
P A 2
P P 1
P D A
8 0 5 0
A U D
P A 3
T R 1
T R 5
T R 9
T R 2
T R 6
T R 1 0
T R 3
T R 7
T R 1 1
T R 4
T R 8
T R 1 2
T R 1
T R 5
T R 9
T R 1 3
T R 1 7
T R 2
T R 6
T R 1 0
T R 1 4
T R 1 8
T R 3
T R 7
T R 1 1
T R 1 5
T R 1 9
T R 4
T R 8
T R 1 2
T R 1 6
T R 2 0
T R 1 3
T R 1 4
T R 1 5
T R 1 6
P B 7
P B 6
P B 5
P B 4
P B 3
O S C
R
O S C
P B 1
V S S
V
P B 2
P B 0
E A S Y 2 0
D D
P A 0
V D D
P P 0
1 m F
P P 1
P D A
8 0 5 0
A U D
P A 1
P A 2
P A 3
O U T 4
O U T 3
O U T 2
O U T 1
P B 7
P B 6
P B 5
P B 4
P B 3
R
O S C
O S C
V S S
P B 2
O U T 3
P B 1
O U T 2
P B 0
O U T 1
8
August 24, 2000
HT85XXX
V
E A S Y 2 4
D D
P A 0
V D D
P P 0
1 m F
P P 1
8 0 5 0
P A 1
P A 2
P A 3
P D A
P B 7
A U D
P B 6
T R 1
T R 5
T R 9
T R 1 3
T R 1 7
T R 2 1
T R 2
T R 6
T R 1 0
T R 1 4
T R 1 8
T R 2 2
T R 3
T R 7
T R 1 1
T R 1 5
T R 1 9
T R 2 3
T R 4
T R 8
T R 1 2
T R 1 6
T R 2 0
T R 2 4
P B 5
P B 4
P B 3
O S C
R
O S C
P B 1
V S S
V
P B 2
P B 0
E A S Y 2 8
D D
P A 0
1 m F
V D D
P A 1
P P 0
P A 2
P P 1
P D A
8 0 5 0
A U D
P A 3
O U T 2
O U T 1
T R 1
T R 5
T R 9
T R 1 3
T R 1 7
T R 2 1
T R 2
T R 6
T R 1 0
T R 1 4
T R 1 8
T R 2 2
T R 3
T R 7
T R 1 1
T R 1 5
T R 1 9
T R 2 3
T R 4
T R 8
T R 1 2
T R 1 6
T R 2 0
T R 2 4
T R 2 5
T R 2 6
T R 2 7
T R 2 8
P B 7
P B 6
P B 5
P B 4
P B 3
R
O S C
O S C
P B 2
P B 1
V S S
P B 0
O U T 1
9
August 24, 2000
HT85XXX
V
E A S Y 3 2
D D
P A 0
1 m F
V D D
P A 1
P P 0
P A 2
P A 3
T R 1
T R 5
T R 9
T R 1 3
T R 1 7
T R 2 1
T R 2 5
T R 2 9
T R 2
T R 6
T R 1 0
T R 1 4
T R 1 8
T R 2 2
T R 2 6
T R 3 0
T R 3
T R 7
T R 1 1
T R 1 5
T R 1 9
T R 2 3
T R 2 7
T R 3 1
T R 4
T R 8
T R 1 2
T R 1 6
T R 2 0
T R 2 4
T R 2 8
T R 3 2
P P 1
P D A
8 0 5 0
A U D
P B 7
P B 6
P B 5
P B 4
O S C
R
O S C
P B 3
P B 2
P B 1
V S S
P B 0
E A S Y 6 4
V
D D
P A 3
1 m F
V D D
P A 2
P P 0
P A 1
P P 1
P A 0
P D A
8 0 5 0
A U D
P B 6
P B 5
O S C
R
P B 4
P B 3
O S C
V S S
P B 2
P B 1
P B 0
T R 1
T R 2
T R 3
T R 4
T R 5
T R 6
T R 7
T R 8
T R 9
T R 1 0
T R 1 1
T R 1 2
T R 1 3
T R 1 4
T R 1 5
T R 1 6
T R 1 7
T R 1 8
T R 1 9
T R 2 0
T R 2 1
T R 2 2
T R 2 3
T R 2 4
T R 2 5
T R 2 6
T R 2 7
T R 2 8
T R 2 9
T R 3 0
T R 3 1
T R 3 2
T R 3 3
T R 3 4
T R 3 5
T R 3 6
T R 3 7
T R 3 8
T R 3 9
T R 4 0
T R 4 1
T R 4 2
T R 4 3
T R 4 4
T R 4 5
T R 4 6
T R 4 7
T R 4 8
T R 4 9
T R 5 0
T R 5 1
T R 5 2
T R 5 3
T R 5 4
T R 5 5
T R 5 6
T R 5 7
T R 5 8
T R 5 9
T R 6 0
T R 6 1
T R 6 2
T R 6 3
T R 6 4
P B 7
Note: In Easy 64 mode, only falling edge trigger can be used in input state
In Easy 64 mode, the path command ²TRn?L:pathname² and ²TRn?H:pathname² are invalid
10
August 24, 2000
HT85XXX
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.
11
August 24, 2000