w WM8940-6162-FL24-M Example Configurations DOC TYPE: Example Configurations BOARD REFERENCE: WM8940-6162-FL24-M-REV3 BOARD TYPE: Customer Mini Board WOLFSON DEVICE(S): WM8940 DATE: March 2008 DOC REVISION: 1.1 INTRODUCTION The WM8940-6162-FL24-M mini-board is compatible with the 6162-EV1 customer evaluation board and together provide a complete hardware platform for evaluation of the WM8940. The WM8940 mini board can also be used independently and connected directly to a processor board using flying wires or appropriate headers. This document will cover both setups, but performance data will be based on the Wolfson system with 6162-EV1 motherboard. Configurations covered are listed below: • DAC playback to MONOOUT • • • DAC playback to 8Ω BTL speaker ADC record from differential microphone ADC record from AUX input This document should be used as a starting point for evaluation of WM8940. It will not cover every possible usage mode. Assumptions: 1. 2. The user is familiar with the 6162-EV1 motherboard and that the board is configured correctly for the path of interest (see related documents below) The user has setup RegWrite or WISCE as per instruction and has control of the DUT (register settings provided in this document) Related documents: 1. 2. 3. WM8940-6162-FL24-M-REV3 Schematic and Layout.pdf 6162-EV1 Schematic and Layout.pdf WISCE Quick Start Guide.pdf The audio interface is connected to the main board through the S/PDIF ELECTRICAL IN and S/PDIF OPTICAL OUT connectors. All control signals for the 3-wire interface to the device are through the USB interface. WOLFSON MICROELECTRONICS plc To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/ March 2008, Rev1.1 Copyright ©2008 Wolfson Microelectronics plc WM8940-6162-FL24-M Evaluation Board Customer Information TABLE OF CONTENTS INTRODUCTION .................................................................................................................. 1 TABLE OF CONTENTS ....................................................................................................... 2 BOARD CONFIGURATION WM8940 STAND-ALONE ....................................................... 3 BOARD CONFIGURATION USING 6162-EV1 MAIN BOARD ............................................ 5 DAC PLAYBACK TO MONOOUT................................................................................................. 5 DAC PLAYBACK TO 8Ω BTL SPEAKER ..................................................................................... 8 MICN-MICP TO ADC.................................................................................................................. 10 AUX TO ADC.............................................................................................................................. 12 APPLICATIONS SUPPORT............................................................................................... 14 IMPORTANT NOTICE ........................................................................................................ 15 ADDRESS: ................................................................................................................................. 15 w Customer Information March 2008, Rev 1.1 2 WM8940-6162-FL24-M Evaluation Board Customer Information BOARD CONFIGURATION WM8940 STAND-ALONE The WM8940 mini board can be used as a stand-alone module for direct connection to a processor board using flying leads or dedicated headers. This section will detail important considerations and provide all information required to do this without risking damage to the device. CONNECTION DIAGRAM The diagram below shows the connections required to power up and control the WM8940 mini board. DBVDD DCVDD AVDD SPKVDD 1.71 to 3.6V + - 1.71 to 3.6V + - 2.5 to 3.6V + - 2.5 to 3.6V + - MICBIAS ADCDAT DACDAT FRAME BCLK MCLK MICP MICN AUX CSB/GPIO MODE/GPIO SCLK SDIN MONOOUT SPKOUTN SPKOUTP w Customer Information March 2008, Rev 1.1 3 WM8940-6162-FL24-M Evaluation Board Customer Information I/O TABLE BOARD REFERENCE SIGNAL HEADER IMPORTANT NOTES Voltage Supplies AVDD TP2 H8 pin 4 AVDD = 2.5V to 3.6V SPKVDD TP20 H11 pin 6 SPKVDD = 2.5V to 3.6V DCVDD TP4 H8 pin 8 DCVDD = 1.71V to 3.6V but must be less than or equal to AVDD, SPKVDD and DBVDD DBVDD TP5 H8 pin 10 DBVDD = 1.71V to 3.6V Ground AGND SPKGND DGND Common GND on any of TP25, TP26, TP27, TP28, TP29 and TP30 H9, H11, H12 odd Analogue and digital grounds must be within 0.3V numbered of each other pins Control Interface MODE/GPIO TP15 (Controlled using SP3 on board) H9 pin 12 2-wire (default): MODE to GND via R15 3-wire: MODE to DBVDD via SP3 CSB/GPIO TP12 (Controlled using SP2 on board) H9 pin 10 2-wire address 0x34 (default): CSB to GND via R13 2-wire address 0x36: CSB to DBVDD via SP2 SDIN TP14 H12 pin 2 SCLK TP13 H9 pin 14 All control interface signals should swing between DGND and DBVDD TP11 H9 pin 8 Signal should swing between DGND and DBVDD Master Clock MCLK Audio Interface BCLK TP10 H9 pin 6 FRAME TP9 H9 pin 4 DACDAT TP8 H9 pin 2 ADCDAT TP7 H8 pin 14 MICN TP23 H11 pin 12 MICP TP24 H11 pin 14 Full scale swing should not exceed AVDD/3.3 Vrms single-ended (LIN/RIN). Pseudo-differential full scale swing should not exceed AVDD*0.7/3.3 Vrms AUX TP21 H11 pin 8 Full scale swing should not exceed AVDD/3.3 Vrms MICBIAS TP1 H8 pin 2 MBVSEL=1 sets bias voltage to 0.65*AVDD. Max current 3mA. MONOOUT TP16 H12 pin 12 Line output or mono headphone SPKOUTP TP17 H12 pin14 +ve terminal of BTL speaker output SPKOUTN TP19 H11 pin 4 -ve terminal of BTL speaker output All audio interface signals should swing between DGND and DBVDD Analogue Inputs Analogue Outputs MBVSEL=0 sets bias voltage to 0.9*AVDD, w Customer Information March 2008, Rev 1.1 4 WM8940-6162-FL24-M Evaluation Board Customer Information BOARD CONFIGURATION USING 6162-EV1 MAIN BOARD This section focuses on evaluation of the WM8940 mini board in combination with the 6162-EV1 main board. This “system” is the reference platform for measurement data contained in this document. Please note that only a limited number of usage modes will be covered. DAC PLAYBACK TO MONOOUT The following section details board configuration for mono DAC playback to MONOOUT. EVALUATION BOARD SETUP w Customer Information March 2008, Rev 1.1 5 WM8940-6162-FL24-M Evaluation Board Customer Information BOARD CONFIGURATION USB S/PDIF ELECT IN MONOOUT phono REGISTER SETTINGS Register settings provided below are simply the minimum requirement to configure the desired path and have not in any way been optimised for pops and clicks. w Customer Information REG INDEX DATA VALUE R0 0x000 Reset (all registers to default setting) R1 0x08D LVLSHIFT_EN On, BIASEN On, BUFIOEN On, VMIDSEL = 50k R3 0x0ED MONOEN On, SPKNEN On, SPKPEN On, VBUFEN Off, MONOMIX On, SPKMIXEN On, DACEN On R6 0x000 CLKSEL=MCLK, BCLK=MCLK, MCLKDIV=1, MS=Slave COMMENT R49 0x002 TSDEN On, VROI=1k R56 0x001 MONOATTN=0dB, DAC2MONO selected March 2008, Rev 1.1 6 WM8940-6162-FL24-M Evaluation Board Customer Information THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information March 2008, Rev 1.1 7 WM8940-6162-FL24-M Evaluation Board Customer Information DAC PLAYBACK TO 8Ω BTL SPEAKER The following section details board configuration for mono DAC playback to 8Ω BTL speaker on SPKOUTP and SPKOUTN. EVALUATION BOARD SETUP BOARD CONFIGURATION USB S/PDIF ELECT IN Fit jumpers J30, J35, and J38 SPKOUTN/P Phono AP2 CHA+ to White AP2 CHA- to Red w Customer Information March 2008, Rev 1.1 8 WM8940-6162-FL24-M Evaluation Board Customer Information REGISTER SETTINGS REG INDEX DATA VALUE R0 0x000 R1 0x08D LVLSHIFT_EN On, BIASEN On, BUFIOEN On, VMIDSEL = 50k R3 0x0ED MONOEN On, SPKNEN On, SPKPEN On, VBUFEN Off, MONOMIX On, SPKMIXEN On, DACEN On R6 0x000 CLKSEL=MCLK, BCLK=MCLK, MCLKDIV=1, MS=Slave R49 0x002 TSDEN On, VROI=1k R50 0x001 DAC2SPK selected R54 0x039 SPKATTN=0dB, Speaker output enabled, SPKVOL=0dB COMMENT Reset (all registers to default setting) THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information March 2008, Rev 1.1 9 WM8940-6162-FL24-M Evaluation Board Customer Information MICN-MICP TO ADC The following section details board configuration for connecting a differential Microphone to MICN and MICP and to the mono ADC. EVALUATION BOARD SETUP BOARD CONFIGURATION USB Fit jumper to J22 pins 2-3 S/PDIF OPTICAL OUT MIC IN Phono AP2 CHA to White AP2 CHB to Red w Customer Information March 2008, Rev 1.1 10 WM8940-6162-FL24-M Evaluation Board Customer Information REGISTER SETTINGS REG INDEX DATA VALUE R0 0x000 R1 0x08D LVLSHIFT_EN On, BIASEN On, BUFIOEN On, VMIDSEL = 50k R2 0x015 BOOSTEN On, INPPGAEN On, ADCEN On R6 0x000 CLKSEL=MCLK, BCLK=MCLK, MCLKDIV=1, MS=Slave R44 0x003 MBVSEL=0.9*AVDD, MICN2INPPGA to PGA –ve terminal, MIC2INPPGA to PGA +ve terminal R45 0x010 INPPGA enabled, INPPGAVOL=0dB R47 0x000 PGABOOST=0dB R49 0x002 TSDEN On, VROI=1k COMMENT Reset (all registers to default setting) THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information March 2008, Rev 1.1 11 WM8940-6162-FL24-M Evaluation Board Customer Information AUX TO ADC The following section details board configuration for connecting AUX input to the mono ADC bypassing the PGA. EVALUATION BOARD SETUP BOARD CONFIGURATION USB S/PDIF OPTICAL OUT AUX IN phono w Customer Information March 2008, Rev 1.1 12 WM8940-6162-FL24-M Evaluation Board Customer Information REGISTER SETTINGS REG INDEX DATA VALUE R0 0x000 R1 0x08D LVLSHIFT_EN On, BIASEN On, BUFIOEN On, VMIDSEL = 50k R2 0x015 BOOSTEN On, INPPGAEN On, ADCEN On R6 0x000 CLKSEL=MCLK, BCLK=MCLK, MCLKDIV=1, MS=Slave COMMENT Reset (all registers to default setting) R44 0x000 Bypass PGA R45 0x010 INPPGA enabled, INPPGAVOL=0dB R47 0x007 AUXBOOSTVOL=0dB R49 0x002 TSDEN On, VROI=1k THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information March 2008, Rev 1.1 13 WM8940-6162-FL24-M Evaluation Board Customer Information APPLICATIONS SUPPORT If you require more information or require technical support, please contact the Wolfson Microelectronics Applications group through the following channels: Email: Telephone Apps: Fax: Mail: [email protected] +44 (0) 131 272 7070 +44 (0) 131 272 7001 Applications Engineering at the address on the last page or contact your local Wolfson representative. Additional information may be made available on our web site at: http://www.wolfsonmicro.com w Customer Information March 2008, Rev 1.1 14 WM8940-6162-FL24-M Evaluation Board Customer Information IMPORTANT NOTICE Wolfson Microelectronics plc (“Wolfson”) products and services are sold subject to Wolfson’s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. Wolfson warrants performance of its products to the specifications in effect at the date of shipment. Wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. Customers should therefore obtain the latest version of relevant information from Wolfson to verify that the information is current. Testing and other quality control techniques are utilised to the extent Wolfson deems necessary to support its warranty. Specific testing of all parameters of each device is not necessarily performed unless required by law or regulation. In order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. Wolfson is not liable for applications assistance or customer product design. The customer is solely responsible for its selection and use of Wolfson products. Wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a Wolfson product. Wolfson’s products are not intended for use in life support systems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. Any use of products by the customer for such purposes is at the customer’s own risk. Wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectual property right of Wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. Any provision or publication of any third party’s products or services does not constitute Wolfson’s approval, licence, warranty or endorsement thereof. Any third party trade marks contained in this document belong to the respective third party owner. Reproduction of information from Wolfson datasheets is permissible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. Wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. Any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in Wolfson’s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person’s own risk. Wolfson is not liable for any such representations, warranties or liabilities or for any reliance placed thereon by any person. ADDRESS: Wolfson Microelectronics plc Westfield House 26 Westfield Road Edinburgh EH11 2QB United Kingdom Tel :: +44 (0)131 272 7000 Fax :: +44 (0)131 272 7001 w Customer Information March 2008, Rev 1.1 15