eKA8562A USB Audio Controller Product Specification DOC. VERSION 0.1 ELAN MICROELECTRONICS CORP. April 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 © 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 Applications............................................................................................................... 2 4 Block Diagram ........................................................................................................... 2 5 Pin Configuration ...................................................................................................... 3 6 Pin Description.......................................................................................................... 4 7 Function Description ................................................................................................ 6 8 Absolute Maximum Rating ....................................................................................... 6 9 Electrical Characteristic ........................................................................................... 7 9.1 DC Electrical Characteristic................................................................................ 7 9.2 Analog Electrical Characteristic.......................................................................... 8 10 Application Circuit .................................................................................................... 9 11 Buzzer Interface Signal............................................................................................11 12 I S Interface Signal.................................................................................................. 12 13 Package.................................................................................................................... 13 2 Product Specification (V0.1) 04.24.2006 • iii Contents Specification Revision History Doc. Version 0.1 iv • Revision Description Initial Preliminary Version Date 2006/04/24 Product Specification (V0.1) 04.24.2006 eKA8562A USB Audio Controller 1 General Description The eKA8562A is a USB audio controller for USB Phone Applications. The device has 2 an integrated USB transceiver, USB core, dual DAC, ADC, and I S Input/Output. It can handle a high-level USB protocol, and manages user interface via HID I/O pins. 2 Features USB Specification v1.1 Compliant USB Audio and Human Interface Device (HID) Class v1.1 Compliant Supports 12 Mbits/s Full Speed Serial Data Transmission Supports 48 kHz, 44.1 kHz, 32 kHz, 8kHz sampling rate Single oscillator: 6MHz Audio buffer size: 192×16 bits × 2 Total of four Endpoints : Endpoint 0 for control transfer , Endpoint 1 for audio streaming out , Endpoint 2 for streaming in , Endpoint 3 for HID Supports stereo/mono playback Built-in 2-channel D/A converter with 10-bit resolution Built-in 1-channel A/D converter with 10-bit resolution Alternative settings supported by the audio streaming-out interface: ALT-0: (default setting) zero isochronous bandwidth ALT-1: 16-bit PCM 2 channel Alternative settings supported by the audio streaming-in interface: ALT-0: (default setting) zero isochronous bandwidth ALT-1: 16-bit PCM stereo 32 bytes of general purpose RAM (R20~R3F) Supports 1 LED output pin Supports 1 Buzzer output pin (2.45 kHz) Supports 24 Button control RC Oscillator with internal RC Package: 48-pin LQFP Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) •1 EKA8562A USB Audio Controller 3 Application 4 USB Skype Phone (including key scan and buzzer output) Block Diagram USB Bus Transceiver 48MHz UDC 6MHz PLL Arbiter Audio RAM Memory Management Unit MCU To Speaker DAC From Microphone ADC 2• AMP Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller Pin Configuration F_LOUT VDA1 VDA2 F_ROUT NC AGND2 ALC AMPO OPNF MIC_IN VAD VD P56 P55 P54 P53 P52 P51 P50 RECORD_SEL OSCO OSCI Test PLLC FS_SEL0 FS_SEL1 MCLKE MCLK BCLK LRCLK SDATA I_MCLK I_BCLK I_LRCLK I_SDATA P57 36 35 34 33 32 31 30 29 28 27 26 25 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 NC NC NC NC DGND DM DP VBUS CMP1_IN CMP2_IN VPHY AGND 48 47 46 45 44 43 42 41 40 39 38 37 5 Fig 5-1 48-Pin Configuration of eKA8562A LQFP Type Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) •3 EKA8562A USB Audio Controller 6 Pin Description Symbol Pin No. I/O Function I2S Sample Frequency FS_SEL0 FS_SEL1 1, 2 I Sample Frequency MCLK 00 32kHz 8.192MHz 01 8kHz 2.048MHz 10 44.1kHz 11.2896MHz 11 48kHz 12.288MHz Pull-high resistors are connected to VD. External MCLK enable pin. MCLKE 3 I 0 : use external MCLK, and MCLK pin is input pin 1 : use internal MCLK, and MCLK pin is output pin A pull-high resistor is connected to VD. MCLK 4 I Crystal oscillator I/O pin BCLK 5 O BCLK for I S interface LRCLK 6 O LRCLK for I S interface SDATA 7 O I S interface for FL, FR output I_MCLK 8 I MCLK input input pin I_BCLK 9 I BCLK for I S interface I_LRCLK 10 I LRCLK for I S interface I_SDATA 11 I I S interface for FL, FR input 2 2 2 2 2 2 LED output pin P57(PlayLED) 12 O Play/Pause: Flash LED Stop: LED On P56(Buzzer) 13 O Buzzer output pin P55~P53 14~16 I Key scan input pin P52~P50 17~19 O Key scan output pin Record select pin RECORD_SEL 20 I 0 : ADC record 2 1 : I S record A pull-low resistor is connected to DGND OSCO 21 O Crystal output OSCI 22 I Crystal input Test mode select pin Test 23 I Test =0, enter normal mode Test=1, enter test mode A pull-low resistor is connected to DGND. PLLC 4• 24 I External capacitor for PLL Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller Symbol Pin No. I/O VD 25 PWR 5V digital power supply pin VAD 26 PWR ADC analog power supply pin MIC_IN 27 I Microphone analog input pin OPNF 28 I Non-inverting type amplifier. Normally, a feedback resistor connects from AMPO to OPNF and a gain resistor connects to MIC. AMPO 29 O Gain amplifier output and negative feedback Terminal for MIC ALC 30 I Automatic Level Control adjustment pin for MIC AGND2 31 NC 32 - No connection F_ROUT 33 O Front right channel analog audio output pin VDA2 34 PWR DAC analog power supply Pin 2 VDA1 35 PWR DAC analog power supply Pin 1 F_LOUT 36 O AGND 37 PWR Analog ground pin VPHY 38 PWR Phy and PLL power supply pin CMP2_IN 39 I Comparator 2 Input (FR) CMP1_IN 40 I Comparator 1 Input (MIC) VBUS 41 PWR USB bus power supply pin DP 42 I/O USB plus data line interface DM 43 I/O USB minus data line interface DGND 44 PWR NC Function Analog Ground pin2 45-48 Front left channel analog audio output pin Digital ground pin No connection Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) •5 EKA8562A USB Audio Controller 7 Function Description The eKA8562A is a USB Audio Controller that transmits/receives audio data stream to/from the host through its Audio Streaming interface. The Audio Data Format supports 16-bit, 2-channel, and 48kHz PCM. It has three interfaces. Interface 1 supports three sampling frequencies. The sampling rate is changed when “Set Endpoint Control Request” is issued. If user plays other format audio data, the application software transforms it to 48kHz data and then transmit to this device. For Interface 2, this device transmits data at a rate that is locked to frame timing. When user use the recording format (ex. 8kHz) to record speech other than 48kHz stereo format, the application software transforms 48kHz data to 8kHz data. Interface 3 is HID pipe which is used to read button status. The volume and mute control can be activated via host (audio device class requests) or via I/O pins (HID plus audio device class requests). When this function is activated via host, the host manages the audio PCM data directly. The eKA8562A device just playback the audio data. Otherwise, when it is activated via I/O pins, the eKA8562A sends the controlled feature (Key code) message through HID pipe and signals the host to manage the audio PCM data and control the Skype phone directly. 8 Absolute Maximum Rating Symbol Min Max Unit 0 70 ºC Storage temperature -65 150 ºC Input voltage -0.5 6.0 V Output voltage -0.5 6.0 V Temperature under bias 6• Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller 9 Electrical Characteristic 9.1 DC Electrical Characteristic Ta=0°C~70°C, VBus=5V, DGND=0V Symbol 2 Parameter Condition VIN = VBus, DGND Min Typ Max Unit - - ±1 µA IL Input Leakage Current VIH Input High Voltage - 2.0 - - V VIL Input Low Voltage - - - 0.8 V VIHX Clock Input High Voltage OSCI 2.5 - - V VILX Clock Input Low Voltage OSCI - - 1.0 V VOH Output High Voltage 2 (I S Interface Pin) IOH = -10.0mA 2.4 - - V VOL1 Output Low Voltage 2 (Port 5, I S Interface Pin) (P5 : Normal Mode) IOL = 10.0mA - - 0.4 V Output Low Voltage IOL = 10.0mA (P5 : LED driver Mode) VBus = 5V -10% 1.3 +10% V IPH Pull-high Current (Input and Sel_Vref pin) Pull-high active, input pin at DGND (PH resistor = 25 KΩ) -20% -125 +20% µA IPL Pull-low Current (Test pin) Test pin at VBus (PL resistor = 25 KΩ) -20% 125 +20% µA ISB1 Power Down Current All input and I/O pin at VBus, Output pin floating, WDT disabled - - 50 µA ISB2 Power Down Current All input and I/O pin at VBus, Output pin floating, WDT enabled - - 100 µA ICC Operating Supply Current Fosc= 6.0 MHz , output pin floating - - 10 mA VOL2 Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) •7 EKA8562A USB Audio Controller 9.2 Analog Electrical Characteristic Parameter Condition Min Typ Max Unit ADC Resolution - - 10 - Bits ADC Sampling Frequency - - 48 - kHz Internal High Reference Voltage for ADC - - 2.55 - V Internal Low Reference Voltage for ADC - - 0.75 - V - 19.5 20 20.5 dB Voltage Amplifier Gain - 49 50 51 dB Output Voltage Swing - - 1.6 Output Voltage - 0.85 - 2.45 V MIC input = 7.5mV -40 - - dBm - 36 40 44 dB Pass-Band Ripple - - - 0.5 dB Pass-Band Cutoff Frequency - - 4 - kHz Stop-Band Attenuation @ 24kHz - 70 - - dB Stop-Band Attenuation @ 48kHz - 90 - - dB DAC Resolution - - 10 - Bits DAC Sampling Frequency - - 48 - kHz Reference Voltage (Vref) - 1.45 1.65 1.85 V Minimum Analog Output Voltage - 0.99 1.04 1.09 V Maximum Analog Output Voltage - 2.15 2.26 2.37 V VDA=3.3V -5% 1.2 +5% V Analog Output Impedance at Each Output Pin - - - 200 Ω Analog Output Capacitance at Each Output Pin - - - 20 pF External Load Impedance - - 32 - Ω Volume Control Step - - 16 - Step ADC Pre-Amplifier Spec. Pre-Amplifier Voltage Gain Gain Amplifier Spec. Vp-p ALC Circuit Spec. ALC Detection Level ALC Operating Range LPF Spec DAC Full Scale Voltage Range 8• Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller 10 Application Circuit Fig 10-1 eKA8562A 48-pin, ePhone Circuit Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) •9 EKA8562A USB Audio Controller Key Map Button Function SW1 Mute SW2 Vol+ SW3 Vok- SW4 Fn1 SW5 Fn2 SW6 Fn3 SW7 Fn4 SW8 Fn5 SW9 Fn6 SW10 Hook Off SW11 Fn7 SW12 Hook On SW13 1 SW14 2 SW15 3 SW16 4 SW17 5 SW18 6 SW19 7 SW20 8 SW21 9 SW22 * SW23 0 SW24 # Fn1~Fn7 can be defined. 10 • Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller 11 Buzzer Interface Signal F1 T1 1 sec T2 2 sec Buzzer Output Pin F1=2.45 kHz Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) • 11 EKA8562A USB Audio Controller 12 I2S Interface Signal LRCLK Left Channel 0 Right Channel 31 0 31 BCLK SDATA MSB -1 -2 -3 +3 +2 +1 LSB MSB -1 -2 -3 +3 +2 +1 LSB Fig 12-1 I 2S Justified Audio Stream Format LRCLK Right Channel Left Channel 0 31 0 31 BCLK SDATA MSB -1 -2 -3 +3 +2 +1 LSB MSB -1 -2 -3 +3 +2 +1 LSB Fig 12-2 Left Justified Audio Stream Format LRCLK Right Channel Left Channel 0 31 0 31 BCLK SDATA MSB -1 -2 -3 +3 +2 +1 LSB MSB -1 -2 -3 +3 +2 +1 LSB Fig 12-3 Right Justified Audio Stream Format The LRCLK and BCLK are derived from MCLK. The frequency ratio is MCLK: LRCLK: BCLK = 256: 1: 64 The frequency of LRCLK equals the sampling rate of 48kHz, 44.1kHz, 32kHz or 8kHz based on FS_SEL0 and FS_SEL1 pins status. 12 • Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) eKA8562A USB Audio Controller 13 Package Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice) • 13 EKA8562A USB Audio Controller 14 • Product Specification (V0.1) 04.24.2006 (This specification is subject to change without further notice)