WM8734 Product Datasheet

w
WM8734
Stereo Audio CODEC
DESCRIPTION
FEATURES
The WM8734 is a low power stereo CODEC ideal for
DVD/RW, MP3, media centre and automotive applications

Stereo line inputs are provided, along with a mute function
and programmable line level volume control.
Stereo 24-bit multi-bit sigma delta ADCs and DACs are used
with oversampling digital interpolation and decimation filters.
Digital audio input word lengths from 16-32 bits and
sampling rates from 8kHz to 96kHz are supported.
Audio Performance

90dB SNR (‘A’ weighted @ 48kHz) ADC

100dB SNR (‘A’ weighted @ 48kHz) DAC

2.7 – 3.6V Digital Supply Operation

2.7 – 3.6V Analogue Supply Operation

ADC and DAC Sampling Frequency: 8kHz – 96kHz

Selectable ADC High Pass Filter

2 or 3-Wire MPU Serial Control Interface

Programmable Audio Data Interface Modes
Stereo audio line level outputs are provided along with antithump mute and power up/down circuitry.

I S, Left, Right Justified or DSP

16/20/24/32 bit Word Lengths
The device is controlled via a 2 or 3 wire serial interface.
The interface provides access to all features including level
controls, mutes, de-emphasis and power management
facilities. The device is available in a 20-lead SSOP
package.

Master or Slave Clocking Mode
2

Stereo Audio Inputs and Outputs

20-lead SSOP Package


CD and Minidisc Recorder
MP3 Player / Recorder
SCLK
MODE
APPLICATIONS
SDIN
CSB
BLOCK DIAGRAM
AVDD
CONTROL INTERFACE
VMID
W
WM8734
AGND
RLINEIN
ADC
VOL
+12 to -34.5dB,
1.5dB Steps
LLINEIN
DAC
MUTE
ROUT
DAC
MUTE
LOUT
DIGITAL
FILTERS
ADC
VOL
+12 to -34.5dB,
1.5dB Steps
WOLFSON MICROELECTRONICS plc
DGND
DBVDD
DCVDD
ADCDAT
ADCLRC
BCLK
DACLRC
DIGTAL AUDIO INTERFACE
DACDAT
MCLK
CLKIN
DIVIDER
(Div x1, x2)
Production Data, August 2013, Rev 4.4
Copyright 2013 Wolfson Microelectronics plc
WM8734
Production Data
TABLE OF CONTENTS
DESCRIPTION ....................................................................................................... 1 FEATURES ............................................................................................................ 1 APPLICATIONS..................................................................................................... 1 BLOCK DIAGRAM ................................................................................................ 1 TABLE OF CONTENTS ......................................................................................... 2 PIN CONFIGURATION – SSOP ............................................................................ 3 ORDERING INFORMATION - SSOP..................................................................... 3 PIN DESCRIPTION - SSOP ................................................................................... 4 ABSOLUTE MAXIMUM RATINGS ........................................................................ 5 RECOMMENDED OPERATING CONDITIONS ..................................................... 5 ELECTRICAL CHARACTERISTICS ..................................................................... 6 TERMINOLOGY .............................................................................................................. 7 POWER CONSUMPTION (EXAMPLES) ............................................................... 8 MASTER CLOCK TIMING ..................................................................................... 9 DIGITAL AUDIO INTERFACE – MASTER MODE .......................................................... 9 DIGITAL AUDIO INTERFACE – SLAVE MODE ............................................................ 10 MPU INTERFACE TIMING ............................................................................................ 12 DEVICE DESCRIPTION ...................................................................................... 14 AUDIO SIGNAL PATH ................................................................................................... 14 DEVICE OPERATION ................................................................................................... 20 AUDIO DATA SAMPLING RATES ................................................................................ 25 ACTIVATING DSP AND DIGITAL AUDIO INTERFACE ................................................ 30 SOFTWARE CONTROL INTERFACE........................................................................... 30 POWER DOWN MODES ............................................................................................... 32 REGISTER MAP ............................................................................................................ 34 DIGITAL FILTER CHARACTERISTICS .............................................................. 37 TERMINOLOGY ............................................................................................................ 37 DAC FILTER RESPONSES .......................................................................................... 38 ADC FILTER RESPONSES .......................................................................................... 38 ADC HIGH PASS FILTER ............................................................................................. 39 DIGITAL DE-EMPHASIS CHARACTERISTICS .................................................. 40 APPLICATIONS INFORMATION ........................................................................ 41 RECOMMENDED EXTERNAL COMPONENTS ........................................................... 41 MINIMISING POP NOISE AT THE ANALOGUE OUTPUTS ......................................... 42 PACKAGE DIMENSIONS (SSOP) ...................................................................... 43 IMPORTANT NOTICE ......................................................................................... 44 ADDRESS: .................................................................................................................... 44 REVISION HISTORY ........................................................................................... 45 w
PD, Rev 4.4, August 2013
2
WM8734
Production Data
PIN CONFIGURATION
DGND
DBVDD
1
20
DCVDD
2
19
MCLK
SCLK
BCLK
3
18
DACDAT
4
17
SDIN
DACLRC
5
16
CSB
ADCDAT
6
15
MODE
ADCLRC
7
14
LLINEIN
8
13
RLINEIN
ROUT
9
12
VMID
AVDD
10
11
AGND
LOUT
ORDERING INFORMATION
DEVICE
TEMPERATURE RANGE
XWM8734EDS/V
-40 to +85 C
XWM8734EDS/RV
-40 to +85 C
o
PACKAGE
20-lead SSOP
(Pb-free)
MOISTURE SENSITIVITY
LEVEL
PEAK SOLDERING
TEMPERATURE
MSL3
260°C
MSL3
260°C
20-lead SSOP
o
(Pb-free
tape and reel)
Note:
Reel quantity = 2,000
w
PD, Rev 4.4, August 2013
3
WM8734
Production Data
PIN DESCRIPTION
PIN
NAME
TYPE
1
DGND
Ground
DESCRIPTION
Digital GND
2
DBVDD
Supply
Digital Buffers VDD
3
BCLK
Digital Input/Output
4
DACDAT
Digital Input
5
DACLRC
Digital Input/Output
6
ADCDAT
Digital Output
7
ADCLRC
Digital Input/Output
8
LOUT
Analogue Output
Left Channel Line Output
9
ROUT
Analogue Output
Right Channel Line Output
Digital Audio Bit Clock, Pull Down, (see Note 1)
DAC Digital Audio Data Input
DAC Sample Rate Left/Right Clock. Pull Down (see Note 1)
ADC Digital Audio Data Output
ADC Sample Rate Left/Right Clock, Pull Down (see Note 1)
10
AVDD
Supply
Analogue VDD
11
AGND
Ground
Analogue GND
12
VMID
Analogue Output
13
RLINEIN
Analogue Input
Right Channel Line Input (AC coupled)
14
LLINEIN
Analogue Input
Left Channel Line Input (AC coupled)
15
MODE
Digital Input
Control Interface Selection, Pull Up (see Note 1)
16
CSB
Digital Input
3-Wire MPU Chip Select / 2-Wire MPU interface address selection, active low,
Pull up (see Note 1)
17
SDIN
Digital Input/Output
18
SCLK
Digital Input
3-Wire MPU Clock Input / 2-Wire MPU Clock Input
19
MCLK
Digital Input
Master Clock Input (MCLK)
20
DCVDD
Supply
Mid-rail reference decoupling point
3-Wire MPU Data Input / 2-Wire MPU Data Input
Digital Core VDD
Note:
1.
Pull Up/Down only present when Control Register Interface ACTIVE = 0 to conserve power.
w
PD, Rev 4.4, August 2013
4
WM8734
Production Data
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at
or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical
Characteristics at the test conditions specified.
ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible
to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage
of this device.
Wolfson tests its package types according to IPC/JEDEC J-STD-020 for Moisture Sensitivity to determine acceptable storage
conditions prior to surface mount assembly. These levels are:
MSL1 = unlimited floor life at <30C / 85% Relative Humidity. Not normally stored in moisture barrier bag.
MSL2 = out of bag storage for 1 year at <30C / 60% Relative Humidity. Supplied in moisture barrier bag.
MSL3 = out of bag storage for 168 hours at <30C / 60% Relative Humidity. Supplied in moisture barrier bag.
CONDITION
MIN
MAX
Digital supply voltage
-0.3V
+3.63V
Analogue supply voltage
-0.3V
+3.63V
Voltage range digital inputs
DGND -0.3V
DVDD +0.3V
Voltage range analogue inputs
AGND -0.3V
AVDD +0.3V
Operating temperature range, TA
-40C
+85C
Storage temperature after soldering
-65C
+150C
Notes:
1.
Analogue and digital grounds must always be within 0.3V of each other.
2.
The digital supply core voltage (DCVDD) must always be less than or equal to the analogue supply voltage (AVDD)
RECOMMENDED OPERATING CONDITIONS
PARAMETER
SYMBOL
Digital supply range (Core)
DCVDD
2.7
3.6
V
Digital supply range (Buffer)
DBVDD
2.7
3.6
V
AVDD
2.7
3.6
V
Analogue supply range
Ground
Total analogue supply current
TEST CONDITIONS
DGND, AGND
IAVDD
DCVDD, DBVDD,
MIN
TYP
MAX
UNIT
0
V
16
mA
8
mA
5
uA
AVDD = 3.3V
Digital supply current
IDCVDD, IDBVDD
DCVDD, DBVDD
AVDD = 3.3V
Standby Current Consumption
w
PD, Rev 4.4, August 2013
5
WM8734
Production Data
ELECTRICAL CHARACTERISTICS
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
0.3 x DBVDD
V
0.10 x
DBVDD
V
Digital Logic Levels (CMOS Levels)
Input LOW level
VIL
Input HIGH level
VIH
Output LOW
VOL
Output HIGH
VOH
0.7 x DBVDD
V
0.9 x DBVDD
V
Power On Reset Threshold (DCVDD)
DCVDD Threshold On -> Off
Vth
0.9
Hysteresis
VIH
0.3
V
DCVDD Threshold Off -> On
VOL
0.6
V
Reference voltage
VVMID
AVDD/2
V
Potential divider resistance
RVMID
50k

