EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim GENERAL DESCRIPTION EM22000 series is a series of single chip ASPCM voice synthesizers fully utilizing the VLSI technology. It provide 3 seconds to 15 seconds of voice capacity with 6.4K Hz sample rate. The voice content can be partitioned into sections with arbitrary length and several sections can be combined to form a complete trigger group. In addition to multiple normal trigger inputs, 4 trigger modes (level mode, one-shot with re-trigger mode, one-shot without re-trigger mode and level hold mode with SAF3 active) of each trigger input, 3 output functions (stop pulse, active pulse and flash) and 2 output status (active high/inactive low; active low/inactive high) of control outputs are also provided to meet diverse applications. FEATURES • Single power supply: 2.2V~5.2V. • 3 seconds to 15 seconds voice capacity under 6.4 KHz sample rate. Device 22003 22006 22009 22012 22015 Capacity 3 sec. 6 sec. 9 sec. 12 sec. 15 sec. • 6.4K Hz, 8K Hz sample rates of each voice section is selective by mask option. • Three trigger configuration can be selected by mask option to normal trigger inputs or keyboard scan inputs. i. 4 trigger inputs by pure trigger (note : only 3 trigger inputs for EM22003/EM22006) ii. 8 trigger inputs by keyboard scan (note : only 6 trigger inputs for EM22003/EM22006) iii. 12 trigger inputs by keyboard scan (note : only 8 trigger inputs for EM22003/EM22006) • One of four trigger modes for each trigger input can be selected by option : i. Level mode ii. One-shot with re-trigger mode iii. One-shot without re-trigger mode iv. Level mode with SAF3 active • Three control output pins (SAF) for indicating or external device controlling are provided : i. Three output functions, STOP, ACT and FLASH, are selective for each control output (SAF) by mask option. ii. Two output configurations, active high/inactive low, active low/inactive high, are selective for each control output by mask option. • Built-in de-bounce circuit for about 20 ms. • Flash with volume function is provided. • Built in PWM driver to drive buzzer or speaker directly. * This specification are subject to be changed without notice. 10.15.2001 1 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P PIN DESCRIPTIONS Symbol TR1 TR2 TR3 TR4 SAF1 SAF2 SAF3 VO1 VO2 OSC VDD1 VDD2 GND1 GND2 TEST I/O I I I I O O O O O I I I I I I Function Trigger input Trigger input Trigger input Trigger input (only for EM22009/22012/22015) Control Output 1 Control Output 2 Control Output 3 Voice output to drive speaker Voice output to drive speaker Oscillation component connection pin Positive power supply Positive power supply Negative power supply Negative power supply For testing only FUNCTION DESCRIPTIONS In coding procedure, voice sources are separated into voice sections with arbitrary length. The sample rate of each section is selected as either 6.4K Hz or 8K Hz. Pause time of voice section is defined by each voice section. The maximum pause time can not exceed duration of the playing part of voice section. end of playing part Start of the section Playing part of voice section end of the section Pause of the section < m second m second A voice section A complete trigger group is formed by combining source voice sections. For example, Group1: sec3+sec1+sec3+sec5. Group2: sec4+sec1+sec2+sec2+sec5. The maximum section combination number in a trigger group and the total available section combination number for all trigger groups are limited. These limitations varying with devices as following : * This specification are subject to be changed without notice. 10.15.2001 2 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim Device EM22003/22006 EM22009/EM22012/EM22015 Available trigger groups 8 12 Max. source voice section number 15 31 Max. section combination for each trigger group 63 63 Total section combinations for all trigger groups 112 224 The EM22000 series provides both normal trigger inputs and keyboard scan inputs functions by mask option. Each trigger input has its own trigger mode independent of other trigger inputs. Furthermore, de-bounce circuits are provided to aviod false trigger caused from noise or bouncing pulse of switches. Trigger configuration 1 : Total output pins available : 3 (SAF1, SAF2, SAF3) Trigger v.s. group : EM22003/22006 Trigger VDD TR1 GROUP 1 TR2 GROUP 2 TR3 GROUP 3 EM22009/22012/22015 Trigger VDD TR1 GROUP 1 TR2 GROUP 2 TR3 GROUP 3 TR4 GROUP 4 Trigger configuration 2 : Total output pins available : 2 (SAF2, SAF3) Trigger v.s. group : EM22003/22006 Trigger VDD TR1 GROUP 1 TR2 GROUP 2 TR3 GROUP 3 SAF1 GROUP 4 GROUP 5 GROUP 6 EM22009/22012/22015 Trigger VDD SAF1 TR1 GROUP 1 GROUP 5 TR2 GROUP 2 GROUP 6 TR3 GROUP 3 GROUP 7 TR4 GROUP 4 GROUP 8 Trigger configuration 3 : Total output pins available : 1 (SAF3) Trigger v.s. group : EM22003/22006 Trigger VDD SAF1 TR1 GROUP 1 GROUP 4 TR2 GROUP 2 GROUP 5 TR3 GROUP 3 GROUP 6 SAF2 GROUP 7 GROUP 8 * This specification are subject to be changed without notice. Trigger TR1 TR2 TR3 TR4 EM22009/22012/22015 VDD SAF1 SAF2 GROUP 1 GROUP 5 GROUP 9 GROUP 2 GROUP 6 GROUP 10 GROUP 3 GROUP 7 GROUP 11 GROUP 4 GROUP 8 GROUP 12 10.15.2001 3 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P A. Trigger modes There are four trigger modes which are selectable for each trigger input : level mode, one-shot with retrigger mode, one-shot without re-trigger mode, and level mode with SAF3 active. Trigger modes of each trigger input are defined by mask option. 1.) Level mode Under this mode, the trigger group corresponds to the trigger input pin (TR) will be played until the level of TR pin goes low. TRx Vo Group X Group X Group X Group not finished Complete group finished Complete group finished Group X Group X Group not Complete group finished finished 2.) One-shot with retrigger mode Under this mode, the rising edge of the TR pin triggers the corresponding trigger group. The trigger is accepted whenever a pulse is applied on the TR pin. TRx TRy Vo Group X Complete group finished Group X Group not finished * This specification are subject to be changed without notice. Group X Complete group finished Group X Group Y Group not finished Complete group finished 10.15.2001 4 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim 3.) One-shot without retrigger mode Similar to one-shot with retrigger mode, the rising edge of the TR pin of this mode triggers the corresponding trigger group, too. The difference is that under one-shot without retrigger mode, however, triggers are accepted only when there's no voice playing. TRx TRy Vo Group X Group X Group X Group Y Complete group finished Complete group finished Complete group finished Complete group finished 4.) Level mode with SAF3 active The triggered group plays recursively as long as the level of the TR pin remains high. Furthermore, the output control pin SAF3 outputs active signal for output mode ACT and FLASH no matter its mode is enabled or disabled. However, the output control pin SAF3 output "STOP" signal for output mode STOP no matter its mode is enabled or disabled only when trigger is finished. • De-bounce circuit To prevent possible unwanted trigger caused from bounce pulse or noise, any bouncing pulse shorter than 20 ms is ignored by the de-bounce circuit. User should be aware that sufficient trigger pulse pulse width should be applied on trigger inputs when interfacing EM22000 series to microprocessors. • Control output signals EM22000 series offers three configurable control output pins (SAF1, SAF2,and SAF3) for external control. There are three output functions for each control output pin optional by mask option. These functions are defined as following : Output type STOP ACT FLASH Description Output a 40 ms active pulse as soon as section playing is finished. Output a steady active pulse while voice section is playing. Output flash pulses while voice section is playing. Whether an SAF pin issues control output signal or not is defined section by section in coding procedure. If the issue of an SAF pin is enabled by a section, it will send out control output signal according to the option of output function (STOP, ACT and FLASH). For example, if the output function of SAF pins are set to be : SAF1 : STOP SAF2 : FLASH regular SAF3 : FLASH with volume * This specification are subject to be changed without notice. 10.15.2001 5 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P The option of control output signal corresponds to the sections in group m is : GROUP M SEC.1 SEC.3 SEC.2 SEC.3 SAF1: ENABLE DISABLE DISABLE ENABLE SAF2: ENABLE ENABLE DISABLE ENABLE SAF3: ENABLE ENABLE DISABLE ENABLE When group m is playing, the output waveform is : sec. 1 Vo sec. 3 sec. 2 sec. 3 SAF 1 SAF 2 SAF 3 NOTE : For level with SAF3 active trigger mode, SAF3 is always enabled to issue the control output signal in response to the playing trigger group. If the output function is selected to be "FLASH", 3 flash styles can be selected by mask option. These flash styles vary with control output pins as shown below: Style Function 1 2 Regular flash Flash inversely (INV) Flash style available pins SAF1,SAF2 SAF1,SAF2 3 Flash with volume SAF3 Description Output flash pulses of 3 Hz, 50% duty cycle If output types of SAF1 and SAF2 are both "flash", they can be chosen to flash with opposite phase (INV) or synchronous phase(non-INV) to each other by mask option. Output flash pulses flash with voice volume Besides, EM22000 series provides 2 output configurations of each control output signals which offer users to achieve flexible application with external components. The two output configurations are shown below : Type 1 2 Output configuration Active high, inactive low Active low,inactive high Symbol HL LH NOTE : The above STOP pulse length 40 ms and FLASH rate 3 Hz are under 6.4 KHz sampling rate. If the voice section is under 8k sampling rate, the STOP pulse length and the FLASH rate will be 32 ms and 4 Hz, respectively. * This specification are subject to be changed without notice. 10.15.2001 6 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim ABSOLUTE MAXIMUM RATING Parameter Supply Voltage Input Voltage Operating Temperature Storage Temperature Symbol Conditions V DD-V SS V IN T OPR TSTG Rating Unit -0.3 ~ +5.2 VSS-0.3 ~ VDD+0.3 0 ~ 70 -55 ~ +125 V V o C o C ELECTRICAL CHARACTERISTICS Parameter Operating voltage Standby current Operating current Sink current of SAFx Drive current of SAFx Input current of TRx Output current of VO Oscillation resistor Oscillation freq. (Freq. Variation ±10%) Sym. V DD I DDS IDDO IOS IOD IIH I VO R FOSC Rating Unit Min. Typ. Max. 2.2 3.0 5.2 V 1.0 µA 200 380 µA 5.0 mA 3 mA 3.0 5.0 µA 140 mA 910 KΩ 1.8 2.048 2.2 MHz Conditions V DD =3V VDD=3V, no load. VDD=3V, VO=0.4V VDD=3V, VO=2.4V VDD=3V VDD=3V, Rspk=8 Ω VDD=2.2V~5.2V APPLICATION CIRCUIT 1. Trigger application type 1 : Maximum 4 triggers allowed. The most general application used in EM22000 series. Refer to schematic 1a for detailed circuit. (note for EM22003/22006 only 3 triggers allowed. Refer to schematic 1b for detailed circuit.) 2. Triggers application type 2 : Maximum 8 triggers allowed. Keyboard scan circuit will be activated to detect extra 4 triggers which connect SAF1 with triggers. Refer to schematic 2a for detailed circuit. (note for EM22003/ 22006 only 6 triggers allowed. Refer to schematic 2b for detailed circuit.) 3. Triggers application type 3 : Maximum 12 triggers allowed. Keyboard scan circuit will be activated to detect extra 8 triggers which connect SAF1 with triggers (TR5~TR8) and SAF2 with triggers (TR9~TR12). Refer to schematic 3a for detailed circuit. (note for EM22003/22006 only 8 triggers allowed. Refer to schematic 3b for detailed circuit.) 4. Power On Auto playing until release Key : Trigger 1 is level hold mode. VDD and trigger 1 are connected to push button. When trigger 1 is pressed, the VDD will connect to batteries at the same time and level holde playing happened. Please refer to schematic 4 for detailed circuit. * This specification are subject to be changed without notice. 10.15.2001 7 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P Schematic 1a VCC VCC TR1 TR2 TR3 TR4 VCC R TR1 TR2 TR3 TR4 VDD1 VDD2 OSC VSS1 VSS2 SAF1 SAF2 SAF3 VO1 VO2 SPEAKER TEST EM22009/22012/22015 Schematic 1b VCC VCC TR1 TR1 TR2 TR3 TR2 TR3 VCC R VDD1 VDD2 OSC VSS1 VSS2 SAF1 SAF2 SAF3 VO1 VO2 SPEAKER TEST EM22003/22006 * This specification are subject to be changed without notice. 10.15.2001 8 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim Schematic 2a VCC VCC TR1 TR5 TR2 TR6 TR3 TR7 TR4 TR8 vcc TR1 TR2 TR3 TR4 VDD1 VDD2 OSC VSS1 VSS2 SAF1 SAF2 SAF3 VO1 VO2 TEST SPEAKER EM22009/22012/22015 Schematic 2b VCC VCC TR1 TR4 TR5 TR6 TR2 TR3 TR1 TR2 TR3 SAF1 SAF2 SAF3 VDD1 VDD2 OSC VSS1 VSS2 VO1 VO2 TEST vcc SPEAKER EM22003/22006 * This specification are subject to be changed without notice. 10.15.2001 9 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P Schematic 3a VCC VCC TR9 TR5 TR1 TR10 TR6 TR2 TR11 TR7 TR3 TR12 TR8 TR4 VCC TR1 TR2 TR3 TR4 VDD1 VDD2 OSC VSS1 VSS2 SAF1 SAF2 SAF3 VO1 VO2 TEST EM22009/220012/22015 Schematic 3b VCC VCC TR7 TR4 TR1 TR8 TR5 TR2 TR6 TR3 TR1 TR2 TR3 SAF1 SAF2 SAF3 VCC R VDD1 VDD2 OSC VSS1 VSS2 VO1 VO2 TEST EM22003/22006 * This specification are subject to be changed without notice. 10.15.2001 10 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim Schematic 4 VCC TR2 TR1 TR2 TR3 R VDD1 VDD2 OSC VSS1 VSS2 SAF1 SAF2 SAF3 VO1 VO2 SPEAKER TEST EM22003/22006 * This specification are subject to be changed without notice. 10.15.2001 11 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P PAD DIAGRAM VDD1 3 SPK2 16 TEST 15 TR1 14 TR2 13 TR3 12 SAF1 4 GND1 5 GND2 6 SPK1 7 (0,0) EM22003 VDD2 9 10 11 OSC SAF3 SAF2 8 Chip Size : 1300 µm x 1400 µm Pad No. Symbol X 1 NC 2 NC 3 VDD1 -490.0 4 SPK2 -488.9 5 GND1 -485.0 6 GND2 -485.0 7 SPK1 -485.0 8 VDD2 -458.9 9 OSC 44.2 10 SAF3 243.7 11 SAF2 437.1 12 SAF1 454.0 13 TR3 454.9 14 TR2 454.9 15 TR1 454.9 16 TEST 454.9 17 NC 18 NC For PCB layout, IC substrate must be connected to Vss. * This specification are subject to be changed without notice. Y 496.8 114.9 -15.1 -140.1 -269.7 -491.3 -502.6 -502.6 -502.6 -331.0 -196.3 -66.3 71.1 201.1 10.15.2001 12 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary Prelim PAD DIAGRAM VDD1 3 SPK2 4 GND1 5 GND2 6 SPK1 7 (0,0) EM22006 VDD2 16 TEST 15 TR1 14 TR2 13 TR3 12 SAF1 9 10 11 OSC SAF3 SAF2 8 Chip Size : 1300 µm x 1600 µm Pad No. Symbol X 1 NC 2 NC 3 VDD1 -450.0 4 SPK2 -448.9 5 GND1 -448.9 6 GND2 -448.9 7 SPK1 -444.9 8 VDD2 -413.8 9 OSC 44.3 10 SAF3 243.7 11 SAF2 437.1 12 SAF1 454.0 13 TR3 454.9 14 TR2 454.9 15 TR1 454.9 16 TEST 454.9 17 NC 18 NC For PCB layout, IC substrate must be connected to Vss. * This specification are subject to be changed without notice. Y 596.8 203.9 -64.0 -189.0 -318.9 -580.0 -602.6 -602.6 -602.6 -431.0 -296.3 -166.3 -28.9 101.1 10.15.2001 13 EM 22000 SERIES EM22000 SIMPLE VOICE SYNTHESIZER inary m i l e r P PAD DIAGRAM VDD1 2 SPK2 3 GND1 4 SPK1 5 EM22009 EM22012/22015 GND2 6 VDD2 7 16 TEST 15 TR1 14 TR2 13 TR3 12 TR4 (0,0) 9 8 10 11 OSC SAF3 SAF2 SAF1 Chip Size : 1300 µm x 2100 µm Pad No. Symbol X 1 NC 2 VDD1 -440.0 3 SPK2 -438.4 4 GND1 -438.9 5 SPK1 -438.4 6 GND2 -438.9 7 VDD2 -440.0 8 OSC 16.1 9 SAF3 155.2 10 SAF2 279.1 11 SAF1 427.5 12 TR4 407.3 13 TR3 407.3 14 TR2 407.3 15 TR1 407.3 16 TEST 407.3 17 NC 18 NC For PCB layout, IC substrate must be connected to Vss. * This specification are subject to be changed without notice. Y 856.8 477.7 212.8 -52.2 -413.7 -595.3 -839.8 -839.0 -839.0 -839.0 -638.1 -504.4 -374.3 -236.9 -106.9 10.15.2001 14