WM8510-EV1M Evaluation Board User Handbook Rev 1.0 WM8510-EV1M TABLE OF CONTENTS TABLE OF CONTENTS.............................................................................................................................................. 2 INTRODUCTION ........................................................................................................................................................ 3 GETTING STARTED .................................................................................................................................................. 3 EVALUATION BOARD CHECKLIST ...................................................................................................................... 3 CUSTOMER REQUIREMENTS ............................................................................................................................. 3 PCB MAIN CONNECTIONS ....................................................................................................................................... 4 POWER SUPPLIES ............................................................................................................................................... 4 DIGITAL INPUT...................................................................................................................................................... 4 DIGITAL OUTPUT.................................................................................................................................................. 5 ANALOGUE INPUT................................................................................................................................................ 5 ANALOGUE OUTPUT............................................................................................................................................ 6 USB CONNECTIONS............................................................................................................................................. 6 INTERFACES............................................................................................................................................................. 7 HEADERS.............................................................................................................................................................. 8 LINKS AND JUMPERS .......................................................................................................................................... 8 SWITCHES ............................................................................................................................................................ 9 SOFTWARE CONTROL........................................................................................................................................... 10 SELECTION OF CONTROL MODE ..................................................................................................................... 10 3-WIRE SERIAL CONTROL MODE ..................................................................................................................... 10 2-WIRE SERIAL CONTROL MODE ..................................................................................................................... 10 REGISTER MAP ...................................................................................................................................................... 12 WM8510 BLOCK DIAGRAM .................................................................................................................................... 13 WM8510-EV1S CONTROL SOFTWARE DESCRIPTION ........................................................................................ 14 SOFTWARE DOWNLOAD................................................................................................................................... 14 SOFTWARE INSTALLATION............................................................................................................................... 14 REGISTER WRITE CONTROL PANELS ............................................................................................................. 15 SETUP TEXT FILES ............................................................................................................................................ 18 DEFAULT SETUP - SLAVE MODE.......................................................................................................................... 19 ADDITIONAL HARDWARE CONFIGURATIONS ..................................................................................................... 21 MASTER MODE SETUP...................................................................................................................................... 21 EXTERNAL POWER SUPPLIES SETUP............................................................................................................. 23 HPDETECT, HEADPHONE AND BTL SPEAKER SETUP ................................................................................... 24 SCHEMATIC LAYOUT ............................................................................................................................................. 26 PCB LAYOUT........................................................................................................................................................... 33 WM8510-EV1B BILL OF MATERIAL ....................................................................................................................... 36 APPENDICES .......................................................................................................................................................... 39 USB INTERFACE TROUBLESHOOTING ................................................................................................................ 39 MESSAGE BOX EXPLANATIONS - COMMUNICATIONS ISSUES ..................................................................... 39 USB COMMUNICATIONS ISSUES...................................................................................................................... 40 MESSAGE BOX EXPLANATIONS - FILE LOAD/SAVE FUNCTIONS.................................................................. 43 EXTERNAL DSP CONNECTION TO THE WM8510-EV1B ...................................................................................... 45 AUDIO INTERFACE CONNECTIONS.................................................................................................................. 45 SOFTWARE INTERFACE.................................................................................................................................... 47 EVALUATION SUPPORT......................................................................................................................................... 49 IMPORTANT NOTICE .............................................................................................................................................. 50 ADDRESS:........................................................................................................................................................... 50 w Rev 1.0 March 2007 2 WM8510-EV1M INTRODUCTION The WM8510 is Mono Codec with pseudo-differential microphone and additional auxiliary input designed for VoIP or digital telephone application. The device is equipped with dedicated mono headphone and speaker output drivers. This evaluation platform and documentation should be used in conjunction with the latest version of the WM8510 datasheet. The datasheet gives device functionality information as well as timing and data format requirements. This evaluation platform has been designed to allow the user ease of use and give optimum performance in device measurement. GETTING STARTED EVALUATION BOARD CHECKLIST The following items are available from Wolfson: • WM8510-EV1B Evaluation Board - 6141_QFN32_EV1_REV1 • WM8510-EV1S Control Software (download from http://www.wolfsonmicro.com) • WM8510-EV1M User Handbook (download from http://www.wolfsonmicro.com) CUSTOMER REQUIREMENTS PC requirements are: • PC with USB connection • Operating systems supported Win XP/2000 Minimum signal path requirements are: w • An analogue input source • S/PDIF signal source • S/PDIF receiving unit Rev 1.0 March 2007 3 WM8510-EV1M PCB MAIN CONNECTIONS POWER SUPPLIES Power is supplied to the WM8510 USB interface via the USB connector. If preferred, it is also possible to supply +5V power to the audio interface level shift buffers from external supplies to 4mm connectors. Using appropriate USB cable a +5V supply can be connected as described in Table 1. REF-DES J28 SOCKET NAME USB SUPPLY +5V Table 1 USB Power Supply Connection Using appropriate power leads with 4mm connectors, external supplies can be connected as described in Table 2. REF-DES J32 SOCKET NAME +5V SUPPLY +5V J33 GND 0V J34 DCVDD +1.71V to +3.6V J35 DBVDD +1.71V to +3.6V J36 SPKVDD +2.5V to +5.0V J37 GND 0V J38 AVDD +2.5V to +3.6V Table 2 External Power Supply Connections Note: Refer to WM8510 datasheet for current limitations on individual supply voltages. Important: Exceeding the recommended maximum voltage can damage EVB components. Under voltage may cause improper operation of some or all of the EVB components. DIGITAL INPUT There are two methods to input the required digital signal clocks to the WM8510 audio interface. An AES/EBU, UEC958, S/PDIF, EIAJ CP340/1201 signal from coaxial input via a standard phono connector (J20) or direct digital input is available via one side of a 2x8 pin header (H1). A level shift IC (U3) has been included in the digital input interface path to provide signal buffering to the input signals; this allows an external clock source to be matched to the WM8510 requirements. In Master mode the WM8510 only requires an MCLK input to produce an ADCDAT output, which can be derived either from S/PDIF signal clock recovery or by connecting an external MCLK direct to J17, H1 or H2. The BCLK and LRCLK clocks can also be derived from the S/PDIF signal clock recovery or by discrete input to header H1. CONNECTOR REFERENCE CONNECTOR TYPE SIGNAL REFERENCE J20 Phono Connector SPDIF_IN J17 SMB Connector MCLK H1 pin 2 Header FRAME_IN H1 pin 6 Header BCLK_IN H1 pin 10 Header DACDAT H1 pin 14 Header MCLK H2 pin 1 Header MCLK Table 3 Digital Input Connections w Rev 1.0 March 2007 4 WM8510-EV1M Important: It must be noted that the CS8427 SPDIF decoder IC will only work at a rate of 256fs. This will limit the sample rates that may be set using the WM8510 unless an external source is used supplying signals directly to the relevant pins of header H1 or taking the signals from the relevant pins of header H5. DIGITAL OUTPUT The ADC output can be converted to an S/PDIF signal via the CS8427CS device (U5) and output from the WM8510 evaluation board via a standard phono connector (J15). Alternatively the ADC output data and clocks may be accessed via one side of a 2x6 pin header (H5). A level shift IC (U3) has been included in the digital output interface path to provide signal buffering to the output signals; this allows external receiver requirements to be met. The GPIO pin can output the PLL MCLK in addition to other internal signals for external application use, J8 will access the GPIO output. CONNECTOR REFERENCE CONNECTOR TYPE SIGNAL REFERENCE H5 pin 1 Header ADCDAT H5 pin 5 Header BCLK_OUT H5 pin 9 Header LRC_OUT J15 Phono Connector SPDIF_OUT J8 SMB Connector GPIO1_OUT Table 4 Digital Output Connections ANALOGUE INPUT The main analogue inputs can be configured in one of two ways, either via two phono connectors or via a microphone jack socket. These inputs can be used with pseudo-differential input signals, but in the case of the microphone jack (J2), R23 must be removed to disconnect the headphone ground from board ground for pseudo-differential configuration. An additional input can be connected a phono connector (J6). CONNECTOR REFERENCE CONNECTOR TYPE SIGNAL REFERENCE J2 Jack Socket Mic Input J6 Phono Connector MIC2 J10 Phono Connector MICN J11 Phono Connector MICP Table 5 Analogue Input Connections Switches SW3 and SW4 select between the jack socket or phono connector for the microphone input. w Rev 1.0 March 2007 5 WM8510-EV1M ANALOGUE OUTPUT The analogue outputs can be configured in one of three ways, either via two phono connectors, spring loaded speaker terminals or via a jack socket. CONNECTOR REFERENCE CONNECTOR TYPE SIGNAL REFERENCE J14 Jack Socket Mono Headphone Out J16 Phono Connector SPKOUTN/SPKOUTP J26 Speaker Connector Speaker Connector Table 6 Analogue Input Connections All WM8510 device pins are accessible for easy measurement via the 8-pin headers (H3 and H6) running along each side of the device. USB CONNECTIONS The 2-wire or 3-wire control signals can be input from the control software via USB connector (J28); these signals are interpreted by the USB Controller (U10). Alternatively it is possible to connect 2wire or 3-wire control signals directly via test points TP5, TP8 and TP11. CONNECTOR REFERENCE CONNECTOR TYPE PIN NUMBER SIGNAL REFERENCE J28 FCI USB Connector Type B 1 VBUS 2 DN 3 DP 4 GND 5 SHEILD 6 SHEILD Table 7 Software Control w Rev 1.0 March 2007 6 WM8510-EV1M INTERFACES Figure 1 Interfaces w Rev 1.0 March 2007 7 WM8510-EV1M HEADERS H3 1 2 WM8510 1 2 PIN NAME VMID MICN H6 1 2 WM8510 15 16 DUT_BCLK DUT_MCLK 3 4 5 3 4 5 MICP MICBIAS DUT_AVDD 3 4 5 17 18 19 DUT_CSB/GPIO DUT_SCLK DUT_SDIN 6 6 DUT_AVDD 6 20 DUT_MODE 7 8 9 10 11 7 8 9 10 11 AGND AGND DUT_DCVDD DUT_DBVDD DGND 7 8 9 10 11 21 22 23 24 25 MONOOUT SPKOUTP SPKGND SPKGND SPKOUTN 12 13 14 12 13 14 DUT_ADCDAT DUT_DACDAT DUT_FRAME 12 13 14 26 27 28 SPKVDD SPKVDD MIC2 H1 1-2 H5 1-2 PIN NAME FRAME_IN 3-4 5-6 7-8 GND BCLK_IN GND 3-4 5-6 7-8 GND BCLK_OUT GND 9-10 11-12 13-14 DACDAT GND MCLK 9-10 11-12 LRC_OUT GND 15-16 GND PIN NAME PIN NAME ADCDAT Table 8 Headers LINKS AND JUMPERS LINKS AND JUMPERS LINK STATUS DESCRIPTION LNK3 SHORT OPEN Slave LRC selected [default setting] Master LRC selected LNK4 SHORT OPEN Slave BCLK selected [default setting] Master BCLK selected LNK5 1-2 2-3 LNK7 SHORT OPEN DCVDD connected [default setting] DCVDD unconnected [allows current measurement] LNK8 SHORT OPEN DBVDD connected [default setting] DBVDD unconnected [allows current measurement] LNK9 SHORT OPEN SPKVDD connected [default setting] SPKVDD unconnected [allows current measurement] LNK10 SHORT OPEN AVDD connected [default setting] AVDD unconnected [allows current measurement] J1 SHORT OPEN HPDETECT selected HPDETECT selected [default setting] CSB connected [default setting] GPIO1 connected Table 9 Links and Jumpers w Rev 1.0 March 2007 8 WM8510-EV1M SWITCHES SWITCH SWITCH POSITION SW3 1-2 2-3 Ground selected [default setting] MICN phono input selected SW4 1-2 2-3 Mic jack input selected MICP phono selected [default setting] 1-2 2-3 SPDIF PCM clocks input select [default setting] 0ption presently unavailable SW11 1-2 2-3 External DCVDD supply selected USB DCVDD supply selected [default setting] SW12 1-2 2-3 External DBVDD supply selected USB DBVDD supply selected [default setting] SW13 1-2 2-3 External SPKVDD supply selected USB SPKVDD supply selected [default setting] SW14 1-2 2-3 External AVDD supply selected USB AVDD supply selected [default setting] SW16 1-2 2-3 External +5V supply selected USB +5V supply selected [default setting] SW20 1-2 2-3 -ve speaker terminal selected SPKOUTN phono selected [default setting] SW21 1-2 2-3 +ve speaker terminal selected SPKOUTP phono selected [default setting] SW7 SW8 DESCRIPTION CS8427 Reset SW9 TAS1020B Reset Table 10 Switches w Rev 1.0 March 2007 9 WM8510-EV1M SOFTWARE CONTROL SELECTION OF CONTROL MODE The WM8510 is controlled by writing to registers through a serial control interface. A control word consists of 16 bits. The first 7 bits (B15 to B9) are address bits that select which control register is accessed. The remaining 9 bits (B8 to B0) are register bits, corresponding to the 9 bits in each control register. The control interface can operate as either a 3-wire or 2-wire MPU interface where the MODE pin selects the interface format according to Table 11. The Mode is selected in the software interface and is controlled by the USB controller. MODE INTERFACE FORMAT Low 2-wire High 3-wire Table 11 Control Interface Mode Selection 3-WIRE SERIAL CONTROL MODE In 3-wire mode, every rising edge of SCLK clocks in one data bit from the SDIN pin. A rising edge on CSB latches in a complete control word consisting of the last 16 bits. LNK5 pins 1-2 must be shorted for 3-wire control. latch CSB SCLK SDIN B15 B14 B13 B12 B11 B10 control register address B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 control register data bits Figure 2 3-Wire Serial Control Interface 2-WIRE SERIAL CONTROL MODE The WM8510 supports software control via a 2-wire serial bus. Many devices can be controlled by the same bus, each device can be identified by a 7-bit device address (this is not the same as the 7bit address of each register in the WM8510). The WM8510 interface can be written to only and cannot be read back. The controller indicates the start of data transfer with a high to low transition on SDIN while SCLK remains high. This indicates that a device address and data will follow. All devices on the 2-wire bus respond to the start condition and shift in the next eight bits on SDIN (7-bit address + Read/Write bit, MSB first). If the device address received matches the address of the WM8510 and the R/W bit is ‘0’, indicating a write, then the WM8510 responds by pulling SDIN low on the next clock pulse (ACK1). If the address is not recognised or the R/W bit is ‘1’, the WM8510 returns to the idle condition and wait for a new start condition and valid address. Figure 3 2-Wire Serial Control Interface w Rev 1.0 March 2007 10 WM8510-EV1M Once the WM8510 has acknowledged a correct address, the controller sends the first byte of control data (B15 to B8, i.e. the WM8510 register address plus the first bit of register data). The WM8510 then acknowledges the first data byte by pulling SDIN low for one clock pulse (ACK2). The controller then sends the second byte of control data (B7 to B0, i.e. the remaining 8 bits of register data), and the WM8510 acknowledges again by pulling SDIN low (ACK3). The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high. After receiving a complete address and data sequence the WM8510 returns to the idle state and waits for another start condition. If a start or stop condition is detected out of sequence at any point during data transfer (i.e. SDIN changes while SCLK is high), the device jumps to the idle condition. w Rev 1.0 March 2007 11 WM8510-EV1M REGISTER MAP ADDR B[15:9] REGISTER NAME B8 B7 B6 B5 B4 B3 B2 B1 B0 DEF’T VAL (HEX) DEC HEX 0 00 Software reset 1 01 Power manage’t 1 BUFDCOP EN 2 02 Power manage’t 2 0 0 3 03 Power manage’t 3 0 MONOEN 4 04 Audio Interface BCP FRAMEP 5 05 Companding ctrl 0 0 6 06 Clock Gen ctrl CLKSEL 7 07 Additional ctrl 0 0 8 08 GPIO Stuff 0 0 0 OPCLKDIV GPIOPOL 10 0A DAC Control 0 0 DACMU DEEMPH DACOSR 128 11 0B DAC digital Vol 14 0E ADC Control 15 0F ADC Digital Vol 0 24 18 DAC Limiter 1 LIMEN 25 19 DAC Limiter 2 0 0 27 1B Notch Filter 1 NFU NFEN NFA0[13:7] 000 28 1C Notch Filter 2 NFU 0 NFA0[6:0] 000 29 1D Notch Filter 3 NFU 0 NFA1[13:7] 000 30 1E Notch Filter 4 NFU 0 NFA1[6:0] 32 20 ALC control 1 ALCSEL 0 33 21 ALC control 2 ALCZC 34 22 ALC control 3 ALCMODE 35 23 Noise Gate 0 0 0 0 0 36 24 PLL N 0 0 0 0 PLL_PRE SCALE 37 25 PLL K 1 0 0 0 38 26 PLL K 2 PLLK[17:9] 093 39 27 PLL K 3 PLLK[8:0] 0E9 40 28 Attenuation ctrl 44 2C Input ctrl 45 2D INP PGA gain ctrl 47 2F ADC Boost ctrl 49 31 Output ctrl 50 32 SPK mixer ctrl 54 36 56 38 Software reset 0 MIC2EN PLLEN MICBEN 0 0 SPKNEN SPKPEN BUFIOEN BOOSTEN 0 INPPGAEN 0 ADCEN 000 0 MONO MIXEN SPK MIXEN 0 DACEN 000 FMT DLRSWAP ALRSWAP 0 050 DAC_COMP ADC_COMP LOOPBACK 000 0 0 MCLKDIV BCLKDIV 0 0 HPFEN VMIDSEL 0 WL 0 000 BIASEN MS 140 SLOWCLK EN 000 000 0 SR 000 GPIOSEL AMUTE 0 DACPOL 0 0 ADCPOL 0FF DACVOL HPFAPP HPFCUT ADCOSR 128 0FF ADCVOL LIMATK 032 LIMBOOST 000 LIMDCY LIMLVL 0 000 ALCMAX 038 ALCMIN ALCHLD ALCDCY ALCLVL 00B ALCATK 032 NGEN 000 NGTH 008 PLLN[3:0] 00C PLLK[23:18] 0 0 0 0 0 0 MBVSEL 0 0 0 0 MIC2MOD E 0 INPPGAZC INPPGA MUTE PGABOOST 0 0 0 0 0 0 MONO BOOST SPK BOOST 0 0 0 MIC2_2SP K 0 0 0 SPK volume ctrl 0 SPKZC SPKMUTE MONO mixer ctrl 0 0 MONO MUTE 0 0 0 0 000 MICP2 INPPGA 003 MONOATTN SPKATTN MIC2_2 INPPGA MICN2 INPPGA 010 INPPGAVOL MICP2BOOSTVOL 100 0 MIC2_2BOOSTVOL TSDEN VROI BYP2SPK DAC2SPK 000 039 SPKVOL MIC2_2 MONO 100 002 BYP2 MONO DAC2 MONO 000 Table 12 Control Register Map Notes: Please refer to the WM8510 datasheet for full details of the serial interface timing and all register features. w Rev 1.0 March 2007 12 WM8510-EV1M WM8510 BLOCK DIAGRAM Figure 4 WM8510 Block Diagram w Rev 1.0 March 2007 13 WM8510-EV1M WM8510-EV1S CONTROL SOFTWARE DESCRIPTION The following section will detail the downloading and installation of evaluation software and also the operation of the software and the functionality of each control button. Details are also provided on setup text files that allow selected configuration of the WM8510 device. SOFTWARE DOWNLOAD The current evaluation board WM8510-EV1S control software should be downloaded from the Wolfson website [www.wolfsonmicro.com]. From the homepage it is recommended to carry out a search for ‘WM8510’ and select the evaluation board ’more’ button. Select ‘download’ from the top right hand corner under the software label. Once the licence agreement has been accepted, select the WM8510_EV1S_REVx.x.ZIP link and download to your hard drive. SOFTWARE INSTALLATION Once the .zip file has been downloaded, to install the software: • Open the .zip file • Double click on the setup.exe file. • Follow the on-screen installation instructions and save to the desired location. The software can then be opened by either running the extracted WM8510_EV1_REV1.0.exe file from the saved location. Alternatively select: Start > Programs > WM8510-EV1S Rev1.0 > WM8510EV1S. w Rev 1.0 March 2007 14 WM8510-EV1M REGISTER WRITE CONTROL PANELS Figure 5 Register Write Control Panel If the WM8510_EV1S software is opened before the WM8510_EV1B board is connected to the USB cable the device will not be recognised automatically, pressing the ‘Re-detect’ button will establish a software link to the WM8510 device. The ‘USB Device Connected’ indicator shows communication with WM8510 EVB USB interface, but does not confirm correct operation on the WM8510 device. Suitable device setup text files can be loaded or saved in the ‘Text Box’. Pressing the ‘Write Register’ button will cause the hexadecimal value shown in ‘Write Register Data’ to be written to the WM8510 register selected by the ‘Register Index’ control. Once committed the details of the register write will be recorded in the ‘Text Box’. The software interface can also be used in ‘Standalone Mode’, which allows text files to be loaded or saved in the ‘Text Box and File Handler’ window without communicating with the WM8510 device. Select ‘None (Standalone Mode)’ to enable this mode. Figure 6 Standalone Mode Selection w Rev 1.0 March 2007 15 WM8510-EV1M The software control interface can be selected as required. Select ‘3 Wire’ or ‘2 Wire’ from the ‘Control Mode’ menu to enable the required mode. Figure 7 Control Mode Selection The register index can be displayed on the Main Panel in either Decimal (default) or Hexadecimal format. Select the required format from the ‘Data Format’ menu. Figure 8 Register Index Format Selection The ‘Help’ menu provides links to information about using and troubleshooting the USB control interface in addition to the USB Interface Troubleshooting section below. Figure 9 Help Menu Selection The Text Box control panel allows the WM8510 registers to be set as per the register map shown in the datasheet. Figure 10 Text Box and File Handler Window w Rev 1.0 March 2007 16 WM8510-EV1M Pressing the ‘Save Text Box to File’ control will copy to a text file the current sequence of writes displayed in the ‘Text Box’. Pressing the ‘Load File and Send to Device’ control will copy a previously saved sequence of writes from a text file to the ‘Text Box’ and will automatically write these register values to the WM8510 device. Pressing the ‘Save Current Register Settings to File’ control will copy to a text file the latest register writes made to the ‘Text Box’. The data is saved in register order and those registers not written to are not recorded. Pressing the ‘Clear Box’ control will empty the ‘Text Box’ of the information presently listed. The ‘Output Gain’ panel allows gain updates to the WM8510 device analogue outputs and DAC. The corresponding value written to the device register will be recorded in the ‘Text Box’ in the standard format. Figure 11 Output Gain Slider Panel The ‘Input Gain’ panel allows gain updates to the WM8510 device analogue inputs and ADC. The corresponding data value written to the device register will be recorded in the ‘Text Box’ in the standard format. Figure 12 Input Gain Slider Panel If clicked on, the Wolfson logo in the top left of the control panel window will open the Wolfson website (www.wolfsonmicro.com) in the PCs default browser. Figure 13 Default Browser Select w Rev 1.0 March 2007 17 WM8510-EV1M SETUP TEXT FILES Pre-written setup files are provided to allow easy configuration of the WM8510 device for a selection of basic operational states. It is also possible to create a text files with a specific sequence of register writes by selecting ‘Save Text Box to File’ on the ‘Text Box and File Handler’ window. Pressing the ‘Save Current Register Settings to File’ control saves the data in register order, those registers not written to since the last time ‘Clear Box’ was pressed and therefore not listed in the ‘Text Box’ will not be recorded. Figure 14 Setup Text File Layout w Rev 1.0 March 2007 18 WM8510-EV1M DEFAULT SETUP - SLAVE MODE Figure 15 shows the basic ‘getting started’ WM8510 setup required to operate the DAC and ADC in Slave Mode. In this example the WM8510 MCLK and PCM clocks are generated from the S/PDIF digital input. Analogue Source Ground Figure 15 Slave Mode Setup Example w Rev 1.0 March 2007 19 WM8510-EV1M LINKS, JUMPERS AND SWITCHES SWITCH POSITION DESCRIPTION H1 All Links ON CS8427 clocks input [default setting] H5 All Links ON CS8427 clocks output [default setting] SW3 2-3 MICN phono selected [default setting] SW4 2-3 MICP phono selected [default setting] SW8 1-2 SPDIF PCM clocks input selected [default setting] SW11 2-3 USB DCVDD supply selected [default setting] SW12 2-3 USB DBVDD supply selected [default setting] SW13 2-3 USB SPKVDD supply selected [default setting] SW14 2-3 USB AVDD supply selected [default setting] SW16 2-3 USB +5V supply selected [default setting] SW20 1-2 SPKOUTN phono selected [default setting] SW21 1-2 LNK3 SHORT LNK4 SHORT Slave BCLK selected [default setting] LNK7 SHORT DCVDD connected [default setting] LNK8 SHORT DBVDD connected [default setting] LNK9 SHORT SPKVDD connected [default setting] LNK10 SHORT AVDD connected [default setting] SPKOUTP phono selected [default setting] Slave LRC selected [default setting] Table 13 Slave Mode Example Settings w Rev 1.0 March 2007 20 WM8510-EV1M ADDITIONAL HARDWARE CONFIGURATIONS Functionality of the WM8510 is achieved through 2 or 3-wire software control. The device can be configured as either master or slave (an MCLK clock must be supplied to the WM8510 in both configurations). MASTER MODE SETUP Figure 16 shows the setup required if using ADC Master Mode. In this example an external clock source to J15 is used to supply the WM8510 MCLK, from which, the BCLK and LRCLK clocks are produced by the WM8510 device. An alternative method is to short H1 pins 9-10 (MCLK) and apply an S/PDIF clock to J20 to produce the MCLK source. Figure 16 ADC Master Mode Setup Example w Rev 1.0 March 2007 21 WM8510-EV1M LINKS, JUMPERS AND SWITCHES SWITCH POSITION DESCRIPTION H1 All Links OFF CS8427 clocks input [default setting] H5 All Links OFF CS8427 clocks output [default setting] SW3 2-3 MICN phono selected [default setting] SW4 2-3 MICP phono selected [default setting] SW8 1-2 SPDIF PCM clocks input selected [default setting] SW11 2-3 USB DCVDD supply selected [default setting] SW12 2-3 USB DBVDD supply selected [default setting] SW13 2-3 USB SPKVDD supply selected [default setting] SW14 2-3 USB AVDD supply selected [default setting] SW16 2-3 USB +5V supply selected [default setting] LNK3 OPEN Master LRC selected LNK4 OPEN Master BCLK selected LNK7 SHORT DCVDD connected [default setting] LNK8 SHORT DBVDD connected [default setting] LNK9 SHORT SPKVDD connected [default setting] LNK10 SHORT AVDD connected [default setting] Table 14 Master Mode Example Settings w Rev 1.0 March 2007 22 WM8510-EV1M EXTERNAL POWER SUPPLIES SETUP Figure 17 shows the setup required if using external power supplies in DAC slave mode. In this example external power supplies are connected to +5V, DCVDD, DBVDD, SPKVDD and AVDD and switches SW11-14 and SW16 are set to accept external power supplies. Figure 17 External Power Supplies Example Set-up LINKS, JUMPERS AND SWITCHES SWITCH POSITION DESCRIPTION H1 All Links ON CS8427 clocks input [default setting] H5 All Links ON CS8427 clocks output [default setting] SW8 1-2 SPDIF PCM clocks input selected [default setting] SW11 2-3 External DCVDD supply selected [default setting] SW12 2-3 External DBVDD supply selected [default setting] SW13 2-3 External SPKVDD supply selected [default setting] SW14 2-3 External AVDD supply selected [default setting] SW16 2-3 External +5V supply selected [default setting] SW20 1-2 SPKOUTN phono selected [default setting] SW21 1-2 LNK3 SHORT LNK4 SHORT Slave BCLK selected [default setting] LNK7 SHORT DCVDD connected [default setting] LNK8 SHORT DBVDD connected [default setting] LNK9 SHORT SPKVDD connected [default setting] LNK10 SHORT AVDD connected [default setting] SPKOUTP phono selected [default setting] Slave LRC selected [default setting] Table 15 External Power Supplies Example Settings w Rev 1.0 March 2007 23 WM8510-EV1M HPDETECT, HEADPHONE AND BTL SPEAKER SETUP Figure 18 shows example settings required for headphone detect, headphone output and BTL speaker output when configured for DAC output in Slave mode. Shorting LNK5 will connect a headphone detect signal to the CSB/GPIO pin. To allow BTL speaker output it is necessary to set SW20 and SW21 to select the path to the speaker connector. The BTL speaker can then be connected to the speaker connector J26. A USB power supply cannot provide enough current to allow the maximum speaker power output from the WM8510 device, therefore in this example an external +5V supply is connected to J36 to allow the extra current required. SW13 must be set to the lower position to connect the external supply and the relevant x1.5 gain boost register settings must be made to the WM8510 device. The relevant register settings need to be set up in the WM8510 device; refer to the latest device datasheet for register set-up. Figure 18 Headphone Detect, Cap-less Headphone and BTL Speaker Output Example Setup w Rev 1.0 March 2007 24 WM8510-EV1M LINKS, JUMPERS AND SWITCHES SWITCH POSITION DESCRIPTION H1 All Links ON CS8427 clocks input [default setting] H5 All Links ON CS8427 clocks output [default setting] SW8 1-2 SPDIF PCM clocks input selected [default setting] SW11 2-3 USB DCVDD supply selected [default setting] SW12 2-3 USB DBVDD supply selected [default setting] SW13 1-2 External SPKVDD supply selected SW14 2-3 USB AVDD supply selected [default setting] SW16 2-3 USB +5V supply selected [default setting] SW20 2-3 Left BTL speaker output selected SW21 2-3 LNK3 SHORT Slave BCLK selected [default setting] LNK4 SHORT Slave LRC selected [default setting] LNK5 SHORT Headphone detect selected LNK7 SHORT DCVDD connected [default setting] LNK8 SHORT DBVDD connected [default setting] LNK9 SHORT SPKVDD connected [default setting] LNK10 SHORT AVDD connected [default setting] Right BTL speaker output selected Table 16 External Power Supplies Example Settings w Rev 1.0 March 2007 25 WM8510-EV1M SCHEMATIC LAYOUT Figure 19 Functional Block Diagram Figure 20 S/PDIF Interface w Rev 1.0 March 2007 26 WM8510-EV1M Figure 21 USB Controller w Rev 1.0 March 2007 27 WM8510-EV1M Figure 22 Control Interface Level Shift w Rev 1.0 March 2007 28 WM8510-EV1M Figure 23 Audio Interface Level Shift Figure 24 Analogue Input w Rev 1.0 March 2007 29 WM8510-EV1M Figure 25 Analogue Output w Rev 1.0 March 2007 30 WM8510-EV1M Figure 26 WM8510 w Rev 1.0 March 2007 31 WM8510-EV1M Figure 27 USB Power Supply Figure 28 External Power Supplies w Rev 1.0 March 2007 32 WM8510-EV1M PCB LAYOUT Figure 29 Silkscreen Top w Rev 1.0 March 2007 33 WM8510-EV1M Figure 30 Top Layer w Rev 1.0 March 2007 34 WM8510-EV1M Figure 31 Bottom Layer w Rev 1.0 March 2007 35 WM8510-EV1M WM8510-EV1B BILL OF MATERIAL DESCRIPTION REFERENCE QTY 74ALVC164245 16 Bit Dual Supply Bus Transceiver SSO U3 U6 2 Tantalum Capacitor SMD-B 10uF - 16V - AVX C77 C80 C82 C94-95 5 10uF 12.5V SMD Poly Aluminium Low ESR CD Series C26 C30 2 Unpop CASE T Surface Mount 6.3V C5 1 220uF 10V SMD Tant Low ESR T495 Series C1 1 Unpopulated 6.3 Dia 2.5 pitch Through Hole Cap. site C25 1 0.01uF 0603 SMD Ceramic Capacitor 50V X7R C73 1 0.1uF 0603 SMD Ceramic Capacitor 16V X7R C33-34 C36-37 C43-44 C52-53 C58-59 C65-67 C71 C74 C79 C81 C97 18 1000pF 0603 SMD Ceramic Capacitor 50V NPO C68 1 100pF 0603 SMD Ceramic Capacitor 50V NPO C69 1 220pF 0603 SMD Ceramic Capacitor 50V NPO C75-76 2 27pF 0603 SMD Ceramic Capacitor 50V NPO C70 C72 2 4.7nF 0603 SMD Ceramic Capacitor 50V X7R C49 1 47pF 0603 SMD Ceramic Capacitor 50V NPO C63-64 2 0.01uF 0805 SMD Ceramic Capacitor 50V X7R C39 1 0.1uF 0805 SMD Ceramic Capacitor 50V X7R C32 C38 C40 C45 C84-85 C87-88 C91-92 C99-103 15 0.33uF 0805 SMD Ceramic Capacitor 16V X7R C83 C96 2 1uF 0805 SMD Ceramic Capacitor 10V X7R C7 C15 C18 3 220pF 0805 SMD Ceramic Capacitor 50V X7R C3-4 C6 C14 C16 C27 C31 C42 C48 9 4.7uF 0805 SMD Ceramic Capacitor 10V Y5V C22 C35 C55-57 C60-62 C86 9 Unpop 0805 SMD Ceramic Capacitor site C21 C24 C28-29 C46 C50-51 C89 8 2x2 13mm pitch PCB speaker terminals VERTICAL J26 1 3.5mm Jack Socket 6.5mm Centre Height J2 J14 2 1x14 2.54mm pitch PCB Pin Header VERTICAL H3 H6 2 2x6 2.54mm pitch PCB Pin Header VERTICAL H5 1 2x8 2.54mm pitch PCB Pin Header VERTICAL H1 1 JSK9-16-G0 PCB 1x3 Jumper Switch 0.1" Center-off VERTICAL SW3-4 SW8 SW11-14 SW16 SW20-21 10 4mm Non-Insulated Panel Socket 16A J32-38 7 Phono Socket PCB mount Pair Red/White J16 1 Phono Socket PCB mount BLACK J15 1 Phono Socket PCB mount RED J11 1 Phono Socket PCB mount WHITE J6 J10 2 Phono Socket PCB mount YELLOW J20 1 SMB Connector PCB Mount 50 Ohm VERTICAL J8 J17 2 USB receptacle Type B J28 1 CS8427 96KHz Audio Transceiver U5 1 1N5337B 4.7V 5W Zener Diode PTH D2-3 D5 3 1N5341B 6.2V 5W Zener Diode PTH D1 D7 2 DS1813 5V active Low Power-On-Reset chip SOT U2 1 DS1818 3.3V active-low Power-On-Reset chip SOT U8 1 EEPROM 8x8 i2c interface U9 1 PCB Fiducial FD1-3 3 300R 0805 BMB2A Ferrite Bead L4-5 2 w Rev 1.0 March 2007 36 WM8510-EV1M DESCRIPTION REFERENCE QTY 3.3uH 1210 Surface Mount Inductor '1210A series' L3 1 47uH 1210 Surface Mount Inductor 'PA series' L2 1 Unpop 1210 Surface Mount Inductor site L1 1 KP-2012MBC 0805 SMD Chip LED BLUE LED8 1 KP-2012MGC 0805 SMD Chip LED GREEN LED1 1 KP-2012SRC-PRV 0805 SMD Chip LED RED LED4-5 LED7 3 KP-2012SYC 0805 SMD Chip LED YELLOW LED2-3 2 1x2 PCB Pin Header 0.1" VERTICAL H2 J1 LNK3-4 LNK7-10 8 1x3 PCB Pin Header 0.1" VERTICAL LNK5 1 IC Socket DIL 8 WAY - for U9 MECH1 1 Slotted Panhead Screw - M3 thread; 12mm long SC1-4 4 Hexagonal brass M3 size spacer 20mm length P1-4 4 Plain M3 size washer W1-4 4 PCB Mounting Hole 3.2mm Dia. MTH1-4 4 0.35A Poly Switch 1210 PS1-5 5 KF33BD Very Low Drop +3.3V Voltage Regulator SO U11-12 2 LE33CD Very Low Drop +3.3V Voltage Regulator SO U13 1 0R 0603 SMD chip resistor 1% 0.063W R8 R13 R17 R23 4 100K 0603 SMD chip resistor 1% 0.063W R71 R73 2 10k 0603 SMD chip resistor 1% 0.063W R67 R72 2 1K2 0603 SMD chip resistor 1% 0.063W R52 1 1k5 0603 SMD chip resistor 1% 0.063W R57 1 27R 0603 SMD chip resistor 1% 0.063W R58-59 2 330R 0603 SMD chip resistor 1% 0.063W R62 R77-78 R80 R87 5 3K0 0603 SMD chip resistor 1% 0.063W R61 1 470R 0603 SMD chip resistor 1% 0.063W R4 R79 2 47K 0603 SMD chip resistor 1% 0.063W R89 1 4K7 0603 SMD chip resistor 1% 0.063W R63-64 2 Unpopulated 0603 resistor site R9 R14 R16 R60 4 0R 0805 SMD chip resistor 1% 0.1W R19 R36 R39 3 100K 0805 SMD chip resistor 1% 0.1W R49 1 100R 0805 SMD chip resistor 1% 0.1W R35 R42 2 10K 0805 SMD chip resistor 1% 0.1W R5 R18 R34 R41 R70 R75 R83 R88 8 33K 0805 SMD chip resistor 1% 0.1W R1 1 47K 0805 SMD chip resistor 1% 0.1W R15 R47 R51 3 4K7 0805 SMD chip resistor 1% 0.1W R27 R66 R76 R84 4 620R 0805 SMD chip resistor 1% 0.1W R45 1 680R 0805 SMD chip resistor 1% 0.1W R28 1 75R 0805 SMD chip resistor 1% 0.125W R48 1 Unpopulated 0805 resistor site R31-33 R37-38 R40 R44 R46 R50 R53 10 1R50 1206 SMD chip resistor 5% 0.25W R86 1 0R 1206 SMD chip 4 resistor array 5% 0.063W R74 1 47k 1206 SMD chip 4 resistor array 5% 0.063W R43 R54-56 R65 R68-69 7 B3F1000 SPNO PCB mount switch SW7 SW9 2 USB Streaming Controller U10 1 1.32mm PCB Test Terminal BLACK TP1-4 TP6 TP10 6 1.32mm PCB Test Terminal RED TP5 TP7-9 TP11-12 6 w Rev 1.0 March 2007 37 WM8510-EV1M DESCRIPTION REFERENCE QTY TORX176 Digirtal Audio Optical Receiver U4 1 2:1 Ratio 96KHz SPDIF Digital Audio transformer SOIC U1 1 BC849B NPN Bipolar Transistor SOT23 Q6-7 2 MMBT3904 NPN Bipolar Transistor SOT23 Q12 1 P-Channel MOSFET 60v, Rds(on) = 0.17R - SOT23 Q5 1 TN0200T N- Channel MOSFET SOT23 Q1-4 Q8-11 8 WM8510 Mono CODEC with Speaker Driver U7 1 Crystal, 6.000MHz, HC49US Y1 1 Table 17 WM8510-EV1M Bill of Materials Note: The audio transformer used on this board is manufactured by Scientific Conversion Inc. http://www.scientificonversion.com w Rev 1.0 March 2007 38 WM8510-EV1M APPENDICES USB INTERFACE TROUBLESHOOTING MESSAGE BOX EXPLANATIONS - COMMUNICATIONS ISSUES This section describes the meaning of any message boxes displayed by the WM8510 control software which indicate that a successful operation did not take place. “2-WIRE DEVICE FAILED TO ACKNOWLEDGE ADDRESS” Check the hardware settings on the WM8510 Evaluation Board. For example, removable links may be connected to some of the control interface pins on the Wolfson Device to allow alternate functions such as GPIO, etc. It is also a good idea to check the power supplies to the WM8510 device – a WM8510 device which is powered off may not acknowledge 2 wire communications. “MORE THAN 1 WOLFSON USB BOARD DETECTED…” It is only possible to access a maximum of 1 Wolfson evaluation board (of any device type) with a USB interface from any PC. “WOLFSON EVAL BOARD NOT CONNECTED…” Please consult the section “USB Communications issues” w Rev 1.0 March 2007 39 WM8510-EV1M “FAILED TO ACCESS USB DEVICE” Please consult the section “USB Communications issues” USB COMMUNICATIONS ISSUES If the WM8510 Control Software displays a message relating to the USB connection, it is possible that the Wolfson USB Interface (a generic term referring to any the Wolfson Evaluation board with a USB interface) is not connected or enumerated to the PC. There are several possible reasons for this. Please carry out the following checks in the order shown. MORE THAN ONE USB EVALUATION SYSTEM? The WM8510 Control Software cannot operate with more than one evaluation board (of any device type) with a Wolfson USB Interface connected to the PC. CHECK USB CABLE AND HUB (IF USED) 1. Check the USB cable. Is it securely inserted at both ends? 2. If a USB hub is being used, is it functional? 3. If a self powered USB hub is being used, is it powered on? 4. Have the hub and cable been tested with another USB device? CHECK POWER TO USB EVALUATION SYSTEM (IF BENCH POWERED) These checks should only be carried out if the USB cable and Hub are checked. 1. Check the power LEDs on the hardware – are they ON? 2. If LEDs not ON, check the hardware link settings relating to power supply – are the links fitted correctly? 3. If the bench supply is enabled, is it set to the correct voltage and switched on? CHECK PC USB DRIVERS These checks should only be carried out if the WM8510 Evaluation Board is powered on. 1. w View the device manager as follows: Click Start Menu → Settings → Control Panel. Double click on the system icon, the “system properties” dialogue should be displayed. Click the Hardware button and click Device Manager, the following should be displayed: Rev 1.0 March 2007 40 WM8510-EV1M 2. Expand the tree beside “Human Interface Devices”. Expect to observe the following devices: 3. • HID-compliant consumer control device • USB Human interface device Expand the tree beside “Sound, Video and Game Controllers” Expect to observe the following devices: • USB audio device w Rev 1.0 March 2007 41 WM8510-EV1M 4. Expand the tree beside “Universal Serial Bus Controllers” Expect to observe the following devices: • USB Composite Device 5. If all three of the above devices are visible, the PC USB drivers are functional and the Wolfson USB Interface is functional. At this stage, if the WM8510 Control Software does not detect the Wolfson USB Interface, please refer to the section titled “Re-start PC”. 6. If you observe the following (Yellow “?” in device manager), the PC USB drivers are functional but the WM8510 Evaluation Board either has not re-booted firmware, or it may have a fault, please refer to the section titled “Check USB Evaluation System firmware“. 7. If no devices are visible, but the WM8510 Evaluation Board is definitely powered on and connected to the PC, have any USB devices ever been connected to the PC, and successfully used? 8. If other USB devices have been connected to the PC, and successfully used, please refer to the section titled “Re-start PC”. 9. If no other USB devices have been connected to the PC or successfully used, it is possible that the PC has a USB driver issue. One known PC driver issue on Win XP can be resolved as follows: view the device manager and expand the tree beside “Universal Serial Bus Controllers”. Right click on each “Host Controller” device as follows. Select “Uninstall” for each Host Controller until none are visible in the device manager. Re-start the PC. When the PC has re-started, it should detect each USB host controller and re-install them automatically. You can then try connecting to the Wolfson USB Evaluation System again. You may require administrator privileges to do this on your PC. If you are unsure about uninstalling the USB Host Controllers, please contact your local PC support specialist. RE-START PC If the PC USB drivers are functional and the WM8510 Evaluation Board is functional, but the WM8510 Control Software does not detect the WM8510 Evaluation Board, try re-starting the PC. There is a known issue where (particularly after long periods without a re-start) certain models of PC cannot perform the detection function. w Rev 1.0 March 2007 42 WM8510-EV1M After re-start, if the PC USB drivers are functional and the WM8510 Evaluation Board is functional, but the WM8510 Control Software does not detect the WM8510 Evaluation Board, check whether any USB devices have ever been connected to the PC, and successfully used: • If other USB devices have been connected to the PC, and successfully used, please contact Wolfson for support. • If no other USB devices have been connected to the PC or successfully used, please contact your local support specialist to have the USB system checked with a known good USB device. The best type of device for testing the USB system is a USB Mouse or USB Keyboard – this is because these devices use the same type of USB driver (HID) as the WM8510 Control Software. CHECK USB EVALUATION SYSTEM FIRMWARE These checks should only be carried out if the PC USB Drivers are OK. 1. Start the WM8510 Control Software and view the “Firmware Revision”, if this number stays at 0, the if the power LEDs are all ON, but the “Firmware OK” LED (refer to hardware User Handbook) is not ON, please press the reset button on the USB Evaluation System or power cycle it (i.e. power off-on). 2. If reset or power cycle do not illuminate the “Firmware OK” LED, please check the link setting relating to Firmware selection (refer to hardware User Handbook). Please check that an EEPROM chip is correctly inserted into the correct socket on the hardware (refer to hardware User Handbook). MESSAGE BOX EXPLANATIONS - FILE LOAD/SAVE FUNCTIONS “UNABLE TO WRITE SETTINGS TO DEVICE REGISTERS” Either: 1. The WM8510 Control Software was unable to open the specified file (because the file was not found or the user cancelled). 2. None of the file lines contained valid information. 3. A communications failure prevented values being written to the Evaluation Board “… NO DEVICE WRITE HISTORY…” The user tried to save a record of all WM8510 device writes, but no device writes have taken place since the software was started. A record of device writes can only be saved from the same instance of WM8510 Control Software which performed the writes. If the WM8510 Control Software is quit then re-started, the record of device writes will be cleared, even if the WM8510 Evaluation board remained powered on and the registers maintained their state throughout. w Rev 1.0 March 2007 43 WM8510-EV1M “… “READ-ONLY” ATTRIBUTES…” Check that the file you are trying to save to is not set as “read-only”. w Rev 1.0 March 2007 44 WM8510-EV1M EXTERNAL DSP CONNECTION TO THE WM8510-EV1B The WM8510-EV1B evaluation board has been designed to allow it to be easily connected to an external DSP platform with error free operation. The following information is provided to ease the connection process and ensure that all signals sent and received by the WM8510-EV1B are reliable and at the correct voltage levels. AUDIO INTERFACE CONNECTIONS It is recommended that twisted pair (signal twisted with GND) or shielded wires are used to make the audio interface connections between the DSP and WM8510-EV1B platforms. This is to ensure that no interference or noise is picked up by the clocks or data lines, thus reducing performance and reliability. When the WM8510 is set in Slave Mode, the jumpers on H5 should be removed, disconnecting the digital output section of the WM8510 evaluation board. The ADCDAT data from the WM8510 should then be connected to the DSP via pin 7 of header strip H5 and the GND connection should be taken from pin 3 of header strip H3. The ADCDAT signal should be taken direct from the WM8510 digital output because the output side of the level-shift IC (U3) from the WM8510 is pulled up to +5V which may overdrive and cause damage to the DSP inputs. The digital output levels of the WM8510 are Logic High (min) = DBVDD * 0.7; Logic Low (max) = DBVDD * 0.3, which should meet the input level requirements of most DSPs running at +3V supplies. If the DSP is running with +5V supplies then the connections to it should be made from the output side of the level-shift IC (U3), connecting the signals as shown in Figure 32 Data Connection to the DSP Platform (+5V tolerant input levels). ADCDAT GND H5 Figure 32 Data Connection to the DSP Platform (+5V tolerant input levels) The audio interface clocks should be connected from the DSP to the pins on header H1 as shown in Figure 33. Figure 33 Audio Interface Connections from the DSP Platform When the WM8510 is set to Master mode, the jumpers on header H1 should be removed, disconnecting the digital input section of the evaluation board. If an external MCLK signal is being used (i.e. supplied by the DSP), then the DSP platform should be connected as shown in Figure 34. The signal should be connected to H1 and not on the header strip H6 running up the side of the device. Connecting the signal on the output side of the level-shift IC (U3) will cause drive contention between U3 and the DSP and could result in damage to either or both devices. In most cases, the DSP supplies will be set around +3V for low power portable applications. The inputs to the level-shift IC (74ALVC164245) have a TTL threshold (i.e. Logic High = +2V(min); Logic Low = +0.8V(max)) and low input current requirements (i.e. 15uA max) allowing most DSPs to connect directly. w Rev 1.0 March 2007 45 WM8510-EV1M MCLK GND H1 Figure 34 Timing Connections From DSP Platform The digital inputs to the WM8510 have a CMOS threshold (i.e. Logic High (min) = DBVDD * 0.7; Logic Low (max) = DBVDD * 0.3). These are met directly by the level shift IC outputs. Also in Master mode the jumpers on H5 should be removed, disconnecting the digital output section of the WM8510 evaluation board. The ADCDAT, BCLK and LRCLK signals from the WM8510 should then be connected to the DSP from header H6 running on the side of the WM8510. The ADCDAT, BCLK and LRCLK signals should be taken direct from the WM8510 digital output as the output side of the level-shift IC (U3) from the WM8510 is pulled up to +5V which may overdrive and cause damage to the DSP inputs. The digital output levels of the WM8510 are Logic High (min) = DBVDD * 0.7; Logic Low (max) = DBVDD * 0.3 which should meet the input level requirements of most DSPs running at +3V supplies. If the DSP is running with +5V supplies (and +5V tolerant inputs) then the connections from the WM8510 evaluation board to the DSP should be made from H5 on the output side of the level-shift IC from the WM8510 as shown in Figure 35. This will ensure that the DSP input level specifications are met. Figure 35 Connections To The DSP Platform (+5V tolerant input levels) w Rev 1.0 March 2007 46 WM8510-EV1M SOFTWARE INTERFACE When using the WM8510-EV1B evaluation board with a DSP platform, the registers may be set using the supplied software with a PC and USB port cable as shown in Figure 36. If the DSP is being used to write to the WM8510 registers as well as supplying/receiving the audio interface timing and data signals, then it is recommended that twisted pair or shielded wires are used to connect the DSP platform to the WM8510-EV1B. If the DSP supplies are set to the same voltage as the DBVDD supplies of the WM8510; a direct connection can be made to pins 4 (DUT_SCLK), pin 3 (DUT_CSB) and pin 5 (DUT_SDIN) of header H6 for 3-wire software mode as shown in Figure 37. To select the correct control interface type, mode pin 7 (DUT_MODE) of header H6 must also be connected. If the DSP is running at a higher voltage (e.g. +5V) than the WM8510, then the signals from the DSP platform should be connected to test points TP5 (USB_CSB), TP8 (USB_SCLK), TP11 (USB_SDIN), and TP12 (USB_MODE). Connecting the higher voltage signals from the DSP to the test points will level shift them through the transistors down to the same level as the DBVDD supply as shown in Figure 38. This will ensure that the WM8510 input CMOS thresholds (i.e. Logic High (min) = DBVDD * 0.7; Logic Low (max) = DBVDD * 0.3) are met and no damage is done to the device. Similar connections apply for controlling the WM8510 via 2-wire software mode (i.e. only pins 4 (DUT_SCLK), pin 5 (DUT_SDIN) and pin 7 (DUT_MODE) of header H6 are used). CONNECTION DIAGRAMS Figure 36 DSP Connection with PC Control Using Wolfson Software w Rev 1.0 March 2007 47 WM8510-EV1M DSP Software Control H1 DSP Platform WM8510-EV1B Audio Interface H6 H5 H3 Figure 37 Full DSP Control with Equal Supplies for DSP and WM8510 Figure 38 Full DSP Control with Higher DSP Supply than WM8510 w Rev 1.0 March 2007 48 WM8510-EV1M EVALUATION SUPPORT The aim of this evaluation kit is to help you to become familiar with the functionality and performance of the WM8510 Mono Codec. If you require more information or require technical support please contact Wolfson Microelectronics Applications group through the following channels: Email: [email protected] Telephone Apps: +44 (0)131 272 7070 Fax: +44 (0)131 272 7001 Mail: Applications Department at address on last page. or contact your local Wolfson representative. Additional information may be made available from time to time on our web site at: http://www.wolfsonmicro.com w Rev 1.0 March 2007 49 WM8510-EV1M 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 Email :: [email protected] w Rev 1.0 March 2007 50