1.0
Vrms
V
Analogue Reference Levels
Line Input to ADC
Input Signal Level (0dB)
VINLINE
AVDD/3.3
Signal to Noise Ratio
SNR
(Note 1,2,3)
A-weighted, 0dB gain
@ fs = 48kHz
85
90
A-weighted, 0dB gain
@ fs = 96kHz
90
A-weighted, 0dB gain
@ fs = 48kHz,
88
dB
AVDD = 2.7V
Dynamic Range (Note 3)
Total Harmonic Distortion
Power Supply Rejection Ratio
DNR
A-weighted, -60dB full
scale input
THD
-1dB input, 0dB gain
-84
PSSR
1kHz 100mVpp
50
20Hz to 20kHz
100mVpp
45
1kHz input
90
ADC channel separation
Programmable Gain
1kHz input
85
-34.5
90
0
dB
-74
dB
dB
dB
+12
dB
Rsource < 50
Programmable Gain Step Size
Mute attenuation
Input Resistance
Input Capacitance
w
RINLINE
CINLINE
Guaranteed Monotonic
1.5
dB
0dB, 1kHz input
80
dB

0dB gain
20k
30k
12dB gain
10k
15k
10
pF
PD, Rev 4.4, August 2013
6
WM8734
Production Data
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Line Output for DAC Playback Only (Load = 47k. 50pF)
0dBfs Full scale output voltage
At LINE outputs
1.0 x
Vrms
AVDD/3.3
Signal to Noise Ratio
SNR
(Note 1,2,3)
A-weighted,
95
100
dB
@ fs = 48kHz
A-weighted
98
@ fs = 96kHz
A-weighted,
98
@ fs = 48kHz,
AVDD = 2.7V
Dynamic Range (Note 3)
DNR
A-weighted, -60dB full
scale input
Total Harmonic Distortion
THD
1kHz, 0dBfs
-88
1kHz, -3dBfs
-92
PSSR
1kHz 100mVpp
50
20Hz to 20kHz
100mVpp
45
Power Supply Rejection Ratio
DAC channel separation
85
1kHz, 0dB
95
dB
-80
dB
dB
100
dB
Notes:
1.
Ratio of output level with 1kHz full scale input, to the output level with the input short circuited, measured ‘A’ weighted
over a 20Hz to 20kHz bandwidth using an Audio analyser.
2.
Ratio of output level with 1kHz full scale input, to the output level with all zeros into the digital input, measured ‘A’
weighted over a 20Hz to 20kHz bandwidth.
3.
All performance measurements done with 20kHz low pass filter, and where noted an A-weight filter. Failure to use
such a filter will result in higher THD+N and lower SNR and Dynamic Range readings than are found in the Electrical
Characteristics. The low pass filter removes out of band noise; although it is not audible it may affect dynamic
specification values.
4.
VMID decoupled with 10uF and 0.1uF capacitors (smaller values may result in reduced performance).
TERMINOLOGY
1.
Signal-to-noise ratio (dB) - SNR is a measure of the difference in level between the full scale output and the output
with no signal applied. (No Auto-zero or Automute function is employed in achieving these results).
2.
Dynamic range (dB) - DNR is a measure of the difference between the highest and lowest portions of a signal.
Normally a THD+N measurement at 60dB below full scale. The measured signal is then corrected by adding the 60dB
to it. (e.g. THD+N @ -60dB= -32dB, DR= 92dB).
3.
THD+N (dB) - THD+N is a ratio, of the rms values, of (Noise + Distortion)/Signal.
4.
Stop band attentuation (dB) – Is the degree to which the frequency spectrum is attenuated (outside audio band).
5.
Channel Separation (dB) - Also known as Cross-Talk. This is a measure of the amount one channel is isolated from
the other. Normally measured by sending a full scale signal down one channel and measuring the other.
6.
Pass-Band Ripple – Any variation of the frequency response in the pass-band region.
w
PD, Rev 4.4, August 2013
7
WM8734
Production Data
POWER CONSUMPTION (EXAMPLES)
CURRENT CONSUMPTION
TYPICAL
MODE DESCRIPTION
POWEROFF
OUTPD
DACPD
ADCPD
LINEINPD
AVDD
DCVDD
DBVDD
(3.3V)
(1.5V)
(3.3V)
UNITS
Record and Playback
0
0
0
0
0
12.2
3.2
0.07
mA
Playback Only
0
0
0
1
1
3.3
2.3
0.07
mA
Record Only
0
1
1
0
0
9.2
2.6
0.07
mA
Standby (clock running)
0
1
1
1
1
16
77
65
A
1
1
1
1
16
0.3
0.2
A
1
1
1
1
1
0.3
77
65
A
1
1
1
1
1
0.3
0.3
0.3
A
Standby (clock stopped)
Power Down
(clock running)
Power Down
(clock stopped)
Notes:
1.
The data presented here was measured with the audio interface in slave mode (MS = 0)
2.
All figures are quiescent, with no signal.
w
PD, Rev 4.4, August 2013
8
WM8734
Production Data
MASTER CLOCK TIMING
t MCLKL
MCLK
t MCLKH
t MCLKY
Figure 1 System Clock Timing Requirements
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
System Clock Timing Information
MCLK System clock pulse width high
TXTIH
18
ns
MCLK System clock pulse width low
TXTIL
18
ns
MCLK System clock cycle time
TXTIY
54
40:60
MCLK Duty cycle
ns
60:40
DIGITAL AUDIO INTERFACE – MASTER MODE
BCLK
ADCLRC
WM8734
CODEC DACLRC
DSP
ENCODER/
DECODER
ADCDAT
DACDAT
Figure 2 Master Mode Connection
w
PD, Rev 4.4, August 2013
9
WM8734
Production Data
BCLK
(Output)
tDL
ADCLRC
DAC/LRC
(Outputs)
t DDA
ADCDAT
DACDAT
t DST
t DHT
Figure 3 Digital Audio Data Timing – Master Mode
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Audio Data Input Timing Information
ADCLRC/DACLRC
propagation delay from
BCLK falling edge
tDL
0
10
ns
ADCDAT propagation delay
from BCLK falling edge
tDDA
0
15
ns
DACDAT setup time to
BCLCK rising edge
tDST
10
ns
DACDAT hold time from
BCLK rising edge
tDHT
10
ns
DIGITAL AUDIO INTERFACE – SLAVE MODE
BCLK
ADCLRC
WM8734
CODEC DACLRC
DSP
ENCODER/
DECODER
ADCDAT
DACDAT
Figure 4 Slave Mode Connection
w
PD, Rev 4.4, August 2013
10
WM8734
Production Data
tBCH
tBCL
BCLK
tBCY
DACLRC/
ADCLRC
tDS
tLRH
tLRSU
DACDAT
tDD
tDH
ADCDAT
Figure 5 Digital Audio Data Timing – Slave Mode
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Audio Data Input Timing Information
BCLK cycle time
tBCY
50
ns
BCLK pulse width high
tBCH
20
ns
BCLK pulse width low
tBCL
20
ns
DACLRC/ADCLRC set-up
time to BCLK rising edge
tLRSU
10
ns
DACLRC/ADCLRC hold
time from BCLK rising edge
tLRH
10
ns
DACDAT set-up time to
BCLK rising edge
tDS
10
ns
DACDAT hold time from
BCLK rising edge
tDH
10
ns
ADCDAT propagation delay
from BCLK falling edge
tDD
0
w
10
ns
PD, Rev 4.4, August 2013
11
WM8734
Production Data
MPU INTERFACE TIMING
tCSL
tCSH
CSB
tSCY
tSCH
tCSS
tSCS
tSCL
SCLK
LSB
SDIN
tDSU
tDHO
Figure 6 Program Register Input Timing – 3-Wire MPU Serial Control Mode
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Program Register Input Information
SCLK rising edge to CSB rising
edge
tSCS
60
ns
SCLK pulse cycle time
tSCY
80
ns
SCLK pulse width low
tSCL
20
ns
SCLK pulse width high
tSCH
20
ns
SDIN to SCLK set-up time
tDSU
20
ns
SCLK to SDIN hold time
tDHO
20
ns
CSB pulse width low
tCSL
20
ns
CSB pulse width high
tCSH
20
ns
CSB rising to SCLK rising
tCSS
20
ns
w
PD, Rev 4.4, August 2013
12
WM8734
Production Data
t3
t3
t5
SDIN
t4
t6
t2
t8
SCLK
t1
t10
t7
Figure 7 Program Register Input Timing – 2-Wire MPU Serial Control Mode
Test Conditions
o
AVDD, DBVDD = 3.3V, AGND = 0V, DCVDD = 3.3V, DGND = 0V, TA = +25 C, Slave Mode, fs = 48kHz, MCLK = 256fs unless
otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
526
kHz
Program Register Input Information
SCLK Frequency
0
SCLK Low Pulsewidth
t1
1.3
us
SCLK High Pulsewidth
t2
600
ns
Hold Time (Start Condition)
t3
600
ns
Setup Time (Start Condition)
t4
600
ns
Data Setup Time
t5
100
SDIN, SCLK Rise Time
t6
SDIN, SCLK Fall Time
t7
Setup Time (Stop Condition)
t8
Data Hold Time
t10
w
ns
300
ns
300
ns
600
ns
900
ns
PD, Rev 4.4, August 2013
13
WM8734
Production Data
DEVICE DESCRIPTION
The WM8734 is a high performance audio CODEC designed specifically for audio applications that
require recording and playback features.
The CODEC includes line inputs to the on-board ADC, line outputs from the on-board DAC, a
configurable digital audio interface and a choice of 2 or 3 wire MPU control interface. It is fully
compatible and an ideal partner for a range of industry standard microprocessors, controllers and
DSPs.
The CODEC includes a stereo low noise input. Line inputs have +12dB to -34dB logarithmic volume
level adjustments and mute. All the required input filtering is contained within the device.
The on-board stereo analogue to digital converter (ADC) is of a high quality using a multi-bit highorder oversampling architecture delivering optimum performance with low power consumption. The
output from the ADC is available on the digital audio interface. The ADC includes an optional digital
high pass filter to remove unwanted dc components from the audio signal.
The on-board digital to analogue converter (DAC) accepts digital audio from the digital audio
interface. Digital filter de-emphasis at 32kHz, 44.1kHz and 48kHz can be applied to the digital data
under software control. The DAC employs a high quality multi-bit high-order oversampling architecture
to again deliver optimum performance with low power consumption.
Special techniques allow the audio to be muted and the device safely placed into standby, sections of
the device powered off and volume levels adjusted without any audible clicks, pops or zipper noises.
Therefore standby and power off modes may be used dynamically under software control, whenever
recording or playback is not required.
The device caters for a number of different sampling rates including industry standard 8kHz, 32kHz,
44.1kHz, 48kHz, 88.2kHz and 96kHz. The digital filters used for both record and playback are
optimised for each sampling rate used.
2
The digitised output is available in a number of audio data formats I S, DSP Mode (a burst mode in
which frame sync plus 2 data packed words are transmitted), MSB-First, left justified and MSB-First,
right justified. The digital audio interface can operate in both master or slave modes.
The software control uses either a 2 or 3-wire MPU interface.
AUDIO SIGNAL PATH
LINE INPUTS
The WM8734 provides Left and Right channel line inputs (RLINEIN and LLINEIN). The inputs are
high impedance and low capacitance, thus ideally suited to receiving line level signals from external
hi-fi or audio equipment.
Both line inputs include independent programmable volume level adjustments and input mute. The
scheme is illustrated in Figure 8. Passive RF and active Anti-Alias filters are also incorporated within
the line inputs. These prevent high frequencies aliasing into the audio band or otherwise degrading
performance.
w
PD, Rev 4.4, August 2013
14
WM8734
Production Data
LINEIN
12.5K
To
ADC
VMID
Figure 8 Line Input Schematic
The gain between the line inputs and the ADC is logarithmically adjustable from +12dB to –34.5dB in
1.5dB steps under software control. The ADC Full Scale input is 1.0V rms at AVDD = 3.3 volts. Any
voltage greater than full scale will possibly overload the ADC and cause distortion. Note that the full
scale input tracks directly with AVDD. The gain is independently adjustable on both Right and Left
Line Inputs. However, by setting the INBOTH bit whilst programming the volume control, both
channels are simultaneously updated with the same value. Use of INBOTH reduces the required
number of software writes required. The line inputs to the ADC can be muted in the analogue domain
under software control. The software control registers are shown below.
REGISTER
ADDRESS
0000000
BIT
4:0
LABEL
LINVOL[4:0]
Left Line In
DEFAULT
10111
( 0dB )
DESCRIPTION
Left Channel Line Input Volume
Control
11111 = +12dB . . 1.5dB steps down
to 00000 = -34.5dB
7
LINMUTE
1
Left Channel Line Input Mute to ADC
1 = Enable Mute
0 = Disable Mute
8
LRINBOTH
0
Left to Right Channel Line Input
Volume and Mute Data Load Control
1 = Enable Simultaneous Load of
LINVOL[4:0] and LINMUTE to
RINVOL[4:0] and RINMUTE
0 = Disable Simultaneous Load
0000001
4:0
RINVOL[4:0]
Right Line In
10111
( 0dB )
Right Channel Line Input Volume
Control
11111 = +12dB . .1.5dB steps down
to 00000 = -34.5dB
7
RINMUTE
1
Right Channel Line Input Mute to
ADC
1 = Enable Mute
0 = Disable Mute
8
RLINBOTH
0
Right to Left Channel Line Input
Volume and Mute Data Load Control
1 = Enable Simultaneous Load of
RINVOL[4:0] and RINMUTE to
LINVOL[4:0] and LINMUTE
0 = Disable Simultaneous Load
Table 1 Line Input Software Control
w
PD, Rev 4.4, August 2013
15
WM8734
Production Data
The line inputs are biased internally through the operational amplifier to VMID. Whenever the line
inputs are muted or the device placed into standby mode, the line inputs are kept biased to VMID
using special anti-thump circuitry. This reduces any audible clicks that may otherwise be heard when
re-activating the inputs.
The external components required to complete the line input application is shown in the Figure 9.
C2
R1
LINEIN
AGND
C1
R2
AGND
AGND
Figure 9 Line Input Application Drawing
For interfacing to a typical CD system, it is recommended that the input is scaled to ensure that there
is no clipping of the signal. R1 = 5K, R2 = 5K, C1 = 47pF, C2 = 470nF (10V npo ceramic type).
R1 and R2 form a resistive divider to attenuate the 2 Vrms output from a CD player to a 1 Vrms level,
so avoiding overloading the inputs. R2 also provides a discharge path for C2, thus preventing the
input to C2 charging to an excessive voltage which may otherwise damage any equipment connected
that is not suitably protected against high voltages. C1 forms an RF low pass filter for increasing the
rejection of RF interference picked up on any cables. C2 forms a DC blocking capacitor to remove the
DC path between the WM8734 and the driving audio equipment. C2 together with the input
impedance of the WM8734 form a high pass filter.
ADC
The WM8734 uses a multi-bit oversampled sigma-delta ADC. A single channel of the ADC is
illustrated in the Figure 10.
FROM LINE INPUT
ANALOG
INTEGRATOR
TO ADC DIGITAL FILTERS
MULTI
BITS
Figure 10 Multi-Bit Oversampling Sigma Delta ADC Schematic
w
PD, Rev 4.4, August 2013
16
WM8734
Production Data
The use of multi-bit feedback and high oversampling rates reduces the effects of jitter and high
frequency noise.
The ADC Full Scale input is 1.0V rms at AVDD = 3.3 volts. Any voltage greater than full scale will
possibly overload the ADC and cause distortion. Note that the full scale input tracks directly with
AVDD. The device employs a pair of ADCs. The two channels cannot be selected independently.
The digital data from the ADC is fed for signal processing to the ADC Filters.
ADC FILTERS
The ADC filters perform true 24 bit signal processing to convert the raw multi-bit oversampled data
from the ADC to the correct sampling frequency to be output on the digital audio interface. Figure 11
illustrates the digital filter path.
DIGITAL
DECIMATOR
FROM ADC
DIGITAL
DECIMATION
FILTER
DIGITAL
HPF
TO DIGITAL
AUDIO
INTERFACE
HPFEN
Figure 11 ADC Digital Filter
The ADC digital filters contain a digital high pass filter, selectable via software control. The high-pass
filter response detailed in Digital Filter Characteristics. When the high-pass filter is enabled the dc
offset is continuously calculated and subtracted from the input signal. By setting HPOR the last
calculated dc offset value is stored when the high-pass filter is disabled and will continue to be
subtracted from the input signal. If the dc offset changed, the stored and subtracted value will not
change unless the high-pass filter is enabled. The software control is shown in Table 2.
REGISTER
ADDRESS
00000101
BIT
LABEL
DEFAULT
0
ADCHPD
0
Digital Audio
Path Control
DESCRIPTION
ADC High Pass Filter Enable
(Digital)
1 = Disable High Pass Filter
0 = Enable High Pass Filter
4
HPOR
0
Store dc offset when High Pass
Filter disabled
1 = store offset
0 = clear offset
Table 2 ADC Software Control
There are several types of ADC filters, frequency and phase responses of these are shown in Digital
Filter Characteristics. The filter types are automatically configured depending on the sample rate
chosen. Refer to the sample rate section for more details.
DAC FILTERS
The DAC filters perform true 24 bit signal processing to convert the incoming digital audio data from
the digital audio interface at the specified sample rate to multi-bit oversampled data for processing by
the analogue DAC. Figure 12 illustrates the DAC digital filter path.
w
PD, Rev 4.4, August 2013
17
WM8734
Production Data
FROM DIGITAL
AUDIO
INTERFACE
DIGITAL
DE_EMPHASIS
DEEMP
MUTE
DIGITAL
INTERPOLATION
FILTER
TO LINE
OUTPUTS
DACMU
Figure 12 DAC Filter Schematic
The DAC digital filter can apply digital de-emphasis under software control, as shown in Table 3. The
DAC can also perform a soft mute where the audio data is digitally brought to a mute level. This
removes any abrupt step changes in the audio that might otherwise result in audible clicks in the
audio outputs.
REGISTER
ADDRESS
0000101
BIT
2:1
LABEL
DEEMP[1:0]
DEFAULT
00
Digital Audio
Path Control
DESCRIPTION
De-emphasis Control
(Digital)
11 = 48kHz
10 = 44.1kHz
01 = 32kHz
00 = Disable
3
DACMU
1
DAC Soft Mute Control
(Digital)
1 = Enable soft mute
0 = Disable soft mute
Table 3 DAC Software Control
DAC
The WM8734 employs a multi-bit sigma delta oversampling digital to analogue converter. The
scheme for the converter is illustrated in Figure 13.
FROM DAC
DIGITAL
FILTERS
TO LINE OUTPUT
Figure 13 Multi-Bit Oversampling Sigma Delta Schematic
The DAC converts the multi-level digital audio data stream from the DAC digital filters into high quality
analogue audio.
w
PD, Rev 4.4, August 2013
18
WM8734
Production Data
LINE OUTPUTS
The WM8734 provides two low impedance line outputs LLINEOUT and RLINEOUT, suitable for
driving typical line loads of impedance 10K and capacitance 50pF. The line output is used to
selectively sum the outputs from the DAC or/and the Line inputs in bypass mode.
The LLINEOUT and RLINEOUT outputs are only available at a line output level and are not level
adjustable in the analogue domain, having a fixed gain of 0dB. The level is fixed such that at the DAC
full scale level the output level is Vrms at AVDD = 3.3 volts. Note that the DAC full scale level tracks
directly with AVDD. The scheme is shown in Figure 14. The line output includes a low order audio low
pass filter for removing out-of band components from the sigma-delta DAC. Therefore no further
external filtering is required in most applications.
DACSEL
FROM DAC
LINEOUT
VMID
TO HEADPHONE AMP
Figure 14 Line Output Schematic
The line output is muted by either muting the DAC (analogue) or Soft Muting (digital). Refer to the
DAC section for more details. Whenever the DAC is muted or the device placed into standby mode
the DC voltage is maintained at the line outputs to prevent any audible clicks from being present.
The software control for the line outputs is shown in Table 4.
REGISTER
ADDRESS
0000100
BIT
LABEL
DEFAULT
4
DACSEL
0
DESCRIPTION
DAC Select
1 = Select DAC
Analogue
Audio Path
Control
0 = Don’t select DAC
Table 4 Output Software Control
The recommended external components are shown in Figure 15.
R2
LINEOUT
C1
R1
AGND
AGND
Figure 15 Line Outputs Application Drawing
w
PD, Rev 4.4, August 2013
19
WM8734
Production Data
Recommended values are C1 = 470nF (10V npo type), R1 = 47K, R2 = 100
C1 forms a DC blocking capacitor to the line outputs. R1 prevents the output voltage from drifting so
protecting equipment connected to the line output. R2 forms a de-coupling resistor preventing
abnormal loads from disturbing the device. Note that poor choice of dielectric material for C1 can
have dramatic effects on the measured signal distortion at the output.
DEVICE OPERATION
DEVICE RESETTING
The WM8734 contains a power on reset circuit that resets the internal state of the device to a known
condition. The power on reset is applied as DCVDD powers on and released only after the voltage
level of DCVDD crosses a minimum turn off threshold. If DCVDD later falls below a minimum turn on
threshold voltage then the power on reset is re-applied. The threshold voltages and associated
hysteresis are shown in the Electrical Characteristics table.
The user also has the ability to reset the device to a known state under software control as shown in
the table below.
REGISTER
ADDRESS
BIT
0001111
8:0
LABEL
DEFAULT
RESET
not reset
Reset Register
DESCRIPTION
Reset Register
Writing 00000000 to register resets
device
Table 5 Software Control of Reset
When using the software reset. In 3-wire mode the reset is applied on the rising edge of CSB and
released on the next rising edge of SCLK. In 2-wire mode the reset is applied for the duration of the
ACK signal (approximately 1 SCLK period, refer to Figure 24).
CLOCKING SCHEMES
In a typical digital audio system there is only one central clock source producing a reference clock to
which all audio data processing is synchronised. This clock is often referred to as the audio system’s
Master Clock. To allow WM8734 to be used in a centrally clocked system, the WM8734 is capable of
deriving the sample rate clock from this Master Clock (Master Mode) or receiving the sample rate
clock from an external source (Slave Mode).
CORE CLOCK
The WM8734 DSP core can be clocked either by MCLK or MCLK divided by 2. This is controlled by
software as shown in Table 6 below.
REGISTER
ADDRESS
0001000
BIT
6
LABEL
CLKIDIV2
Sampling
Control
DEFAULT
0
DESCRIPTION
Core Clock divider select
1 = Core Clock is MCLK divided by 2
0 = Core Clock is MCLK
Table 6 Software Control of Core Clock
Having a programmable MCLK divider allows the device to be used in applications where higher
frequency master Clocks are available. For example the device can support 512fs master clocks
whilst fundamentally operating in a 256fs mode.
DIGITAL AUDIO INTERFACES
WM8734 may be operated in either one of the 4 offered audio interface modes. These are:
Right justified
Left justified
2
I S
DSP mode
All four of these modes are MSB first and operate with data 16 to 32 bits, except right justified mode
which does not support 32 bits.
w
PD, Rev 4.4, August 2013
20
WM8734
Production Data
The digital audio interface takes the data from the internal ADC digital filter and places it on the
ADCDAT output. ADCDAT is the formatted digital audio data stream output from the ADC digital
filters with left and right channels multiplexed together. ADCLRC is an alignment clock that controls
whether Left or Right channel data is present on the ADCDAT lines. ADCDAT and ADCLRC are
synchronous with the BCLK signal with each data bit transition signified by a BCLK high to low
transition. BCLK maybe an input or an output dependent on whether the device is in master or slave
mode. Refer to the MASTER/SLAVE OPERATION section.
The digital audio interface also receives the digital audio data for the internal DAC digital filters on the
DACDAT input. DACDAT is the formatted digital audio data stream output to the DAC digital filters
with left and right channels multiplexed together. DACLRC is an alignment clock that controls whether
Left or Right channel data is present on DATDAT. DACDAT and DACLRC are synchronous with the
BCLK signal with each data bit transition signified by a BCLK transition. DACDAT is always an input.
BCLK and DACLRC are either outputs or inputs depending whether the device is in master or slave
mode. Refer to the MASTER/SLAVE OPERATION section
There are four digital audio interface formats accommodated by the WM8734. These are shown in the
figures below. Refer to the Electrical Characteristic section for timing information.
Left Justified mode is where the MSB is available on the first rising edge of BCLK following a ADCLR
or DACLRC transition.
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC/
ADCLRC
BCLK
DACDAT/
ADCDAT
1
2
3
n-2 n-1
MSB
n
1
LSB
2
3
n-2 n-1
MSB
n
LSB
Figure 16 Left Justified Mode
2
I S mode is where the MSB is available on the 2
ADCLRC transition.
nd
rising edge of BCLK following a DACLRC or
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC/
ADCLRC
BCLK
1 BCLK
1 BCLK
DACDAT/
ADCDAT
1
MSB
2
3
n-2 n-1
n
LSB
1
MSB
2
3
n-2 n-1
n
LSB
2
Figure 17 I S Mode
Right Justified mode is where the LSB is available on the rising edge of BCLK preceding a DACLRC
or ADCLRC transition, yet MSB is still transmitted first.
w
PD, Rev 4.4, August 2013
21
WM8734
Production Data
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC/
ADCLRC
BCLK
DACDAT/
ADCDAT
1
2
3
n-2 n-1
MSB
n
LSB
1
2
3
n-2 n-1
MSB
n
LSB
Figure 18 Right Justified Mode
st
nd
In DSP/PCM mode, the left channel MSB is available on either the 1 (mode B) or 2 (mode A) rising
edge of BCLK (selectable by LRP) following a rising edge of LRC. Right channel data immediately
follows left channel data. Depending on word length, BCLK frequency and sample rate, there may be
unused BCLK cycles between the LSB of the right channel data and the next sample.
Figure 19 DSP/PCM Mode Audio Interface (mode A, LRP=1)
Figure 20 DSP/PCM Mode Audio Interface (mode B, LRP=0)
w
PD, Rev 4.4, August 2013
22
WM8734
Production Data
In all modes DACLRC and ADCLRC must always change on the falling edge of BCLK, refer to Figure
16, Figure 17, Figure 18, Figure 19 and Figure 20.
Operating the digital audio interface in DSP mode allows ease of use for supporting the various
sample rates and word lengths. The only requirement is that all data is transferred within the correct
number of BCLK cycles to suit the chosen word length.
In order for the digital audio interface to offer similar support in the three other modes (Left Justified,
2
I S and Right Justified), the DACLRC, ADCLRC and BCLK frequencies, continuity and mark-space
ratios need more careful consideration.
In Slave mode, DACLRC and ADCLRC inputs are not required to have a 50:50 mark-space ratio.
BCLK input need not be continuous. It is however required that there are sufficient BCLK cycles for
each DACLRC/ADCLRC transition to clock the chosen data word length.
In Master mode, DACLRC and ADCLRC will be output with a 50:50 mark-space ratio with BCLK
output at 64fs.
The ADC and DAC digital audio interface modes are software configurable as indicated in Table 7.
Note that dynamically changing the software format may result in erroneous operation of the
interfaces and is therefore not recommended. The length of the digital audio data is programmable at
16/20/24 or 32 bits. Refer to the software control table below. The data is signed 2’s complement.
Both ADC and DAC are fixed at the same data length. The ADC and DAC digital filters process data
using 24 bits. If the ADC is programmed to output 16 or 20 bit data then it strips the LSBs from the 24
bit data. If the ADC is programmed to output 32 bits then it packs the LSBs with zeros. If the DAC is
programmed to receive 16 or 20 bit data, the WM8734 packs the LSBs with zeros. If the DAC is
programmed to receive 32 bit data, then it strips the LSBs.
The DAC outputs can be swapped under software control using LRP and LRSWAP as shown in Table
7. Stereo samples are normally generated as a Left/Right sampled pair. LRSWAP reverses the order
of that a Left sample goes to the right DAC output and a Right sample goes to the left DAC output.
LRP swaps the phasing so that a Right/Left sampled pair is expected and preserves the correct
channel phase difference.
To accommodate system timing requirements the interpretation of BCLK may be inverted, this is
controlled vias the software shown in Table 6. This is especially appropriate for DSP mode.
ADCDAT lines are always outputs. They power up and return from standby low.
DACDAT is always an input. It is expected to be set low by the audio interface controller when the
WM8734 is powered off or in standby.
ADCLRC, DACLRC and BCLK can be either outputs or inputs depending on whether the device is
configured as a master or slave. If the device is a master then the ADCLRC, DACLRC and BCLK
signals are outputs that default low. If the device is a slave then the ADCLRC, DACLRC and BCLK
are inputs.
w
PD, Rev 4.4, August 2013
23
WM8734
Production Data
REGISTER
ADDRESS
0000111
BIT
1:0
LABEL
FORMAT[1:0]
DEFAULT
10
Digital Audio
Interface
Format
DESCRIPTION
Audio Data Format Select
11 = DSP Mode, frame sync + 2 data
packed words
2
10 = I S Format, MSB-First left-1
justified
01 = MSB-First, left justified
00 = MSB-First, right justified
3:2
IWL[1:0]
10
Input Audio Data Bit Length Select
11 = 32 bits
10 = 24 bits
01 = 20 bits
00 = 16 bits
4
LRP
0
DACLRC phase control (in left, right
2
or I S modes)
1 = Right Channel DAC data when
DACLRC high
0 = Right Channel DAC data when
DACLRC low
2
(opposite phasing in I S mode)
or
DSP mode A/B select (in DSP mode
only)
1 = MSB is available on 2nd BCLK
rising edge after ADCLRC/DACLRC
rising edge
0 = MSB is available on 1st BCLK
rising edge after ADCLRC/DACLRC
rising edge
5
LRSWAP
0
DAC Left Right Clock Swap
1 = Right Channel DAC Data Left
0 = Right Channel DAC Data Right
6
MS
0
Master Slave Mode Control
1 = Enable Master Mode
0 = Enable Slave Mode
7
BCLKINV
0
Bit Clock Invert
1 = Invert BCLK
0 = Don’t invert BCLK
Table 7 Digital Audio Interface Control
Note: If right justified 32 bit mode is selected then the WM8734 defaults to 24 bits.
MASTER AND SLAVE MODE OPERATION
The WM8734 can be configured as either a master or slave mode device. As a master mode device
the WM8734 controls sequencing of the data and clocks on the digital audio interface. As a slave
device the WM8734 responds with data to the clocks it receives over the digital audio interface. The
mode is set with the MS bit of the control register as shown in Table 8.
REGISTER
ADDRESS
0000111
BIT
6
LABEL
MS
Digital Audio Interface
Format
DEFAULT
0
DESCRIPTION
Master Slave Mode Control
1 = Enable Master Mode
0 = Enable Slave Mode
Table 8 Programming Master/Slave Modes
w
PD, Rev 4.4, August 2013
24
WM8734
Production Data
As a master mode device the WM8734 controls the sequencing of data transfer (ADCDAT, DACDAT)
and output of clocks (BCLK, ADCLRC, DACLRC) over the digital audio interface. It uses the timing
generated from either its on-board crystal or the MCLK input as the reference for the clock and data
transitions. This is illustrated in Figure 21. ADCDAT is always an output from and DACDAT is always
an input to the WM8734 independent of master or slave mode.
BCLK
ADCLRC
WM8734
CODEC DACLRC
DSP
ENCODER/
DECODER
ADCDAT
DACDAT
Figure 21 Master Mode
As a slave device the WM8734 sequences the data transfer (ADCDAT, DACDAT) over the digital
audio interface in response to the external applied clocks (BCLK, ADCLRC, DACLRC). This is
illustrated in Figure 22.
BCLK
ADCLRC
WM8734
CODEC DACLRC
DSP
ENCODER/
DECODER
ADCDAT
DACDAT
Figure 22 Slave Mode
Note that the WM8734 relies on controlled phase relationships between audio interface BCLK,
DACLRC and the master MCLK. To avoid any timing hazards, refer to the timing section for detailed
information.
AUDIO DATA SAMPLING RATES
The WM8734 provides for two modes of operation (normal and USB) to generate the required DAC
and ADC sampling rates. Normal and USB modes are programmed under software control according
to the table below.
In Normal mode, the user controls the sample rate by using an appropriate MCLK or crystal frequency
and the sample rate control register setting. The WM8734 can support sample rates from 8ks/s up to
96ks/s.
In USB mode, the user must use a fixed MLCK or crystal frequency of 12MHz to generate sample
rates from 8ks/s to 96ks/s. It is called USB mode since the common USB (Universal Serial Bus) clock
is at 12MHz and the WM8734 can be directly used within such systems. WM8734 can generate all
the normal audio sample rates from this one Master Clock frequency, removing the need for different
master clocks or PLL circuits.
w
PD, Rev 4.4, August 2013
25
WM8734
Production Data
Uniquely, the WM8734 offers the user the ability to sample the ADC and DAC at different rates under
software control in both Normal and USB modes. The reduces the burden on any controlling DSP.
However, the signal processing in the ADC and DAC over-sampling filters is tightly coupled together
in order to minimise power consumption. To this end, only the combinations of sample rates listed in
the following sections are supported. Note that these rates supported are anticipated to be the likely
combinations used in typical audio systems.
REGISTER
ADDRESS
0001000
BIT
0
Sampling
Control
LABEL
DEFAULT
USB/
NORMAL
0
BOSR
0
DESCRIPTION
Mode Select
1 = USB mode (250/272fs)
0 = Normal mode (256/384fs)
1
Base Over-Sampling Rate
USB Mode
0 = 250fs
Normal Mode
96/88.2 kHz
1 = 272fs
0 = 256fs
0 = 128fs
1 = 384fs
1 = 192fs
5:2
SR[3:0]
0000
ADC and DAC sample rate control;
See USB Mode and Normal Mode
Sample Rate sections for operation
Table 9 Sample Rate Control
SAMPLE RATE SETTING
In normal mode MCLK/crystal oscillator is set up according to the desired sample rates of the ADC
and DAC. For ADC or DAC sampling rates of 8, 32, 48 or 96kHz, MCLK frequencies of either
12.288MHz (256fs) or 18.432MHz (384fs) can be used. For ADC or DAC sampling rates of 8, 44.1 or
88.2kHz from MCLK frequencies of either 11.2896MHz (256fs) or 16.9344MHz (384fs) can be used.
The table below should be used to set up the device to work with the various sample rate
combinations. For example if the user wishes to use the WM8734 in normal mode with the ADC and
DAC sample rates at 48kHz and 48kHz respectively then the device should be programmed with
BOSR = 0, SR3 = 0, SR2 = 0, SR1 = 0 and SR0 = 0 with a 12.288MHz MCLK or with BOSR = 1, SR3
= 0, SR2 = 0, SR1 = 0 and SR0 = 0 with a 18.432MHz MCLK. The ADC and DAC will then operate
with a Digital Filter of type 1, refer to Digital Filter Characteristics section for an explanation of the
different filter types.
w
PD, Rev 4.4, August 2013
26
WM8734
Production Data
SAMPLING
RATE
MCLK
FREQUENCY
SAMPLE
RATE
REGISTER SETTINGS
DIGITAL
FILTER
TYPE
ADC
DAC
kHz
kHz
MHz
BOSR
SR3
SR2
SR1
48
48
12.288
0 (256fs)
0
0
0
0
18.432
1 (384fs)
0
0
0
0
12.288
0 (256fs)
0
0
0
1
18.432
1 (384fs)
0
0
0
1
12.288
0 (256fs)
0
0
1
0
18.432
1 (384fs)
0
0
1
0
48
8
8
48
8
32
8
32
SR0
12.288
0 (256fs)
0
0
1
1
18.432
1 (384fs)
0
0
1
1
12.288
0 (256fs)
0
1
1
0
18.432
1 (384fs)
0
1
1
0
96
96
12.288
0 (128fs)
0
1
1
1
18.432
1 (192fs)
0
1
1
1
44.1
44.1
11.2896
0 (256fs)
1
0
0
0
16.9344
1 (384fs)
1
0
0
0
8
11.2896
0 (256fs)
1
0
0
1
(Note 1)
16.9344
1 (384fs)
1
0
0
1
44.1
8
44.1
(Note 1)
8
8
(Note 1) (Note 1)
88.2
88.2
11.2896
0 (256fs)
1
0
1
0
16.9344
1 (384fs)
1
0
1
0
11.2896
0 (256fs)
1
0
1
1
16.9344
1 (384fs)
1
0
1
1
11.2896
0 (128fs)
1
1
1
1
16.9344
1 (192fs)
1
1
1
1
1
1
1
1
1
2
1
1
1
1
2
Table 10 Normal Mode Sample Rate Look-up Table
Notes:
1.
8k not exact, actual = 8.018kHz
2.
All other combinations of BOSR and SR[3:0] that are not in the truth table are invalid
The BOSR bit represents the base over-sampling rate. This is the rate that the WM8734 digital signal
processing is carried out at. In Normal mode, with BOSR = 0, the base over-sampling rate is at 256fs,
with BOSR = 1, the base over-sampling rate is at 384fs. This can be used to determine the actual
audio data rate produced by the ADC and required by the DAC.
Example scenarios are:
w
1.
with a requirement that the ADC data rate is 8kHz and DAC data rate is 48kHz, then choosing
MCLK = 12.288MHz the device is programmed with BOSR = 0 (256fs), SR3 = 0, SR2 = 0, SR1
= 1, SR0 = 0.The ADC output data rate will then be exactly 8kHz (derived from 12.288MHz/256
x1/6) and the DAC expects data at exactly 48kHz (derived from 12.288MHz/256)
2.
with a requirement that ADC data rate is 8kHz and DAC data rate is 44.1kHz, then choosing
MCLK = 16.9344MHz the device is programmed with BOSR = 1 (384fs), SR3 = 1, SR2 = 0, SR1
= 0, SR0 = 1. The ADC will no longer output data at exactly 8.000kHz, instead it will be 8.018kHz
(derived from 16.9344MHz/384 x 2/11), the DAC still is at exactly 44.1kHz (derived from
16.9344MHz/384). A slight (sub 0.5%) pitch shift will therefore result in the 8kHz audio data and
(importantly) the user must ensure that the data across the digital interface is correctly
synchronised at the 8.018kHz rate.
PD, Rev 4.4, August 2013
27
WM8734
Production Data
The exact sample rates achieved are defined by the relationships in Table 11 below.
TARGET
ACTUAL SAMPLING RATE
SAMPLING
RATE
MCLK=12.288
MCLK=11.2896
MCLK=18.432
kHz
kHz
kHz
kHz
kHz
8
8
8.018
8
8.018
(12.288MHz/256) x 1/6
(11.2896MHz/256) x 2/11
(18.432MHz/384) x 1/6
(16.9344MHz/384) x 2/11
32
not available
32
not available
32
BOSR=0
BOSR=1
(12.288MHz/256) x 2/3
44.1
not available
48
48
MCLK=16.9344
(18.432MHz/384)x 2/3
44.1
44.1
not available
11.2896MHz/256
16.9344MHz /384
48
not available
12.288MHz/256
88.2
not available
18.432MHz/384
88.2
not available
88.2
not available
(11.2896MHz/384) x 2
96
96
(16.9344MHz /384) x 2
96
not available
(12.288MHz/256) x 2
not available
(18.432MHz/384) x 2
Table 11 Normal Mode Actual Sample Rates
128/192fs NORMAL MODE
The Normal Mode sample rates are designed for standard 256fs and 384fs MCLK rates. However the
WM8734 is also capable of being clocked from a 128 or 192fs MCLK for application over limited
sampling rates as shown in the table below.
SAMPLING
RATE
MCLK
FREQUENCY
SAMPLE
RATE
REGISTER SETTINGS
DIGITAL
FILTER
TYPE
ADC
DAC
kHz
kHz
MHz
BOSR
SR3
SR2
SR1
SR0
48
48
6.144
0
0
1
1
1
9.216
1
0
1
1
1
44.1
44.1
5.6448
0
1
1
1
1
8.4672
1
1
1
1
1
2
2
Table 12 128fs Normal Mode Sample Rate Look-up Table
512/768fs NORMAL MODE
512 fs and 768 fs MCLK rates can be accommodated by using the CLKIDIV2 bit. The core clock to
the DSP will be divided by 2 so an external 512/768 MCLK will become 256/384 fs internally and the
device otherwise operates as in Table 8 but with MCLK at twice the specified rate. See Table 6 for
software control.
w
PD, Rev 4.4, August 2013
28
WM8734
Production Data
USB MODE SAMPLE RATES
In USB mode the MCLK/crystal oscillator input is 12MHz only.
SAMPLING
RATE
MCLK
FREQUENCY
SAMPLE
RATE
REGISTER SETTINGS
DIGITAL
FILTER
TYPE
ADC
DAC
kHz
kHz
MHz
BOSR
SR3
SR2
SR1
SR0
48
48
12.000
0
0
0
0
0
0
12.000
1
1
0
0
0
1
12.000
0
0
0
0
1
0
44.1
8
(Note 2) (Note 1)
8
48
12.000
1
1
0
0
1
1
12.000
0
0
0
1
0
0
8
44.1
(Note 1) (Note 2)
8
8
12.000
1
1
0
1
0
1
12.000
0
0
0
1
1
0
12.000
1
1
0
1
1
1
12.000
0
0
1
1
0
0
12.000
0
0
1
1
1
3
12.000
1
1
1
1
1
2
44.1
44.1
(Note 2) (Note 2)
48
8
8
8
(Note 1) (Note 1)
32
32
96
96
88.2
88.2
(Note 3) (Note 3)
Table 13 USB Mode Sample Rate Look-up Table
Notes:
1.
8k not exact, actual = 8.021kHz
2.
44.1k not exact, actual = 44.118kHz
3.
88.1k not exact, actual = 88.235kHz
4.
All other combinations of BOSR and SR[3:0] that are not in the truth table are invalid
The table above can be used to set up the device to work with various sample rate combinations. For
example if the user wishes to use the WM8734 in USB mode with the ADC and DAC sample rates at
48kHz and 48kHz respectively then the device should be programmed with BOSR = 0, SR3 = 0, SR2
= 0, SR1 = 0 and SR0 = 0. The ADC and DAC will then operate with a Digital Filter of type 0, refer to
Digital Filter Characteristics section for an explanation of the different filter types.
The BOSR bit represents the base over-sampling rate. This is the rate that the WM8734 digital signal
processing is carried out at and the sampling rate will always be a sub-multiple of this. In USB mode,
with BOSR = 0, the base over-sampling rate is defined at 250fs, with BOSR = 1, the base oversampling rate is defined at 272fs. This can be used to determine the actual audio sampling rate
produced by the ADC and required by the DAC.
Example scenarios are, :-
w
1.
with a requirement that the ADC data sampling rate is 8kHz and DAC data sampling rate is
48kHz the device is programmed with BOSR = 0 (250fs), SR3 = 0, SR2 = 0, SR1 = 1, SR0 =
0.The ADC will then be exactly 8kHz ( derived from 12MHz/250 x 1/6 ) and the DAC expects
data at exactly 48kHz ( derived from 12MHz/250 ).
2.
with a requirement that ADC data rate is 8kHz and DAC data rate is 44.1kHz the device is
programmed with BOSR = 0 (272fs), SR3 = 0, SR2 = 0, SR1 = 1, SR0 = 0. The ADC will not
output data at exactly 8kHz, instead it will be 8.021kHz ( derived from 12MHz/272 x 2/11 ) and
the DAC at 44.118kHz ( derived from 12MHz/272 ). A slight (sub 0.5%) pitch shift will therefore
results in the 8kHz and 44.1kHz audio data and (more importantly) the user must ensure that
PD, Rev 4.4, August 2013
29
WM8734
Production Data
the data across the digital interface is correctly synchronised at the 8.021kHz and 44.117kHz
rates.
The exact sample rates supported for all combinations are defined by the relationships in Table 14
below.
TARGET
ACTUAL SAMPLING RATE
SAMPLING
RATE
BOSR=0
BOSR=1
( 250fs)
(272fs)
kHz
kHz
kHz
8
8
8.021
12MHz/(250 x 48/8)
12MHz/(272 x 11/2)
32
not available
32
12MHz/(250 x 48/32)
44.1
not available
44.117
12MHz/272
48
48
not available
88.2
not available
12MHz/250
88.235
12MHz/136
96
96
not available
12MHz/125
Table 14 USB Mode Actual Sample Rates
ACTIVATING DSP AND DIGITAL AUDIO INTERFACE
To prevent any communication problems from arising across the Digital Audio Interface the Audio
Interface is disabled (tristate with weak 100k pulldown). Once the Audio Interface and the Sampling
Control has been programmed it is activated by setting the ACTIVE bit under Software Control.
REGISTER
ADDRESS
BIT
0001001
0
LABEL
ACTIVE
DEFAULT
0
Active Control
DESCRIPTION
Activate Interface
1 = Active
0 = Inactive
Table 15 Activating DSP and Digital Audio Interface
It is recommended that between changing any content of Digital Audio Interface or Sampling Control
Register that the active bit is reset then set.
SOFTWARE CONTROL INTERFACE
The software control interface may be operated using either a 3-wire (SPI-compatible) or 2-wire MPU
interface. Selection of interface format is achieved by setting the state of the MODE pin.
In 3-wire mode, SDIN is used for the program data, SCLK is used to clock in the program data and
CSB is used to latch in the program data. In 2-wire mode, SDIN is used for serial data and SCLK is
used for the serial clock. In 2-wire mode, the state of CSB pin allows the user to select one of two
addresses.
Unused register bits should always be set to ‘0’ unless specified otherwise.
SELECTION OF SERIAL CONTROL MODE
The serial control interface may be selected to operate in either 2 or 3-wire modes. This is achieved
by setting the state of the MODE pin.
MODE
INTERFACE
FORMAT
0
2 wire
1
3 wire
Table 16 Control Interface Mode Selection
w
PD, Rev 4.4, August 2013
30
WM8734
Production Data
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL MODE
The WM8734 can be controlled using a 3-wire serial interface. SDIN is used for the program data,
SCLK is used to clock in the program data and CSB is use to latch in the program data. The 3-wire
interface protocol is shown in Figure 23.
CSB
SCLK
SDIN
B15
B14
B13
B12
B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
Figure 23 3-Wire Serial Interface
Notes:
1.
B[15:9] are Control Address Bits
2.
B[8:0] are Control Data Bits
2-WIRE SERIAL CONTROL MODE
The WM8734 supports a 2-wire MPU serial interface. The device operates as a slave device only.
The WM8734 has one of two slave addresses that are selected by setting the state of pin 10, (CSB).
R ADDR
SDIN
R/W
ACK
DATA B15-8
ACK
DATA B7-0
ACK
SCLK
START
STOP
Figure 24 2-Wire Serial Interface
Notes:
1.
B[15:9] are Control Address Bits
2.
B[8:0] are Control Data Bits
CSB STATE
Address
(Default = LOW)
0
0011010
1
0011011
Table 17 2-Wire MPU Interface Address Selection
To control the WM8734 on the 2-wire bus the master control device must initiate a data transfer by
establishing a start condition, defined by a high to low transition on SDIN while SCLK remains high.
This indicates that an address and data transfer will follow. All peripherals on the 2-wire bus respond
to the start condition and shift in the next eight bits (7-bit address + R/W bit). The transfer is MSB
first. The 7-bit address consists of a 6-bit base address + a single programmable bit to select one of
two available addresses for this device (see table 24). If the correct address is received and the R/W
bit is ‘0’, indicating a write, then the WM8734 will respond by pulling SDIN low on the next clock pulse
(ACK). The WM8734 is a write only device and will only respond to the R/W bit indicating a write. If
the address is not recognised the device will return to the idle condition and wait for a new start
condition and valid address.
Once the WM8734 has acknowledged a correct address, the controller will send eight data bits (bits
B[15]-B[8]). WM8734 will then acknowledge the sent data by pulling SDIN low for one clock pulse.
w
PD, Rev 4.4, August 2013
31
WM8734
Production Data
The controller will then send the remaining eight data bits (bits B[7]-B[0]) and the WM8734 will then
acknowledge again by pulling SDIN low.
A stop condition is defined when there is a low to high transition on SDIN while SCLK is high. If a start
or stop condition is detected out of sequence at any point in the data transfer then the device will
jump to the idle condition.
After receiving a complete address and data sequence the WM8734 returns to the idle state and
waits for another start condition. Each write to a register requires the complete sequence of start
condition, device address and R/W bit followed by the 16 register address and data bits.
Note that the 16 bit control word is made up of 7 address bits, B[15:9], and 9 data bits, B[8:0]. These
are transmitted as 2 blocks of 8 bits. The first block contains 7 address bits and the data HSB. The
second block contains the 8 data LSBs.
POWER DOWN MODES
The WM8734 contains power conservation modes in which various circuit blocks may be safely
powered down in order to conserve power. This is software programmable as shown in the table
below.
REGISTER
ADDRESS
0000110
BIT
0
LABEL
LINEINPD
DEFAULT
1
Power Down
Control
DESCRIPTION
Line Input Power Down
1 = Enable Power Down
0 = Disable Power Down
2
ADCPD
1
ADC Power Down
1 = Enable Power Down
0 = Disable Power Down
3
DACPD
1
DAC Power Down
1 = Enable Power Down
0 = Disable Power Down
4
OUTPD
1
Line Output Power Down
1 = Enable Power Down
0 = Disable Power Down
7
POWEROFF
1
Power Off Device
1 = Device Power Off
0 = Device Power On
Table 18 Power Conservation Modes Software Control
When writing to the powerdown register bits 1,5 and 6 should be set to ‘1’.
The power down control can be used to either a) permanently disable functions when not required in
certain applications or b) to dynamically power up and down functions depending on the operating
mode, e.g.: during playback or record. Please follow the special instructions below if dynamic
implementations are being used.
LINEINPD: Simultaneously powers down both the Line Inputs. This can be done dynamically without
any audible effects either on the ADC or to the Line Outputs in Bypass mode. This is of use when the
device enters Playback, Pause or Stop modes or the Microphone input has been selected.
ADCPD: Powers down the ADC and ADC Filters. If this is done dynamically then audible pops will
result if any signals were present through the ADC. To overcome this whenever the ADC is to be
powered down, either mute the Microphone Input (MUTEIN) or MUTELINEIN, then change ADCPD.
This is of use when the device enters Playback, Pause or Stop modes regardless of whether
Microphone or Line Inputs are selected.
DACPD: Powers down the DAC and DAC Digital Filters. If this is done dynamically then audible pops
will result unless the following guidelines are followed. In order to prevent pops, the DAC should first
be soft-muted (DACMU), the output should then be de-selected from the line and headphone output
(DACSEL), then the DAC powered down (DACPD). This is of use when the device enters Record,
Pause, Stop or Bypass modes.
w
PD, Rev 4.4, August 2013
32
WM8734
Production Data
POWER OFF
DACPD
ADCPD
LINEINPD
OUTPD
The device can be put into a standby mode (STANDBY) by powering down all the audio circuitry
under software control as shown in Table 18. Provision has been made to independently power off
these areas according to Table 19.
0
1
1
1
1
DESCRIPTION
STANDBY
Table 19 Standby Mode
In STANDBY mode the Control Interface, a small portion of the digital and areas of the analogue
circuitry remain active. The active analogue includes the analogue VMID reference so that the
analogue line inputs, line outputs and headphone outputs remain biased to VMID. This reduces any
audible effects caused by DC glitches when entering or leaving STANDBY mode.
The device can be powered off by writing to the POWEROFF bit of the Power Down register. In
POWEROFF mode the Control Interface and a small portion of the digital remain active. The
analogue VMID reference is disabled.
POWER OFF
DACPD
ADCPD
LINEINPD
OUTPD
DESCRIPTION
1
X
X
X
X
POWEROFF
Table 20 Poweroff Mode
w
PD, Rev 4.4, August 2013
33
WM8734
Production Data
REGISTER MAP
The complete register map is shown in Table 21. The detailed description can be found in the
relevant text of the device description. There are 8 registers with 9 bits per register. These can be
controlled using either the 2 wire or 3 wire MPU interface.
REGISTER
ADDRESS
0000000
BIT
4:0
LABEL
LINVOL[4:0]
Left Line In
DEFAULT
10111
( 0dB )
DESCRIPTION
Left Channel Line Input Volume
Control
11111 = +12dB . . 1.5dB steps down
to 00000 = -34.5dB
7
LINMUTE
1
Left Channel Line Input Mute to ADC
1 = Enable Mute
0 = Disable Mute
8
LRINBOTH
0
Left to Right Channel Line Input
Volume and Mute Data Load Control
1 = Enable Simultaneous Load of
LINVOL[4:0] and LINMUTE to
RINVOL[4:0] and RINMUTE
0 = Disable Simultaneous Load
0000001
4:0
RINVOL[4:0]
Right Line In
10111
( 0dB )
Right Channel Line Input Volume
Control
11111 = +12dB . .1.5dB steps down
to 00000 = -34.5dB
7
RINMUTE
1
Right Channel Line Input Mute to ADC
1 = Enable Mute
0 = Disable Mute
8
RLINBOTH
0
Right to Left Channel Line Input
Volume and Mute Data Load Control
1 = Enable Simultaneous Load of
RINVOL[4:0] and RINMUTE to
LINVOL[4:0] and LINMUTE
0 = Disable Simultaneous Load
0000100
4
DACSEL
0
Analogue Audio
Path Control
0000101
DAC Select
1 =Select DAC
0 = Don’t select DAC
0
ADCHPD
0
Digital Audio
Path Control
ADC High Pass Filter Enable
1 = Enable High Pass Filter
0 = Disable High Pass Filter
2:1
DEEMP[1:0]
00
De-emphasis Control
11 = 48kHz
10 = 44.1kHz
01 = 32kHz
00 = Disable
3
DACMU
1
DAC Soft Mute Control
1 = Enable soft mute
0 = Disable soft mute
4
HPOR
0
Store dc offset when High Pass Filter
disabled
1 = store offset
0 = clear offset
w
PD, Rev 4.4, August 2013
34
WM8734
Production Data
REGISTER
ADDRESS
0000110
BIT
0
LABEL
LINEINPD
DEFAULT
1
Power Down
Control
DESCRIPTION
Line Input Power Down
1 = Enable Power Down
0 = Disable Power Down
2
ADCPD
1
ADC Power Down
1 = Enable Power Down
0 = Disable Power Down
3
DACPD
1
DAC Power Down
1 = Enable Power Down
0 = Disable Power Down
4
OUTPD
1
Line Output Power Down
1 = Enable Power Down
0 = Disable Power Down
7
POWEROFF
1
POWEROFF mode
1 = Enable POWEROFF
0 = Disable POWEROFF
0000111
1:0
FORMAT[1:0]
10
Digital Audio
Interface Format
Audio Data Format Select
11 = DSP Mode, frame sync + 2 data
packed words
2
10 = I S Format, MSB-First left-1
justified
01 = MSB-First, left justified
00 = MSB-First, right justified
3:2
IWL[1:0]
10
Input Audio Data Bit Length Select
11 = 32 bits
10 = 24 bits
01 = 20 bits
00 = 16 bits
4
LRP
0
DACLRC phase control (in left, right
2
or I S modes)
1 = Right Channel DAC data when
DACLRC high
0 = Right Channel DAC data when
DACLRC low
2
(opposite phasing in I S mode)
or
DSP mode A/B select (in DSP mode
only)
1 = MSB is available on 2nd BCLK
rising edge after ADCLRC/DACLRC
rising edge
0 = MSB is available on 1st BCLK
rising edge after ADCLRC/DACLRC
rising edge
5
LRSWAP
0
DAC Left Right Clock Swap
1 = Right Channel DAC Data Left
0 = Right Channel DAC Data Right
6
MS
0
Master Slave Mode Control
1 = Enable Master Mode
0 = Enable Slave Mode
7
BCLKINV
0
Bit Clock Invert
1 = Invert BCLK
0 = Don’t invert BCLK
w
PD, Rev 4.4, August 2013
35
WM8734
Production Data
REGISTER
ADDRESS
0001000
BIT
0
Sampling
Control
LABEL
USB/
NORMAL
DEFAULT
0
DESCRIPTION
Mode Select
1 = USB mode (250/272fs)
0 = Normal mode (256/384fs)
1
BOSR
0
Base Over-Sampling Rate
0 = 256fs
1 = 384fs
5:2
SR[3:0]
0000
6
CLKIDIV2
0
ADC and DAC sample rate control
Core Clock divider select
1 = Core Clock is MCLK divided by 2
0 = Core Clock is MCLK
0001001
0
ACTIVE
Active Control
0
Activate Interface
1 = Active
0 = Inactive
Table 21 Register Map Description
Note:
Unused register bits should be set to ‘0’ except when writing to Register 0000110, when bits 1,5 and 6
should be set to ‘1’.
w
PD, Rev 4.4, August 2013
36
WM8734
Production Data
DIGITAL FILTER CHARACTERISTICS
The ADC and DAC employ different digital filters. There are 4 types of digital filter, called Type 0, 1, 2
and 3. The performance of Types 0 and 1 is listed in the table below, the responses of all filters is
shown in the proceeding pages.
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
ADC Filter Type 0 (USB Mode, 250fs operation)
Passband
+/- 0.05dB
0
-6dB
0.416fs
0.5fs
Passband Ripple
+/- 0.05
Stopband
Stopband Attenuation
dB
0.584fs
f > 0.584fs
-60
dB
ADC Filter Type 1 (USB mode, 272fs or Normal mode operation)
Passband
+/- 0.05dB
0
-6dB
0.4535fs
0.5fs
Passband Ripple
+/- 0.05
Stopband
Stopband Attenuation
High Pass Filter Corner
Frequency
dB
0.5465fs
f > 0.5465fs
-60
dB
-3dB
3.7
-0.5dB
10.4
-0.1dB
21.6
Hz
DAC Filter Type 0 (USB mode, 250fs operation)
Passband
+/- 0.03dB
0
-6dB
0.416fs
0.5fs
Passband Ripple
+/-0.03
Stopband
Stopband Attenuation
dB
0.584fs
f > 0.584fs
-50
dB
DAC Filter Type 1 (USB mode, 272fs or Normal mode operation)
Passband
+/- 0.03dB
0
-6dB
0.4535fs
0.5fs
Passband Ripple
+/- 0.03
Stopband
Stopband Attenuation
dB
0.5465fs
f > 0.5465fs
-50
dB
Table 22 Digital Filter Characteristics
TERMINOLOGY
1.
Stop Band Attenuation (dB) - the degree to which the frequency spectrum is attenuated (outside audio band)
2.
Pass-band Ripple – any variation of the frequency response in the pass-band region
w
PD, Rev 4.4, August 2013
37
WM8734
Production Data
DAC FILTER RESPONSES
0.04
0
0.03
0.02
Response (dB)
Response (dB)
-20
-40
-60
0.01
0
-0.01
-0.02
-80
-0.03
-100
-0.04
0
0.5
1
1.5
Frequency (Fs)
2
2.5
3
Figure 25 DAC Digital Filter Frequency Response –Type 1
0
0.05
0.1
0.15
0.2
0.25
0.3
Frequency (Fs)
0.35
0.4
0.45
0.5
Figure 26 DAC Digital Filter Ripple –Type 1
0.02
0
0.01
0
Response (dB)
Response (dB)
-20
-40
-60
-0.01
-0.02
-0.03
-0.04
-80
-0.05
-100
-0.06
0
0.5
1
1.5
Frequency (Fs)
2
2.5
3
Figure 27 DAC Digital Filter Frequency Response –Type 2
0
0.05
0.1
0.15
Frequency (Fs)
0.2
0.25
Figure 28 DAC Digital Filter Ripple –Type 2
ADC FILTER RESPONSES
0.02
0
0.01
0
Response (dB)
Response (dB)
-20
-40
-60
-0.01
-0.02
-0.03
-0.04
-80
-0.05
-100
0
0.5
1
1.5
Frequency (Fs)
2
2.5
3
Figure 29 ADC Digital Filter Frequency Response –Type 1
w
-0.06
0
0.05
0.1
0.15
0.2
0.25
0.3
Frequency (Fs)
0.35
0.4
0.45
0.5
Figure 30 ADC Digital Filter Ripple –Type 1
PD, Rev 4.4, August 2013
38
WM8734
Production Data
0.02
0
0.01
0
Response (dB)
Response (dB)
-20
-40
-60
-0.01
-0.02
-0.03
-0.04
-80
-0.05
-100
-0.06
0
0.5
1
1.5
Frequency (Fs)
2
2.5
3
Figure 31 ADC Digital Filter Frequency Response –Type 2
0
0.05
0.1
0.15
Frequency (Fs)
0.2
0.25
Figure 32 ADC Digital Filter Ripple –Type 2
ADC HIGH PASS FILTER
The WM8734 has a selectable digital high pass filter to remove DC offsets. The filter response is
characterised by the following polynomial.
H(z) =
1–z
-1
1 – 0.9995 z
w
-1
PD, Rev 4.4, August 2013
39
WM8734
Production Data
DIGITAL DE-EMPHASIS CHARACTERISTICS
0
0.4
0.3
-2
Response (dB)
Response (dB)
0.2
-4
-6
0.1
0
-0.1
-0.2
-8
-0.3
-10
-0.4
0
2000
4000
6000
8000
10000
Frequency (Fs)
12000
14000
16000
Figure 33 De-Emphasis Frequency Response (32kHz)
0
2000
4000
6000
8000
10000
Frequency (Fs)
12000
14000
16000
Figure 34 De-Emphasis Error (32kHz)
0
0.4
0.3
-2
Response (dB)
Response (dB)
0.2
-4
-6
0.1
0
-0.1
-0.2
-8
-0.3
-10
-0.4
0
5000
10000
Frequency (Fs)
15000
20000
Figure 35 De-Emphasis Frequency Response (44.1kHz)
0
5000
10000
Frequency (Fs)
15000
20000
Figure 36 De-Emphasis Error (44.1kHz)
0
0.4
0.3
-2
Response (dB)
Response (dB)
0.2
-4
-6
0.1
0
-0.1
-0.2
-8
-0.3
-10
-0.4
0
5000
10000
15000
Frequency (Fs)
20000
Figure 37 De-Emphasis Frequency Response (48kHz)
w
0
5000
10000
15000
Frequency (Fs)
20000
Figure 38 De-Emphasis Error (48kHz)
PD, Rev 4.4, August 2013
40
WM8734
Production Data
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
3.3V
+
0.1 F
1
+
10 F
3.3V
5K
5K
5K
5K
3.3V
DBVDD
AVDD
10
DGND
AGND
11
20
10 F
DCVDD
+
14
LLINEIN
470nF
47pF
+
13
+
RLINEIN
LOUT
4
6
7
3
100
8
470nF
47pF
5
3-wire Interface
0.1 F
0.1 F
470nF
WM8734
Codec
Audio Serial Data I/F
+
2
10 F
+
ROUT
100
9
DACLRC
DACDAT
ADCDAT
ADCLRC
BCLK
47k
470nF
47k
3.3V
10k
2-wire Interface
3-wire or 2-wire
MPU Interface
15
16
17
18
MODE
CSB
SDIN
SCLK
VMID
12
0.1 F
+
10 F
MCLK
19
Figure 39 External Components Diagram
Notes:
1.
Where possible, it is recommended that NPO or COG type capacitors should be used for best performance.
w
PD, Rev 4.4, August 2013
41
WM8734
Production Data
MINIMISING POP NOISE AT THE ANALOGUE OUTPUTS
To minimise any pop or click noise when the system is powered up or down, the following procedures
are recommended.
POWER UP SEQUENCE

