Aplus API8208 Versatile 20 sec instant voice rom Datasheet

APLUS
API8208A
VERSATILE 20 SEC INSTANT
VOICE ROM
FEATURES
GENERAL DESCRIPTION
• Minimum 20 second voice length at 6 KHz
API8208A is a high quality voice synthesizer capable of
varying playback duration. A proprietary ADPCM algorithm
is used. The audio message is stored in a 512K bits
on-chip EPROM which can store up to 20 seconds of
voice data at 6 KHz sample rate.
• Versatile features for playback
• Combination of voice building blocks
extends the duration of playback
• Voice data re-use saves memory space
• Four trigger pins, TG1 to TG4 for eight groups
• SBT for sequential play-all or random play
• Holdable and unholdable, edge and level
triggering option
• 15 ms debounce time suitable for CDS
• IRP interrupt pin for master reset
• Three programmable output pins for STP Stop
Pulse, BUSY Signal, and LED
• Built-in oscillator with variable sample rate
• Single external resistor to determine sample rate
• Built-in D/A converter, EPROM
• ADPCM data compression provides high sound
quality
• Optional pop noise elimination function
• C OUT pin drives speaker with a transistor
• V OUT1 and VOUT2 drives buzzer or speaker directly
• Auto-power down
• 3.0V-6V single power supply operation
The API8208A eliminates the need of complicated circuitry
in voice playback but still achieves high voice quality.
Sounds such as human speech, animal sounds, musical
sounds and even special sound effects can be synthesized.
Versatile combinations in sections achieve longer playback
duration. In addition, devices can be cascaded to achieve
longer voice duration. Two devices can be configured in
parallel in order to achieve signal mixing without an
external mixer in which speech can be mixed with
background music each from one of two different chips.
The API8208A provides wide operating voltage range
from 3.0V to 6.0V. PWM digital amplifier output pins,
VOUT1 and VOUT2 provides direct drive to buzzer or
speaker.
A current output pin, COUT, enables the device to drive a
speaker through a low cost NPN transistor. No complex
filtering or amplifier circuit is needed. An automatic
ramp-down function eliminates undesired noise at the end
of playback.
Group of sections
The voice data memory area of the API8208A can be
subdivided into 126 sections. Any combination of these
sections will form an individual group for data playback. A
maximum of eight groups are available with activation
controlled by TG1 toTG4 pins. The SBT pin can be used to
trigger multiple groups playback in sequence.
• Low standby current (<5 µ A at 3V)
• Development tools support
11/15/99
1
APLUS
API8208A
Group Configuration
Selections in Playback Frequency
Voice within each group are combinations of different
fixed memory sections of up to 126 sections. These
sections are the fundamental voice building blocks for
arranging playback without limiting sequencing. This
provides flexibility and allows data to be re-used, beneficial
for applications with many repeated sounds or words.
This option provides four choices for each group in
frequency which implies it is possible to have four
different sampling rates in one chip or one sample rate
with a different playback frequency. As a matter of fact,
the available choices are also dependent on the pullup
resistor value at the OSC pin. For example, if the
fundamental frequency choice is F, it can provide choices
in x1, x1-1/2, x2, x3.
An example of group configuration is illustrated below:
Group No.
Section Entry
Selections in Playback Mode
Group 1
Sec 1 + Sec 2 + Sec 3 ……. Sec 109
Group 2
Sec 3 + Sec 2
Group 3
Sec 10 + Sec 11 + Sec 12
Group 4
Sec110 + Sec 10 + Sec 5
There are two playback modes, Sequential and Random
in the API8208A If the chip is programmed in Sequential
Mode, messages will playback in the order from Group 1
to Group 8 by triggering the SBT pin. If the chip is
programmed in Random Mode, messages will be played
back randomly by triggering the SBT pin.
Group Configuration
Selections in Output Buffer
The entry of sections for each group is truly random and
without limitation. However, there is a limit in the total
number of entries for eight groups, which is 992 in the
API8208A It is acceptable to allocate all entries into only
one group or distribute out to other groups. It depends on
how many groups of messages are required.
There are three independent output pins, OUT1, OUT2,
and OUT3, available for several combinations of LED1,
LED2, Stop Pulse, and Busy Signal for each group. The
following table illustrates the four different combinations.
OUT1
OUT2
OUT3
Programmable Options
1.
LED1
Busy
LED2
Groups in API8208A can have independent options. They
include:
2.
Stop
LED2
LED1
3.
Busy
LED1
Stop
4.
LED2
Stop
Busy
•
Edge or Level trigger
•
Unholdable or Holdable trigger
•
Retriggerable or non-retriggerable
•
Sequential or Random playback
•
LED1, LED2, Busy, and Stop pulse are configurable
•
Four selections in playback frequency
Selections in Triggering
The API8208A can be triggered in different ways, Edge or
Level trigger, Holdable or Unholdable, Retriggerable or
Non-retriggerable. The combinations of the triggering
options provide versatile playback.
By enabling Retrigger, the playback can be controlled in
Stop and Start mode. A trigger on any trigger pin will stop
the current message and start the next message immediately.
2
LED1 and LED2 are complemented outputs flashing at
approximately a 3 Hz rate. Stop pulse (STOP) gives a 15
ms positive pulse at the end of the playback for each
Group with option have or do not have the Stop pulse.
Busy is active high and Section dependent but not Group
dependent. Even if same section in different group may
have different output in Busy output. For instance, BUSY
can be high for Section 4 in Group 1 but low in Group 4.
BUSY can be used as a synchronous signal. During
standby mode all three outputs must be low.
Software Support
APLUS provides dedicated software to the customer. With
this tool, the customer can compose their own messages
and configure the chip to fit into their applications very
easily.
APLUS
API8208A
BLOCK DIAGRAM
OSC
OSCILLATOR
VCC
VOICE
EPROM
ADDRESS
SEQUENCER
GND
CLOCK
GENERATOR
ADPCM
DECODER
TG1
TG2
TG3
TG4
SBT
IRP
CONTROL
LOGIC
D/A
COUT
POP NOISE
REDUCTION
OUT1
OUT2
OUT3
BUZZER
BUFFER
OUTPUT
DRIVER
VOUT1
VOUT2
PIN DESCRIPTION
PIN CONFIGURATIONS
300-mil PDIP
OUT1
Programmable output 1
OUT2
Programmable output 2
OUT3
Programmable output 3
OUT1
1
16
IRP
VOUT1
PWM audio signal output for buzzer and speaker
VOUT1
2
15
SBT
VOUT2
PWM audio signal output for buzzer and speaker
VOUT2
3
14
TG4
GND
Power ground
GND
4
13
TG3
COUT
Current output from internal DAC for speaker playback
OUT2
5
12
VCC
OSC
Oscillator resistor pin to control sampling frequency
OUT3
6
11
TG2
VPP
Program power supply, no connect when voice playback
COUT
7
10
TG1
TG1
Trigger switch 1, internal pull low, active high
OSC
8
9
VPP
TG2
VCC
TG3
Trigger switch 2, internal pull low, active high
TG4
Trigger switch 4, internal pull low, active high
SBT
Sequential trigger, internal pull low, active high
IRP
Interrupt to stop playback, internal pull low, active high
Positive power supply
Trigger switch 3, internal pull low, active high
Note:
1. The following pins are used to program data into the memory:
pins 4, 5, 6, 8, 9, 12, 15 and 16.
3
APLUS
API8208A
BONDING DIAGRAM
12 11
BONDING PARAMETERS
Pin
Name
1
OUT1
-6
–1017
2
VOUT1
297
–1017
3
VOUT2
803
–1017
4
GND
1058
–1017
5
OUT2
927
1017
6
OUT3
697
1017
7
COUT
199
1017
8
OSC
–103
1017
9
VPP
–358
1017
Pad size = 80 µm x 80 µm
10
TG1
–566
1017
Die size = 2350 x 2260 µm
11
–810
1017
92.5 x 88.97 mil
12
TG2
VCC
–1059
1017
10
9
8
7
6
5
NC
Y
X
(0,0)
13 14
15
16
NC
1
2
3
4
Note: Substrate must be connected to GND
Note:
Programming requires connection to
pins 4, 5, 6, 8, 9, 12, 15, and 16.
X
13
TG3
–934
–1017
14
TG4
–689
–1017
15
SBT
–444
–1017
16
IRP
–200
–1017
ABSOLUTE MAXIMUM RATINGS
Symbol
VCC - GND
VIN
VOUT
TA
TSTG
4
Parameter
Terminal Voltage with Respect to GND
Operating Temperature
Storage Temperature
Y
Value
–0.5 to +7.0
GND – 0.3 < VIN < VCC + 0.3
GND < VOUT < VCC
–10 to +85
–55 to +125
Unit
V
V
V
°C
°C
APLUS
API8208A
DC CHARACTERISTICS
Symbol
VCC
ISB
IOP
VIH
VIL
IOH
IOL
ICO
ISTPH
ISTPL
I LED
ÐF/F
Parameter Description
Operating Voltage
Standby Current
Operating Current
Input HIGH Voltage
Input LOW Voltage
VOUT HIGH Operating Current
VOUT LOW Operating Current
COUT Operating Current
STP HIGH Operating Current
STP LOW Operating Current
LED Output Current
Frequency Stability
Test Conditions
Min.
Typ.
Max.
Unit
Vcc = 3.0V, I/O Open
Vcc = 3.0V, I/O Open
Vcc = 3.0V
Vcc = 2.0V
Vcc = 3.0V, VOUT = 3.0V
Vcc = 3.0V, VOUT = 0V
Vcc = 3.0V, VCOUT = 0.7V
Vcc = 3.0V, VSTP = 3.0V
Vcc = 3.0V, VSTP = 0V
Vcc = 2.2V – 6.0V
(FOSC [3V] – FOSC [3.5V]) / FOSC (3.0V)
3.0
—
—
2.5
–0.3
—
—
—
—
—
6
—
4.5
1
—
3.0
0
–12
12
–2
–5
5
8
—
5.0
5
100
3.5
0.3
—
—
—
—
—
10
5
V
µA
µA
V
V
mA
mA
mA
mA
mA
mA
%
SAMPLING FREQUENCY vs
ROSC FOR API8208A
SAMPLING FREQUENCY vs
ROSC FOR API8208A
Common Sampling Rate vs. Oscillator Resistor
Common Resistors vs. Sampling Rate
Sampling Frequency
KHz
5.0
5.5
6.0
6.5
7.0
7.5
8.0
8.5
9.0
9.5
10.0
10.5
11.0
12.0
ROSC
Kohm
290
262
240
220
201
187
174
162
153
143
135
127
120
108
Sampling Frequency
KHz
13.0
14.0
16.0
22.0
Rosc
KOhm
100
91
82
54
5
APLUS
API8208A
TIMING WAVEFORMS
1. Level, Unholdable, Non-retriggerable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
TG1
TG2
COUT
Group 2
Group 1
Group 2
Group 2
LED
STP
2. Level Holdable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
TG1
TG2
COUT
Group 2
Group 1
Group 2
G roup 2
LED
3. Single Button Trigger (SBT), Sequential
a. Level Unholdable
SBT
COUT
Group 1
Group 2
Group 2
Group 2
Group N
Group 1
Group N
Group 1
b. Level Holdable
SBT
COUT
Where N is up to 8.
6
Group 1
Group 2
Group 2
Group 2
APLUS
API8208A
4. Edge, Unholdable, Non-retriggerable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
TG1
TG2
COUT
Grroup 2
Group 1
Grouup 2
STP
LED
5. Edge Holdable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
TG1
TG2
Group 2
Group 1
Group 2
COUT
LED
6. Single Button Trigger (SBT), Sequential
a. Edge Unholdable
SBT
COUT
Group 1
Group2
Group N
Group 1
b. Edge Holdable
SBT
COUT
Group 1
Group 2
Group N
Group 1
Where N is up to 8.
7
APLUS
API8208A
APPLICATION CIRCUITS
TYPICAL APPLICATION
Vcc
ROSC
SP
OSC
TG1
TG2
TG3
TG4
SBT
IRP
Vcc
VOUT1
ROSC
OSC
COUT
TG1
TG2
TG3
TG4
SBT
IRP
R
GND
VOUT2
C
PIEZO
BUZZER OR
32/64 OHM
SPEAKER
GND
CASCADE APPLICATION
Vcc
ROSC
Vcc
ROSC
SP
OSC
COUT
OSC
R
COUT
SBT
IRP
SBT
OUT3
GND
IRP
GND
Notes:
1. To direct dirve a speaker or buzzer, C is needed (C = 0.1 µF).
2. R = 330 Ohm (if using transistor 8050 and Vcc = 4.5V).
3. SP = 8 Ohm speaker.
4. To determine the value of ROSC, refer to the Sampling Frequency vs. ROSC tables on page 5.
8
APLUS
API8208A
PARALLEL APPLICATION
Vcc
ROSC
OSC
Vcc
ROSC
SP
OSC
COUT
TG1
TG2
TG3
TG4
SBT
IRP
COUT
TG1
TG2
TG3
TG4
SBT
IRP
GND
R
GND
LED APPLICATION
Vcc
ROSC
OSC
TG1
TG2
TG3
TG4
SBT
IRP
SP
COUT
R
OUT2
OUT1
GND
Notes:
The following are typical values:
1. B of NPN transistor > 130.
2. SP = 8 ohm 1/4W.
3. Piezo buzzer resonant frequency = 1 KHz.
9
APLUS
API8208A
CDS APPLICATION
Vcc
ROSC
SP
OSC
CDS
COUT
R
SBT
IRP
GND
8-SEGMENT TRIGGER APPLICATION
SW8
Vcc
ROSC
SW5
SW1
SW6
SP
OSC
TG1
COUT
SW2
TG2
SW7
SW3
SW4
10
TG3
TG4 GND
R
Similar pages