Datasheet API8108A Datasheet (APLUS)

API8108AAPLUS
VOICE ROM
FEATURES
inimum 10 second voice length at 6 KHzM *
ersatile features for playbackV* ombination of voice building blocksC*
extends the duration of playback
oice data re-use saves memory spaceV* Four trigger pins,TG1 to TG4 for eight groups* SBT for sequential play-all*
oldable and unholdable, edge and levelH# triggering option
15 ms debounce time suitable for CDS*
RP interrupt pin for master resetI*
Three programmable output pins for STP Stop* Pulse, BUSY Signal, and LED
ANTTILE 10 SEC INSTVERSA
JUNE 1999
uilt-in oscillator with variable sample rateB* ingle external resistor to determine sample rateS* uilt-in D/A converter, EPROMB*
ADPCM data compression provides high sound* quality
ptional pop noise elimination functionO*
*C
pin drives speaker with a transistorOUT
drives buzzer or speaker2OUT and V1OUT#V
directly
uto-power downA*
3.0V-6V single power supply operation* A at 3V)mLow standby current (<5 *
evelopment tools supportD*
GENERAL DESCRIPTION
API8108A is a high quality voice synthesizer capable of varying playback duration. A proprietary ADPCM algorithm is used. The audio message is stored in a 256K bits on­chip EPROM which can store up to ten seconds of voice data at 6 KHz sample rate.
The API8108A 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 API8108A provides wide operating voltage range feom 2.8Vto6.0V.PWM digital amplifier output pins,VOUT1
provides direct drive to buzzer or speaker.2OUTand V
OUTA current output pin, C
, 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 API8108A can be subdivided into 124 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 to TG4 pins. The SBT pin can be used to trigger multiple groups playback in sequence.
Group Configuration
Voice within each group are combinations of different fixed memory sections of up to 124 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.
An example of group configuration is illustrated below:
Section EntryGroup No.
Sec 1 + Sec 2 + Sec 3 -----. Sec 1091Group Sec 3 + Sec 2Group 2 Sec 10 + Sec 11 + Sec 12Group 3 Sec110 + Sec 10 + Sec 5Group 4
1
APLUS API8108A
Group Configuration
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 API8108A 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.
(continued)
Programmable Options
Groups in API8108A can have independent options. They include:
* Edge or Level trigger * Unholdable or Holdable trigger * Retriggerable or non-retriggerable * LED1, LED2, Busy, and Stop pulse are configurable * Four selections in playback frequency
Selections in Triggering
The API8108A can be triggered in different ways, Edge or Level trigger, Holdable or Unholdable, Retriggerable or Non-retriggerable. The combinations of the triggering op­tions 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 content message and start the next message immediately.
Selections in Playback Frequency
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.
Selections in Output Buffer
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
1. LED1 Busy LED2
2. Stop LED2 LED1
3. Busy LED1 Stop
4. LED2 Stop Busy
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 intor their applications very easily.
2
APLUS API8108A
BLOCK DIAGRAM
¨
OSC
TG1 TG2 TG3 TG4
SBT
IRP
OUT1 OUT2 OUT3
OSCILLATOR
CLOCK
GENERATOR
CONTROL
LOGIC
OUTPUT
DRIVER
ADDRESS
SEQUENCER
POP NOISE
REDUCTION
VOICE
EPROM
ADPCM
DECODER
D/A
BUZZER BUFFER
CC
V
GND
C
OUT
V
OUT1
V
OUT2
3
APLUS
API8108A
PIN CONFIGURATIONS
300-mil PDIP
OUT1
V
OUT1
V
OUT2
GND OUT2 OUT3
C
OUT
OSC
1 2 3 4 5 6 7 8
16 15 14 13 12 11 10
PIN DESCRIPTION
OUT1 Programmable output 1 OUT2 Programmable output 2
IRP SBT TG4 TG3 V
CC
TG2 TG1
9
V
PP
OUT3 Programmable output 3 VOUT1 PWM audio signal output for buzzer and speaker VOUT2 PWM audio signal output for buzzer and speaker
GND Power ground COUT Current output from internal DAC for speaker playback OSC Oscillator resistor pin to control sampling frequency
VPP Program power supply, no connect when voice playback
TG1 TG2
VCC Positive power supply
TG3 Trigger switch 3, internal pull low, active high
TG4
SBT Sequential trigger, internal pull low, active high
IRP Interrupt to stop playback, internal pull low, active high
Trigger switch 1, internal pull low, active high Trigger switch 2, internal pull low, active high
Trigger switch 4, internal pull low, active high
BONDING DIAGRAM
12 11 10 9 8 7 6 5
Y
X
(0,0)
13 14 15 16 2 413
Note: Substrate must be connected to GND Pad size = 80 mm x 80 mm Die size = 2128 mm x 16 35
83.78mil x 64.37 mil
NC
m
m
Note:
1. The following pins are used to program data into the memory: pins 4, 5, 6, 8, 9, 12, 15 and 16.
BONDING PARAMETERS
Pin Name X Y
1 OUT1 204 -678 2VOUT1 423 -678 3VOUT2 718 -678
NC
4 GND 893 -678 5 OUT2 786 677 6 OUT3 590 677 7COUT 167 677 8 OSC -89 677
9VPP -306 677 10 11 12 VCC -899 677 13 TG3 -796 -678
TG1 TG2
-483 677
-691 677
Note: Programming requires connection to pins 4, 5, 6, 8, 9, 12, 15, and 16.
4
14 15 SBT -380 -678 16 IRP -172 -678
TG4
-588 -678
APLUS API8108A
ABSOLUTE MAXIMUM RATINGS
Symbol Parameter Value Unit
VCC - GND Terminal Voltage with Respect to GND -0.5 to +7.0 V VIN GND -0.3 < V IN < VCC + 0.3 V VOUT GND < VOUT < VCC V TA Operating Temperature -10 to +85 °C TSTG Storage Temperature -55 to +125 °C
DC CHARACTERISTICS
Symbol Parameter Description Test Conditions Min. Typ. Max. Unit
VCC Operating Voltage 3.0 4.5 5.0 V ISB Standby Current Vcc = 3.0V, I/O Open - 1 5 uA IOP Operating Current Vcc = 3.0V, I/O Open - - 100 uA VIH Input HIGH Voltage Vcc = 3.0V 2.5 3.0 3.5 V VIL Input LOW Voltage Vcc = 2.0V - 0.3 0 0.3 V IOH VOUT HIGH Operating Current Vcc = 3.0V, VOUT = 3.0V - -12 - mA IOL VOUT LOW Operating Current Vcc = 3.0V, VOUT = 0V - 12 - mA ICO COUT Operating Current Vcc = 3.0V, VCOUT = 0.7V - - 2 - mA ISTPH STP HIGH Operating Current Vcc = 3.0V, VSTP = 3.0V - - 5 - mA ISTPL STP LOW Operating Current Vcc = 3.0V, VSTP = 0V - 5 - mA ILED LED Output Current Vcc = 2.2V - 6.0V 6 8 10 mA DF/F Frequency Stability (FOSC [3V] - FOSC [3.5V]) / FOSC (3.0V) - - 5 %
5
APLUS API8108A
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
C
OUT
Group 2
LED STP
2. Level Holdable
a. Trigger is shorter than a Group output b. Trigger is longer than a Group output
TG1
Group 1 Group 2 Group 2
TG2
C
OUT
Group 2
Group 1 Group 2 Group 2
LED
3. Single Button Trigger (SBT), Sequential a. Level Unholdable
SBT
C
OUT
Group 1
Group 2 Group 2 Group 2 Group N Group 1
b. Level Holdable
SBT
C
OUT
Group 1
Group 2 Group 2 Group 2 Group N Group 1
Where N is up to 8.
6
APLUS API8108A
4. Edge,Unholdable,Non-retritggerable
a. Trigger is shorter than a phrase output tb. Trigger is longer than a phrase outpu
TG1 TG2
C
OUT
STP
Grroup 2
Group 1 Grouup 2
LED
5. Edge Holdable
a. Trigger is shorter than a phrase output tb. Trigger is longer than a phrase outpu
TG1
TG2
Group2
C
OUT
LED
6. Single Button Trigger (SBT), Sequential
a. Edge Unholdable
Group 1 Group2
SBT
C
OUT
b. Edge Holdable
SBT
OUT
C
Where N is up to 8.
7
Group 1 1Group Group N
Group 1
Group2
Group 2
Group N
Group
1
APLUS API8108A
APPLICATION CIRCUITS TYPICAL APPLICATION
OSC
R
OSC
TG1 TG2 TG3 TG4 SBT IRP
CASCADE APPLICATION
OSC
R
Vcc
GND
OSC
C
OUT
Vcc
R
SP
R
OSC
R
OSC
OSC
OSC
TG1 TG2 TG3 TG4 SBT IRP
Vcc
C
Vcc
GND
OUT
OUT1
V V
OUT2
C
PIEZO BUZZER OR 32/64 OHM SPEAKER
SP
Notes:
R = 330 Ohm (if using transistor 8050 and Vcc = 4.5V).2. SP = 8 Ohm speaker.3.
SBT IRP
C
OUT3
GND
OUT
R
SBT IRP
GND
F).mTo direct dirve a speaker or buzzer, C is needed (C = 0.1 1.
tables on page 6.OSC refer to the Sampling Frequency vs. R,OSCTo determine the value of R4.
8
APLUS API8108A
APPLICATION CIRCUITS PARALLEL APPLICATION
ROSC
LED APPLICATION
OSC TG1
TG2 TG3 TG4 SBT IRP
R
Vcc
GND
OSC
C
OUT
OSC
TG1 TG2 TG3 TG4 SBT IRP
ROSC
Vcc
GND
OUT
C
OUT2 OUT1
OSC TG1
TG2 TG3 TG4 SBT IRP
R
Vcc
GND
C
SP
SP
OUT
R
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 API8108A
APPLICATION CIRCUITS CDS APPLICATION
R
CDS
8-SEGMENT TRIGGER APPLICATION
SW8
SW5
SW6
OSC
R
SW1
SW2
OSC
OSC
SBT IRP
OSC TG1
TG2
Vcc
GND
Vcc
C
C
SP
OUT
R
SP
OUT
R
SW7
SW3
SW4
TG3 TG4
GND
10
Loading...