eSL Series 16 Bits DSP Sound Processor Product Specification DOC. VERSION 0.7 ELAN MICROELECTRONICS CORP. June 2006 Trademark Acknowledgments: IBM is a registered trademark and PS/2 is a trademark of IBM. Windows is a trademark of Microsoft Corporation. ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation. Copyright © 2005~2006 by ELAN Microelectronics Corporation All Rights Reserved Printed in Taiwan The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN Microelectronics makes no commitment to update, or to keep current the information and material contained in this specification. Such information and material may change to conform to each confirmed order. In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information or material. The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and may be used or copied only in accordance with the terms of such agreement. ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of ELAN Microelectronics product in such applications is not supported and is prohibited. NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS. ELAN MICROELECTRONICS CORPORATION Headquarters: Hong Kong: USA : No. 12, Innovation Road 1 Hsinchu Science Park Hsinchu, Taiwan 30077 Tel: +886 3 563-9977 Fax: +886 3 563-9966 http://www.emc.com.tw Elan (HK) Microelectronics Corporation, Ltd. Elan Information Technology Group (U.S.A.) Rm. 1005B, 10/F Empire Centre 68 Mody Road, Tsimshatsui Kowloon , HONG KONG Tel: +852 2723-3376 Fax: +852 2723-7780 [email protected] 1821 Saratoga Ave., Suite 250 Saratoga, CA 95070 USA Tel : +1 408 366-8225 Fax: +1 408 366-8220 Europe : Shenzhen: Shanghai: Elan Microelectronics Corp. (Europe) Elan Microelectronics Shenzhen, Ltd. Elan Microelectronics Shanghai, Ltd. Siewerdtstrasse 105 8050 Zurich, SWITZERLAND Tel: +41 43 299-4060 Fax: +41 43 299-4079 http://www.elan-europe.com SSMEC Bldg., 3F, Gaoxin S. Ave. Shenzhen Hi-Tech Industrial Park Shenzhen, Guandong, CHINA Tel: +86 755 2601-0565 Fax: +86 755 2601-0500 23/Bldg. #115 Lane 572, Bibo Road Zhangjiang Hi-Tech Park Shanghai, CHINA Tel: +86 21 5080-3866 Fax: +86 21 5080-4600 Contents Contents 1 General Description.....................................................................................................1 2 Features........................................................................................................................1 3 Block Diagram..............................................................................................................2 4 Selection Table.............................................................................................................3 5 eSL series Pin Description..........................................................................................4 6 Electrical Characteristics ............................................................................................6 7 Application Block Diagram .........................................................................................9 Product Specification (V0.7) 06.14.2006 • iii Contents Specification Revision History Doc. Version 0.1 0.2 0.3 iv • Revision Description Initial version 1. Modified the system frequency. 2. Modified the IC’s Product No. 3. Added speech mark feature. 1. Modified the Features section. 2. Added function description. 3. Added the Application circuits. Date 2005/03/03 2005/05/20 2005/11/23 0.4 Added function description. 2006/01/20 0.5 Modified some features. 2006/03/06 0.6 Modified the Application examples. 2006/05/03 0.7 Modified the pin description 2006/06/14 Product Specification (V0.7) 06.14.2006 eSL Series 16 Bits DSP Sound Processor 1 General Description The ELAN eSL Series IC is a 16-bit DSP Sound Processor with multi-channel speech and instrument playback. It is based on ELAN 16-bit DSP platform. The series has a powerful 16-bit DSP architecture that handles most of the speech/melody functions. Speech and melody can be played back simultaneously. The speech synthesis is implemented by software and supports a wide range of compression bit rates and various volume levels. The ELAN eSL Series provides real instrument waveform to obtain good quality melody. The ELAN eSL peripheral includes ADC, RTC, Timer, WDT, SPI, DAC, PWM, etc. The ELAN eSL Series IC offer Fast mode, Sleep mode, Green mode, and Slow mode of operation. The use of Green/Slow mode will further reduce power consumption. The Green mode also provides RTC function for wake-up purpose. The ELAN eSL Series enhanced features make it suitable for versatile voice and sound effect product applications; besides, users are motivated to explore a wide variety of new creative ideas and products. The ELAN eSL Series has extreme high performance in speech application based on powerful DSP architecture and good algorithm in audio compression. We provide up to 2-channel speech with different channel sample rate or 1-channel speech + 8channel melody. 2 Features MCU • • • • • 16-bit RISC CPU architecture CPU clock: 20MHz @ 3.3V Programmable PLL Four CPU operation modes: fast, slow, green, sleep Powerful DSP Instruction Set supports multiplication, division, repeat, loop and soft interrupt instructions • Saturation mode supported for multimedia applications • Eight general purpose registers (GPR) • 21 interrupt sources with 2-level priority Memory • 32K-word program memory • 2K-word data RAM • 128/256/512K-word data ROM Peripherals • Real Time Clock (RTC) with wake-up function • Four 8-bit timers, two general purpose timers, two multiple-function timers Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) •1 eSL Series 16 Bits DSP Sound Processor • • • • 8-bit Watchdog Timer (WDT) with general purpose timer capability 40 GPIO + 8 Output Serial Peripheral Interface (SPI) 12-bit Analog to Digital Converter (ADC) with touch panel and MIC inputs Audio • • • • • • • 12-bit current-steering Digital to Analog Converter (DAC) 10-bit resolution Pulse Width Modulation (PWM) Built-in software voice synthesizer (0.8K ~ 40Kbps@8kHz) Multiple flash with volume level option Control port output value directly by waveform (waveform control port) Support mark code in waveform Up to 2-channel speech with different channel sample rate or 1-channel speech + 8-channel melody 3 Block Diagram Program Co unter I/O Space (SFR) I/O Direct ADC RAM Addressing Control Unit DAC 17 x17 Multiplier / Di vi der (+16 bi t ALU) ALU Bus Bus INT PWM I/O Instructi on Decoder G eneral Purpose Regi sters Data Reg Addressing Addressing ROM Port A~D Timer RTC A CC D WDT Status Reg SPI OSC/PLL R AM C o nto l S ig na ls Figure 2-1 ELAN eSL System Block Diagram 2• Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) eSL Series 16 Bits DSP Sound Processor 4 Selection Table The ELAN eSL Series integrates an extensive range of features, most of which are common to all devices, except for some distinctive features like Data ROM and Coding Type. For user convenience in the choice of the most suitable product for their application, the following table is provided, which enumerates the main features of each device. Product No. eSL128 eSL256 eSL512 eSL128A eSL256A eSL512A 81 81 81 81 81 81 Program ROM 32K * 16 32K * 16 32K * 16 32K * 16 32K * 16 32K * 16 Data RAM 2K * 16 2K * 16 2K * 16 2K * 16 2K * 16 2K * 16 Data ROM 128K * 16 256K * 16 512K * 16 128K * 16 256K * 16 512K * 16 4 * 8-bit 4 * 8-bit 4 * 8-bit 4 * 8-bit 4 * 8-bit 4 * 8-bit Watchdog Yes Yes Yes Yes Yes Yes PWM 10-bit 10-bit 10-bit 10-bit 10-bit 10-bit Current D/A 12-bit 12-bit 12-bit 12-bit 12-bit 12-bit A/D 12-bit 12-bit 12-bit 12-bit 12-bit 12-bit SPI 1 set 1 set 1 set 1 set 1 set 1 set Pin Count Timer 40 I/O ports + 8 Output ports I/O Audio Coding type UP to 2-channel speech with different channel sample rate or 1-channel speech + 8channel melody 0.8K~40K bps 12K/16K/20K/24K/32K/40K bps @8kHz @8kHz Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) •3 eSL Series 16 Bits DSP Sound Processor 5 eSL series Pin Description Name 4• Type Description VDD0 P Positive power supply for CPU, digital peripheral and DRAM VDD1 P Positive power supply for PROM, DROM and Power On Reset (POR) VDD2 P Positive power supply for Oscillator system and PLL VDD5 P Positive power supply for PortD and PWM0/PortA.0, PWM1/PortA.1 VDD6 P Positive power supply for PortA and PortB VDD7 P Positive power supply for PortC VSS0 P Negative power supply for CPU, digital peripheral and DRAM VSS1 P Negative power supply for PROM, DROM and Power On Reset (POR) VSS2 P Negative power supply for Oscillator system and PLL VSS5 P Negative power supply for PortD and PWM0/PortA.0, PWM1/PortA.1 VSS6 P Negative power supply for PortA and PortB VSS7 P Negative power supply for PortC AVDD0 P Positive power supply for A/D and MIC AVDD4 P Positive power supply for D/A AVSS0 P Negative power supply for A/D and MIC AVSS4 P Negative power supply for D/A VREF P External reference voltage input pin (MIC) V5V P Regulator voltage input VOUT P Regulator voltage output 3.0V RSTB I RSTB is the global reset input (Low active) TEST I Test mode select pin (High active). Internal Pull Down For testing purposes only. Normally connected to VSS. OSCI I Crystal or RC oscillator connecting pin RC or Crystal selection is by OSCS pin OSCO O Crystal oscillator connecting pin OSCS I RC or Crystal selection: 0 = RC; 1= Crystal PLLC I PLL loop filter capacitor DACO O Current D/A output pin AMPO O Post-Amplifier output MIC I Microphone signal input (AC coupling from microphone signal) AGC I Automatic Level Control adjustment pin XN I Touch Pad positioning for X axis under negative voltage level Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) eSL Series 16 Bits DSP Sound Processor Name Type Description YN I Touch Pad positioning for Y axis under negative voltage level XP/ADIN0 I Touch Pad positioning for X axis under positive voltage level YP/ADIN1 I Touch Pad positioning for Y axis under positive voltage level PA[0~1] PA[2~3] PA[4~5] PA [6~7] PA [8~9] PA [10~11] I/O General-purpose input and output function O PWM voice output 0/1 I/O General-purpose input and output function I/O General-purpose input and output function I I/O General-purpose input and output function I/O General-purpose input and output function I I/O I I/O PA [12] PA [13] PA [14] PA [15] PB [0~15] PC [0~1] PC [2~7] PD [0~7] External timer 2/3 clock input I Timer 2 / Timer 3 capture input or compare output General-purpose input and output function External interrupt 0/1 input General-purpose input and output function SPI function In Slave mode: used as chip select input In Master mode: used as I/O pin I/O General-purpose input and output function I/O SPI function: Master output / Slave input I/O General-purpose input and output function I/O SPI function (Master output / Slave input) I/O General-purpose input and output function I/O SPI function In Master mode: used as serial clock output In Slave mode: used as serial clock input I/O General-purpose input and output function I Wake-up function with programmable pull-up resistor I/O General-purpose input function I/O General-purpose input and output function I A/D input with programmable pull-up resistor O General-purpose output function with high drive current Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) •5 eSL Series 16 Bits DSP Sound Processor 6 Electrical Characteristics 6.1 CPU Voltage – Frequency Graph The speed of a MOS device depends on voltage, temperature, and process variation. Performance prediction is based on a combination of these three factors. The central operating condition is characterized at 3.3V, 25˚C, and typical process parameters. Voltage-Frequency Graph 4 3.8 3.6 Voltage (V) 3.4 3.2 Spec. Guaranteed Area 3 2.8 2.6 2.4 2.2 2 1.8 0 2 4 6 8 10 12 14 16 18 20 22 24 Frequency (MHz) 6• Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) eSL Series 16 Bits DSP Sound Processor 6.2 Absolute Maximum Ratings Parameter Pins Symbol Condition Rated Value VDD VDD TA=25°C -0.3 to +6.0 All Input VIN TA=25°C -0.3 to VDD+0.3 Operating temperature range - TA - -20 to +70 Storage temperature range - TSTR - -25 to +125 Power supply voltage Unit V Input voltage °C 6.3 DC Characteristics Parameter Power supply voltage Pins VDD Rated Value Symbol Condition Unit Min. Typ. Max. 2 batteries 2.2 3.0 3.6 3 batteries 3.6 4.5 5.1 VDD - VIN1 - VDD×0.7 - VDD - VIN2 - 0 - VDD×0.3 - - - 0.5×VDD - 0.75×VDD - - - 0.2×VDD - 0.4×VDD PC [7:0] VPU0L Vin=GND 500 1000 1500 PC [7:0] VPU0H Vin=2V 80 100 120 /RESET VPU1L Vin=GND 500 1000 1500 /RESET VPU1H Vin=2V 80 100 120 TEST RPD Vin=1V 80 100 120 V Input voltage Input threshold voltage (Schmitt Trigger) Pull-up resistor Pull-down resistor Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) kΩ •7 eSL Series 16 Bits DSP Sound Processor Parameter Pins Symbol Unit Min. Typ. Max. PortA,B output high current IOH0 IOH0 VDD=3V VOH=2.4V -2 -3 - PortA,B output low current IOL0 IOL0 VDD=3V VOL=0.4V 2 3 - PortD output high current IOH1 IOH1 VDD=3V VOH=2.4V -7 -10 - PortD output low current IOL1 IOL1 VDD=3V VOL=0.4V 7 10 - PWM output high current PWM0 PWM1 IPWMH -140 -150 -200 PWM output low current PWM0 PWM1 IPWML DAC output current DAO IDAC VDD=3V VOH=VDD/2 Max volume VDD=3V VOL=VDD/2 Regulator output low current VOUT Fast mode current consumption increment per MHz - IFAST Slow mode current consumption - ISLOW VDD = 2.2 ~ 3.3V IOUTH Vout = 3.0V 150 200 2.5 3 - - - 70 - - 7 - 700 800 - 70 80 PDB = 1 VDD = 4.5V IOUTL Vout = 3.0V PDB = 0 VDD=3V No load DAC off VDD=3V No load DAC off - IGREEN VDD=3V VDD=3V - ISLEEP Regulator on VDD = 3V Regulator off CPU operation frequency 140 VDD = 4.5V VOUT Sleep mode current consumption mA Max volume Regulator output high current Green mode current consumption 8• Rated Value Condition - Fsys VDD = 3V µA - 8 10 - 1.5 2 - 1 1.2 14 16 - MHz Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) eSL Series 16 Bits DSP Sound Processor 7 Application Block Diagram 7.1 Application for Interactive/Educational Toys with LCD Function 5V 3.3V VDD VDD0 VDD1 VDD2 VDD5 VDD3 VDD6 VDD7 AVDD0 AVDD4 eSL R30 / RESET PB[7:0] 8*8 key m atrix PB[15:8] MISO MOSI SCK /SS SPIFlas h / ROM eSL Series PA[9] PWM0 PWM1 AVDD3 2.7K PC[7:0] IR TX/ RX ELAN LCD Controller EPL65132/ 43102/09060 2K MICIN 104 22uF LCD Pannel AGC 68K 1/2 VDD Xn Yn AMPO ADIN7 Xp Yp VREF VSS1 VSS2 VSS5 VSS6 VSS7 AVSS0 DAC AVSS4 Touch Panel VSS0 104 PA[8] Figure 7-1 Interactive/Educational Toys with LCD Function Application Block Diagram, including SPI, PWM, DAC, IR, LCD Controller and Touch Panel for 3V/5V Support Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) •9 eSL Series 16 Bits DSP Sound Processor 7.2 Application for Interactive/Educational Toys with Hand Writing Recognition 5V 3.3V VDD VDD0 VDD1 VDD2 VDD5 VDD3 VDD6 VDD7 AVDD0 AVDD4 eSLR30 /RESET 8*8 key m atrix PB[7:0] PB[15:8] MISO MOSI SCK SPIFlas h / ROM /SS PA[8] eSL Series PWM0 PWM1 M AVDD3 PC[7:0] 2.7K ELAN LCD Controller EPL65132/ 43102/09060 2K 104 22uF LCD Pannel MICIN AGC 68K 1/2 VDD AMPO Xn Yn ADIN7 VREF Xp Yp VSS1 VSS2 VSS5 VSS6 VSS7 AVSS0 AVSS4 DAC ELAN ePH H andW riting Recognition C ontroller Pen Touch Panel VSS0 104 IR TX/ RX PA[9] Figure 7-2 Interactive/Educational Toys with HWR Application Block Diagram, including SPI, PWM, DAC, IR, LCD Controller and Touch Panel for 3V/5V Support 10 • Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) eSL Series 16 Bits DSP Sound Processor 7.3 Application Circuits VDD VDD 3V VOUT VDD0 VDD1 VDD2 VDD3 AVDD0 AVDD4 5V V 5V /RESET V DD5 VDD6 VDD7 PB[7:0] To SPI External MISO Peripheral MOSI (ex. eAD12, Serial ROM....) 8*8 key matrix SCK PB[15:8] /SS PC[4] eSL Series PWM0 PWM1 PC[5] PD[0] A VDD3 2.7K 104 PD[1] Xn Touch Pannel 2K Yn PD[2] Xp PD[3] Yp MICIN 104 PD[4] A GC 22uF 1/2 VDD 68K PD[5] AMPO A DIN7 PD[6] VREF PD[7] VSS0 VSS1 VSS2 VSS5 VSS6 VSS7 AVSS0 AVSS4 DAC Figure 7-3 ELAN eSL Series Application Circuit Diagram with A/D, D/A, SPI and Regulator/PWM Driver for 3V/5V Support Product Specification (V0.7) 06.14.2006 (This specification is subject to change without further notice) • 11