WOLFSON WM8740SEDS/V

WM8740
w
24-bit, High Performance 192kHz Stereo DAC
DESCRIPTION
FEATURES
The WM8740 is a very high performance stereo DAC
designed for audio applications such as CD, DVD, home
theatre systems, set top boxes and digital TV. The WM8740
supports data input word lengths from 16 to 24-bits and
sampling rates up to 192kHz. The WM8740 consists of a
serial interface port, digital interpolation filter, multi-bit sigma
delta modulator and stereo DAC in a small 28-pin SSOP
package. The WM8740 also includes a digitally controllable
mute and attenuator function on each channel.
•
The internal digital filter has two selectable roll-off
characteristics. A sharp or slow roll-off can be selected
dependent on application requirements. Additionally, the
internal digital filter can be by-passed and the WM8740
used with an external digital filter.
The WM8740 supports two connection schemes for audio
DAC control. The SPI-compatible serial control port
provides access to a wide range of features including onchip mute, attenuation and phase reversal. A hardware
controllable interface is also available.
•
•
•
•
•
•
•
•
120dB SNR (‘A’ weighted mono @48kHz), THD+N: -104dB
@ FS
117dB SNR (‘A’ weighted stereo @48kHz), THD+N: -104dB
@ FS
Sampling frequency: 8kHz to 192kHz
Selectable digital filter roll-off
Optional interface to industry standard external filters
Differential mono mode needing no glue logic
Input data word: 16 to 24-bit
Hardware or SPI compatible serial port control modes:
Hardware mode: mute, de-emphasis, audio format
control
Serial mode: mute, de-emphasis, attenuation (256
steps), phase reversal
Fully differential voltage outputs
APPLICATIONS
•
•
•
CD, DVD audio
Home theatre systems
Professional audio systems
BLOCK DIAGRAM
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews
Production Data, April 2010, Rev 4.4
Copyright ©2010 Wolfson Microelectronics plc
WM8740
Production Data
TABLE OF CONTENTS
DESCRIPTION ....................................................................................................... 1
FEATURES............................................................................................................. 1
APPLICATIONS ..................................................................................................... 1
BLOCK DIAGRAM ................................................................................................. 1
TABLE OF CONTENTS ......................................................................................... 2
PIN CONFIGURATION ........................................................................................... 3
ORDERING INFORMATION .................................................................................. 3
PIN DESCRIPTION ................................................................................................ 4
ABSOLUTE MAXIMUM RATINGS ......................................................................... 5
RECOMMENDED OPERATING CONDITIONS ..................................................... 6
ELECTRICAL CHARACTERISTICS ...................................................................... 6
INTERNAL POWER ON RESET CIRCUIT ............................................................ 9
DEVICE DESCRIPTION ....................................................................................... 12
SYSTEM CLOCK ........................................................................................................ 12
AUDIO DATA INTERFACE ......................................................................................... 12
NORMAL SAMPLE RATE ........................................................................................... 13
8 X FS INPUT SAMPLE RATE .................................................................................... 14
MODES OF OPERATION ........................................................................................... 14
HARDWARE CONTROL MODES ............................................................................... 14
SOFTWARE CONTROL INTERFACE......................................................................... 15
REGISTER MAP ......................................................................................................... 16
MUTE MODES ............................................................................................................ 20
FILTER RESPONSES ................................................................................................. 21
APPLICATIONS INFORMATION ......................................................................... 24
RECOMMENDED EXTERNAL COMPONENTS .......................................................... 24
RECOMMENDED EXTERNAL COMPONENTS VALUES ........................................... 24
SUGGESTED DIFFERENTIAL OUTPUT FILTER CIRCUIT ........................................ 25
RECOMMENDED DUAL DIFFERENTIAL HARDWARE SETUP ................................. 25
PACKAGE DIMENSIONS .................................................................................... 26
ADDRESS: .................................................................................................................. 27
w
PD, Rev 4.4, April 2010
2
WM8740
Production Data
PIN CONFIGURATION
LRCIN
1
28
ML/I2S
DIN
2
27
MC/DM1
BCKIN
3
26
MD/DM0
MODE8X
4
25
MUTEB
SCLK
5
24
MODE
DIFFHW
6
23
CSBIWO
DGND
7
22
RSTB
DVDD
8
21
ZERO
AVDDR
9
20
AVDDL
AGNDR
10
19
AGNDL
VMIDR
11
18
VMIDL
VOUTLP
VOUTRP
12
17
VOUTRN
13
16
VOUTLN
15
AVDD
AGND
14
ORDERING INFORMATION
DEVICE
TEMPERATURE
RANGE
PACKAGE
MOISTURE
SENSITIVITY LEVEL
PEAK SOLDERING
TEMPERATURE
WM8740SEDS/V
-40° to +85°C
28-pin SSOP
MSL2
260°C
WM8740SEDS/RV
-40° to +85°C
28-pin SSOP
MSL2
260°C
Note:
Reel Quantity: 2,000
w
PD, Rev 4.4, April 2010
3
WM8740
Production Data
PIN DESCRIPTION
PIN
NAME
TYPE
1
LRCIN
Digital input
Sample rate clock input.
2
DIN
Digital input
Audio data serial input (except in 8XMODE when it is DINL).
3
BCKIN
Digital input
Audio data bit clock input .
4
MODE8X
Digital input
Internal pull-down, active high, 8 x fs mode.
5
SCLK
Digital input
System clock input.
6
DIFFHW
Digital input
Internal pull-down, active high, differential mono mode.
7
DGND
Supply
Digital ground supply.
8
DVDD
Supply
Digital positive supply.
9
AVDDR
Supply
Analogue positive supply.
10
AGNDR
Supply
Analogue ground supply.
11
VMIDR
Analogue output
Mid rail right channel.
12
VOUTRP
Analogue output
Right channel DAC output positive.
13
VOUTRN
Analogue output
Right channel DAC output negative.
14
AGND
Supply
Analogue ground supply.
15
AVDD
Supply
Analogue positive supply.
16
VOUTLN
Analogue output
Left channel DAC output negative.
17
VOUTLP
Analogue output
Left channel DAC output positive.
18
VMIDL
Analogue output
Mid rail left channel.
19
AGNDL
Supply
Analogue ground supply.
20
AVDDL
Supply
Analogue positive supply.
21
ZERO
Digital output
Infinite zero detect – active low. Open drain type output with active pull-down.
22
RSTB
Digital input
Reset input – active low. Internal pull-up.
w
DESCRIPTION
PD, Rev 4.4, April 2010
4
WM8740
PIN
NAME
Production Data
TYPE
DESCRIPTION
Hardware Mode
Normal Mode
Wordlength:
Low for 16-bit data.
High for 20-bit
(normal) or 24-bit
2
I S data.
Low for hardware
mode.
Differential Mode
Wordlength:
Low for 16-bit data.
High for 20-bit
(normal) or 24-bit
2
I S data.
Low for left
mono mode.
High for right
mono mode
23
CSBIWO
Digital input
Internal pull-down
24
MODE
Digital input
Internal pull-up
25
MUTEB
Digital input
Internal pull-up
Low to soft mute.
High for normal
operation.
26
MD/DM0
Digital input
Internal pull-up
27
MC/DM1
28
ML/I2S
Software
Mode
Low for
serial
interface
operation.
8X Mode
Wordlength:
Low for 20-bit data.
High for 24-bit data.
DINR
High for
software
mode.
Low to soft mute.
High for normal
operation.
Low to soft mute.
High for normal
operation.
Low to
soft mute.
High for
normal
operation.
De-emphasis mode
select bit 0.
Low for no
de-emphasis.
High for 44.1kHz
de-emphasis.
LRP – LRCLK
polarity select.
Control serial
interface
data signal.
Digital input
Internal pull-up
De-emphasis mode
select bit 1.
Low for normal filter
operation.
High for filter slow
roll-off.
Unused.
Leave unconnected.
Control serial
interface
clock signal.
Digital input
Internal pull-up
Audio serial format:
Low – right justified.
High – I2S.
Audio serial format:
Low – right justified.
High – I2S.
Input data format:
Low – right justified.
High – left justified.
Control serial
interface
load signal.
Note: Digital input pins have Schmitt trigger input buffers.
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-020B 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
Supply voltage
Input
Operating temperature range, TA
Storage temperature prior to soldering
Storage temperature after soldering
MIN
MAX
-0.3V
+7.0V
GND -0.3V
VDD + 0.3V
-40°C
+85°C
30°C max / 85% RH max
-65°C
+150°C
Note: It is strongly recommended that AVDD, AVDDL and AVDDR are tied together. AGND, AGNDL and AGND right
must also be tied together.
w
PD, Rev 4.4, April 2010
5
WM8740
Production Data
RECOMMENDED OPERATING CONDITIONS
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Digital supply range
DVDD
-10%
3.3 to 5
+10%
V
Analogue supply range
AVDD
-10%
3.3 to 5
+10%
V
+0.3
V
Ground
AGND, DGND
0
Difference DGND to AGND
-0.3
0
V
Analogue supply current
AVDD = 5V
13
Digital supply current
DVDD = 5V
19
mA
Analogue supply current
AVDD = 3.3V
12
mA
Digital supply current
DVDD = 3.3V
12
mA
mA
Note:
DVDD must be equal to, or less than the AVDD supply (i.e. DVDD = AVDD = +5V; DVDD = AVDD = +3.3V; DVDD = +3.3V
AVDD = +5V).
ELECTRICAL CHARACTERISTICS
Test Conditions
o
AVDD, DVDD = 5V, AGND, DGND = 0V, TA = +25 C, fs = 48kHz, SCKI = 256fs unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
120
dB
110
117
dB
DAC Circuit Specifications
SNR
(See Note 1)
Mono fs @ 48kHz
Stereo fs @ 48kHz
THD (full-scale)
(See Note 2)
Stereo fs @ 96kHz
116
dB
Mono 0dB
-104
dB
-104
dB
117
dB
Stereo 0dB
THD+N (Dynamic range)
(See Note 2)
-95
-60dB
Filter Characteristics (Sharp Roll-off)
Passband
±0.0012 dB
Stopband
-3dB
0.4535fs
dB
0.491fs
±0.0012
Passband ripple
Stopband attenuation
f > 0.5465fs
-82
Delay time
dB
dB
30/fs
s
Filter Characteristics (Slow Roll-off)
Passband
±0.001dB
0.274fs
Stopband
-3dB
0.459fs
f > 0.732fs
-82
±0.001
Passband ripple
Stopband attenuation
Delay time
dB
dB
9/fs
s
-3dB
195
kHz
20kHz
-0.043
dB
Internal Analogue Filter
Bandwidth
Passband edge response
Digital Logic Levels
Input LOW level
VIL
Input HIGH level
VIH
Output LOW level
VOL
IOL = 2mA
Output HIGH level
VOH
IOH = 2mA
w
0.8
2.0
V
DGND + 0.3V
V
DVDD - 0.3V
PD, Rev 4.4, April 2010
6
WM8740
Production Data
Test Conditions
AVDD, DVDD = 5V, AGND, DGND = 0V, TA = +25oC, fs = 48kHz, SCKI = 256fs unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue Output Levels
Output level differential
Minimum resistance load
Into 10kΩ, full scale 0dB,
(5V supply)
2
VRMS
Into 10kΩ, full scale 0dB,
(3.3V supply)
1.32
VRMS
To midrail or AC coupled
(5V supply)
1
kΩ
To midrail or AC coupled
(3.3V supply)
600
Ω
Maximum capacitance load
5V or 3.3V
Output DC level
100
pF
AVDD/2
V
10
kΩ
Reference Levels
Potential divider resistance
AVDD to VMIDL/VMIDR and
VMIDL/VMIDR to AGND
Voltage at VMIDL/VMIDR
Notes: 1.
2.
AVDD/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.
All performance measurements done with 20kHz low pass 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.
LRCIN
tBCH
tBCL
tLB
BCKIN
tBCY
tBL
DIN
tDS
tDH
Figure 1 Audio Data Input Timing
Test Conditions
AVDD, DVDD = 5V, AGND, DGND = 0V, TA = +25oC, fs = 48kHz, SCKI = 256fs unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Audio Data Input Timing Information
BCKIN pulse cycle time
tBCY
100
ns
BCKIN pulse width high
tBCH
40
ns
BCKIN pulse width low
tBCL
40
ns
BCKIN rising edge to
LRCIN edge
tBL
20
ns
LRCIN rising edge to
BCKIN rising edge
tLB
20
ns
DIN setup time
tDS
20
ns
DIN hold time
tDH
20
ns
w
PD, Rev 4.4, April 2010
7
WM8740
Production Data
tSCKIL
SCKI
tSCKIH
tSCKY
Figure 2 System Clock Timing Requirements
Test Conditions
AVDD, DVDD = 5V, AGND, DGND = 0V, TA = +25oC, fs = 48kHz, SCKI = 256fs unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
System Clock Timing Information
System clock pulse width high
tSCKIH
10
ns
System clock pulse width low
tSCKIL
10
ns
System clock cycle time
tSCKY
27
ns
tMLL
tMHH
ML/I2S
tMCY
tMCH
tMCL
tMLD
tMLS
MC/DM1
tMDS
tMDH
MD/DM0
LSB
Figure 3 Program Register Input Timing – SPI Compatible Serial Control Mode
Test Conditions
AVDD, DVDD = 5V, AGND, DGND = 0V, TA = +25oC, fs = 48kHz, SCKI = 256fs unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Program Register Input Information
MC/DM1 pulse cycle time
tMCY
80
ns
MC/DM1 pulse width low
tMCL
32
ns
MD/DM0 pulse width high
tMCH
32
ns
MD/DM0 set-up time
tMDS
10
ns
MC/DM1 hold time
tMDH
10
ns
ML/I2S pulse width low
tMLL
10
ns
ML/I2S pulse width high
tMHH
10
ns
ML/I2S set-up time
tMLS
10
ns
ML/I2S delay from MC
tMLD
10
ns
w
PD, Rev 4.4, April 2010
8
WM8740
Production Data
INTERNAL POWER ON RESET CIRCUIT
10K
Power On Reset
Circuit
10K
Figure 4 Internal Power On Reset Circuit Schematic
The WM8740 includes an internal Power On Reset Circuit which is used reset the digital logic into a
default state after power up.
Figure 4 shows a schematic of the internal POR circuit. The POR circuit is powered from AVDD. The
circuit monitors DVDD and VMIDL and asserts PORB low if DVDD or VMIDL are below the minimum
threshold Vpor_off.
On power up, the POR circuit requires AVDD to be present to operate. PORB is asserted low until
AVDD and DVDD and VMIDL are established. When AVDD, DVDD, and VMIDL have been
established, PORB is released high, all registers are in their default state and writes to the digital
interface may take place.
On power down, PORB is asserted low whenever DVDD or VMIDLL drop below the minimum
threshold Vpor_off.
If AVDD is removed at any time, the internal Power On Reset circuit is powered down and PORB will
follow AVDD.
In most applications the time required for the device to release PORB high will be determined by the
charge time of the VMIDLL node.
Figure 5 Typical Power Up Sequence where DVDD is Powered before AVDD
w
PD, Rev 4.4, April 2010
9
WM8740
Production Data
Figure 6 Typical Power Up Sequence where AVDD is Powered before DVDD
Figure 7 Typical Power Up Sequence where AVDD is Powered and VMIDLL has Charged before DVDD
Typical POR Operation (typical values, not tested)
w
SYMBOL
TYP
Vpora
0.35
UNIT
V
Vpord
0.8
V
Vporr
0.85
V
Vpora_off
2.6
V
Vpord_off
0.8
V
PD, Rev 4.4, April 2010
10
WM8740
Production Data
In a real application the designer is unlikely to have control of the relative power up sequence of
AVDD and DVDD. Using the POR circuit to monitor VMIDLL ensures a reasonable delay between
applying power to the device and Device Ready.
Figure 5 and Figure 6 show typical power up scenarios in a real system. Both AVDD and DVDD must
be established and VMIDL must have reached the threshold Vporr before the device is ready and can
be written to. Any writes to the device before Device Ready will be ignored.
Figure 5 shows DVDD powering up before AVDD. Figure 6 shows AVDD powering up before DVDD.
In both cases, the time from applying power to Device Ready is dominated by the charge time of
VMIDLL. In the case where AVDD is powered long before DVDD, thus allowing VMIDL to charge
above Vporr, the PORB will not release until DVDD passes the Vpord threshold. This situation is
shown in Figure 7.
w
PD, Rev 4.4, April 2010
11
WM8740
Production Data
DEVICE DESCRIPTION
The WM8740 is a high performance 128fs oversampling rate stereo DAC employing a novel 64 level
sigma delta DAC design which provides optimised signal-to-noise performance and clock jitter
tolerance. It is ideally suited to high quality audio applications such as CD, DVD-audio, home theatre
receivers and professional mixing consoles. The WM8740 supports sample rates from 8ks/s to
192ks/s.
The control functions of the WM8740 are either pin selected (hardware mode) or programmed via the
serial interface (software mode). Control functions that are available include: data input word length
and format selection (16-24 bits: I2S, left justified or right justified): de-emphasis sample rate
selection (48kHz, 44.1kHz and 32kHz); differential output modes; a software or hardware mute and
independently digitally controllable attenuation on both channels.
The digital filtering may be bypassed entirely by selecting MODE8X. Data is then input directly to the
DAC, bypassing the digital filters. Left and right channels are input separately, using the MODE pin
as the right channel input. This mode allows the use of alternative digital filters, such as the Pacific
Microsonics PMD100 HDCD filter.
In addition to the normal stereo operating mode the WM8740 may also be used in dual differential
mode with either the left or right channel (selectable) being output dual differentially. Two WM8740s
can then be used in parallel to implement a stereo channel, each supporting a single channel
differentially. Note that this mode uses 2 pairs of differential outputs for each channel – the benefit is
SNR improved by 3dB. This mode is available in both software and hardware modes and may also
be used in conjunction with MODE8X.
SYSTEM CLOCK
Sample rates from 8ks/s up to 96ks/s are available, and automatically selected, with a system clock
of 256fs or 384fs. In addition a system clock of 128fs or 192fs may be used, with sample rates up to
192ks/s. With a 128fs or 192fs system clock 64x oversampling mode operation is automatically
selected and the first stage of the digital filter is bypassed.
WM8740 has an asynchronous monitor circuit, which in the event of removal of the master system
clock, resets the digital filters and analogue circuits, muting the output. Re-application of the system
clock re-starts the filters from an intitialised state. Control registers are not reset under this condition.
The WM8740 is tolerant of asynchronous bit clock jitter. The internal signal processing
resynchronises to the external LRCIN once the phase difference between bit clock and the system
clock exceeds half an LRCIN period. During this re-synch period the interpolating filters will either
miss or repeat an audio sample, minimising the audible effects of the operation. Table 1 shows the
typical system clock frequency inputs for the WM8740.
SAMPLING
RATE
(LRCIN)
SYSTEM CLOCK FREQUENCY (MHZ)
128fs
192fs
256fs
384fs
512fs
768fs
32kHz
4.096
6.144
8.192
12.288
16.384
24.576
44.1kHz
5.6448
8.467
11.2896
16.9340
22.5792
33.8688
48kHz
6.114
9.216
12.288
18.432
24.576
36.864
96kHz
12.288
18.432
24.576
36.864
Unavailable
Unavailable
192kHz
24.576
36.864
Unavailable
Unavailable
Unavailable
Unavailable
Table 1 System Clock Frequencies Versus Sampling Rate
AUDIO DATA INTERFACE
Data may be input at a rate corresponding to the system clock having a rate of 256fs or 384fs, in
which case an oversampling ratio of 128x is selected. Alternatively a rate of 128fs or 192fs may be
used, in which case the first filter stage is bypassed and an oversampling ratio of 64x results. Finally,
in MODE8X, data may be input at 8x the normal rate, in which case separate input pins are used to
input the two stereo channels of data (unless DIFFHW mode and MODE8X are both selected, in
which case only a mono channel is converted differentially). In MODE8X all filter stages are bypassed, prior to the sigma delta modulator, MODE8X is not supported at 192kHz sampling rate. Data
is input MSB first in all modes.
w
PD, Rev 4.4, April 2010
12
WM8740
Production Data
NORMAL SAMPLE RATE
In normal mode, the data is input serially on one pin for both left and right channels.
Data can be “right justified” meaning that the last 16, 20 or 24 bits (depending on chosen PCM word
length) that were clocked in prior to the transition on LRCIN are valid.
Alternatively data can be “left justified” (20 and 24-bit PCM data only), where the bits are clocked in
as the first 20 or 24 bits after a transition on LRCIN.
For the three I2S modes supported (16-bit, 20-bit and 24-bit PCM data), data is clocked “left justified”
except with one additional preceding clock cycle.
1/fs
LEFT
RIGHT
LRCIN (PIN 1)
BCKIN (PIN 3)
16-BIT RIGHT
JUSTIFIED
DIN (PIN 2)
B2 B1 B0
20-BIT RIGHT
JUSTIFIED
DIN (PIN 2)
B2
B1
24-BIT RIGHT
JUSTIFIED
DIN (PIN 2)
B2 B1
B15
B2
B1
B0
B15
B2 B1
B0
B0
B19 B18 B17
B2
B1
B0
B19 B18 B17
B2 B1
B0
B0
B23 B22 B21 B20 B19
B2
B1
B0
B23 B22 B21 B20 B19
B2 B1
B0
24-BIT LEFT
JUSTIFIED
DIN (PIN 2)
B0
B23 B22 B21
B4 B3
20-BIT LEFT
JUSTIFIED
DIN (PIN 2)
B0
B19 B18 B17
B0
B2
B1
B0
B23 B22 B21
B4
B19 B18 B17
B0
LEFT
B3
B2 B1
B0
RIGHT
LRCIN (PIN 1)
BCKIN (PIN 3)
16-BIT I2S
DIN (PIN 2)
B15
B2
B1 B0
24-BIT I2S
DIN (PIN 2)
B23
B6
B5 B4 B3
20-BIT I2S
DIN (PIN 2)
B19
B2
B1 B0
B2 B1
B0
B15
B2
B1 B0
B23
B6
B5 B4
B19
B2
B1 B0
B15
B3
B2
B1 B0
B23
B19
Figure 8 Audio Data Input Format
w
PD, Rev 4.4, April 2010
13
WM8740
Production Data
8 X FS INPUT SAMPLE RATE
Due to the higher speed of the interface in 8 x fs mode, audio data is input on two pins. The MODE
pin (pin 24) is used as the second input for the right channel data and left data is input on DIN (pin2).
In this mode, software control of the device is not available. The data can be input in two formats, left
or right justified, selectable by ML/I2S and two word lengths (20 or 24 bit), selectable by CSBIWO. In
both modes the data is always clocked in MSB first.
For left justified data the word start is marked by the falling edge of LRCIN. The data is clocked in on
the next 20/24 BCKIN rising edges. This format is compatible with devices such as the PMD100.
For right justified the data is justified to the rising edge of LRCIN and the data is clocked in on the
preceding 20/24 BCKIN rising edges before the LRCIN rising edge. This format is compatible with
devices such as the DF1704 or SM5842.
In both modes the polarity of LRCIN can be switched using MD/DM0.
Differential hardware mode can be used in conjunction with 8fs mode by setting the DIFFHW
pin high. In differential 8fs mode the data is input on DIN and output differentially. MODE is
unused and must be tied low.
1/8fs
LRCIN (PIN 1)
BCKIN (PIN 3)
LEFT AUDIO
DATA DIN
(PIN 2)
B23
B22
B21
B20
B19
B2
B1
B0
B23
B22
B21
B20
RIGHT AUDIO
DATA MODE
(PIN 24)
B23
B22
B21
B20
B19
B2
B1
B0
B23
B22
B21
B20
1/8fs
LRCIN (PIN 1)
BCKIN (PIN 3)
LEFT AUDIO
DATA DIN
(PIN 2)
B23
B22
B21
B20
B19
B2
B1
B0
RIGHT AUDIO
DATA MODE
(PIN 24)
B23
B22
B21
B20
B19
B2
B1
B0
Figure 9 Audio Data Input Format (8 x fs Operation)
MODES OF OPERATION
Control of the various modes of operation is either by software control over the serial interface, or
by hard-wired pin control. Selection of software or hardware mode is via MODE pin. The following
functions may be controlled either via the serial control interface or by hard wiring of the
appropriate pins.
HARDWARE CONTROL MODES
When the MODE pin is held ‘low’ the following hardware modes of operation are available. In
Hardware differential mode or 8X mode some of these modes/control words are altered or
unavailable.
w
PD, Rev 4.4, April 2010
14
WM8740
Production Data
DE-EMPHASIS CONTROL
MDDM1
PIN 27
MCDMO
PIN 26
DE-EMPHASIS
L
L
Off
L
H
48kHz
H
L
44.1kHz
H
H
32kHz
Table 2 De-Emphasis Control
AUDIO INPUT FORMAT
ML/I2S
PIN 28
CSBIWO
PIN 23
DATA FORMAT
L
L
16 bit normal right
justified
L
H
20 bit normal right
justified
H
L
16 bit I2S
H
H
24 bit I2S
Table 3 Audio Input Format
SOFT MUTE
MUTEB
PIN 25
FUNCTION
L
Mute On (no output)
H
Mute Off (normal operation)
Table 4 Soft Mute
A logic low on the MUTEB pin will cause the attenuation to ramp to infinite attenuation at a rate of
128/fs seconds per 0.5dB step. Setting MUTEB high will cause the attenuation to ramp back to its
previous value.
SOFTWARE CONTROL INTERFACE
The WM8740 can be controlled using a 3-wire serial interface. MD/DM0 (pin 26) is used for the
program data, MC/DM1 (pin 22) is used to clock in the program data and ML/I2S (pin 28) is use to
latch in the program data. The 3-wire interface protocol is shown in Figure 6. CSB/IWO (pin 23) must
be low when writing.
ML/I2S (PIN 28)
MC/DM1 (PIN 27)
MD/DM0 (PIN 26)
B15
B14
B13
B2
B1
B0
Figure 10 Three-Wire Serial Interface
w
PD, Rev 4.4, April 2010
15
WM8740
Production Data
REGISTER MAP
WM8740 controls the special functions using 4 program registers, which are 16-bits long. These
registers are all loaded through input pin MD/DM0. After the 16 data bits are clocked in, ML/I2S is
used to latch in the data to the appropriate register. Table 5 shows the complete mapping of the 4
registers. Note that in hardware differential mode and 8X modes, software control is not available.
The hardware differential mode (Diff[1:0]) clock loss detector disable (CDD) can only be accessed by
writing to M2[8:5] with the pattern 1111. Register M4 is then accessible by setting A[2:0] to 110.
B15
B14
B13
B12
M0
-
-
-
-
M1
-
-
-
M2
-
-
M3
-
-
M4
-
-
B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
A2 (0) A1(0)
A0(0)
LDL
AL7
AL6
AL5
AL4
AL3
AL2
AL1
AL0
-
A2(0)
A1(0)
A0(1)
LDR
AR7
AR6
AR5
AR4
AR3
AR2
AR1
AR0
-
-
A2(0)
A1(1)
A0(0)
-
-
-
-
IW1
IW0
OPE
DEM
MUT
-
-
A2(0)
A1(1)
A0(1)
IZD
SF1
SF0
-
REV
SR0
ATC
LRP
IS
-
-
A2(1)
A1(1)
A0(0)
-
-
-
-
-
-
CDD DIFF1 DIFF0
2
Table 5 Mapping of Program Registers
REGISTER
BITS
NAME
DEFAULT
0
[7:0]
AL[7:0]
FF
8
LDL
0
1
[7:0]
AR[7:0]
FF
8
LDR
0
Attenuation data load control for right channel.
2
0
MUT
0
Left and right DACs soft mute control.
1
DEM
0
De-emphasis control.
2
OPE
0
Left and right DACs operation control.
[4:3]
IW[1:0]
0
Input audio data bit select.
3
4
DESCRIPTION
Attenuation data for left channel.
Attenuation data load control for left channel.
Attenuation data for right channel.
0
I2S
0
Audio data format select.
1
LRP
0
Polarity of LRCIN select.
2
ATC
0
Attenuator control.
3
SR0
0
Digital filter slow roll-off select.
4
REV
0
Output phase reverse.
[7:6]
SF[1:0]
0
Sampling rate select.
8
IZD
0
Infinite zero detection circuit control.
[5:4]
DIFF
0
Differential output mode.
6
CDD
0
Clock loss detector disable.
Table 6 Register Bit Descriptions
DAC OUTPUT ATTENUATION
The level of attenuation for eight bit code X, is given by:
0.5 ∗ (X - 255) dB, 1 ≤ X ≤ 255
- ∞dB (mute),
X=0
Bit 8 in register 0 (LDL) is used to control the loading of attenuation data in B[7:0]. When LDL is set
to 0, attenuation data will be loaded into AL[7:0], but it will not affect the filter attenuation. LDR in
register 1 has the same function for right channel attenuation. Only when LDL or LDR is set to '1' will
the filter attenuation be updated. This permits left and right channel attenuation to be updated
simultaneously.
Attenuation level is controlled by AL[7:0] (left channel) or AR[7:0] (right channel). Attenuation levels
are given in Table 7.
w
PD, Rev 4.4, April 2010
16
WM8740
Production Data
X[7:0]
ATTENUATION LEVEL
00(hex)
- ∞dB (mute)
01(hex)
-127.0dB
:
:
:
:
FD(hex)
-1.0dB
FE(hex)
-0.5dB
FF(hex)
0.0dB
Table 7 Attenuation Control Level
Bit 2 in Reg3 is used to control the attenuator (ATC). When ATC is “high”, the attenuation data
loaded in program register 0 is used for both the left and the right channels. When ATC is low, the
attenuation data for each register is applied separately to left and right channels.
SOFT MUTE
MUT
(REG2, B0)
L
Soft Mute off (normal operation)
H
Soft Mute on (no output)
Table 8 Soft Mute
Setting MUT causes the attenuation to ramp from the current value down to 00. The values held in
the attenuation registers are unchanged. When MUT is reset the attenuation will ramp back up to the
previous value. The ramp rate is 128/fs s/0.5dB step.
DIGITAL DE-EMPHASIS
DEM
(REG2, B1)
L
De-emphasis off
H
De-emphasis on
Table 9 Digital De-Emphasis
DAC OPERATION ENABLE
OPE
(REG2,B2)
L
Normal operation
H
DAC output forced to bipolar zero,
irrespective of input data.
Table 10 DAC Operation Enable
AUDIO DATA INPUT FORMAT
I2S
(REG3, B0)
IW1
(REG2, B4)
IW0
(REG2, B3)
AUDIO INTERFACE
0
0
0
16-bit standard right justified
0
0
1
20-bit standard right justified
0
1
0
24-bit standard right justified
0
1
1
24-bit left justified (MSB first)
1
0
0
16-bit I2S
1
0
1
24-bit I2S
1
1
0
20-bit I2S
1
1
1
20-bit left justified (MSB first)
Table 11 Audio Data Input Format
w
PD, Rev 4.4, April 2010
17
WM8740
Production Data
POLARITY OF LR INPUT CLOCK
The left channel data for a particular sample instant is always input first, then the right channel data.
LRP
(REG3, B1)
L
LR High – left channel
LR Low – right channel
H
LR Low – left channel
LR High – right channel
Table 12 Polarity of LR Input Clock
INDIVIDUAL OR COMMON ATTENUTATION CONTROL
ATC
(REG3, B2)
L
Individual control
H
Common control from Reg0
Table 13 Individual or Common Attenuation Control
DIGITAL FILTER ROLL-OFF SELECTION
SRO
(REG3, B3)
L
Sharp
H
Slow
Table 14 Digital Filter Roll-Off Selection
ANALOGUE OUTPUT POLARITY REVERSAL
REV
(REG3, B4)
L
Normal
H
Inverted
Table 15 Analogue Output Polarity Reversal
DE-EMPHASIS SAMPLE RATE
SF1
(REG3, B7)
SF0
(REG3, B6)
SAMPLE RATE
0
0
No de-emphasis
0
1
48kHz
1
0
44.1kHz
1
1
32kHz
Table 16 De-Emphasis Sample Rate
INFINITE ZERO DETECT
IZD
(REG3, B8)
L
Zero detect mute off
H
Zero detect mute on
Table 17 Infinite Zero Detect
w
PD, Rev 4.4, April 2010
18
WM8740
Production Data
SOFTWARE DIFFERENTIAL MONO MODE
To control the WM8740 in software differential mode register M4 must be written to. A ‘key’ register
write must be made to register M2 to allow access to register M4 which is ‘locked’ as default. Bits B5
to B8 of register M2 must be set to ‘1’ (0x01e0).
With register M4 ‘unlocked’, bits B4 and B5 may be used to set the required differential output mode;
normal stereo, reversed stereo, mono left or mono right, as shown in Table 18.
DIFF[1:0]
B[5:4])
DIFFERENTIAL OUTPUT MODE
00
Stereo
10
Stereo reverse.
01
Mono left – differential outputs.
VOUTLP (17) is left channel.
VOUTLN (16) is left channel inverted.
VOUTRP (12) is left channel inverted.
VOUTRN (13) is left channel.
11
Mono right – differential outputs.
VOUTLP (17) is right channel inverted.
VOUTLN (16) is right channel.
VOUTRP (12) is right channel.
VOUTRN (13) is right channel inverted.
Table 18 Differential Output Modes
Using these controls a pair of WM8740 devices may be used to build a dual differential stereo
implementation with higher performance and differential output.
Note: DIFFHW mode pin may be used to achieve the same result by hardware means.
CLOCK LOSS DETECTOR DISABLE
CDD (REG4, B6)
L
Clock loss detector on
R
Clock loss detector off
Table 19 Clock Loss Detector Disable
When the system clock is inactive for approximately 100μs, the clock loss detector circuit detects the
loss of clock and the analogue circuitry is forced into a mute condition and the digital filters reset.
Setting the CDD bit disables this behaviour.
w
PD, Rev 4.4, April 2010
19
WM8740
Production Data
MUTE MODES
The device has various mute modes.
DIGITAL FILTER
ANALOGUE
ANRES
ANMUTE
Reg bit OPE = ‘1’
Unaffected
Asserted
MUTEB pin
Gain ramped to zero
On release volume ramps
to previous value
Asserted when
gain = 0
AUTOMUTE
(detect 1024 zero
input samples)
Automute has no effect on digital
filters
Asserted after
1024 zero input
samples if IZD = 1
Reg bit MUT
As MUTEB pin
As MUTEB pin
Gain = 00
(left and right)
Gain = -∞dB
Asserted
RAM initialise
Gain initialised to 0dB
Loss of system
clock
Not running (no clock). On clock
restart, filters initialised, RAM
initialised. Registers unchanged
Asserted
Asserted
No LRCLK or invalid
SCLK/LRCLK ratio
Filters initialised, RAM initialised.
Registers unchanged
Asserted
Asserted
RB
Reset – gain initialised to 0dB
Asserted
Asserted
Power-on reset
Reset
Asserted
Asserted
Asserted
Table 20 Mute Modes
•
1.
2.
3.
ANRES is the reset to the switched capacitor filter.
ANMUTE is an analogue muting signal gating the analogue signal at the output (after
the SC filter)
AUTOMUTE is asserted when both the IZD register bit is asserted and the input audio
data has been zero on both left and right channels for 1024 input samples. The first
non-zero sample de-asserts.
Applying a logic low to MUTEB or setting MUT in Reg2 causes the gain registers to
ramp to zero. When a logic high is applied, the gain ramps slowly back up to the value
held in the appropriate attenuation register (AL or AR). The ramp rate = 128/fs s/0.5dB
step.
If SOFTMUTE is set or
MUTEB=0 then GAINL and
GAINR are overridden to 00
GAINL[0:7]
SOFTMUTE
Signal
Processing
GAINR[0:7]
MUTEB
gain ramps between
previous and new gain
setting
Automute:
Detect 1024
zero input
samples
IZD
OPE
FREQ_INVALID
INIT
ANMUTE
ZERO
Figure 11 Mute Modes
w
PD, Rev 4.4, April 2010
20
WM8740
Production Data
FILTER RESPONSES
Figure 12 Digital Filter Response (Sharp Roll-off Mode)
Figure 13 Digital Filter Response (Sharp Roll-off Mode)
Figure 14 Digital Filter Response (Slow Roll-off Mode)
Figure 15 Digital Filter Response (Slow Roll-off Mode)
0
Response (dB)
-20
-40
-60
-80
-100
-120
0
0.2
0.4
0.6
0.8
1
1.2
Frequency (Fs)
1.4
1.6
1.8
2
Figure 16 Digital Filter Response 128fs Mode (192kHz
Sample Rate) Normal Mode – Solid, Slow Mode
– Dashed
w
PD, Rev 4.4, April 2010
21
Production Data
1
1
0.8
0.8
Impulse Response
Impulse Response
WM8740
0.6
0.4
0.2
0
0.6
0.4
0.2
0
-0.2
-0.2
-0.4
-0.4
0
10
20
30
40
Time (input samples)
50
0
60
Figure 17 Impulse Response (Normal Roll-off,
0.0
-1.0
-2.0
-2.0
-3.0
-3.0
Response (dB)
Response (dB)
0.0
-4.0
-5.0
-6.0
50
60
-4.0
-5.0
-6.0
-7.0
-7.0
-8.0
-8.0
-9.0
-9.0
-10.0
-10.0
4000
30
40
Time (input samples)
no De-emphasis)
-1.0
2000
20
Figure 18 Impulse Response (Slow Roll-off,
no De-emphasis)
0
10
6000
8000
10000
12000
14000
16000
0
5000
10000
Frequency (Fs)
15000
20000
Frequency (Fs)
Figure 19 De-emphasis Frequency Response (fs=32kHz)
Figure 20 De-emphasis Frequency Response (fs=44.1kHz)
0.0
0.4
-1.0
0.3
-2.0
0.2
Response (dB)
Response (dB)
-3.0
-4.0
-5.0
-6.0
0.1
0.0
-0.1
-7.0
-0.2
-8.0
-0.3
-9.0
-10.0
-0.4
0
2000
4000
6000
8000
10000
12000
14000
16000
18000
20000
0
Frequency (Fs)
Figure 21 De-emphasis Frequency Response (fs=48kHz)
2000
4000
6000
8000
10000
12000
14000
16000
Frequency (Fs)
Figure 22 De-emphasis Frequency Response Error
(fs=32kHz)
w
PD, Rev 4.4, April 2010
22
Production Data
0.4
0.4
0.3
0.3
0.2
0.2
0.1
0.1
Response (dB)
Response (dB)
WM8740
0.0
-0.1
0.0
-0.1
-0.2
-0.2
-0.3
-0.3
-0.4
-0.4
0
2000
4000
6000
8000
10000
12000
14000
16000
18000
Frequency (Fs)
Figure 23 De-emphasis Frequency Response Error
(fs=44.1kHz)
w
20000
0
2000
4000
6000
8000
10000
12000
14000
16000
18000
20000
Frequency (Fs)
Figure 24 De-emphasis Frequency Response Error
(fs=48kHz)
PD, Rev 4.4, April 2010
23
WM8740
Production Data
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
DVDD
C1
+
8
DVDD
AVDD
9
AVDDR
C2
7
DGND
AVDDL
DGND
AGND
AGNDR
AGNDL
28
27
Software I/F or
Hardware Control
26
23
22
4
6
ML/I2S
VOUTLN
MC/DM1
MD/DM0
CSB/IWO
VOUTLP
VOUTRN
VOUTRP
AVDD
15
20
+
14
C3
C4
C5
C6
10
AGND
19
16
-
17
LEFT OUTPUT DATA
+
13
-
12
RIGHT OUTPUT DATA
+
RSTB
MODE8X
WM8740
AVDD
DIFFHW
R1
24
25
MODE
MUTEB
ZERO
VMIDR
VMIDL
1
2
Audio Serial Data I/F
3
21
11
18
LRCIN
+
C9
System Clock Input
Notes: 1.
C1
2
0
DIN
BCKIN
R2
5
C1
+ C 11
AGND
SCLK
R2
AGND and DGND should be connected as close to the WM8740 as possible.
to
C
,
and C 1 should be positioned as close to the WM8740 as possible.
C9
1
2.
C2
3.
Capacitor type used can have a big effect on device performance. It is
recommended that capacitors with very low ESR are used and that ceramics are
either NPO or COG type material to achieve best performance from the WM8740.
5
Figure 25 External Components Diagram
RECOMMENDED EXTERNAL COMPONENTS VALUES
COMPONENT
REFERENCE
SUGGESTED
VALUE
DESCRIPTION
C1 and C6
10μF
De-coupling for DVDD and AVDD.
C2 to C5
0.1μF
De-coupling for DVDD and AVDD.
C7 and C8
10μF
Output AC coupling caps to remove VMID DC level from outputs.
C9 and C11
0.1μF
Reference de-coupling capacitors for VMIDR and VMIDL.
C10 and C12
10μF
R1
10kΩ
Resistor to AVDD for open drain output operation.
R2
51Ω
Source termination resistors.
Table 21 External Components Description
w
PD, Rev 4.4, April 2010
24
WM8740
Production Data
SUGGESTED DIFFERENTIAL OUTPUT FILTER CIRCUIT
Figure 26 Suggested Differential Output Filter Circuit
RECOMMENDED DUAL DIFFERENTIAL HARDWARE SETUP
Figure 27 Recommended Dual Differential Hardware Setup
w
PD, Rev 4.4, April 2010
25
WM8740
Production Data
PACKAGE DIMENSIONS
DS: 28 PIN SSOP (10.2 x 5.3 x 1.75 mm)
b
DM007.E
e
28
15
E1
1
D
E
GAUGE
PLANE
14
c
A A2
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
9.90
7.40
5.00
0.55
o
0
REF:
Dimensions
(mm)
NOM
--------1.75
0.30
----10.20
0.65 BSC
7.80
5.30
0.75
1.25 REF
o
4
SEATING PLANE
MAX
2.0
0.25
1.85
0.38
0.25
10.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 = AH. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PD, Rev 4.4, April 2010
26
WM8740
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, April 2010
27