API8108A APLUS VERSATILE 10 SEC INSTANT VOICE ROM JUNE 1999 FEATURES * Minimum 10 second voice length at 6 KHz * 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 # 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 COUT pin drives speaker with a transistor VOUT1 and VOUT2 drives buzzer or speaker directly Auto-power down 3.0V-6V single power supply operation Low standby current (<5 mA at 3V) Development tools support 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 onchip 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. 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. The API8108A provides wide operating voltage range feom 2.8Vto6.0V.PWM digital amplifier output pins,VOUT1 and VOUT2 provides direct drive to buzzer or speaker. An example of group configuration is illustrated below: Group No. Section Entry 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 rampdown function eliminates undesired noise at the end of playback. 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 1 APLUS Group Configuration (continued) 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. 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 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 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 2 API8108A 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. APLUS API8108A ¨ BLOCK DIAGRAM OSC OSCILLATOR VCC VOICE EPROM ADDRESS SEQUENCER GND CLOCK GENERATOR TG1 TG2 TG3 TG4 SBT IRP OUT1 OUT2 OUT3 ADPCM DECODER CONTROL LOGIC D/A COUT POP NOISE REDUCTION OUTPUT DRIVER BUZZER BUFFER VOUT1 VOUT2 3 APLUS API8108A PIN DESCRIPTION PIN CONFIGURATIONS 300-mil PDIP OUT1 Programmable output 1 OUT2 Programmable output 2 OUT3 Programmable output 3 VOUT1 PWM audio signal output for buzzer and speaker OUT1 1 16 IRP VOUT1 2 15 SBT VOUT2 3 14 TG4 GND 4 13 TG3 VOUT2 PWM audio signal output for buzzer and speaker OUT2 5 12 VCC GND Power ground OUT3 6 11 TG2 COUT Current output from internal DAC for speaker playback COUT 7 10 TG1 OSC Oscillator resistor pin to control sampling frequency OSC 8 9 VPP V PP Program power supply, no connect when voice playback TG1 Trigger switch 1, internal pull low, active high TG2 Trigger switch 2, internal pull low, active high VCC Positive power supply TG3 Trigger switch 3, 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 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 BONDING DIAGRAM 12 11 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 Pad size = 80 mm x 80 mm Die size = 2128 mm x 16 35 mm 83.78mil x 64.37 mil Note: Programming requires connection to pins 4, 5, 6, 8, 9, 12, 15, and 16. 4 Pin Name X Y 1 OUT1 204 -678 2 VOUT1 423 -678 3 VOUT2 718 -678 4 GND 893 -678 5 OUT2 786 677 6 OUT3 590 677 7 COUT 167 677 8 OSC -89 677 9 VPP -306 677 10 TG1 -483 677 11 TG2 -691 677 12 VCC -899 677 13 TG3 -796 -678 14 TG4 -588 -678 15 SBT -380 -678 16 IRP -172 -678 APLUS API8108A ABSOLUTE MAXIMUM RATINGS Symbol VCC - GND VIN VOUT TA TSTG Parameter Terminal Voltage with Respect to GND Operating Temperature Storage Temperature Value -0.5 to +7.0 GND -0.3 < V IN < VCC + 0.3 GND < VOUT < VCC -10 to +85 -55 to +125 Unit V V V °C °C DC CHARACTERISTICS Symbol Parameter Description Test Conditions VCC ISB IOP VIH VIL IOH IOL ICO ISTPH ISTPL ILED DF/F 3.0 Vcc = 3.0V, I/O Open Vcc = 3.0V, I/O Open Vcc = 3.0V 2.5 Vcc = 2.0V - 0.3 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 6 (FOSC [3V] - F OSC [3.5V]) / FOSC (3.0V) - 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 Min. Typ. Max. Unit 4.5 1 3.0 0 -12 12 -2 -5 5 8 - 6.0 5 100 3.5 0.3 10 5 V uA uA V V mA mA mA mA mA mA % 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 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 Group 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 2 Group 2 Group 2 Group N Group 1 b. Level Holdable SBT COUT Group 1 Where N is up to 8. 6 APLUS API8108A 4. Edge,Unholdable,Non-retritggerable a. Trigger is shorter than a phrase output b. Trigger is longer than a phrase output TG1 TG2 Grroup 2 COUT Group 1 Grouup 2 STP LED 5. Edge Holdable a. Trigger is shorter than a phrase output b. Trigger is longer than a phrase output TG1 TG2 Group2 Group 1 Group2 COUT LED 6. Single Button Trigger (SBT), Sequential a. Edge Unholdable SBT COUT Group 1 Group2 Group 1 Group 2 Group N Group 1 b. Edge Holdable SBT COUT Where N is up to 8. 7 Group N Group 1 APLUS API8108A 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 mF). 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 6. 8 APLUS API8108A APPLICATION CIRCUITS 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 Notes: The following are typical values: 1. B of NPN transistor > 130. 2. SP = 8W. 1/4W. 3. Piezo buzzer resonant frequency = 1 KHz. 9 SP COUT R OUT2 OUT1 GND APLUS API8108A APPLICATION CIRCUITS 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 R TG3 TG4 GND 10