Switch on power supplies. By default the WM8734 is in Standby Mode, the DAC is
digitally muted and the Audio Interface and Outputs are all OFF.

Set all required bits in the Power Down register (0Ch) to ‘0’; EXCEPT the OUTPD bit,
this should be set to ‘1’ (Default).

Set required values in all other registers except 12h (Active).

Set the ‘Active’ bit in register 12h.

The last write of the sequence should be setting OUTPD to ‘0’ (active) in register
0Ch, enabling the DAC signal path, free of any significant power-up noise.
POWER DOWN SEQUENCE
w

Set the OUTPD bit to ‘1’ (power down).

Remove the WM8734 supplies.
PD, Rev 4.4, August 2013
42
WM8734
Production Data
PACKAGE DIMENSIONS
DS: 20 PIN SSOP (7.2 x 5.3 x 1.75 mm)
b
DM0015.C
e
20
11
E1
1
A A2
D
E
GAUGE
PLANE
10
c
A1

L
0.25
L1
-C0.10 C
Symbols
A
A1
A2
b
c
D
e
E
E1
L
L1

MIN
----0.05
1.65
0.22
0.09
6.90
7.40
5.00
0.55
o
0
REF:
Dimensions
(mm)
NOM
--------1.75
0.30
----7.20
0.65 BSC
7.80
5.30
0.75
1.25 REF
o
4
SEATING PLANE
MAX
2.0
----1.85
0.38
0.25
7.50
8.20
5.60
0.95
o
8
JEDEC.95, MO -150
NOTES:
A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS.
B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.20MM.
D. MEETS JEDEC.95 MO-150, VARIATION = AE. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PD, Rev 4.4, August 2013
43
WM8734
Production Data
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
26 Westfield Road
Edinburgh
EH11 2QB
United Kingdom
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: [email protected]
w
PD, Rev 4.4, August 2013
44
WM8734
Production Data
REVISION HISTORY
DATE
REV
09/05/13
4.4
DESCRIPTION OF CHANGES
QFN references removed from datasheet
w
CHANGED BY
JMacD
PD, Rev 4.4, August 2013
45