WM8912 6201 FL32 M REV1 Example Configurations

w
WM8912-6201-FL32-M-REV1
Example Configurations
DOC TYPE:
EXAMPLE CONFIGURATIONS
BOARD REFERENCE:
WM8912-6201-FL32-M-REV1
BOARD TYPE:
Customer Mini Board
WOLFSON DEVICE(S):
WM8912
DATE:
March 2010
DOC REVISION:
Rev 1.0
INTRODUCTION
The WM8912-6201-FL32-M-REV1 Customer Mini Board is compatible with the 6201-EV1-REV3
customer evaluation board and together provide a complete hardware platform for evaluation of the
WM8912. The WM8912 Customer 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, but
performance data will be based on the Wolfson system with 6201-EV1-REV3 main board.
Configurations covered are listed below:
•
Electrical S/PDIF DAC to headphone playback
•
Optical S/PDIF DAC to lineout playback
•
USB streaming DAC to headphone playback
This document should be used as a starting point for evaluation of WM8912 but it will not cover every
possible configuration.
Assumptions:
1.
The user is familiar with the 6201-EV1-REV3 main board and that the board is correctly
configured for the path of interest (see related documents below).
2.
The user has control of the WM8912 register settings, for example by installing Wolfson
WISCE software.
Related documents:
1.
WM8912 datasheet
2.
WM8912-6201-FL32-M-REV1 Schematic and Layout.pdf
3.
6201-EV1-REV3 Schematic and Layout.pdf
4.
WISCE Quick Start Guide.pdf
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews
March 2010, Rev 1.0
Copyright ©2010 Wolfson Microelectronics plc
WM8912-6201-FL32-M-REV1
Customer Information
TABLE OF CONTENTS
INTRODUCTION ............................................................................................................. 1 TABLE OF CONTENTS.................................................................................................. 2 BOARD CONFIGURATION STAND-ALONE ................................................................. 3 CONNECTION DIAGRAM .......................................................................................................... 3 I/O TABLE .................................................................................................................................... 4 BOARD CONFIGURATION WITH 6201-EV1-REV3 MAIN BOARD .............................. 5 ELECTRICAL S/PDIF DAC TO HEADPHONE PLAYBACK ...................................................... 5 OPTICAL S/PDIF DAC TO LINEOUT PLAYBACK..................................................................... 8 USB AUDIO STREAMING TO HEADPHONE PLAYBACK...................................................... 10 APPLICATION SUPPORT............................................................................................ 13 IMPORTANT NOTICE .................................................................................................. 14 ADDRESS: ................................................................................................................... 14 w
Customer Information
March 2010, Rev 1.0
2
WM8912-6201-FL32-M-REV1
Customer Information
BOARD CONFIGURATION STAND-ALONE
The WM8912 Customer Mini Board can be used as a stand-alone module for direct connection to a
processor board via 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
Figure 1 below shows the connections required to power-up and control the WM8912 Customer Mini
Board.
SCLK
SDA
HPOUTR
HPOUTFB
HPOUTL
LINEOUTR
LINEOUTFB
DBVDD
DCVDD
Please refer to the Table 1 for further detail on external I/O connections.
Figure 1 Stand-Alone Board Configuration
w
Customer Information
March 2010, Rev 1.0
3
WM8912-6201-FL32-M-REV1
Customer Information
I/O TABLE
SIGNAL
BOARD
REFERENCE
IMPORTANT NOTES
Voltage Supplies
AVDD = 1.71V to 2.0V
AVDD
H3: pin 8
CPVDD
H1: pin 20
CPVDD = 1.71V to 2.0V
DCVDD
H4: pin 18
DCVDD = 0.95V to 1.98V
DBVDD
H4: pin 20
DBVDD = 1.42V to 3.6V
Ground
DGND
Common Ground
AGND
CPVDD
Control Interface
SDA
SCLK
Master Clock
MCLK
Analogue and digital grounds must always be within 0.3V
of each other.
H4: pin 12
H4: pin 14
Both control interface signals should swing between
DGND and DBVDD.
H1: pin 4
Signal should swing between DGND and DBVDD.
Digital I/O and Audio Interface
GPIO1/IRQ
BCLK/GPIO4
DACDAT
LRCLK
Analogue Outputs
H1: pin 10
H1: pin 12
H1: pin 14
H1: pin 16
Signals should swing between DGND and DBVDD.
HPOUTL
HPOUTR
HPOUTFB
H2: pin 16
H2: pin 12
H2: pin 14
Ground referenced headphone output.
LINEOUTL
LINEOUTR
LINEOUTFB
H3: pin 2
H2: pin 18
H2: pin 20
Ground referenced line output.
CPVOUTP
CPVOUTN
CPCA
CPCB
VMIDC
J5: pin 2
J5: pin 1
J5: pin 4
J5: pin 3
TP21
HP reference pin, recommended to be connected to the
common ground at headphone connector.
LINE reference pin, recommended to be connected to the
common ground at line output connector.
Charge Pump and VMID
Charge Pump and VMIDC test points.
Table 1 I/O Configuration
w
Customer Information
March 2010, Rev 1.0
4
WM8912-6201-FL32-M-REV1
Customer Information
BOARD CONFIGURATION WITH 6201-EV1-REV3 MAIN BOARD
This section focuses on evaluation of the WM8912-6201-FL32-M-REV1 Customer Mini Board in
combination with the 6201-EV1-REV3 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.
ELECTRICAL S/PDIF DAC TO HEADPHONE PLAYBACK
The following section details board configuration for DAC to headphone playback using the S/PDIF
electrical input.
BLOCK DIAGRAM
Figure 2 Path Diagram for DAC to Headphone Playback
w
Customer Information
March 2010, Rev 1.0
5
WM8912-6201-FL32-M-REV1
Customer Information
BOARD CONFIGURATION
Figure 3 Board Configuration for Electrical S/PDIF DAC to Headphone
REGISTER SETTINGS
Register settings provided below are simply the minimum requirement to configure the desired path
and have not in any way been optimised.
REG
INDEX
0x00
DATA
VALUE
COMMENT
0x0000
Software Reset
0x0006
MCLK_INV=0, SYSCLK_SRC=0, MCLK_SRC=0, TOCLK_RATE=0,
ADC_DIV=000, DAC_DIV=000, OPCLK_ENA=0, CLK_SYS_ENA=1,
CLK_DSP_ENA=1, TOCLK_ENA=0
0x6C
0x0100
WSEQ_ENA=1, WSEQ_WRITE_INDEX=0_0000
0x6F
0x0100
WSEQ_ABORT=0, WSEQ_START=1, WSEQ_START_INDEX=00_0000
0x14
0x845E
TOCLK_RATE_DIV16=0, TOCLK_RATE_X4=0, SR_MODE=0,
MCLK_DIV=0
0x39
0x0039
HPOUTL_MUTE=0, HPOUT_VU=0, HPOUTLZC=0,
HPOUTL_VOL=11_1001
0x3A
0x00B9
HPOUTR_MUTE=0, HPOUT_VU=1, HPOUTRZC=0,
HPOUTR_VOL=11_1001
0x21
0x0000
DAC_MONO=0, DAC_SB_FILT=0, DAC_MUTERATE=0,
DAC_UNMUTE_RAMP=0, DAC_OSR128=0, DAC_MUTE=0, DEEMPH=00
0x68
0x0005
CP_DYN_PWR=1
0x16
Table 2 Register Settings for DAC to Headphone Playback
w
Customer Information
March 2010, Rev 1.0
6
WM8912--6201-FL32-M-REV1
1
Customer Information
PERFOR
RMANCE PLO
OT
Figure 4 Performance P
Plot for DAC to
o HPOUT with 32R
3
Load
w
Customer Information
I
March 2010, Rev 1.0
0
7
WM8912-6201-FL32-M-REV1
Customer Information
OPTICAL S/PDIF DAC TO LINEOUT PLAYBACK
The following section details board configuration for DAC to lineout playback using the S/PDIF optical
input.
BLOCK DIAGRAM
HPOUTL
HPOUTFB
WM8912
100nF
100nF
5-BAND
EQUALISER
DCVDD
DIGITAL MONO
MIX
DBVDD
DIGITAL VOLUME
CONTROL
DGND
DAC
20Ω 100nF
SDA
DYNAMIC RANGE
CONTROLLER
(DRC)
20Ω 100nF
CONTROL
INTERFACE
INTERPOLATION FILTERS
HPOUTR
SCLK
2×30mW into 16Ω
ground-referenced
Class-W
LINEOUTL
DAC
LINEOUTFB
2.2µF
2.2µF
2.2µF
CPVDD
CPVOUTP
2.2µF
CPCA
CPCB
ADAPTIVE
CHARGE PUMP
CPGND
MCLK
LRCLK
DACDAT
BCLK / GPIO4
AVDD
AGND
VMIDC
4.7µF
4.7µF
FLL /
CLOCK
CIRCUITRY
20Ω 100nF
CPVOUTN
AUDIO
INTERFACE
TDM SUPPORT
VMID
Reference
20Ω 100nF
LINEOUTR
IRQ/GPIO1
Figure 5 Path Diagram for DAC to Lineout Playback
BOARD CONFIGURATION
Figure 6 Board Configuration for Optical S/PDIF DAC to Lineout
w
Customer Information
March 2010, Rev 1.0
8
WM8912--6201-FL32-M-REV1
1
Customer Information
REGISTE
ER SETTINGS
S
Register settings
s
provide
ed below are sim
mply the minimum requirement to configure th
he desired path
h
and have not in any way been optimised.
REG
INDEX
0x00
DATA
VALUE
COMMENT
0x0000
oftware Reset
So
0x16
0x0006
CLK_INV=0, SY
YSCLK_SRC=0
0, MCLK_SRC=0, TOCLK_RAT
TE=0,
MC
AD
DC_DIV=000, DAC_DIV=000,
D
0, CLK_SYS_ENA=1,
OPCLK_ENA=0
CL
LK_DSP_ENA=
=1, TOCLK_ENA
A=0
0x6C
0x0100
W
WSEQ_ENA=1,
W
WSEQ_WRITE_
_INDEX=0_000
00
0x6F
0x0100
W
WSEQ_ABORT=
0, WSEQ_START=1, WSEQ_S
START_INDEX
X=00_0000
0x14
0x845E
OCLK_RATE_D
DIV16=0, TOCLK
K_RATE_X4=0, SR_MODE=0,
TO
MC
CLK_DIV=0
0x3B
0x0039
_VU=0, LINEOU
UTLZC=0,
LINEOUTL_MUTE=0, LINEOUT_
=11_1001
LINEOUTL_VOL=
0x3C
0x00B9
TE=0, LINEOUT
T_VU=1, LINEO
OUTRZC=0,
LINEOUTR_MUT
LINEOUTR_VOL=11_1001
0x21
0x0000
AC_MONO=0, DAC_SB_FILT=
D
=0, DAC_MUTE
ERATE=0,
DA
DA
AC_UNMUTE_R
RAMP=0, DAC_
_OSR128=0, DA
AC_MUTE=0, DEEMPH=00
D
0x68
0x0005
CP
P_DYN_PWR=1
Table 3 Register
R
Setting
gs for DAC to Lineout Playba
ack
PERFOR
RMANCE PLO
OT
Figure 7 Performance P
Plot for DAC to
o Lineout with 100K
1
Load
w
Customer Information
I
March 2010, Rev 1.0
0
9
WM8912-6201-FL32-M-REV1
Customer Information
USB AUDIO STREAMING TO HEADPHONE PLAYBACK
The following section details board configuration for USB audio streaming to headphone output.
BLOCK DIAGRAM
Figure 8 Path Diagram for DAC to Headphone Playback
CONFIGURATION IN MICROSOFT WINDOWS
USB Audio streaming is supported by Windows XP, Windows Vista and Windows 7.
Upon connection of the evaluation board to a PC, Windows will detect the evaluation board as a USB
Composite Device (USB HID and USB Audio) and allocate the device the standard Windows drivers.
Windows may automatically select the evaluation board as the default device for audio playback. If
this is not the case, the Wolfson evaluation board will need to be selected manually.
In Windows XP this is done in the audio tab of “Sounds and Audio Devices Properties” (Start ->
Control Panel -> Sound and Audio Devices). See Figure 9.
Figure 9 Select Wolfson USB as Default Audio Device in XP
In Windows Vista / Windows 7 this is done in the “Sound” window (Start -> Control Panel -> Hardware
and Sound -> Sound) by selecting the Wolfson USB device and clicking on the “Set Default” button.
See Figure 10 below.
w
Customer Information
March 2010, Rev 1.0
10
WM8912-6201-FL32-M-REV1
Customer Information
Figure 10 Select Wolfson USB as Default Audio Device in Windows Vista/7
During audio streaming the evaluation board will change the audio sample rate automatically as
requested by the PC operating system. In Windows XP the sample rate selected will match the audio
source/destination file. If multiple audio sources are used simultaneously the audio is software mixed
to the higher sample rate.
Sample rate control in Windows Vista / 7 allows the sample rate to be configured to a value and
prevent applications from changing it. To set sample rate select “Properties” in the sounds window
(Figure 10), this will open the “Speaker Properties” windows (Figure 11).
1
Figure 11 Sample Rate Control in Windows Vista/7
On the “Advanced” tab the required sample rate should be selected from the drop down box as
shown in the left hand window above. Additionally the user must ensure that the exclusive mode
boxes are not ticked in this window, to prevent applications from altering the sample rate.
BOARD CONFIGURATION
The 6201-EV1-REV3 main board will automatically select audio streaming from the USB interface
unless an S/PDIF input is detected. To ensure USB streaming is used, there must not be any input to
either optical or electrical S/PDIF.
In the correct mode the USB Audio Streaming LED should be lit.
w
Customer Information
March 2010, Rev 1.0
11
WM8912-6201-FL32-M-REV1
Customer Information
Figure 12 Board Configuration for USB Audio to Headphone
REGISTER SETTINGS
Register settings for this path are provided in Table 2.
w
Customer Information
March 2010, Rev 1.0
12
WM8912-6201-FL32-M-REV1
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
March 2010, Rev 1.0
13
WM8912-6201-FL32-M-REV1
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
E-mail :: [email protected]
w
Customer Information
March 2010, Rev 1.0
14