w WM8985-6160-FL32-M-REV2 Example Configurations DOC TYPE: EXAMPLE CONFIGURATIONS BOARD REFERENCE: WM8985-6160-FL32-M-REV2 BOARD TYPE: Customer Mini Board WOLFSON DEVICE(S): WM8985 DATE: August 2008 DOC REVISION: Rev 1.0 INTRODUCTION The WM8985-6160-FL32-M mini board is compatible with the 6160-EV1 customer evaluation board and together provide a complete hardware platform for evaluation of the WM8985. The WM8985 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 6160-EV1 main board. Configurations covered are listed below: • DAC playback to headphone LOUT1/ROUT1 • DAC playback to headphone LOUT2/ROUT2 Class D 16R Load • MIC LIN-RIN to ADC This document should be used as a starting point for evaluation of WM8985. It will not cover every possible usage mode. Assumptions: 1. The user is familiar with the 6160-EV1 main board and that the board is configured correctly for the path of interest (see related documents below) 2. The user has set up WISCE as per instruction and has control of the DUT (register settings provided in this document and the WISCE installation software) Related documents: 1. WM8985-6160-FL32-M-REV2 Schematic and Layout.pdf 2. 6160-EV1 Schematic and Layout.pdf 3. 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/ August 2008, Rev 1.0 Copyright ©2008 Wolfson Microelectronics plc WM8985-6160-FL32-M-REV2 Customer Information TABLE OF CONTENTS INTRODUCTION .............................................................................................................1 TABLE OF CONTENTS ..................................................................................................2 BOARD CONFIGURATION WM8985 STAND-ALONE...................................................3 CONNECTION DIAGRAM.......................................................................................................3 I/O TABLE ...............................................................................................................................4 BOARD CONFIGURATION USING 6160-EV1 MAIN BOARD .......................................6 DAC PLAYBACK TO HEADPHONE (LOUT1/ROUT1) ............................................................6 DAC PLAYBACK TO HEADPHONE (LOUT2/ROUT2) CLASS D 16R LOAD..........................8 MIC LIN-RIN TO ADC............................................................................................................10 APPLICATION SUPPORT ............................................................................................12 IMPORTANT NOTICE ...................................................................................................13 ADDRESS: ............................................................................................................................13 w Customer Information August 2008, Rev 1.0 2 WM8985-6160-FL32-M-REV2 Customer Information BOARD CONFIGURATION WM8985 STAND-ALONE The WM8985 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 WM8985 mini board. DBVDD + - DCVDD + - AVDD1 + - LRC BCLK AVDD2 + - R2/GPIO3 RIN RIP LIP LIN L2/GPIO2 ADCDAT DACDAT MCLK LOUT1 ROUT1 CSB/GPIO1 SCLK SDIN ROUT2 LOUT2 (HP 3.5mm stereo ) MODE OUT3 OUT4 AUXR AUXL w Customer Information August 2008, Rev 1.0 3 WM8985-6160-FL32-M-REV2 Customer Information I/O TABLE BOARD REFERENCE SIGNAL HEADER IMPORTANT NOTES Voltage Supplies AVDD1 TP31 H6 pin 14 AVDD1 = 2.5V to 3.6V AVDD2 TP26 H6 pin 4 AVDD2 = 2.5V to 3.6V DCVDD TP13 H5 pin 10 DCVDD = 1.71V to 3.6V but must be less than or equal to AVDD1, AVDD2, & DBVDD DBVDD TP14 H5 pin 12 DBVDD = 1.71V to 3.6V Common GND on any of TP12, TP24, TP28, TP34, TP35 H3, H6, H7 odd Analogue and digital grounds must be within 0.3V numbered of each other pins Ground AGND1 AGND2 DGND Control Interface MODE TP18 (Controlled using SP2 on Mini H7 pin 4 board) 2-wire (default): MODE to GND via R21 3-wire: MODE to DBVDD via SP2 CSB/GPIO TP15 H5 pin 14 2-wire address 0x34 (default): CSB to GND 2-wire address 0x36: CSB to DBVDD SDIN TP17 H7 pin 2 SCLK TP16 H5 pin 16 All control interface signals should swing between DGND and DBVDD TP11 H5 pin 6 Signal should swing between DGND and DBVDD BCLK TP8 H3 pin 16 LRC TP7 H3 pin 14 DACDAT TP10 H5 pin 4 ADCDAT TP9 H5 pin 2 Master Clock MCLK Audio Interface All audio interface signals should swing between DGND and DBVDD Analogue Inputs w Customer Information LIN TP2 H3 pin 4 LIP TP1 H3 pin 2 RIN TP5 H3 pin 10 RIP TP4 H3 pin 8 L2/GPIO2 TP3 H3 pin 6 R2/GPIO3 TP6 H3 pin 12 AUXL TP19 H7 pin 6 AUXR TP20 H7 pin 8 Full scale swing should not exceed AVDD/3.3 Vrms single-ended. Pseudo-differential full scale swing should not exceed AVDD*0.7/3.3 Vrms Full scale swing should not exceed AVDD/3.3 Vrms Full scale swing should not exceed AVDD/3.3 Vrms August 2008, Rev 1.0 4 WM8985-6160-FL32-M-REV2 Customer Information Analogue Outputs MBVSEL=0 sets bias voltage to 0.9*AVDD, MICBIAS TP32 H6 pin 16 MBVSEL=1 sets bias voltage to 0.65*AVDD. Max current 3mA. w Customer Information LOUT1 TP30 H6 pin 12 Class AB headphone or line output left ROUT1 TP29 H6 pin 10 Class AB headphone or line output right LOUT2 TP25 H6 pin 2 Class D or Class AB headphone output left ROUT2 TP23 H7 pin 14 Class D or Class AB headphone output right OUT3 TP22 H7 pin 12 Left line output OUT4 TP21 H7 pin 10 Right line or mono mix output August 2008, Rev 1.0 5 WM8985-6160-FL32-M-REV2 Customer Information BOARD CONFIGURATION USING 6160-EV1 MAIN BOARD This section focuses on evaluation of the WM8985 mini board in combination with the 6160-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 HEADPHONE (LOUT1/ROUT1) The following section details board configuration for stereo DAC playback to headphone outputs LOUT1 and ROUT1. EVALUATION BOARD SETUP MODE CSB/GPIO1 SDIN SCLK ADCDAT LRC DACDAT BCLK MCLK VMID AVDD1 AGND1 BOARD CONFIGURATION LOUT1 ROUT1 Phono Output S/PDIF ELECT IN USB w Customer Information August 2008, Rev 1.0 6 WM8985-6160-FL32-M-REV2 Customer Information 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. REG INDEX DATA VALUE R0 0x000 COMMENT Reset (all registers to default setting) R61 0x100 Set BIASCUT R49 0x002 Enable thermal shutdown R52 0x140 LOUT1 muted, LOUT1VOL=0dB R53 0x140 ROUT1 muted, ROUT1VOL=0dB R2 0x180 Enable LOUT1 & ROUT1 outputs R42 0x004 Enable POBCTRL R3 0x1EF Enable DACs and output mixers R1 0x0CD VMIDSEL=75kΩ,enable BIASEN & BUFIOEN R6 0x040 MCLK selected, MCLKDIV=n/2, BCLK=MCLK R11 0x1FF Set DACVU, DACLVOL=0dB R12 0x1FF Set DACVU, DACRVOL=0dB R42 0x000 Disable POBCTRL R52 0x139 LOUT1 un-muted, LOUTVOL=0dB R53 0x139 ROUT1 un-muted, ROUTVOL=0dB THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information August 2008, Rev 1.0 7 WM8985-6160-FL32-M-REV2 Customer Information DAC PLAYBACK TO HEADPHONE (LOUT2/ROUT2) CLASS D 16R LOAD The following section details board configuration for stereo DAC playback to stereo headphones on LOUT2 and ROUT2 in Class D mode. EVALUATION BOARD SETUP BOARD CONFIGURATION S/PDIF ELECT IN USB w Customer Information LOUT2 ROUT2 Phono Output August 2008, Rev 1.0 8 WM8985-6160-FL32-M-REV2 Customer Information REGISTER SETTINGS REG INDEX DATA VALUE COMMENT R0 0x000 Reset (all registers to default setting) R61 0x100 Set BIASCUT R49 0x002 Enable thermal shutdown R1 0x0CD VMIDSEL=75kΩ,enable BIASEN & BUFIOEN R42 0x004 Enable POBCTRL R54 0x140 LOUT2muted, LOUT2VOL=0dB R55 0x140 ROUT2 muted, ROUT2VOL=0dB R3 0x1EF Enable LOUT2 & ROUT2 outputs, DACs and output mixers R6 0x040 MCLK selected, MCLKDIV=n/2, BCLK=MCLK R23 0x100 Enable Class D output R11 0x1FF Set DACVU, DACLVOL=0dB R12 0x1FF Set DACVU, DACRVOL=0dB R42 0x000 Disable POBCTRL R54 0x139 LOUT2 un-muted, LOUT2VOL=0dB R55 0x139 ROUT2 un-muted, ROUT2VOL=0dB THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information August 2008, Rev 1.0 9 WM8985-6160-FL32-M-REV2 Customer Information MIC LIN-RIN TO ADC The following section details board configuration for connecting a differential Microphone to LIN/LIP and RIN/RIP to the stereo ADC. EVALUATION BOARD SETUP DGND DBVDD AGND2 DCVDD AVDD2 OUT4 MIXER + AUXR AUXL OUT3 MIXER NOISY GND ADC DIGITAL FILTERS Gains: -12 dB to+35.25dB LIN Mic Rbias IP PGA L2/ GPIO2 5 Band EQ 3 D Enhance IP BOOST/ MIX ALC/ Limiter Gains: -12 dB to+35.25dB RIN Mic Rbias Volume L ADC LIP NOISY GND OUT4 -1 Wind noise filter R ADC RIP IP PGA R2/ GPIO3 + LEFT OUTPUT MIXER Hi- Fi DAC DIGITAL FILTERS Stereo, mono or differential line outputs -1 VMI D LDAC LOUT1 VOL Volume LOUT1 W 5 Band EQ Stereo Line or Headphone Outputs WM8985 3 D Enhance Playback limiter OUT3 ROUT1 VOL ROUT1 RDAC Programmable IIR notch filter RIGHT OUTPUT MIXER IP BOOST/ MIX LOUT2VOL LOUT2 MICBIAS PLL ADCREF, DACREF 75k 75k 300k 300k GPIO1 I2 S / PCM AUDIO INTERFACE A- law and u- law support 4k 5k Class D or AB Headphone Outputs CONTROL INTERFACE ROUT2 VOL ROUT2 CSB/GPIO1 SDIN SCLK MODE ADCDAT LRC DACDAT BCLK MCLK VMID AVDD1 AGND1 BOARD CONFIGURATION RIN (White) Phono Inputs LIN (White) Phono Inputs S/PDIF OPTICAL OUT S/PDIF ELECT IN USB w Customer Information August 2008, Rev 1.0 10 WM8985-6160-FL32-M-REV2 Customer Information REGISTER SETTINGS REG INDEX DATA VALUE COMMENT R0 0x000 Reset (all registers to default setting) R49 0x002 Enable thermal shutdown R2 0x03F Enable BOOSTENL BOOSTENR, INPPGAENL, INPPGAENR; ADECENL, ADECENR R1 0x009 VMIDSEL=75kΩ,enable BIASEN R6 0x040 MCLK selected, MCLKDIV=n/2, BCLK=MCLK R15 0x1FF Set ADCVU, ADCLVOL-0dB R16 0x1FF Set ADCVU, ADCRVOL-0dB R44 0x022 LIN2INPGA, RIN2INPGA R45 0x110 Set INPPGAVU, INPPGAVOLL=0dB R46 0x110 Set INPPGAVU, INPPGAVOLR=0dB R47 0x000 PGABOOSTL disabled R48 0x000 PGABOOSTR disabled THD+N V AMPLITUDE PERFORMANCE CURVE w Customer Information August 2008, Rev 1.0 11 WM8985-6160-FL32-M-REV2 Customer Information APPLICATION 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 August 2008, Rev 1.0 12 Customer Information WM8985-6160-FL32-M-REV2 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 E-mail :: [email protected] w Customer Information August 2008, Rev 1.0 13