Holtek Semiconductor Inc HT812L0 Datasheet

HT812L0
2.8 Second Enhanced Tone Voice
Pin Assignment
Features
Operating voltage: 2.4V~5.0V
Low standby current (1µA Typ.)
Voice/sound effect/simple melody output
2.8-second voice capacity
32 tone sections
16 words for each tone section
Current type D/A output
Mask option s
Pull-high resi stor: 20k/50k/100k
KEY1: Direct or sequential/random key
Trigger mode: Retriggerable/Non-retrig­gerable
KEY1 play normal mode or twin mode Normal mode: one group for KEY1
Twin mode: Two groups for KEY1
8 direct key or 4×4 MATRIX keys
Two-page trigger
Key debounce time: 22ms/45ms
Trigger function: Level hold/one shot/level trigger
FLAG1, FLAG2 outputs: 3Hz/sound level/busy/6Hz/endp
Melody/tone decay time: 2 sec/1 sec/0.5 sec/0.25 sec
Four kinds of envelope shapes for melody
Tone shape: tone+2kHz/noise/tone/silence
Tempo: 16ms/section~1 sec/section
Dice form or 16-pin DIP
Applications
Toys
Alarm clocks
Public address system
Alert & warning system
Sound effect generators
Voice interface products
General Description
The HT812L0 is a single chip PCM voice and sound effect synthesizer . It provides 2.8 seconds of voice capacity at a 6kHz sampling rate (F
SR
=6kHz) and 32 sections of sound ef­fects/simple melodies. A maximum of 8 keys or 4
×4 MATRIX are available. Of the 8 keys or 4×4
MATRIX, KEY1 can be optioned as a direct or sequential/random key, so that it can play an interlaced voice/sound effect/simple melody and generate various speci al sound effects for toys and sound effect generator applications.
1 5th May ’98
Block Diagram
Pad Coordinates
Unit: µm
Pad No. X Y
1 –822.65 828.40 2 –855.15 –900.10 3 26.65 –823.00 4 176.65 –828.00 5 516.25 –827.60 6 666.25 –827.60 7 830.65 –819.30 8 824.55 394.80
9 816.55 828.40 10 654.75 828.40 11 493.55 828.40 12 331.75 828.40 13 –338.55 828.40 14 –497.15 828.40 15 –664.15 828.40
Chip size: 1970
× 2120 (µm)
2
*The IC substrate should be connected to VSS in the PCB layout artwork.
HT812L0
2 5th May ’98
Pad Description
Pad No. Pad Name I/O
Internal
Connection
Description
2 VDD I Positive power supply 3AUD O
PMOS
Open Drain
Voice/tone output driving an external transistor
4 OSC2 O Oscillator output pin 5 OSC1 I Oscillator input pin
6
FLAG1 O
NMOS
Open Drain
3Hz flash/busy output/6Hz (by code o ption), active low
7 VSS I Negative power supply (GND) 8 FLAG2 O
NMOS
Open Drain
3Hz flash/busy output/ENDP/sound level display (by mask option), active low
9~15, 1 KEY1~KEY8 I Pull-High
Trigger key, active low. KEY1 can be optioned as a direct or sequential/random key, the 7 keys as direct keys only or by mask option as 4
×4 matrix
key
Absolu te Maxim um Ratings *
Supply Voltage.................................–0.3V to 6V Storage Temperature.................–50°C to 125°C
Input Voltage................. V
SS
–0.3V to VDD+0.3V Operating Temperature...............–20°C to 70°C
*Note: These are stress ra tings on ly. Stresses exceeding the range specifie d under “Ab solute Maxi -
mum Ratings” ma y 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 (Ta=25°C)
Symbol Parameter
Test Conditions
Min. Typ. Max. Unit
V
DD
Conditions
V
DD
Operating Voltage 2.4 5.0 V
I
OP
Operating Current 3V
No load, f
OSC
=96kHz
—200400
µA
I
STB
Standby Current 3V 1 3 µA
I
O
Max. AUD Output Current 3V VOH=0.6V –1.5 –2 mA
I
OL
FLAG Sink Current 3V VOL=0.3V 2 3 mA
V
IH
“H” Input Voltage 0.8V
DD
—VDDV
V
IL
“L” Input Voltage 0 0.2V
DD
V
f
OSC
Oscillating Frequency 3V 96 kHz
HT812L0
3 5th May ’98
Functional Description
The HT812L0 is a voice and melody synthesizer LSI with 2.8-second voice capacity at 6kHz sampling rate and 32 sections of sound ef­fects/simple melodies. The 2.8 seconds of voi ce capacity can be divided into sections of arbi­trary length. Notice that the silence length is not included in the memo ry. A s for the 32-sec­tion tone table, various sound effects can be generated.
The HT812L0 provides a maximum of 8 keys, 2 status indicator driving pins and a current type D/A output. Of the 8 keys, only KEY1 can be optioned as a sequentia l (random) or a direct key. Th e remaining 7 keys (KEY2~KEY8) are used as direct keys exclus ively or by mask op­tion as matrix key input (4
×4).
Voice section and group
Voice section The total synthesized voi ce contents (2.8 sec-
onds) can be partitioned into the desired num­ber of sections depending on the si ze of the ROM table. The length of each section is de­cided by the requirements of the voice con­tents. For example:
Melody section The HT812L0 provides 32 melody/tone sec-
tions at maximum . Each secti on is comp osed of 16 tone codes and e ach code stands for a period of tone output. The tone frequency en ­velope shape, envelope length and speed of tone (tempo) are all programmable. There-
fore, a variety of sound effects and melodies can be generated.
Group A group can consist of one or mo re sections
and be made up solely of voice or melody or a combination of b oth sounds. The same voice and melody sections can appear in different groups, as shown below:
Group 1 sec.1 + sec.2 + Melody.1 + sec.5 Group 2 sec.3 + Melody.2 + Melody.1 Group 3 sec.2 + sec1 Group 4 sec.2 + Melody.3 + sec.4
: :
: :
Group 16 None
The maximum amoun t of groups included in the HT812L0 is decided by the setting of KEY1, as described in the following:
KEY1 as a direct key When KEY1 is selected as a dire ct key, the
maximum amount of groups included in the HT812L0 is 16. And the sum of the voice and melody sections o f the 16 groups has to be less than 256. When one of the 8 keys is triggered, the sections of the correspo ndi ng group is played in sequence.
KEY1 as a sequential (or random) key When KEY1 is set as a sequential (or ran-
dom) key, the maximum amount of grou ps included in the HT812L0 can be defined by the user under the conditio n that the total number of the voice an d melody sections o f the groups is less than 256 . Of the 8 keys, only KEY1 can be made up of more than one group . The remaining 7 keys (KEY2~KEY8) comprised one group only.
HT812L0
4 5th May ’98
For example:
Group 1-1 sec.1 + sec.4 Group 1-2 sec.3 + Melody.1
: :
:
: Group 1-N sec.2 + sec1 + Melody.1 + sec.1 Group 2 Melody.1 + Melody.3 + sec.1 Group 3 sec.2 + sec.3
: :
:
: Group 16 sec.1 + Melody.2 + Melody.3
Each time KEY1 is triggered, the corre­sponding group is played in sequence. When the last group is finished th e KEY1 group sequence will be repeated by successive trig­ger inputs.
KEY1 as a two-group key (TWIN mode). KEY1 can play two groups, if KEY 1 is h eld down, the group 1 can be played repeatedly till KEY1 is released, and immediately then the group 2 will be played one cycle by the rising edge of KEY1. (see Figure 1)
Key operation functions
KEY1~KEY8 all function as trigger keys. By mask option, the HT 81 2L0 provi des three trig­ger functions for the 8 keys , namely: “one shot”, “level hold” and “level trigge r”. All of the three trigger functions can be optioned as retrigger­able or non-retriggerable.
Trigger function
One shot When one of the 8 keys (KEY1~KEY8) is
pressed and held down, or pressed momen­tarily, the group corresp ond ing to that he ld or pressed key will play once.
Level hold When one of the 8 keys is triggered, the
group corresponding to the triggered key will keep playing till that key is released.
Level trigger When one of the 8 keys is pressed and held
down, the corresponding group will keep playing. Once the pressed key is release d, the group will not stop till the included sec­tions are all completed.
Figure 1 One key two groups function (TWIN mode)
HT812L0
5 5th May ’98
Trigger mode
Retriggerable
When a group is playing corresponding to a momentarily triggered key, any further key input can terminate the currently playing group and start playing the group corre­sponding to the newly triggered key. How­ever, if a group of KEY1~KEY 8 is playing but the key corresponding to the playing group is still held down , whether the cur­rently playing group will be forcefully stopped or not, depends on the key priority, namely;
KEY1>KEY2> KEY3>KEY4
>KEY 8.
Non-retriggerable
In the non-retriggerable mod e, when one o f the 8 keys (KEY1~KEY8) is pressed, the corresponding group will not start playing till the currently playing group is com­pleted.
AUD
The AUD pin is a PM OS op en dra in stru cture. It outputs voice and tone signals to drive a speaker through an external NPN transistor when the chip is active. However, the AUD pin becomes a floatin g output when the ch ip is in the standby state.
The 8050 type transis tor with h
FE
150 is rec-
ommended for an output driver.
System oscillator
The HT812L 0 has an RC oscillator which re ­quires only one external resistor for normal applications. The oscillator frequency is typi­cally 96kHz for an external resistor.
The oscillator is turned on when triggered by a key input. After playing, the oscillator is turned off and the chip goes into the standby state.
Mask opt ions
The HT812L0 provides the following mask op­tions for different applications. Before manu­facture, all of the options must be defined to enable a proper syste m of op eration.
Mask options for keys:
Keys debounce time: 22ms/45ms
Pull-high resistor: 20k/50k/100k
Trigger function: Level hold/One shot/Level trigger
Direct key or matrix key (4×4)
Normal or two pages (Direct key=16 trigger, matrix key=32 trigger)
FLAG2 outputs: 3Hz/sound level/busy/endp (Mask option)
3Hz flash When voices are playing, the FLAG LED
flashes with a 3Hz rate. The LED turned on duty is 25%.
In the standby s tate, the FLAG pin is a floating output.
HT812L0
6 5th May ’98
Busy output
When voices are playing, the FLAG pin is turned low and the FLAG LED is switched on. Once the voice output is terminated, FLAG becomes a floating output and the FLAG LED is switched off.
Sound level display
The brightness o f the LED will vary with the volume in the voice output state.
Programmable items
Voice section
Tempo
Decay time and envelope shape There are four programmable envelope
shapes and decay time to smooth out tone and melody sounds.
Decay time: 2 sec, 1 sec, 0.5 sec, 0.25 sec
Tone shape: tone+2kHz, noise, tone, silence
Trigger mode: retriggerable/ non- ret riggerable
REPEAT functi on
FLAG1 outputs, 3Hz/6Hz/Busy/Off
HT812L0
7 5th May ’98
Application Circuits
Direct key application
HT812L0
8 5th May ’98
Key Matrix (4×4) application
Standard Item List
Item Name R
OSC
Remorks
HT812LA DJDRUM 436kMatrix key and option page
HT812L0
9 5th May ’98
Loading...