EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR GENERAL DESCRIPTION EM57P300 is a tiny-controlled-based voice/dual tone melody/dual tone sound effect Ics which contain all the function of EM57000 series and has an OTP (One Time Programmable) ROM inside. FEATURES • • • • • • • • • • • EM57P300 – ROM : 64k x 10 bits (21 sec@6K sample rate). Working Voltage 2.4V ~ 5.1V. One 4-bit input port, two 4-bit I/O ports, and 32x4 bits RAM. 8k (maximum) program ROM. One 6-bit timer overflow control. ASPCM synthesizer and dual tone melody/sound effect generator. 4k~32k Hz playing speed for voice play-back. Multiple tempos for dual tone melody/sound effect play-back. Variable beats for dual tone melody/sound effect play-back. Multiple levels of volume control. Fixed current D/A output to drive external connected transistor for voice output. PIN DESCRIPTIONS Pin NO. I/O Symbol Function 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 I O I/O I/O I/O VDD VO P3.3 P3.2 P3.1 NC P3.0 P2.3 P2.2 P2.1/Dout P2.0/Din P1.3/Din.out.clk/Mode option P1.2/OEB/Mode option P1.1/PGMB/Mode option P1.0/ACLK VSS OSC TEST/Vpp Positive power supply. Voice output. Bit 3 of Port 3. Bit 2 of Port 3. Bit 1 of Port 3. No connect Bit 0 of Port 3. Bit 3 of Port 2. Bit 2 of Port 2. Bit 1 of Port 2 / Program data output signal Bit 0 of Port 2 / Program data input signal Bit 3 of Port 1 / Program control signal Bit 2 of Port 1 / Program control signal Bit 1 of Port 1 / Program control signal Bit 0 of Port 1 / Program control signal Negative power supply. Oscillation component connection pin. Test/Programing. I/O I/O I/O I/O I/O I I I I I I I * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 1 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR PIN ASSIGNMENT EM57P300 1 2 3 4 5 6 7 8 9 VDD VO P3.3 P3.2 P3.1 NC P3.0 P2.3 P2.2 EM57P300 VPP OSC GND P1.0 P1.1 P1.2 P1.3 P2.0 P2.1 18 17 16 15 14 13 12 11 10 1 2 3 4 5 6 7 8 9 VDD VO P3.3 P3.2 P3.1 NC P3.0 P2.3 P2.2 VPP OSC GND P1.0 P1.1 P1.2 P1.3 P2.0 P2.1 18 17 16 15 14 13 12 11 10 18 pin SOP 18 pin DIP DC PROGRAMMING CHARACTERISTICS (VDD = 5V+0.5v, VPP = 12.5V+0.5v) Items Sym. Min. Max. Unit Input high voltage VIH 2.2 VDD+1.0 V Input low voltage VIL -0.3 0.8 V Input current IIN - 10 µA VDD=5V, VIN=0~VDD Output high voltage V OH 2.4 - V IOH =400µA Output low volatge V OL - 0.4 V IOL =2.1mA VDD supply current IDD - 100 mA VDD=5V VPP supply current I PP - 50 mA VPP=12.5V * This specification are subject to be changed without notice. Test Conditions 7.16.2004 (V1.4) 2 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR ABSOLUTE MAXIMUM RATINGS Items Sym. Min. Max. Unit Supply Voltage V DD -V SS -0.3 6.0 V Input Voltage V IN VSS-0.3 VDD+0.3 V Operating Temperature Storage Temperature T OP TSTG -20 -55 70 +125 o o C C ELECTRICAL CHARACTERISTICS (VDD = 3V,25oC unless otherwise specified) Parameter Sym. Min. Typ. Max. Unit Condition Operating voltage V DD 2.4 3.0 5.1 V Standby current IDDS - - 1.0 µA VDD=3V Operating current IDDO - - 280 µA VDD=3V, No load Drive current of P2,P3 IOD 1.0 - - mA VDD=3V, VO=2.4V Sink current of P2, P3 IOS 1.6 - - mA VDD=3V, VO=0.4V Output current of VO IVO 2.0 3.0 4.0 mA VDD=3V, VO=0.7V (Step 7) (for EM57P300) 2.5 3.5 4.5 mA VDD=3V, VO=0.7V (Step 7) (for EM57P300A/B/C, and EM57Q300A) Oscillation resistor Oscillator frequency ROSC Fosc - 1.0 - MΩ VDD=3V (for EM57P300) - 510 - KΩ VDD=3V (for EM57P300A) - 470 - KΩ VDD=3V (for EM57P300B) - 560 - KΩ VDD=3V (for EM57P300C) - 510 - KΩ VDD=3V (for EM57Q300A) 0.90 1.0 1.10 MHz VDD=3V, ROSC=1MΩ (for EM57P300) 0.95 1.0 1.05 MHz VDD=3V, ROSC=510KΩ (for EM57P300A) 0.95 1.0 1.05 MHz VDD=3V, ROSC=470KΩ (for EM57P300B) 0.95 1.0 1.05 MHz VDD=3V, ROSC=560KΩ (for EM57P300C) 0.90 1.0 1.10 MHz VDD=3V, ROSC=510KΩ (for EM57Q300A) Note : The functions of EM57P300, EM57P300A, EM57P300B, EM57P300C, and EM57Q300A are the same, except for the values of their oscillation resistor, oscillator frequency, and output current of VO as listed above. * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 3 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR APPLICATION CIRCUIT In the following application circuits: *1 : For heavy loading application, adding an electrolytic capacitor between Vcc and Ground is recommanded. The recommanded value for button cell application is 10µF. *2 : The recommanded value for button cell application is 750Ω or less. 4-key Application Circuit *1 VCC TR1 TR2 TR3 U1 TR4 VCC 15 14 13 12 P1.0 P1.1 P1.2 P1.3 1 17 18 16 VDD OSC TEST VSS P2.0 11 P2.1 10 P2.2 9 P2.3 8 P3.0 7 P3.1 5 P3.2 4 P3.3 3 VO 2 VCC NPN *2 Rb 16-key Application Circuit TR1 TR5 TR9 TR13 TR2 TR6 TR10 TR14 TR3 TR7 TR11 TR15 TR4 TR8 TR12 TR16 U1 *1 VCC 15 14 13 12 P1.0 P1.1 P1.2 P1.3 1 17 18 16 VDD OSC TEST VSS P2.0 11 P2.1 10 P2.2 9 P2.3 8 P3.0 7 P3.1 5 P3.2 4 P3.3 3 VO 2 VCC NPN *2 Rb * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 4 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR 32-key Application Circuit VCC NPN *2 Rb *1 VCC 16 18 17 1 VSS TEST OSC VDD VO P3.3 P3.2 P3.1 P3.0 12 13 14 15 P1.3 P1.2 P1.1 P1.0 P2.3 8 P2.2 9 P2.1 10 P2.0 11 2 3 4 5 7 D1 10K D2 10K 10K D3 VCC P10 TR1 TR5 TR9 TR13 TR17 TR21 TR25 TR29 P11 TR2 TR6 TR10 TR14 TR18 TR22 TR26 TR30 TR3 TR7 TR11 TR15 TR19 TR23 TR27 TR31 TR4 TR8 TR12 TR16 TR20 TR24 TR28 TR32 P12 P13 64-key Application Circuit VCC NPN *2 Rb *1 VCC 16 18 17 1 VSS TEST OSC VDD VO P3.3 P3.2 P3.1 P3.0 12 13 14 15 P1.3 P1.2 P1.1 P1.0 P2.3 8 P2.2 9 P2.1 10 P2.0 11 2 3 4 5 7 D1 10K D2 10K 10K D3 VCC TR1 TR9 TR17 TR25 TR33 TR41 TR49 TR57 TR2 TR10 TR18 TR26 TR34 TR42 TR50 TR58 TR3 TR11 TR19 TR27 TR35 TR43 TR51 TR59 TR4 TR12 TR20 TR28 TR36 TR44 TR52 TR60 TR5 TR13 TR21 TR29 TR37 TR45 TR53 TR61 TR6 TR14 TR22 TR30 TR38 TR46 TR54 TR62 TR7 TR15 TR23 TR31 TR39 TR47 TR55 TR63 TR8 TR16 TR24 TR32 TR40 TR48 TR56 TR64 * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 5 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR 128-key Application Circuit (A) VCC NPN *2 Rb *1 VCC 16 18 17 1 VSS TEST OSC VDD VO P3.3 P3.2 P3.1 P3.0 12 13 14 15 P1.3 P1.2 P1.1 P1.0 P2.3 8 P2.2 9 P2.1 10 P2.0 11 2 3 4 5 7 D1 10K D2 10K 10K D3 VCC TR1 TR9 TR17 TR25 TR33 TR41 TR49 TR57 TR2 TR10 TR18 TR26 TR34 TR42 TR50 TR58 TR3 TR11 TR19 TR27 TR35 TR43 TR51 TR59 TR4 TR12 TR20 TR28 TR36 TR44 TR52 TR60 TR5 TR13 TR21 TR29 TR37 TR45 TR53 TR61 TR6 TR14 TR22 TR30 TR38 TR46 TR54 TR62 TR7 TR15 TR23 TR31 TR39 TR47 TR55 TR63 TR8 TR16 TR24 TR32 TR40 TR48 TR56 TR64 128-key Application Circuit (B) L9 P32 L12 P32 P31 L10 P31 P32 P30 P30 10K L13 P33 P31 L11 10K 10K P32 P31 L15 P33 P30 10K 10K P33 L16 P33 10K 10K 10K P33 L14 P33 P31 P32 P30 P31 P32 L9 P10 L10 L11 L12 L13 L14 L15 L16 TR65 TR73 TR81 TR89 TR97 TR105 TR113 TR121 TR66 TR74 TR82 TR90 TR98 TR106 TR114 TR122 P11 P12 P13 TR67 TR75 TR83 TR91 TR99 TR107 TR115 TR123 TR68 TR76 TR84 TR92 TR100 TR108 TR116 TR124 TR69 TR77 TR85 TR93 TR101 TR109 TR117 TR125 TR70 TR78 TR86 TR94 TR102 TR110 TR118 TR126 P20 P21 TR71 TR79 TR87 TR95 TR103 TR111 TR119 TR127 TR72 TR80 TR88 TR96 TR104 TR112 TR120 TR128 P22 P23 * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 6 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR PAD DIAGRAM P3.2 P3.3 3 4 VO VDD VPP OSC 2 1 18 17 GND P1.0 16 15 (0,0) EM57P300 P3.1 5 P1.1 14 7 8 9 10 11 12 13 P2.1 P2.0 P1.3 P1.2 P3.0 P2.3 P2.2 Chip Size : 3000 x 2100 um For PCB layout, IC substrate must be connected to Vss. Pad No. Symbol 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 VDD VO P3.3 P3.2 P3.1 NC P3.0 P2.3 P2.2 P2.1 P2.0 P1.3 P1.2 P1.1 P1.0 GND OSC VPP X Y -158.4 -695.9 -1077.0 -1278.3 -1310.0 824.1 849.0 849.0 849.0 -741.5 -1128.5 -951.3 -780.0 752.2 923.5 1107.7 1284.0 1284.0 1246.7 1014.6 342.9 182.7 -850.0 -850.0 -850.0 -850.0 -850.0 -850.0 -850.0 -721.5 849.0 824.1 849.0 849.0 * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 7 EASY SOUND - EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR PAD DIAGRAM P3.2 P3.3 3 4 VO VDD VPP OSC 2 1 18 17 GND P1.0 16 15 (0,0) EM57P300A/B/C EM57Q300A P3.1 5 14 7 8 9 10 11 12 P1.1 13 P2.1 P2.0 P1.3 P1.2 P3.0 P2.3 P2.2 Chip Size : 3000 x 2100 um For PCB layout, IC substrate must be connected to Vss. Pad No. Symbol 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 VDD VO P3.3 P3.2 P3.1 NC P3.0 P2.3 P2.2 P2.1 P2.0 P1.3 P1.2 P1.1 P1.0 GND OSC VPP X Y -218.4 -745.9 -1107.0 -1288.3 -1313.6 822.7 847.6 847.6 847.6 -736.4 -1132.1 -954.9 -783.6 750.8 922.1 1106.3 1287.6 1287.6 1256.7 847.0 267.9 112.7 -845.0 -845.0 -845.0 -845.0 -845.0 -845.0 -845.0 -716.4 847.6 822.7 847.6 847.6 * This specification are subject to be changed without notice. 7.16.2004 (V1.4) 8