APLUS API840N 32 to 40 SEC INSTANT VOICE ROM JUNE 1999 FEATURES GENERAL DESCRIPTION * Voice length at - 8 KHz sampling is 32 seconds - 6 KHz sampling is 40 seconds * Silence compression to save memory * Eight trigger pins,TG1 to TG8 for 32 sections * SBT pin play-all or sequential play-all * 15 ms debounce time suitable for CDS * IRP interrupt pin stops playback at once * STP stop pulse generated at end of playback * BUSY signal for CPU control * Two LEDs flash at 3 Hz internal * 3.0V to 6V single power supply operation * Low standby current (<5 mA at 3V) * Auto-power down * Built-in oscillator, D/A converter, EPROM * ADPCM data compression * Optional pop noise elimination function * COUT pin drives speaker with a transistor * Development tools support * VOUT1 and VOUT2 drives buzzer directly * Sampling rate determined by external resistor * Holdable and unholdable triggering option * Industrial temperature available API840N is a high-quality voice synthesizer with a capacity of 32 to 40 seconds. A proprietary ADPCM algorithm is used. The audio message is stored in a 1024-Kbit on-chip EPROM. The API840N eliminates the need of complicated circuitry in voice playback (Figure 1) but still achieves high voice quality. Sounds such as human speech, animal sounds, musical sounds, and even special sound effects can be synthesized. Devices can be cascaded to achieve longer voice duration (Figure 3). Two devices can be configured in parallel (Figure 4) in order to achieve signal mixing without an external mixer allowing speeches to be mixed with background music synthesis from two different chips. The instant programming nature of the API840N allows a very short production turnaround time. There are no NRE charges that are usually required with conventional voice ROMs. Users now can apply a voice synthesis function as an additional feature to their products even when production volume is relatively small. It is also ideal for trial or engineering prototyping. As a result, the initial investment is minimal and the risk in the product development phase is reduced. The API840N provides a wide voltage operating range from 3.0V to 6.0V. A pair of PWM output pins, VOUT1 and VOUT2 provide direct drive to a buzzer (Figure 2). Voice quality from a buzzer is comparable to speaker output and power consumption is much lower. A current output pin, COUT, enables the device to drive a speaker with a low cost NPN transistor. No complex filtering or amplifier circuit is needed. An automatic ramp up/down function eliminates the undesired noise at the end of playback. Up to 32 sections are accessible through TG1 to TG8.The SBT trigger pin can be programmed to playback all 32 sections or sequentially from section 1 to 32. An interrupt pin (IRP) and stop pulse (STP) or BUSY signals provide handshaking with microprocessors or other API840N devices. All trigger pins give 15 ms debounce time and is ideal for CDS applications as in Figure 6. Two LED drivers are available, flashing on and off at approximately 3Hz intervals (Figure 5). The internal voltage compensation oscillator requires only one external resistor. Different sampling frequencies are determined by the external oscillator resistor value. 1 APLUS API840N BLOCK DIAGRAM OSC OSCILLATOR Vcc VOICE EPROM ADDRESS SEQUENCER GND CLOCK GENERATOR ADPCM DECODER TG1 CONTROL LOGIC TG8 SBT IRP D/A COUT POP NOISE REDUCTION LED2 LED1 STP BUZZER BUFFER LED DRIVER VOUT1 VOUT2 Programmable Options Silence Compression The API840N provides different control functions for user specified applications. They include: If a particular sound sequence includes periods of silence, the API840N will automatically compress the silence to save memory space. This compression will not affect playback of the sound sequence. * Non-sequential or Sequential Play-all * Unholdable or Holdable trigger * STOP or BUSY signal selection * Automatic ramp-up/ramp-down or no ramp-up/ramp-down ABSOLUTE MAXIMUM RATINGS(1) Symbol VTERM TBIAS TSTG Parameter Terminal Voltage with Respect to GND Temperature Under Bias Storage Temperature Value -0.5 to +7.0 -40 to +85 -55 to +125 Unit V °C °C Notes: 1. Stress greater than those listed under ABSOLUTE MAXIMUM RATINGS may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect reliability. OPERATING RANGE 2 Range Ambient Temp. Vcc Commercial Industrial 0°C to +70°C -40 °C to +85°C 3.0V to 5.0V 3.0V to 5.0V APLUS API840N SECTION TRIGGERING TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 Section HIGH NC NC NC NC NC NC NC 1 NC HIGH NC NC NC NC NC NC 2 NC NC HIGH NC NC NC NC NC 3 NC NC NC HIGH NC NC NC NC 4 NC NC NC NC HIGH NC NC NC 5 NC NC NC NC NC HIGH NC NC 6 NC NC NC NC NC NC HIGH NC 7 NC NC NC NC NC NC NC HIGH 8 HIGH HIGH NC NC NC NC NC NC 9 NC HIGH HIGH NC NC NC NC NC 10 NC NC HIGH HIGH NC NC NC NC 11 NC NC NC HIGH HIGH NC NC NC 12 NC NC NC NC HIGH HIGH NC NC 13 NC NC NC NC NC HIGH HIGH NC 14 NC NC NC NC NC NC HIGH HIGH 15 HIGH NC NC NC NC NC NC HIGH 16 HIGH HIGH HIGH NC NC NC NC NC 17 NC HIGH HIGH HIGH NC NC NC NC 18 NC NC HIGH HIGH HIGH NC NC NC 19 NC NC NC HIGH HIGH HIGH NC NC 20 NC NC NC NC HIGH HIGH HIGH NC 21 NC NC NC NC NC HIGH HIGH HIGH 22 HIGH NC NC NC NC NC HIGH HIGH 23 HIGH HIGH NC NC NC NC NC HIGH 24 HIGH HIGH HIGH HIGH NC NC NC NC 25 NC HIGH HIGH HIGH HIGH NC NC NC 26 NC NC HIGH HIGH HIGH HIGH NC NC 27 NC NC NC HIGH HIGH HIGH HIGH NC 28 NC NC NC NC HIGH HIGH HIGH HIGH 29 HIGH NC NC NC NC HIGH HIGH HIGH 30 HIGH HIGH NC NC NC NC HIGH HIGH 31 HIGH HIGH HIGH NC NC NC NC HIGH 32 3 APLUS API840N PIN DESCRIPTIONS Name I/O TG8 LED 1 VOUT1 VOUT2 GND STP/BUSY LED 2 PIN CONFIGURATION Function I Trigger Switch 8, Internal Pull LOW, Active HIGH O Drives First LED Flash at 3 Hz, Active LOW O O PWM Audio Signal Output for Buzzer Compliment PWM Audio Signal Output for Buzzer - Power Ground O Generate 30 ms Pulse or Busy Signal After Voice Playback O Drives Second LED Flash at 3 Hz, Active LOW COUT O Current Output from Internal DAC for Speaker Playback OSC I Oscillator Resistor Pin to Control Sampling Frequency TG5 I Trigger Switch 5, Internal Pull LOW, Active HIGH TG6 I Trigger Switch 6, Internal Pull LOW, Active HIGH VPP - Program Power Supply, No Connect When Voice Playback TG1 I Trigger Switch 1, Internal Pull LOW, Active HIGH TG2 I Trigger Switch 2, Internal Pull LOW, Active HIGH VCC - Positive Power Supply TG3 I Trigger Switch 3, Internal Pull LOW, Active HIGH TG4 I Trigger Switch 4, Internal Pull LOW, Active HIGH SBT I One Key or Sequential Trigger, Internal Pull LOW, Active HIGH IRP I Interrupt to Stop Playback, Internal Pull LOW, Active HIGH TG7 I Trigger Switch 7, Internal Pull LOW, Active HIGH Note: 1. The following pins are used to program data into the memory on the chip: pins 5, 6, 7, 9, 12, 15, 18 and 19. 4 20-Pin 300-mil PDIP TG8 1 20 TG7 LED1 2 19 IRP VOUT1 3 18 SBT VOUT2 4 17 TG4 GND 5 16 TG3 STP 6 15 VCC LED2 7 14 TG2 COUT 8 13 TG1 OSC 9 12 VPP TG5 10 11 TG6 APLUS API840N BONDING DIAGRAM Y BONDING PARAMETERS Pin Name X Y 1 TG8 3451.9 1599.7 2 LED1 3451.9 1861.0 3 VOUT1 3451.9 2147.6 4 VOUT2 3451.9 2444.5 5 GND 3368.10 2803.35 6 5 7 4 8 3 9 2 6 STP 137.18 2795.93 10 1 7 LED2 100.4 2486.3 11 20 8 COUT 100.4 2245.0 12 19 13 18 9 OSC 100.4 1790.0 14 17 10 TG5 100.4 1469.5 15 16 11 TG6 100.4 1230.0 12 VPP 100.4 989.6 13 TG1 100.4 662.3 14 TG2 100.4 422.7 15 VCC 187.05 113.78 16 TG3 3372.5 141.8 17 TG4 3451.9 581.5 18 SBT 3451.9 836.0 19 IRP 3451.9 1090.6 20 TG7 3451.94 1345.13 X (0,0) Note: Substrate must be connected to GND Pad size = 100 mm x 100 mm Die size:3628mm x 3797mm DC CHARACTERISTICS Symbol Parameter Description Condition Min. Typ. Max. Unit 3.0 4.5 5.0 V 5 mA VCC Operating Voltage ISB Standby Current VCC = 3.0V, I/O Open - 1 IOP Operating Current Vcc = 3.0V, I/O Open - - 100 mA VIH Input HIGH Voltage Vcc = 3.0V 2.5 3.0 3.5 V VIL Input LOW Voltage Vcc = 3.0V -0.3 0 0.3 V IOH VOUT LOW O/P Current Vcc = 3.0V, VOUT = 0V - -12 - mA IOL VOUT HIGH O/P Current Vcc = 3.0V, VOUT = 3.0V - 12 - mA ICO COUT O/P Current Vcc = 3.0V, VCOUT = 0.7V - -2 - mA ISTPH STP LOW O/P Current Vcc = 3.0V, VSTP = 0V - -5 - mA TSTPL STP HIGH O/P Current Vcc = 3.0V, VSTP = 3.0V - 5 - mA ILED Output Current LED Vcc = 3.0V - 6.0V 6 8 10 mA DF/F Frequency Stability FOSC(3V) - F OSC(3.5V) FOSC (3V) - - 5 % 5 APLUS API840N TIMING DIAGRAM PULSE TRIGGERED. a. Trigger is shorter than a phrase output b. Trigger is longer than a phrase output TG1 TG2 COUT Phrase 2 Phrase 1 Phrase 2 Phrase 2 STP LED LEVEL TRIGGERED a. Trigger is shorter than a phrase output b. Trigger is longer than a phrase output TG1 TG2 Phrase 2 Phrase 1 Phrase 2 Phrase 2 COUT LED SINGLE BUTTON TRIGGER, NON-SEQUENTIAL PLAY-ALL (SBT) a. Pulse Triggered SBT COUT Phrase 1 Phrase 2 Phrase N Phrase 1 Phrase N Phrase 1 b. Level Triggered SBT COUT 6 Phrase 1 Phrase 2 Phrase 1 Phrase N Phrase 1 APLUS API840N SINGLE BUTTON TRIGGER, SEQUENTIAL (SBT) a. Pulse Triggered SBT COUT Phrase 1 Phrase 2 Phrase 2 Phrase 2 Phrase N Phrase 1 Phrase 1 Phrase 2 Phrase 2 Phrase 2 Phrase N Phrase 1 b. Level Triggered SBT COUT 7 APLUS API840N APPLICATION CIRCUITS Vcc ROSC OSC TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 SBT IRP Vcc VOUT1 ROSC SP OSC COUT TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 SBT IRP R GND Figure 1. Typical Application with Speaker Vcc ROSC OSC VOUT2 GND Figure 2. Typical Application with Piezo Buzzer Vcc ROSC SP OSC COUT COUT SBT IRP IRP Figure 3. Cascade Application 8 R SBT STP GND PIEZO BUZZER GND APLUS API840N APPLICATION CIRCUITS Vcc ROSC OSC Vcc ROSC SP OSC COUT TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 SBT IRP COUT TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 SBT IRP GND R GND Figure 4. Parallel Application (Mixing two speeches or speech with background music) Vcc ROSC SP OSC TG1 TG2 TG3 TG4 TG5 TG6 TG7 TG8 SBT IRP COUT R LED2 LED1 GND Figure 5. LED Application 9 APLUS API840N APPLICATION CIRCUITS Vcc ROSC OSC CDS SP COUT SBT R IRP GND SW8 Vcc ROSC SW5 SW1 SW6 SP OSC COUT TG1 SW2 TG2 SW7 R TG3 SW3 TG4 SW4 GND Figure 6. CDS Application and Additional Trigger Notes: The following are typical values: 1. ROSC = 2.0 M OHM. 2. B for N (NPN transistor) > 130. 3. SP = 8 OHM 1/4W. 4. Piezo buzzer resonant frequency = 1 KHz. 10