EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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. 10.15.2001 1 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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 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 DIP PROGRAMMING TIMING DIAGRAM 12V 5v Vpp Trs Mode valid ACLK Mode Tmcs Tas Option mode Trs Tacpw Tps Tdsu Tdsh 0000 Din out clk Option mode ADDR PGMB Option mode Din OEB Dout Tppw D9 S0 S1 Tdsu Tdsh Note : These 12 bits are not parted into segment code or voice code under security mode. Toed D0 D1 D2 D9 S0 S1 D0 D1 D2 0001 Note :These 12 bits are not part segment code or voice code under mode. * This specification are subject to be changed without notice. 10.15.2001 2 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim PROGRAMMING MODE Mode Regular Security P13 0 0 P12 0 0 P11 0 1 TIMING PARAMETER Symbol Parameter Min. Max. Unit Trs Level set up time 2 Tmcs Mode code setup time 2 Tdsu Data set up time 100 Tdsh Data hold time 100 Tas ACLK to byte select time 2 Tacpw Address clock pulse width 2 Tppw Program pulse width 100 Tps Programming mode set up time 4 Toed Output enable setup time 300 Note : Segment ROM S1, S0 is programed just while 5 LSBs of ADDR are all 0. us us ns ns us us us us ns Programming for security mode : When programming in security mode, the waveform is just like above. The programming data is as below : B11 ~ B1 B0 User defined Security bit Note : When security = 0, enable security; When security = 1, disable security. 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 10.15.2001 3 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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. 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) Oscillation resistor R - 1.0 - MΩ VDD=3V Oscillator frequency Fosc - 1.0 - MHz VDD=3V * This specification are subject to be changed without notice. Unit Condition 10.15.2001 4 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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. 10.15.2001 5 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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. 10.15.2001 6 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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. 10.15.2001 7 EASYSOUND- EM57P300 SERIES TINYCONTROLLER-BASED SOUND PROCESSOR inary Prelim 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 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 -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. 10.15.2001 8