WOLFSON WM8955L

WM8955L
STEREO DAC FOR PORTABLE AUDIO APPLICATIONS
DESCRIPTION
FEATURES
•
•
•
The WM8955L is a low power, high quality stereo DAC with
integrated headphone and loudspeaker amplifiers, designed
to reduce external component requirements in portable digital
audio applications.
•
•
•
•
The on-chip headphone amplifiers can deliver 40mW into a
16Ω load. Advanced on-chip digital signal processing
performs bass and treble tone control.
The WM8955L can operate as a master or a slave, and
includes an on-chip PLL. It can use most master clock
frequencies commonly found in portable systems, including
USB, GSM, CDMA or PDC clocks, or standard 256fs clock
rates. Different audio sample rates such as 48kHz, 44.1kHz,
8kHz and many others are supported.
•
•
The WM8955L operates on supply voltages from 1.8V up to
3.6V, although the digital core can operate on a separate
supply down to 1.42V, saving power. Different sections of the
chip can also be powered down under software control.
•
•
The WM8955L is supplied in a very small and thin 5x5mm
QFN package, ideal for use in hand-held and portable
systems.
DAC SNR 98dB, THD -95dB (‘A’ weighted @ 48kHz, 3.3V)
On-chip 400mW BTL Speaker Driver (mono)
On-chip Headphone Driver
° 40mW output power on 16Ω / 3.3V
° THD –80dB at 20mW, SNR 90dB with 16Ω load
Stereo and Mono Line-in mix into DAC output
Separately Mixed Stereo and Mono Outputs
Digital Tone Control and Bass Boost
Low Power
° Down to 7mW for stereo playback (1.8V / 1.5V supplies)
° 10µW Standby Mode
Low Supply Voltages
° Analogue 1.8V to 3.6V
° Digital core: 1.42V to 3.6V
° Digital I/O: 1.42V to 3.6V
Master clocks supported: GSM, CDMA, PDC, USB or
standard audio clocks
Audio sample rates supported: 8, 11.025, 12, 16, 22.05, 24,
32, 44.1, 48, 88.2, 96kHz
32-pin QFN package, 5x5x0.9mm size, 0.5mm lead pitch
APPLICATIONS
•
•
Smartphone / Multimedia Phone
Digital Audio Player
W
WM8955L
MONOOUT
DIFF. IN
LEFT
LD2LO MIXER
ROUT1
VREF
LI2LO
M
U
X
HPVDD
HPGND
DGND
LINEINL
LINEINR
DCVDD
MONOIN-
DBVDD
MONOIN+
BLOCK DIAGRAM
-1
OUT3
LOUT1
BCLK
DACLRC
DACDAT
RD2LO
DAC
CONTROL
INTERFACE
DIGITAL
FILTERS
LD2MO
LOUT1VOL
MI2LO
MONO
MIXER
LI2MO
VREF
CSB
SDIN
SCLK
MODE
TONE
CONTROL
DIGITAL
AUDIO
INTERFACE
MONOOUT
RD2MO
DAC
MONOVOL
RI2MO
RIGHT
LD2RO MIXER
MI2RO
ROUT1
MCLK
SEL
MCLK
DIV2
MCLK
f/2
RD2RO
ROUT1VOL
RI2RO
LOUT2
PLL
VREF
CLKOUT
SEL
-1
50K
CLKOUT
50K
f/2
ROUT2
CLKOUT
DIV2
www.wolfsonmicro.com
AGND
VMID
AVDD
ROUT2VOL
VREF
WOLFSON MICROELECTRONICS PLC
Loudspeaker
L - (-R)
= L+R
LOUT2VOL
ROUT2
INV
HPDETECT
Product Preview, May 2003, Rev 0.4
Copyright 2003 Wolfson Microelectronics plc
WM8955L
Product Preview
HPDETECT
NC
VMID
VREF
AGND
AVDD
HPVDD
ORDERING INFORMATION
NC
PIN CONFIGURATION
24
23
22
21
20
19
18
17
LOUT1
MODE 29
12
ROUT1
CSB 30
11
OUT3
31
10
MONOOUT
SCLK 32
9
PLLGND
SDIN
1
2
3
4
5
6
7
8
CLKOUT
LINEINL
13
DACLRC
HPGND
28
DACDAT
LINEINR
14
BCLK
ROUT2
27
DGND
15
DBVDD
LOUT2
MONOIN+ 26
MCLK
16
DCVDD
MONOIN- 25
w
ORDER CODE
TEMPERATURE
RANGE
PACKAGE
WM8955LEFL
-25°C to +85°C
32-pin QFN
(5x5x0.9mm)
Product Preview Rev 0.4 May 2003
2
WM8955L
Product Preview
PIN DESCRIPTION
PIN #
NAME
TYPE
1
MCLK
Digital Input
2
DCVDD
Supply
Digital Core Supply
3
DBVDD
Supply
Digital Buffer (I/O) Supply
4
DGND
Supply
5
BCLK
Digital Input / Output
6
DACDAT
Digital Input
7
DACLRC
Digital Input / Output
8
CLKOUT
Digital Output
9
PLLGND
Supply
10
MONOOUT
Analogue Output
Mono Output
OUT3
Analogue Output
Output 3 (can be used as Headphone Pseudo Ground)
ROUT1
Analogue Output
Right Output 1 (Line or Headphone)
13
LOUT1
Analogue Output
Left Output 1 (Line or Headphone)
14
HPGND
Supply
15
ROUT2
Analogue Output
Right Output 1 (Line or Headphone or Speaker)
16
LOUT2
Analogue Output
Left Output 1 (Line or Headphone or Speaker)
17
HPVDD
Supply
Supply for Analogue Output Drivers (LOUT1/2, ROUT1/2, MONOUT)
18
AVDD
Supply
Analogue Supply
19
AGND
Supply
Analogue Ground (return path for AVDD)
20
VREF
Analogue Output
Reference Voltage Decoupling Capacitor
21
VMID
Analogue Output
Midrail Voltage Decoupling Capacitor
22
NC
No Connect
23
HPDETECT
Logic Input
Headphone / Speaker switch (referred to AVDD)
24
NC
No Connect
No Internal Connection
25
MONOIN-
Analogue Input
Negative end of MONOIN+, for differential mono signals
26
MONOIN+
Analogue Input
Analogue Line-in to mixers (mono channel)
27
LINEINR
Analogue Input
Analogue Line-in to mixers (right channel)
28
LINEINL
Analogue Input
Analogue Line-in to mixers (left channel)
29
MODE
Digital Input
30
CSB
Digital Input
31
SDIN
Digital Input/Output
32
SCLK
Digital Input
11
12
w
DESCRIPTION
Master Clock
Digital Ground (return path for both DCVDD and DBVDD)
Audio Interface Bit Clock
DAC Digital Audio Data
Audio Interface Left / Right Clock
Buffered Clock Output (from MCLK or internal PLL)
Internally connected to AGND. Connect this pin to AGND externally
for best PLL performance, or leave floating.
Supply for Analogue Output Drivers (LOUT1/2, ROUT1/2)
No Internal Connection
Control Interface Selection
Chip Select / Device Address Selection
Control Interface Data Input / 2-wire Acknowledge output
Control Interface Clock Input
Product Preview Rev 0.4 May 2003
3
WM8955L
Product Preview
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.
CONDITION
MIN
MAX
-0.3V
+3.63V
Voltage range digital inputs
DGND -0.3V
DBVDD +0.3V
Voltage range analogue inputs
AGND -0.3V
AVDD +0.3V
-25°C
+85°C
Supply voltages
Operating temperature range, TA
Storage temperature prior to soldering
30°C max / 85% RH max
Storage temperature after soldering
-65°C
+150°C
Package body temperature (soldering 10 seconds)
+260°C
Package body temperature (soldering 2 minutes)
+183°C
Notes
1.
Analogue and digital grounds must always be within 0.3V of each other.
2.
All digital and analogue supplies are completely independent from each other.
RECOMMENDED OPERATING CONDITIONS
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Digital supply range (Core)
DCVDD
1.42
2.0
3.6
V
Digital supply range (Buffer)
DBVDD
1.8
2.0
3.6
V
AVDD, HPVDD
1.8
2.0
3.6
V
Analogue supplies range
Ground
w
DGND, AGND, HPGND
TEST CONDITIONS
0
V
Product Preview Rev 0.4 May 2003
4
WM8955L
Product Preview
ELECTRICAL CHARACTERISTICS
Test Conditions
DCVDD = 1.5V, AVDD = HPVDD = 3.3V, TA = +25oC, 1kHz signal, fs = 48kHz, 24-bit audio data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
DAC to Line-Out (LOUT1/2, ROUT1/2, MONOOUT with 10kΩ
Ω / 50pF load)
Signal to Noise Ratio
(A-weighted)
SNR
Total Harmonic Distortion
THD
Channel Separation
AVDD = 3.3V
98
AVDD = 1.8V
95
dB
dB
AVDD = 3.3V
-95
AVDD = 1.8V
-90
1kHz signal
90
dB
AVDD = 3.3V
1.0
V rms
AVDD = 1.8V
0.516
Analogue Mixer Inputs (LINEINL, LINEINR, MONOIN)
Full-scale Input Signal Level
VINFS
Signal to Noise Ratio
Line-in to Line-Out
(A-weighted)
SNR
Total Harmonic Distortion
THD
Input Resistance
(signal enters one mixer only)
RLINEIN
Input Resistance
(signal enters two mixers)
MONOIN- input resistance
AVDD = 3.3V
95
AVDD = 1.8V
90
AVDD = 3.3V
-92
dB
AVDD = 1.8V
-92
dB
kΩ
PGA gain = 0dB
20
PGA gain = +6dB
10
PGA gain = 0dB
10
PGA gain = +6dB
5
any gain
20
RMONOIN-
Programmable Gain
-15
Programmable Gain Step Size
dB
Monotonic
Mute Attenuation
kΩ
+6
dB
3
dB
TBD
dB
Analogue Outputs (LOUT1/2, ROUT1/2, MONOOUT)
0dB Full scale output voltage
AVDD/3.3
Programmable Gain
1kHz signal
Programmable Gain Steps
Monotonic
Mute attenuation
-67
80
1kHz, full scale signal
Channel Separation
Vrms
+6
80
dB
steps
85
dB
90
dB
Headphone Output (LOUT1/2, ROUT1/2 with 16 or 32 Ohm load)
Output Power per channel
PO
Total Harmonic Distortion
THD
Signal to Noise Ratio
(A-weighted)
w
SNR
Output power is very closely correlated with THD; see below.
HPVDD=1.8V, RL=32Ω
PO=5mW
0.013
-78
HPVDD=1.8V, RL=16Ω
PO=5mW
0.013
-78
HPVDD=3.3V, RL=32Ω,
PO=20mW
0.01
-80
HPVDD=3.3V, RL=16Ω,
PO=20mW
0.01
-80
HPVDD = 3.3V
90
dB
HPVDD = 1.8V
90
dB
%
dB
Product Preview Rev 0.4 May 2003
5
WM8955L
Product Preview
Test Conditions
DCVDD = 1.5V, AVDD = HPVDD = 3.3V, TA = +25oC, 1kHz signal, fs = 48kHz, 24-bit audio data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Speaker Output (LOUT2/ROUT2 with 8Ω
Ω bridge tied load, ROUT2INV=1)
Output Power per channel
PO
Total Harmonic Distortion
THD
Signal to Noise Ratio
(A-weighted)
SNR
Output power is very closely correlated with THD; see below.
Po=180mW, RL=8Ω,
HPVDD=3.3V
-50
0.3
Po=400mW, RL=8Ω
HPVDD=3.3V
-40
1
HPVDD=3.3V, RL=8Ω
90
HPVDD=2.5V, RL=8Ω
90
dB
%
dB
Analogue Reference Levels
Midrail Reference Voltage
VMID
–3%
AVDD/2
+3%
Buffered Reference Voltage
VREF
–3%
AVDD/2
+3%
V
VREF source current
IVREF
5
mA
VREF sink current
IVREF
5
mA
0.3×DBVDD
V
0.1×DBVDD
V
V
Digital Input / Output
Input HIGH Level
VIH
Input LOW Level
VIL
Output HIGH Level
VOH
Output LOW Level
VOL
0.7×DBVDD
V
0.9×DBVDD
V
TERMINOLOGY
1.
2.
3.
4.
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).
Dynamic range (dB) - DR 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).
THD+N (dB) - THD+N is a ratio, of the rms values, of (Noise + Distortion)/Signal.
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.
w
Product Preview Rev 0.4 May 2003
6
WM8955L
Product Preview
OUTPUT PGA’S LINEARITY
10.000
0.000
Output PGA Gains
Measured Gain [dB]
-10.000
-20.000
-30.000
LOUT1
-40.000
ROUT1
LOUT2
-50.000
ROUT2
MONOOUT
-60.000
-70.000
40
50
60
70
80
90
100
110
120
130
XXXVOL Register Setting (binary)
2.000
1.750
Output PGA Gain Step Size
Step Size [dB]
1.500
1.250
1.000
0.750
LOUT1
ROUT1
0.500
LOUT2
ROUT2
0.250
MONOOUT
0.000
40
50
60
70
80
90
100
110
120
130
XXXVOL Register Setting (binary)
w
Product Preview Rev 0.4 May 2003
7
WM8955L
Product Preview
HEADPHONE OUTPUT THD VERSUS POWER (SIMULATION)
0
Headphone Pow er vs THD+N (32Ohm load)
THD+N (dB)
-20
AVDD=1.8V
-40
AVDD=1.8V, capless
AVDD=3.3V
-60
AVDD=3.3V, capless
-80
-100
0
5
10
15
20
25
30
Pow er (m W)
0
Headphone Pow er vs THD+N (16Ohm load)
THD+N (dB)
-20
AVDD=1.8V
-40
AVDD=1.8V, capless
AVDD=3.3V
-60
AVDD=3.3V, capless
-80
-100
0
10
20
30
40
50
60
Pow er (m W)
w
Product Preview Rev 0.4 May 2003
8
WM8955L
Product Preview
SPEAKER OUTPUT THD VERSUS POWER (SIMULATION)
-10
THD+N (dB)
-20
-30
AVDD=1.8V
AVDD=2.5V
-40
AVDD=3.3V
-50
Speaker Pow er vs THD+N (8Ohm BTL load)
-60
-70
0
100
200
300
400
500
Pow er (m W)
10
Speaker Power vs THD+N (8 Ohm BTL load)
THD+N (%)
8
6
AVDD=1.8V
AVDD=2.5V
AVDD=3.3V
4
2
0
0
100
200
300
400
500
Power (mW)
w
Product Preview Rev 0.4 May 2003
9
WM8955L
Product Preview
POWER CONSUMPTION
The power consumption of the WM8955L depends on the following factors.
•
Supply voltages: Reducing the supply voltages also reduces supply currents, and therefore results in significant power
savings.
Operating mode: Power consumption is lower in mono modes than in stereo, as one DAC is switched OFF. Unused
analogue outputs should be switched off.
OFF
00 0 0 0 0 0 0 0 0 0
0
Low-power standby (LPS)
using 500 KOhm VMID string
10 1 0 0 0 0 0 0 0 0
0
Playback to Line-out
01 1 1 1 0 0 1 1 0 0
0
Playback to Line-out
(64x oversampling mode)
01 1 1 1 1 1 0 0 0 0
1
Playback
to 16 Ohm headphone
using caps on HPOUTL/R
Playback
to 16 Ohm headphone
capless mode using OUT3
Playback
to 8 Ohm BTL speaker
01 1 1 1 1 1 0 0 0 0
0
01 1 1 1 1 1 0 0 0 1
0
01 1 1 1 0 0 1 1 0 0
0
Headphone Amp
line-in to 16 Ohm h/phone
01 1 0 0 1 1 0 0 0 0
0
Speaker Amp
line-in to 8 Ohm speaker
01 1 0 0 0 0 1 1 0 0
0
Phone Call
diff. mono line-in to h/phone,
diff. mono line-out to TX
PLL only
01 1 0 0 1 1 0 0 1 1
0
00 0 0 0 0 0 0 0 0 0
0
PLL and CLKOUT
00 0 0 0 0 0 0 0 0 0
0
Maximum Power
everything ON
01 1 1 1 1 1 1 1 1 1
0
Bit
PLLEN
CLKOUTEN
DACOSR
R24 R23 R38 R43
VREF
DACL
DACR
LOUT1
ROUT1
LOUT2
ROUT2
MONO
OUT3
R26 (1Ah)
DMEN
R25
VMIDSEL
Control Register
VSEL
•
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
11
01
00
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
Other settings
Clocks stopped
R24, OUT3SW=00
R24, ROUT2INV=1
R24, ROUT2INV=1
R24, ROUT2INV=1
AVDD
V
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
I (mA)
DCVDD
V
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
I (mA)
DBVDD
V
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
3.3
2.5
1.5
I (mA)
HPVDD
V
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
3.3
2.5
1.8
I (mA)
Tot. Power
(mW)
Table 1 Supply Current Consumption (data to follow)
Notes:
1.
TA = +25oC, Slave Mode, fs = 48kHz, MCLK = 12.288 MHz (256fs), 24-bit data
2.
All figures are quiescent, with no signal.
3.
The power dissipated in the headphone itself is not included in the above table.
w
Product Preview Rev 0.4 May 2003
10
WM8955L
Product Preview
SIGNAL TIMING REQUIREMENTS
SYSTEM CLOCK TIMING
tMCLKL
MCLK
tMCLKH
tMCLKY
Figure 1 System Clock Timing Requirements
Test Conditions
DBVDD = 3.3V, DGND = 0V, TA = +25oC, Slave Mode fs = 48kHz, MCLK = 256fs, 24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
MCLK System clock pulse width high
tMCLKL
16
ns
MCLK System clock pulse width low
tMCLKH
16
ns
MCLK System clock cycle time
tMCLKY
27
ns
System Clock Timing Information
AUDIO INTERFACE TIMING – MASTER MODE
BCLK
(Output)
tDL
DACLRC
(Output)
tDST
tDHT
DACDAT
Figure 2 Digital Audio Data Timing – Master Mode (see Control Interface)
Test Conditions
DBVDD = 3.3V, DGND = 0V, TA = +25oC, Slave Mode fs = 48kHz, MCLK = 256fs, 24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
System Clock Timing Information
DACLRC propagation delay from BCLK falling edge
tDL
DACDAT setup time to BCLK rising edge
tDST
10
10
ns
ns
DACDAT hold time from BCLK rising edge
tDHT
10
ns
AUDIO INTERFACE TIMING – SLAVE MODE
tBCH
tBCL
BCLK
tBCY
DACLRC
tDS
tLRH
tLRSU
DACDAT
Figure 3 Digital Audio Data Timing – Slave Mode (see Control Interface)
w
Product Preview Rev 0.4 May 2003
11
WM8955L
Product Preview
Test Conditions
DBVDD = 3.3V, DGND = 0V, TA = +25oC, Slave Mode fs = 48kHz, MCLK = 256fs, 24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
BCLK cycle time
tBCY
50
ns
BCLK pulse width high
tBCH
20
ns
BCLK pulse width low
tBCL
20
ns
DACLRC setup time to BCLK rising edge
tLRSU
10
ns
DACLRC hold time from BCLK rising edge
tLRH
10
ns
DACDAT hold time from BCLK rising edge
tDH
10
ns
System Clock Timing Information
CONTROL INTERFACE TIMING – 3-WIRE MODE
tCSL
tCSH
CSB
tCSS
tSCY
tSCH
tSCS
tSCL
SCLK
LSB
SDIN
tDSU
tDHO
Figure 4 Control Interface Timing – 3-Wire Serial Control Mode
Test Conditions
DBVDD = 3.3V, DGND = 0V, TA = +25oC, Slave Mode, fs = 48kHz, MCLK = 256fs, 24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
SCLK rising edge to CSB rising edge
tSCS
500
SCLK pulse cycle time
tSCY
200
ns
SCLK pulse width low
tSCL
80
ns
SCLK pulse width high
tSCH
80
ns
SDIN to SCLK set-up time
tDSU
40
ns
SCLK to SDIN hold time
tDHO
40
ns
CSB pulse width low
tCSL
40
ns
CSB pulse width high
tCSH
40
ns
CSB rising to SCLK rising
tCSS
40
tps
0
Program Register Input Information
Pulse width of spikes that will be suppressed
w
ns
ns
5
ns
Product Preview Rev 0.4 May 2003
12
WM8955L
Product Preview
CONTROL INTERFACE TIMING – 2-WIRE MODE
t3
t3
t5
SDIN
t4
t6
t2
t8
SCLK
t1
t9
t7
Figure 5 Control Interface Timing – 2-Wire Serial Control Mode
Test Conditions
DBVDD = 3.3V, DGND = 0V, TA = +25oC, Slave Mode, fs = 48kHz, MCLK = 256fs, 24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
SCLK Low Pulse-Width
t1
600
400
kHz
ns
SCLK High Pulse-Width
t2
1.3
us
Hold Time (Start Condition)
t3
600
ns
Setup Time (Start Condition)
t4
600
ns
Data Setup Time
t5
100
SDIN, SCLK Rise Time
t6
Program Register Input Information
SCLK Frequency
0
SDIN, SCLK Fall Time
t7
Setup Time (Stop Condition)
t8
Data Hold Time
t9
Pulse width of spikes that will be suppressed
tps
w
ns
300
ns
300
ns
900
ns
5
ns
600
0
ns
Product Preview Rev 0.4 May 2003
13
WM8955L
Product Preview
DEVICE DESCRIPTION
INTRODUCTION
The WM8955L is a low power audio DAC offering a combination of high quality audio, advanced
features, low power and small size. These characteristics make it ideal for portable digital audio
applications such as portable music players and smartphones.
The device has a configurable digital audio interface where digital audio data is fed to the internal
digital filters and then the DAC. The interface supports a number of audio data formats including I2S,
DSP Mode (a burst mode in which frame sync plus 2 data packed words are transmitted), Left
Justified and Right Justified formats, and can operate in master or slave modes.
The on-chip digital filters perform tone control and digital volume control according to the user
setting, and convert the audio data into oversampled bitstreams, which are passed to the left and
right channel DACs. A multi-bit, low-order Σ∆ DAC architecture with dynamic element matching is
used, delivering optimum performance with low power consumption.
The DAC output signal enters an analogue mixer where analogue input signals can be added to it.
The WM8955L has a total of six analogue output pins, which can be configured as stereo line-outs,
mono line-outs, differential mono line-outs, stereo headphone outputs or differential mono (BTL)
speaker outputs.
The WM8955L includes an on-chip PLL to generate commonly used audio rates, such as 48kHz and
44.1kHz, from system clocks found in GSM, CDMA and PDC phones and other portable systems.
To allow full software control over all its features, the WM8955L offers a choice of 2 or 3 wire MPU
control interface. It is fully compatible and an ideal partner for a wide range of industry standard
microprocessors, controllers and DSPs.
The design of the WM8955L has given much attention to power consumption without compromising
performance. It operates at very low voltages, and includes the ability to power off parts of the
circuitry under software control, including standby and power off modes.
w
Product Preview Rev 0.4 May 2003
14
WM8955L
Product Preview
SIGNAL PATH
The WM8955L signal paths consists of digital filters, DACs, analogue mixers and output drivers.
Each circuit block can be enabled or disabled separately using the control bits in register 26 (see
“Power Management”). Thus it is possible to utilise the analogue mixing and amplification provided
by the WM8955L, irrespective of whether the DACs are running or not.
The WM8955L receives digital input data on the DACDAT pin. The digital filter block processes the
data to provide the following functions:
•
•
Digital volume control
Tone control and Bass Boost
•
•
Digital Mono Mix
Sigma-Delta Modulation
Two high performance, sigma-delta audio DACs convert the digital data into two analogue signals
(left and right). These can then be mixed with analogue signals from the LINEINL, LINEINR and
MONOIN pins, and the mix is fed to the output drivers, LOUT1/ROUT1, LOUT2/ROUT2, MONOOUT
and OUT3.
w
•
•
•
LOUT1/ROUT1: can drive 16Ω or 32Ω stereo headphones or stereo line output.
LOUT2/ROUT2: can drive an 8Ω mono speaker, stereo headphones or a stereo line-out.
MONOOUT: line output designed to drive a 10kΩ load.
•
OUT3: multi-function output, may be used for capacitor-less headphone drive, differential
mono-out, line-out or 32Ω earpiece driver.
Product Preview Rev 0.4 May 2003
15
WM8955L
Product Preview
DIGITAL VOLUME CONTROL
The WM8955L has on-chip digital attenuation from –127dB to 0dB in 0.5dB steps, allowing the user
to adjust the volume of each channel separately. The level of attenuation for an eight-bit code X is
given by:
-0.5 × (255 – X) dB for 1 ≤ X ≤ 255;
MUTE for X = 0
The LDVU and RDVU control bits control the loading of digital volume control data. When LDVU or
RDVU are set to 0, the LDACVOL or RDACVOL control data is loaded into an intermediate register,
but the actual gain does not change. Both left and right gain settings are updated simultaneously
when either LDVU or RDVU are set to 1.
REGISTER
ADDRESS
R10 (0Ah)
Left Channel
Digital Volume
R11 (0Bh)
Right Channel
Digital Volume
BIT
LABEL
DEFAULT
DESCRIPTION
7:0
LDACVOL[7:0]
11111111
( 0dB )
Left DAC Digital Volume Control
0000 0000 = Digital Mute
0000 0001 = -127dB
0000 0010 = -126.5dB
... 0.5dB steps up to
1111 1111 = 0dB
8
LDVU
0
Left DAC Volume Update
0 = Store LDACVOL in intermediate latch
(no gain change)
1 = Update left and right channel gains
(left = LDACVOL, right = intermediate
latch)
7:0
RDACVOL[7:0]
11111111
( 0dB )
Right DAC Digital Volume Control
similar to LDACVOL
8
RDVU
0
Right DAC Volume Update
0 = Store RDACVOL in intermediate latch
(no gain change)
1 = Update left and right channel gains
(left = intermediate latch, right =
RDACVOL)
Table 2 Digital Volume Control
w
Product Preview Rev 0.4 May 2003
16
WM8955L
Product Preview
TONE CONTROL
The WM8955L provides separate controls for bass and treble with programmable gains and filter
characteristics. This function operates on digital audio data before it is passed to the audio DACs.
Bass control can take two different forms:
•
Linear bass control: bass signals are amplified or attenuated by a user programmable
gain. This is independent of signal volume, and very high bass gains on loud signals
may lead to signal clipping.
•
Adaptive bass boost: The bass volume is amplified by a variable gain. When the bass
volume is low, it is boosted more than when the bass volume is high. This method is
recommended because it prevents clipping, and usually sounds more pleasant to the
human ear.
Treble control applies a user programmable gain, without any adaptive boost function.
REGISTER
ADDRESS
R12 (0Ch)
Bass Control
BIT
LABEL
DEFAULT
DESCRIPTION
7
BB
0
Bass Mode
0 = Linear bass control
1 = Adaptive bass boost
6
BC
0
Bass Filter Characteristic
0 = Low Cutoff (130 Hz at 48kHz sampling)
1 = High Cutoff (200 Hz at 48kHz sampling)
3:0
BASS
1111 (OFF)
Bass Intensity
Code
BB=0
BB=1
0000
+9dB
15 (max)
0001
+9dB
14
0010
+7.5dB
13
…
(1.5dB steps)
…
0111
0dB
8
…
(1.5dB steps)
…
1011-1101
-6dB
4-2
1110
-6dB
1 (min)
1111
R13 (0Dh)
Treble Control
Bypass (OFF)
6
TC
0
Treble Filter Characteristic
0 = High Cutoff (8kHz at 48kHz sampling)
1 = Low Cutoff (4kHz at 48kHz sampling)
3:0
TRBL
1111
(Disabled)
Treble Intensity
0000 or 0001 = +9dB
0010 = +7.5dB
… (1.5dB steps)
1011 to 1110 = -6dB
1111 = Disable
Table 3 Tone Control
Note:
1.
w
All cut-off frequencies change proportionally with the DAC sample rate.
Product Preview Rev 0.4 May 2003
17
WM8955L
Product Preview
DIGITAL TO ANALOGUE CONVERTER (DAC)
Treble and linear bass enhancement may produce signals that exceed full-scale. In order to avoid
limiting under these conditions, it is recommended to set the DAT bit to attenuate the digital input
signal by 6dB. The gain at the outputs should be increased by 6dB to compensate for the
attenuation. Cut-only tone adjustment and adaptive bass boost cannot produce signals above fullscale and therefore do not require the DAT bit to be set.
After passing through the tone control filters, digital ‘de-emphasis’ can be applied to the audio data if
necessary (e.g. when the data comes from a CD with pre-emphasis used in the recording). Deemphasis filtering is available for sample rates of 48kHz, 44.1kHz and 32kHz.
The WM8955L also has a Soft Mute function, which gradually attenuates the volume of the digital
signal to zero. This function is enabled by default. To play back an audio signal, the WM8955L must
first be unmuted by setting the DACMU bit to zero.
REGISTER
ADDRESS
BIT
R5 (05h)
DAC Control
LABEL
DEFAULT
7
DAT
3
DACMU
1
Digital Soft Mute
1 = mute
0 = no mute (signal active)
DEEMPH
00
De-emphasis Control
11 = 48kHz sample rate
10 = 44.1kHz sample rate
01 = 32kHz sample rate
00 = No De-emphasis
2:1
0
DESCRIPTION
DAC 6dB attenuate enable
0 = disabled (0dB)
1 = -6dB enabled
Table 4 DAC Control
The digital audio data is converted to oversampled bit streams in the on-chip, true 24-bit digital
interpolation filters. The bitstream data enters two multi-bit, sigma-delta DACs, which convert them to
high quality analogue audio signals. The multi-bit DAC architecture reduces high frequency noise and
sensitivity to clock jitter. It also uses a Dynamic Element Matching technique for high linearity and
low distortion.
In normal operation, the left and right channel digital audio data are converted to analogue in two
separate DACs. However, it is also possible to disable one channel, so that the same signal (left or
right) appears on both analogue output channels. Additionally, there is a mono-mix mode where the
two audio channels are mixed together digitally and then converted to analogue using only one DAC,
while the other DAC is switched off. The mono-mix signal can be selected to appear on both
analogue output channels (see Analogue Outputs).
REGISTER
ADDRESS
BIT
R23 (17h)
Additional (1)
5:4
LABEL
DMONOMIX[1:0]
DEFAULT
00
DESCRIPTION
DAC mono mix
00: stereo
01: mono ((L+R)/2) into DACL, ‘0’ into
DACR
10: mono ((L+R)/2) into DACR, ‘0’ into
DACL
11: mono ((L+R)/2) into DACL & DACR
Table 5 DAC Mono Mix Select
w
Product Preview Rev 0.4 May 2003
18
WM8955L
Product Preview
LINE INPUTS AND OUTPUT MIXERS
The WM8955L provides the option to mix the DAC output signal with analogue line-in signals from
the LINEINL, LINEINR and MONOIN+ and MONOIN- pins. The level of the mixed-in signals can be
controlled with PGAs (Programmable Gain Amplifiers).
LINEINL, LINEINR, MONOIN+ and MONOIN- are high impedance, low capacitance AC coupled
analogue inputs. They are biased internally to the reference voltage VREF. Whenever these inputs
are muted or the device placed into standby mode, the inputs remain biased to VREF using special
anti-thump circuitry. This reduces any audible clicks that may otherwise be heard when re-activating
the inputs.
REGISTER
ADDRESS
R34 (22h)
Left Mixer (1)
R35 (23h)
Left Mixer (2)
BIT
LABEL
DEFAULT
DESCRIPTION
8
LD2LO
0
Left DAC to Left Mixer
0 = Disable (Mute)
1 = Enable Path
7
LI2LO
0
LINEINL Signal to Left Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
LI2LOVOL
101
(-9dB)
LINEINL Signal to Left Mixer Volume
000 = +6dB
… (3dB steps)
111 = -15dB
8
RD2LO
0
Right DAC to Left Mixer
0 = Disable (Mute)
1 = Enable Path
7
MI2LO
0
MONOIN Signal to Left Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
MI2LOVOL
101
(-9dB)
MONOIN Signal to Left Mixer Volume
000 = +6dB
… (3dB steps)
111 = -15dB
Table 6 Left Output Mixer Control
w
Product Preview Rev 0.4 May 2003
19
WM8955L
Product Preview
REGISTER
ADDRESS
R36 (24h)
Right Mixer (1)
R37 (25h)
Right Mixer (2)
BIT
LABEL
DEFAULT
DESCRIPTION
8
LD2RO
0
Left DAC to Right Mixer
0 = Disable (Mute)
1 = Enable Path
7
MI2RO
0
MONOIN Signal to Right Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
MI2ROVOL
101
(-9dB)
MONOIN Signal to Right Mixer Volume
000 = +6dB
… (3dB steps)
111 = -15dB
8
RD2RO
0
Right DAC to Right Mixer
0 = Disable (Mute)
1 = Enable Path
7
RI2RO
0
LINEINR Signal to Right Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
RI2ROVOL
101
(-9dB)
LINEINR Signal to Right Mixer Volume
000 = +6dB
… (3dB steps)
111 = -15dB
Table 7 Right Output Mixer Control
REGISTER
ADDRESS
R38 (26h)
Mono Mixer (1)
R39 (27h)
Mono Mixer (2)
BIT
LABEL
DEFAULT
DESCRIPTION
8
LD2MO
0
Left DAC to Mono Mixer
0 = Disable (Mute)
1 = Enable Path
7
LI2MO
0
LINEINL Signal to Mono Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
LI2MOVOL
101
(-9dB)
LINEINL Signal to Right Mono Volume
000 = 0dB
… (3dB steps)
111 = -21dB
8
RD2MO
0
Right DAC to Mono Mixer
0 = Disable (Mute)
1 = Enable Path
7
RI2MO
0
LINEINR Signal to Mono Mixer
0 = Disable (Mute)
1 = Enable Path
6:4
RI2MOVOL
101
(-9dB)
LINEINR Signal to Mono Mixer Volume
000 = 0dB
… (3dB steps)
111 = -21dB
Table 8 Mono Output Mixer Control
Note: The mono mixer has half the gain of the left and right mixers (i.e. 6dB less), to ensure that the
left and right channels can be mixed to mono without clipping.
w
Product Preview Rev 0.4 May 2003
20
WM8955L
Product Preview
DIFFERENTIAL MONO LINE-IN
The WM8955L can take either a single-ended or a differential mono signal and mix it into the
LOUT1/2 and ROUT1/2 outputs. In both cases, LINEINL and LINEINR still remain available as stereo
line-in. Differential mono input mode is enabled by setting the DMEN bit, as shown below.
REGISTER
ADDRESS
BIT
R38 (26h)
Mono Mixer (1)
LABEL
0
DEFAULT
DMEN
0
DESCRIPTION
Differential mono line-in enable
0 = Single-ended line-in from MONOIN+
1 = Differential line-in
Table 9 Differential Mono Line-in Enable
MONO OUT(-)
DMEN = 1
(ON)
LEFT
LD2LO MIXER
LINEINL
LINEINR
MONOIN-
MONO OUT(+)
MONOIN+
DEVICE WITH
DIFFERENTIAL
MONO OUTPUT
DIFF. IN
LI2LO
LOUT1
RD2LO
MONO
MIXER
LI2MO
VREF
LD2MO
LOUT1VOL
MI2LO
DAC
MONOOUT
RD2MO
DAC
MONOVOL
RI2MO
RIGHT
LD2RO MIXER
MI2RO
ROUT1
RD2RO
RI2RO
ROUT1VOL
W
LOUT2VOL
ROUT2
INV
LOUT2
-1
WM8955L
Loudspeaker
L - (-R)
= L+R
ROUT2
ROUT2VOL
DMEN = 0
(OFF)
LEFT
LD2LO MIXER
LINEINL
LINEINR
MONO OUT
MONOIN+
DEVICE WITH
SINGLE-ENDED
MONO OUTPUT
MONOIN- (connect to VREF)
Figure 6 Differential Mono Line-in Configuration (DMEN=1)
DIFF. IN
LI2LO
LOUT1
RD2LO
MONO
MIXER
LI2MO
VREF
LD2MO
LOUT1VOL
MI2LO
DAC
MONOOUT
RD2MO
DAC
RIGHT
LD2RO MIXER
MONOVOL
RI2MO
MI2RO
ROUT1
RD2RO
RI2RO
ROUT1VOL
W
LOUT2VOL
ROUT2
INV
LOUT2
WM8955L
-1
Loudspeaker
L - (-R)
= L+R
ROUT2
ROUT2VOL
Figure 7 Single-ended Mono Line-in Configuration (DMEN=0)
w
Product Preview Rev 0.4 May 2003
21
WM8955L
Product Preview
ANALOGUE OUTPUTS
ENABLING THE OUTPUTS
Each analogue output of the WM8955L can be separately enabled or disabled. The analogue mixer
associated with each output is powered on or off along with the output pin. All outputs are disabled by
default. To save power, unused outputs should remain disabled.
Outputs can be enabled at any time, except when the WM8955L is in OFF mode, as this may cause
pop noise (see Minimising Pop Noise at the Analogue Outputs)
REGISTER
ADDRESS
R26 (1Ah)
Power
Management
(2)
BIT
LABEL
DEFAULT
DESCRIPTION
8
LOUT1
0
LOUT1 Enable
7
ROUT1
0
ROUT1 Enable
5
LOUT2
0
LOUT2 Enable
4
ROUT2
0
ROUT2 Enable
2
MONO
0
MONOOUT Enable
1
OUT3
0
OUT3 Enable
Note: All “Enable” bits are 1 = ON, 0 = OFF
Table 10 Analogue Output Control
HEADPHONE SWITCH
The HPDETECT pin can be used as a headphone switch control input to automatically disable the
speaker output and enable the headphone output e.g. when a headphone is plugged into a jack
socket. In this mode, enabled by setting HPSWEN, HPDETECT switches between headphone and
speaker outputs (typically, the pin is connected to a mechanical switch in the headphone socket to
detect plug-in). The HPSWPOL bit reverses the pin’s polarity. HPDETECT has CMOS thresholds at
0.3 AVDD / 0.7 AVDD. Note that the LOUT1, ROUT1, LOUT2 and ROUT2 bits in register 26 must
also be set to enable headphone and speaker outputs (see tables below).
REGISTER
ADDRESS
R24 (18h)
Additional (1)
BIT
LABEL
DEFAULT
DESCRIPTION
6
HPSWEN
0
Headphone Switch Enable
0 : Headphone switch disabled
1 : Headphone switch enabled
5
HPSWPOL
0
Headphone Switch Polarity
0 : HPDETECT high = headphone
1 : HPDETECT high = speaker
Table 11 Headphone Switch
HPSWEN
HPSWPOL HPDETECT
(PIN23)
L/ROUT1
(reg. 26)
L/ROUT2
(reg. 26)
Headphone
enabled
Speaker
enabled
0
X
X
0
0
no
no
0
X
X
0
1
no
yes
0
X
X
1
0
yes
no
0
X
X
1
1
yes
yes
1
0
0
X
0
no
no
1
0
0
X
1
no
yes
1
0
1
0
X
no
no
1
0
1
1
X
yes
no
1
1
0
X
0
no
no
1
1
0
X
1
yes
no
1
1
1
0
X
no
no
1
1
1
1
X
no
yes
Table 12 Headphone Switch Operation
w
Product Preview Rev 0.4 May 2003
22
WM8955L
Product Preview
47kΩ /
100kΩ
headphone /
speaker
switching
-
+
ROUT1
LOUT1
+
AVDD
HPSWEN = 1
HPSWPOL = 1
L/ROUT1 = L/ROUT2 = 1
-
HPDETECT
L
R
L
R
switch closes
on insertion
Figure TBD Example Headset Detection circuit using normally-open switch
47kΩ /
100kΩ
headphone /
speaker
switching
-
+
ROUT1
LOUT1
+
AVDD
HPSWEN = 1
HPSWPOL = 0
L/ROUT1 = L/ROUT2 = 1
switch opens
on insertion
HPDETECT
Figure TBD Example Headset Detection circuit using normally-closed switch
THERMAL SHUTDOWN
The speaker and headphone outputs can drive very large currents. To protect the WM8955L from
overheating, a thermal shutdown circuit is included. If the device temperature reaches approximately
1500C and the thermal shutdown circuit is enabled (TSDEN = 1 ) then the speaker and headphone
amplifiers (outputs OUT1L/R, OUT2L/R & OUT3) will be disabled.
REGISTER
ADDRESS
R23 (17h)
Additional (1)
BIT
8
LABEL
TSDEN
DEFAULT
0
DESCRIPTION
Thermal Shutdown Enable
0 : thermal shutdown disabled
1 : thermal shutdown enabled
Table 13 Thermal Shutdown
w
Product Preview Rev 0.4 May 2003
23
WM8955L
Product Preview
LOUT1/ROUT1 OUTPUTS
The LOUT1 and ROUT1 pins can drive a 16Ω or 32Ω headphone or a line output (see Headphone
Output and Line Output sections, respectively). The signal volume on LOUT1 and ROUT1 can be
independently adjusted under software control by writing to LOUT1VOL and ROUT1VOL,
respectively. Note that gains over 0dB may cause clipping if the signal is large. Any gain setting
below 0101111 (minimum gain) mutes the output driver. The corresponding output pin remains at the
same DC level (the reference voltage on the VREF pin), so that no click noise is produced when
muting or un-muting.
The analogue outputs have a zero cross detect feature to minimize audible clicks and zipper noise
when on gain changes (i.e. the updating of the gain value is delayed until the signal passes through
zero). By default, this includes a time-out function, which forces the gain to update if no zero crossing
occurs within a certain period of time.
REGISTER
ADDRESS
R2 (02h)
LOUT1
Volume
R3 (03h)
ROUT1
Volume
R23 (17h)
BIT
LABEL
DEFAULT
DESCRIPTION
6:0
LOUT1VOL
1111001
(0dB)
LOUT1 Volume
1111111 = +6dB
… (80 steps)
0110000 = -67dB
0101111 to 0000000 = Analogue MUTE
7
LO1ZC
0
LOUT1 zero cross enable
1 = Change gain on zero cross only
0 = Change gain immediately
8
LO1VU
0
Left Volume Update
0 = Store LOUT1VOL in intermediate
latch (no gain change)
1 = Update left and right channel gains
(left = LOUT1VOL, right =
intermediate latch)
6:0
ROUT1VOL
1111001
ROUT1 Volume
Similar to LOUT1VOL
7
RO1ZC
0
ROUT1 zero cross enable
Similar to LO1ZC
8
RO1VU
0
Right Volume Update
0 = Store ROUT1VOL in intermediate
latch (no gain change)
1 = Update left and right channel gains
(left = intermediate latch, right =
ROUT1VOL)
0
TOEN
1
Time-out enable for zero-cross detectors
0 = time-out disabled (i.e. gains are never
updated if there is no zero crossing)
1 = time-out enabled
Table 14 LOUT1/ROUT1 Volume Control
w
Product Preview Rev 0.4 May 2003
24
WM8955L
Product Preview
LOUT2/ROUT2 OUTPUTS
The LOUT2 and ROUT2 output pins are essentially similar to LOUT1 and ROUT1, but they are
independently controlled and can also drive an 8Ω mono speaker. For speaker drive, the ROUT2
signal must be inverted (ROUT2INV = 1), so that the left and right channel are mixed to mono in the
speaker [L–(-R) = L+R].
REGISTER
ADDRESS
R40 (28h)
LOUT2
Volume
BIT
LABEL
DEFAULT
DESCRIPTION
6:0
LOUT2VOL
1111001
(0dB)
similar to LOUT1VOL
7
LO2ZC
0
Left zero cross enable
1 = Change gain on zero cross only
0 = Change gain immediately
8
LO2VU
0
similar to LO1VU
R41 (29h)
ROUT2
Volume
6:0
ROUT2VOL
1111001
(0dB)
similar to ROUT1VOL
7
RO2ZC
0
Left zero cross enable
1 = Change gain on zero cross only
0 = Change gain immediately
8
RO2VU
0
similar to RO1VU
R23 (17h)
0
TOEN
1
as for LOUT1 / ROUT1
R24 (18h)
Additional (2)
3
ROUT2INV
0
ROUT2 Invert
0 = No Inversion (0° phase shift)
1 = Signal inverted (180° phase shift)
Table 15 LOUT2/ROUT2 Control
MONO OUTPUT
The MONOOUT pin can drive a mono line output. The signal volume on MONOOUT can be adjusted
under software control by writing to MONOOUTVOL.
REGISTER
ADDRESS
R42 (2Ah)
MONOOUT
Volume
R23 (17h)
BIT
LABEL
DEFAULT
DESCRIPTION
6:0
MONOOUT
VOL
1111001
(0dB)
MONOOUT Volume
1111111 = +6dB
… (80 steps)
0110000 = -67dB
0101111 to 0000000 = Analogue MUTE
7
MOZC
0
MONOOUT zero cross enable
1 = Change gain on zero cross only
0 = Change gain immediately
0
TOEN
1
as for LOUT1 / ROUT1
Table 16 MONOOUT Volume Control
OUT3 OUTPUT
The OUT3 pin can drive a 16Ω or 32Ω headphone or a line output or be used as a DC reference for a
headphone output. It can be selected to either drive out an inverted ROUT1 or inverted MONOOUT
for e.g. an earpiece drive between OUT3 and LOUT1 or differential output between OUT3 and
MONOOUT.
OUT3SW selects the mode of operation required.
REGISTER
ADDRESS
BIT
R24 (18h)
Additional (2)
8:7
LABEL
OUT3SW
DEFAULT
00
DESCRIPTION
OUT3 select
00 : VREF
01 : ROUT1
10 : MONOOUT
11 : right mixer output
Table 17 OUT3 select
w
Product Preview Rev 0.4 May 2003
25
WM8955L
Product Preview
DIGITAL AUDIO INTERFACE
The digital audio interface is used for feeding audio data into the WM8955L. It uses three pins:
•
•
•
DACDAT: DAC data input
DACLRC: DAC data alignment clock
BCLK: Bit clock, for synchronisation
The clock signals BCLK and DACLRC can be outputs when the WM8955L operates as a master, or
inputs when it is a slave (see Master and Slave Mode Operation, below).
Four different audio data formats are supported:
•
Left justified
•
•
•
Right justified
I 2S
DSP mode
All four of these modes are MSB first. They are described in Audio Data Formats, below. Refer to the
Electrical Characteristic section for timing information.
MASTER AND SLAVE MODE OPERATION
The WM8955L can be configured as either a master or slave mode device. As a master device the
WM8955L generates BCLK and DACLRC and thus controls sequencing of the data transfer on
DACDAT. In slave mode, the WM8955L responds with data to clocks it receives over the digital
audio interface. The mode can be selected by writing to the MS control bit. Master and slave modes
are illustrated below.
BCLK
BCLK
WM8955L
DAC
WM8955L
DAC
DSP /
DECODER
DACLRC
DSP /
DECODER
DACLRC
DACDAT
DACDAT
Figure 8 Master Mode
Figure 9 Slave Mode
AUDIO DATA FORMATS
In Left Justified mode, the MSB is available on the first rising edge of BCLK following a DACLRC
transition. The other bits up to the LSB are then transmitted in order. Depending on word length,
BCLK frequency and sample rate, there may be unused BCLK cycles before each DACLRC
transition.
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC
BCLK
DACDAT
1
2
3
n-2 n-1
MSB
n
LSB
Input Word Length (WL)
1
2
3
n-2 n-1
MSB
n
LSB
Note: Input word length is defined by the WL register.
Timing is shown with LRP = 1
Figure 10 Left Justified Audio Interface (assuming n-bit word length)
In Right Justified mode, the LSB is available on the last rising edge of BCLK before a DACLRC
transition. All other bits are transmitted before (MSB first). Depending on word length, BCLK
frequency and sample rate, there may be unused BCLK cycles after each DACLRC transition.
w
Product Preview Rev 0.4 May 2003
26
WM8955L
Product Preview
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC
BCLK
DACDAT
1
2
3
n-2 n-1
MSB
n
1
2
3
n-2 n-1
Data Word Length (WL)
n
LSB
MSB
LSB
Note: Word length is defined by the WL register.
Timing is shown with LRP = 1
Figure 11 Right Justified Audio Interface (assuming n-bit word length)
In I2S mode, the MSB is available on the second rising edge of BCLK following a DACLRC transition.
The other bits up to the LSB are then transmitted in order. Depending on word length, BCLK
frequency and sample rate, there may be unused BCLK cycles between the LSB of one sample and
the MSB of the next.
1/fs
LEFT CHANNEL
RIGHT CHANNEL
DACLRC
BCLK
1 BCLK
1 BCLK
DACDAT
1
2
3
n-2 n-1
n
1
LSB
MSB
2
3
n-2 n-1
n
LSB
MSB
Note: Word length is defined by the WL register.
Timing is shown with LRP = 1
Data Word Length (WL)
2
Figure 12 I S Justified Audio Interface (assuming n-bit word length)
In DSP mode, the left channel MSB is available on either the first or second rising edge of BCLK
(selectable by LRP) following a rising edge of DACLRC. 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.
1/fs
1 BCLK
DACLRC
BCLK
RIGHT CHANNEL
LEFT CHANNEL
DACDAT
1
2
3
n-2 n-1
MSB
n
1
2
3
n-2 n-1
n
LSB
Data Word Length (WL)
Note: Word length is defined by the WL register.
Timing is shown with LRP = 1
Figure 13 DSP Mode Audio Interface (Mode A; LRP = 0)
w
Product Preview Rev 0.4 May 2003
27
WM8955L
Product Preview
1/fs
1 BCLK
DACLRC/
ADCLRC
BCLK
RIGHT CHANNEL
LEFT CHANNEL
DACDAT/
ADCDAT
1
2
3
n-2 n-1
MSB
n
1
2
3
n-2 n-1
n
LSB
Input Word Length (WL)
Figure 14 DSP Mode Audio Interface (Mode B; LRP = 1)
AUDIO INTERFACE CONTROL
The register bits controlling audio format, word length and master / slave mode are summarised
below.
REGISTER
ADDRESS
R7 (07h)
Digital Audio
Interface
Format
BIT
LABEL
DEFAULT
DESCRIPTION
1:0
FORMAT
10
Audio Data Format Select
11 = DSP Mode
10 = I2S Format
01 = Left justified
00 = Right justified
3:2
WL
10
Audio Data Word Length
11 = 32 bits (see Note)
10 = 24 bits
01 = 20 bits
00 = 16 bits
4
LRP
0
I2S, LJ, RJ Formats
1: Right Channel data
when DACLRC high
0: Right Channel data
when DACLRC low
5
LRSWAP
0
Swap Left and Right Channels
0: No swap (L to L, R to R)
1: Swap (L to R, R to L)
6
MS
0
Master / Slave Mode Control
1: Master Mode
0: Slave Mode
7
BCLKINV
0
BCLK Invert
1: BCLK inverted
0: BCLK not inverted
DSP Format
1: MSB available on
2nd BCLK rising edge
after LRC rising edge
0: MSB available on
1st BCLK rising edge
after LRC rising edge
Table 18 Audio Data Format Control
Note: Right Justified mode does not support 32-bit data. If WL=11 in Right justified mode, the actual
word length will be 24 bits.
w
Product Preview Rev 0.4 May 2003
28
WM8955L
Product Preview
MASTER CLOCK AND PHASE LOCKED LOOP
The WM8955L has an on-chip phase-locked loop (PLL) circuit that can be used to:
•
generate a master clock for the WM9755L audio function from another external clock,
e.g. in telecoms applications.
generate a clock for another part of the system from an existing audio master clock.
•
The PLL circuit is shown below.
MCLK
DIV2
MCLK
PLL
f/2
f/4
f1
CLKOUTEN
R = f2 / f1
DIGITAL
CORE
f/2
f2
CLKOUT
SEL
CLKOUT
DIV2
CLKOUT
MCLK
SEL
PLLOUT
DIV2
f/2
Figure TBD PLL circuit
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R8 (08h)
Sample Rates
8
CLKOUTDIV2
0
CLKOUT Divide by 2
0: Divide disabled
1: Divide enabled
6
MCLKDIV2
0
MCLK Divide by 2
0: Divide disabled
1: Divide enabled
8
MCLKSEL
0
Select internal master clock
0: from MCLK pin
1: from PLL (make sure PLLEN=1)
7
CLKOUTEN
0
CLKOUT Enable
0: Pin disabled (tri-state)
1: Pin Enabled
6
CLKOUTSEL
0
Select source of CLKOUT
0: from MCLK pin
1: from PLL (make sure PLLEN=1)
5
PLLOUTDIV2
TBD
PLL Output Divide by 2
0: Divide disabled
1: Divide enabled
4
PLL_RB
TBD
TBD
3
PLLEN
0
R43 (2Bh)
Clocking and
PLL
DESCRIPTION
PLL Enable
0: PLL disabled; 1: PLL enabled.
Table 19 PLL and Clocking Control
w
Product Preview Rev 0.4 May 2003
29
WM8955L
Product Preview
The PLL frequency ratio R = f2/f1(see diagram above) can be set using K and N in registers 44 (2Ch)
to 46 (2Eh):
N = int (R)
K = int (222 (R-N))
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R44 (2Ch)
PLL Control (1)
8:5
N
01000
Integer part of PLL input/output
frequency ratio. Use values greater
than 5 and less than 13.
Fractional part of PLL input/output
frequency ratio (treat as one 22-digit
binary number)
3:0
K [21:18]
0011
R45 (2Dh)
PLL Control (2)
8:0
K [17:9]
024h
R46 (2Eh)
PLL Control (3)
TBD
K [8:0]
1BAh
DESCRIPTION
Table 20 PLL Frequency Ratio Control
The PLL performs best when f2 is around 90MHz. Its stability peaks at N=8. Some example settings
are shown below.
MCLK
(MHz)
DESIRED
OUTPUT
(MHz)
F2
(MHz)
11.91
11.2896
90.3168
0
1
0
11.91
12.288
98.304
0
1
0
12
11.2896
90.3168
0
1
0
12
12.288
98.304
0
1
13
11.2896
90.3168
0
MCLK
DIV2
PLL
OUT
DIV2
CLK
OUT
DIV2
R
F2
(Hex)
K
(Hex)
7.5833
7
25545C
8.2539
8
103FF6
7.5264
7
21B089
0
8.192
8
C49BA
1
0
6.9474
6
3CA2F4
23F548
13
12.288
98.304
0
1
0
7.5618
7
14.4
11.2896
90.3168
0
1
0
6.272
6
116872
14.4
12.288
98.304
0
1
0
6.8267
6
34E818
19.2
11.2896
90.3168
1
1
0
9.408
9
1A1CAC
19.2
12.288
98.304
1
1
0
10.24
A
F5C28
19.68
11.2896
90.3168
1
1
0
9.1785
9
B6D22
3F6017
19.68
12.288
98.304
1
1
0
9.9902
9
19.8
11.2896
90.3168
1
1
0
9.1229
9
7DDCA
19.8
12.288
98.304
1
1
0
9.9297
9
3B8023
24
11.2896
90.3168
1
1
0
7.5264
7
21B089
24
12.288
98.304
1
1
0
8.192
8
C49BA
26
11.2896
90.3168
1
1
0
6.9474
6
3CA2F4
26
12.288
98.304
1
1
0
7.5618
7
23F548
27
11.2896
90.3168
1
1
0
6.6901
6
2C2B30
27
12.288
98.304
1
1
0
7.2818
7
12089E
Table 21 PLL Frequency Examples
w
Product Preview Rev 0.4 May 2003
30
WM8955L
Product Preview
AUDIO SAMPLE RATES
The WM8955L supports a wide range of master clock frequencies on the MCLK pin, and can
generate many commonly used audio sample rates directly from the master clock.
There are two clocking modes:
•
•
‘Normal’ mode supports master clocks of 128fs, 192fs, 256fs, 384fs, and their multiples
USB mode supports 12MHz or 24MHz master clocks. This mode is intended for use in
systems with a USB interface, and runs without a PLL.
REGISTER
ADDRESS
R8 (08h)
Sample Rates
BIT
LABEL
DEFAULT
DESCRIPTION
0
USB
0
Clocking Mode Select
1: USB Mode
0: ‘Normal’ Mode
5:1
SR [4:0]
0000
Sample Rate Control
6
MCLK
DIV2
0
MCLK Divide by 2
0: Divide disabled
1: Divide enabled
7
CLKOUT
DIV2
0
MCLK Divide by 2
0: Divide disabled
1: Divide enabled
Table 22 Clocking and Sample Rate Control
The clocking of the WM8955L is controlled using the MCLKDIV2, USB, and SR control bits. Setting
the MCLKDIV2 bit divides MCLK by two internally. The USB bit selects between ‘Normal’ and USB
mode. Each combination of the SR4 to SR0 control bits selects one MCLK division ratio and hence
one sample rate (see next page). The digital filter characteristics are automatically adjusted to suit
the MCLK and sample rate selected (see Digital Filter Characteristics).
Since all sample rates are generated by dividing MCLK, their accuracy depends on the accuracy of
MCLK. If MCLK changes, the sample rates change proportionately. Note that some sample rates
(e.g. 44.1kHz in USB mode) are approximated, i.e. they differ from their target value by a very small
amount. This is not audible, as the maximum deviation is only 0.27% (8.0214kHz instead of 8kHz in
USB mode - for comparison, a half-tone step corresponds to a 5.9% change in pitch).
w
Product Preview Rev 0.4 May 2003
31
WM8955L
MCLK
MCLKDIV2=0
Product Preview
MCLK
MCLKDIV2=1
DAC SAMPLE RATE
USB
SR [4:0]
FILTER
TYPE
BCLK
(MS=1)
MCLK/4
‘Normal’ Clock Mode (‘*’ indicates backward compatibility with WM8711 and WM8721)
12.288MHz
11.2896MHz
18.432MHz
16.9344MHz
24.576MHz
22.5792MHz
36.864MHz
33.8688MHz
8 kHz (MCLK/1536)
0
00010 *
1
12 kHz (MCLK/1024)
0
01000
1
MCLK/4
16 kHz (MCLK/768)
0
01010
1
MCLK/4
24 kHz (MCLK/512)
0
11100
1
MCLK/4
32 kHz (MCLK/384)
0
01100 *
1
MCLK/4
48 kHz (MCLK/256)
0
00000 *
1
MCLK/4
96 kHz (MCLK/128)
0
01110 *
3
MCLK/2
8.0182 kHz (MCLK/1408)
0
10010
1
MCLK/4
MCLK/4
11.025 kHz (MCLK/1024)
0
11000
1
22.05 kHz (MCLK/512)
0
11010
1
MCLK/4
44.1 kHz (MCLK/256)
0
10000 *
1
MCLK/4
88.2 kHz (MCLK/128)
0
11110 *
3
MCLK/2
8 kHz (MCLK/2304)
0
00011 *
1
MCLK/6
12 kHz (MCLK/1536)
0
01001
1
MCLK/6
16 kHz (MCLK/1152)
0
01011
1
MCLK/6
24 kHz (MCLK/768)
0
11101
1
MCLK/6
32 kHz (MCLK/576)
0
01101 *
1
MCLK/6
48 kHz (MCLK/384)
0
00001 *
1
MCLK/6
96 kHz (MCLK/192)
0
01111 *
3
MCLK/3
8.0182 kHz (MCLK/2112)
0
10011 *
1
MCLK/6
11.025 kHz (MCLK/1536)
0
11001
1
MCLK/6
22.05 kHz (MCLK/768)
0
11011
1
MCLK/6
44.1 kHz (MCLK/384)
0
10001 *
1
MCLK/6
88.2 kHz (MCLK/192)
0
11111 *
3
MCLK/3
MCLK
USB Mode (‘*’ indicates backward compatibility with WM8711 and WM8721)
12.000MHz
24.000MHz
8 kHz (MCLK/1500)
1
00010 *
0
11.0259 kHz (MCLK/1088)
1
11001
1
MCLK
12kHz (MCLK/1000)
1
01000
0
MCLK
16kHz (MCLK/750)
1
01010
0
MCLK
MCLK
22.0588 kHz (MCLK/544)
1
11011
1
24kHz (MCLK/500)
1
11100
0
MCLK
32 kHz (MCLK/375)
1
01100 *
0
MCLK
44.118 kHz (MCLK/272)
1
10001 *
1
MCLK
48 kHz (MCLK/250)
1
00000 *
0
MCLK
88.235kHz (MCLK/136)
1
11111 *
3
MCLK
96 kHz (MCLK/125)
1
01110 *
2
MCLK
Table 20 Master Clock and Sample Rates
w
Product Preview Rev 0.4 May 2003
32
WM8955L
Product Preview
CONTROL INTERFACE
SELECTION OF CONTROL MODE
The WM8955L is controlled by writing to registers through a serial control interface. A control word
consists of 16 bits. The first 7 bits (B15 to B9) are address bits that select which control register is
accessed. The remaining 9 bits (B8 to B0) are register bits, corresponding to the 9 bits in each
control register. The control interface can operate as either a 3-wire or 2-wire MPU interface. The
MODE pin selects the interface format.
MODE
INTERFACE FORMAT
Low
2 wire
High
3 wire
Table 24 Control Interface Mode Selection
3-WIRE SERIAL CONTROL MODE
In 3-wire mode, every rising edge of SCLK clocks in one data bit from the SDIN pin. A rising edge on
CSB latches in a complete control word consisting of the last 16 bits.
latch
CSB
SCLK
SDIN
B15
B14
B13
B12
B11
B10
control register address
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
control register data bits
Figure 15 3-Wire Serial Control Interface
2-WIRE SERIAL CONTROL MODE
The WM8955L supports software control via a 2-wire serial bus. Many devices can be controlled by
the same bus, and each device has a unique 7-bit address (this is not the same as the 7-bit address
of each register in the WM8955L).
The WM8955L operates as a slave device only. The controller indicates the start of data transfer with
a high to low transition on SDIN while SCLK remains high. This indicates that a device address and
data will follow. All devices on the 2-wire bus respond to the start condition and shift in the next eight
bits on SDIN (7-bit address + Read/Write bit, MSB first). If the device address received matches the
address of the WM8955L and the R/W bit is ‘0’, indicating a write, then the WM8955L responds by
pulling SDIN low on the next clock pulse (ACK). If the address is not recognised or the R/W bit is ‘1’,
the WM8955L returns to the idle condition and wait for a new start condition and valid address.
Once the WM8955L has acknowledged a correct address, the controller sends the first byte of
control data (B15 to B8, i.e. the WM8955L register address plus the first bit of register data). The
WM8955L then acknowledges the first data byte by pulling SDIN low for one clock pulse. The
controller then sends the second byte of control data (B7 to B0, i.e. the remaining 8 bits of register
data), and the WM8955L acknowledges again by pulling SDIN low.
The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high.
After receiving a complete address and data sequence the WM8955L returns to the idle state and
waits for another start condition. If a start or stop condition is detected out of sequence at any point
during data transfer (i.e. SDIN changes while SCLK is high), the device jumps to the idle condition.
w
Product Preview Rev 0.4 May 2003
33
WM8955L
Product Preview
DEVICE ADDRESS
(7 BITS)
SDIN
RD / WR
BIT
ACK
(LOW)
CONTROL BYTE 1
(BITS 15 TO 8)
ACK
(LOW)
CONTROL BYTE 1
(BITS 15 TO 8)
ACK
(LOW)
SCLK
START
register address and
1st register data bit
remaining 8 bits of
register data
STOP
Figure 16 2-Wire Serial Control Interface
The WM8955L has two possible device addresses, which can be selected using the CSB pin.
CSB STATE
DEVICE ADDRESS
Low
0011010
High
0011011
Table 25 2-Wire MPU Interface Address Selection
w
Product Preview Rev 0.4 May 2003
34
WM8955L
Product Preview
POWER SUPPLIES
The WM8955L can use up to four separate power supplies:
•
AVDD / AGND: Analogue supply, powers all analogue functions except the headphone drivers.
AVDD can range from 1.8V to 3.6V and has the most significant impact on overall power
consumption (except for power consumed in the headphone). A large AVDD slightly improves
audio quality.
HPVDD / HPGND: Headphone supply, powers the headphone drivers. HPVDD can range from
1.8V to 3.6V. HPVDD is normally tied to AVDD, but it requires separate layout and decoupling
capacitors to curb harmonic distortion. With a larger HPVDD, louder headphone outputs can be
achieved with lower distortion. If HPVDD is lower than AVDD, the output signal may be clipped.
DCVDD: Digital core supply, powers all digital functions except the audio and control
interfaces. DCVDD can range from 1.42V to 3.6V, and has no effect on audio quality. The
return path for DCVDD is DGND, which is shared with DBVDD.
DBVDD: Digital buffer supply, powers the audio and control interface buffers. This makes it
possible to run the digital core at very low voltages, saving power, while interfacing to other
digital devices using a higher voltage. DBVDD draws much less power than DCVDD, and has
no effect on audio quality. The return path for DBVDD is DGND, which is shared with DCVDD.
•
•
•
It is possible to use the same supply voltage on all four. However, digital and analogue supplies
should be routed and decoupled separately to keep digital switching noise out of the analogue signal
paths.
POWER MANAGEMENT
The WM8955L has two control registers that allow users to select which functions are active. For
minimum power consumption, unused functions should be disabled. To avoid any pop or click noise,
it is important to enable or disable functions in the correct order (see Applications Information)
REGISTER
ADDRESS
BIT
R25 (19h)
Power
Management
(1)
8:7
R26 (1Ah)
Power
Management
(2)
LABEL
DEFAULT
DESCRIPTION
VMIDSEL
00
VMID resistor divider select
00 – VMID disabled
01 – 50kΩ divider enabled
10 – 500kΩ divider enabled
6
VREF
0
VREF (necessary for all other functions)
8
DACL
0
DAC Left
7
DACR
0
DAC Right
6
LOUT1
0
LOUT1 Output Buffer*
5
ROUT1
0
ROUT1 Output Buffer*
4
LOUT2
0
LOUT2 Output Buffer*
3
ROUT2
0
ROUT2 Output Buffer*
2
MOUT
0
MONOOUT Output Buffer and Mono Mixer
1
OUT3
0
OUT3 Output Buffer
Note: All control bits are 0=OFF, 1=ON
* The left mixer is enabled when LOUT1=1 or LOUT2=1. The right mixer is enabled when
ROUT1=1 or ROUT2=1.
Table 26 Power Management
w
Product Preview Rev 0.4 May 2003
35
WM8955L
Product Preview
STOPPING THE MASTER CLOCK
In order to minimise power consumed in the digital core of the WM8955L, the master clock should be
stopped in Standby and OFF modes. If this is cannot be done externally at the clock source, the
DIGENB bit (R25, bit 0) can be set to stop the MCLK signal from propagating into the device core.
However, since setting DIGENB has no effect on the power consumption of other system
components external to the WM8955L, it is preferable to disable the master clock at its source
wherever possible.
REGISTER
ADDRESS
BIT
R25 (19h)
Additional Control
(1)
1
LABEL
DIGENB
DEFAULT
0
DESCRIPTION
Master clock disable
0: master clock enabled
1: master clock disabled
Table 2 ADC and DAC Oversampling Rate Selection
NOTE: Before DIGENB can be set, the control bits DACL and DACR must be set to zero and a
waiting time of 1ms must be observed. Any failure to follow this procedure may prevent DACs
and ADCs from re-starting correctly.
OVERSAMPLING RATE
By default, the oversampling rate of the DAC digital filters is 128x. However, this can be changed to
64x by writing to the DACOSR bit. In the 64x oversampling mode, the digital filters consumes less
power. However, the signal-to-noise ratio is slightly reduced.
REGISTER
ADDRESS
BIT
0
LABEL
DACOSR
DEFAULT
0
DESCRIPTION
DAC oversample rate select
1 = 64x (lowest power)
0 = 128x (best SNR)
Table 27 Oversampling Rate Selection
SAVING POWER AT LOW SUPPLY VOLTAGES
The analogue supplies to the WM8955L can run from 1.8V to 3.6V. By default, all analogue circuitry
on the device is optimized to run at 3.3V. This set-up is also good for all other supply voltages down
to 1.8V. However, at lower voltages, it is possible to save power by reducing the internal bias
currents used in the analogue circuitry. This is controlled as shown below.
REGISTER
ADDRESS
BIT
R23 (17h)
Additional
Control(1)
7:6
LABEL
VSEL[1:0]
DEFAULT
DESCRIPTION
11
Analogue Bias optimization
00 : Lowest bias current, optimized for 1.8V
01 : Low bias current, optimized for 2.5V
10, 11 : Default bias current, optimized for 3.3V
Table 28 Analogue Bias Selection
w
Product Preview Rev 0.4 May 2003
36
WM8955L
Product Preview
REGISTER MAP
REGISTER ADDRESS
REMARKS
BIT8
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
(BIT 15 – 9)
R0 (00h)
0000000
Reserved
R1 (01h)
0000001
Reserved
R2 (02h)
0000010
LOUT1
LO1VU
LO1ZC
LOUT1VOL
R3 (03h)
0000011
ROUT1
RO1VU
RO1ZC
ROUT1VOL
R4 (04h)
0000100
Reserved
R5 (05h)
0000101
DAC Control
0
DAT
R6 (06h)
0000110
Reserved
R7 (07h)
0000111
Audio Interface
0
R8 (08h)
0001000
Sample Rates
CLKOUT
000000000
000000000
000000000
0
0
0
DACMU
DEEMPH
0
000000000
BCLKINV
DIV2
MS
BCLK
LRSWAP
LRP
MCLK
DIV2
WL
FORMAT
SR
USB
DIV2
R9 (09h)
0001001
Reserved
R10 (0Ah)
0001010
Left Gain
LDVU
LDACVOL (Right DAC Digital Volume)
R11 (0Bh)
0001011
Right Gain
RDVU
RDACVOL (Right DAC Digital Volume)
R12 (0Ch)
0001100
Bass
0
BB
BC
0
0
BASS (Bass Intensity)
R13 (0Dh)
0001101
Treble
0
0
TC
0
0
TRBL (Treble Intensity)
R14 (0Eh)
0001110
TBD
000000000
R15 (0Fh)
0001111
Reset
writing 000000000 to this register resets all registers to their default state
R23 (17h)
0010111
Additional (1)
R24 (18h)
0011000
Additional (2)
R25 (19h)
0011001
Pwr Mgmt (1)
R26 (1Ah)
0011010
Pwr Mgmt (2)
R16 – R22
000000000
Reserved
R27 – R33
000000
TSDEN
VSEL
OUT3SW
HPSWEN
VMIDSEL
DACL
DACR
DMONOMIX
0
0
DACINV
TOEN
HPSWPOL ROUT2INV
HPZC
0
0
DACOSR
VREF
0
0
0
0
0
DIGENB
LOUT1
ROUT1
LOUT2
ROUT2
MOUT
OUT3
0
Reserved
000000
R34 (22h)
0100010
Left Mix (1)
LD2LO
LI2LO
LI2LOVOL
0
0
0
0
R35 (23h)
0100011
Left Mix (2)
RD2LO
MI2LO
MI2LOVOL
0
0
0
0
R36 (24h)
0100101
Right Mix (2)
LD2RO
MI2RO
MI2ROVOL
0
0
0
0
R37 (25h)
0100100
Right Mix (1)
RD2RO
RI2RO
RI2ROVOL
0
0
0
0
R38 (26h)
0100110
Mono Mix (1)
LD2MO
LI2MO
LI2MOVOL
0
0
0
DMEN
R39 (27h)
0100111
Mono Mix (2)
RD2MO
RI2MO
RI2MOVOL
0
0
0
0
R40 (28h)
0101000
LOUT2
LO2VU
LO2ZC
LOUT2VOL
R41 (29h)
0101001
ROUT2
RO2VU
RO2ZC
ROUT2VOL
R42 (2Ah)
0101010
MONOOUT
0
MOZC
R43 (2Bh)
TBD
Clocking / PLL
MCLKSEL
CLKOUT
CLKOUT
PLLOUT
TBD
TBD
TBD
EN
SEL
DIV2
ROUT2VOL
PLL_RB
R44 (2Ch)
0101100
PLL Control (1)
R45 (2Dh)
0101101
PLL Control (2)
K [17:9]
R46 (2Eh)
0101110
PLL Control (3)
K [8:0]
w
N
0
PLLEN
K [21:18]
Product Preview Rev 0.4 May 2003
37
WM8955L
Product Preview
DIGITAL FILTER CHARACTERISTICS
Depending on the MCLK frequency and sample rate selected, 4 different types of digital filter can be
used in the DAC, called Type 0, 1, 2 and 3 (see “Master Clock and Audio Sample Rates”). The
performance of Types 0 and 1 is listed in the table below, the responses of all filters is shown in the
following pages.
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
DAC Filter Type 0 (USB mode, 250fs operation)
Passband
+/- 0.03dB
0
0.416fs
-6dB
0.5fs
Passband Ripple
+/-0.03
Stopband
dB
0.584fs
Stopband Attenuation
f > 0.584fs
-50
dB
DAC Filter Type 1 (USB mode, 272fs or Normal mode operation)
Passband
+/- 0.03dB
0
0.4535fs
-6dB
0.5fs
Passband Ripple
+/- 0.03
Stopband
dB
0.5465fs
Stopband Attenuation
f > 0.5465fs
-50
dB
Table 29 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
DAC 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
Figure 17 DAC Filter Frequency Response – Type 0
w
3
-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 18 DAC Filter Ripple – Type 0
Product Preview Rev 0.4 May 2003
38
WM8955L
Product Preview
0.02
0
0.01
0
Response (dB)
Response (dB)
-20
-40
-60
-0.01
-0.02
-0.03
-0.04
-80
-0.05
-0.06
-100
0
0.5
1
1.5
Frequency (Fs)
2
2.5
0
3
Figure 19 DAC Filter Frequency Response – Type 1
0.05
0.1
0.15
0.2
0.25
0.3
Frequency (Fs)
0.35
0.4
0.45
0.5
Figure 20 DAC 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
-0.06
-100
0
0.5
1
1.5
Frequency (Fs)
2
2.5
0
3
Figure 21 DAC Filter Frequency Response – Type 2
0.05
0.1
0.15
Frequency (Fs)
0.2
0.25
Figure 22 DAC Filter Ripple – Type 2
0
0
-0.05
Response (dB)
Response (dB)
-20
-40
-60
-0.1
-0.15
-0.2
-80
-0.25
-100
0
0.5
1
1.5
Frequency (Fs)
2
2.5
Figure 23 DAC Filter Frequency Response – Type 3
w
3
0
0.05
0.1
0.15
Frequency (Fs)
0.2
0.25
Figure 24 DAC Filter Ripple – Type 3
Product Preview Rev 0.4 May 2003
39
WM8955L
Product Preview
PACKAGE DIMENSIONS
FL: 32 PIN QFN PLASTIC PACKAGE 5 X 5 X 0.9 mm BODY, 0.50 mm LEAD PITCH
CORNER
TIE BAR
5
DM030.C
SEE DETAIL A
D2
D
B
D2/2
32
25
L
1
24
INDEX AREA
(D/2 X E/2)
E2/2
A
E2
17
E
SEE DETAIL B
8
aaa C
2X
16
15
9
b
2X
B
e
aaa C
TOP VIEW
ccc C
(A3)
1
0.08 C
1
A1
CORNER
TIE BAR
5
32x b
bbb M C A B
m
m
m
m
e
EXPOSED
CENTRE
PAD
R
32x K
66
0.5
DATUM
43
0.
DETAIL B
L
SEATING PLANE
1
e/2 TERMINAL TIP
C
DETAIL A
A
1
Symbols
A
A1
A3
b
D
D2
E
E2
e
L
L1
R
K
aaa
bbb
ccc
REF:
MIN
0.85
0
0.18
4.90
3.2
4.90
3.2
0.35
L1
R
L1
Dimensions (mm)
NOM
MAX
0.90
1.00
0.02
0.05
0.2 REF
0.23
0.30
5.00
5.10
3.3
3.4
5.00
5.10
3.3
3.4
0.5 BSC
0.4
0.45
0.1
NOTE
1
2
2
1
b(min)/2
0.20
Tolerances of Form and Position
0.15
0.10
0.10
JEDEC, MO-220, VARIATION VKKD-2
NOTES:
1. DIMENSION b APPLIED TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.25 mm AND 0.30 mm FROM TERMINAL TIP. DIMENSION L1 REPRESENTS TERMINAL PULL BACK FROM
PACKAGE SIDE WALL. MAXIMUM OF 0.1mm IS ACCEPTABLE. WHERE TERMINAL PULL BACK EXISTS, ONLY UPPER HALF OF LEAD IS VISIBLE ON PACKAGE SIDE WALL DUE TO HALF
ETCHING OF LEADFRAME.
2. FALLS WITHIN JEDEC, MO-220 WITH THE EXCEPTION OF D2, E2:
D2,E2: LARGER PAD SIZE CHOSEN WHICH IS JUST OUTSIDE JEDEC SPECIFICATION
3. ALL DIMENSIONS ARE IN MILLIMETRES
4. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
5. SHAPE AND SIZE OF CORNER TIE BAR MAY VARY WITH PACKAGE TERMINAL COUNT. CORNER TIE BAR IS CONNECTED TO EXPOSED PAD INTERNALLY
w
Product Preview Rev 0.4 May 2003
40
WM8955L
Product Preview
APPLICATIONS INFORMATION
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
•
•
•
•
•
•
Switch on power supplies. By default the WM8955L is in OFF Mode (i.e. only the control
interface is powered up)
Enable the reference voltage VREF by setting the WM8955L to Standby mode. DO NOT
enable any of the analogue outputs at this point.
Allow VREF to settle. The settling time depends on the value of the capacitor connected at
VMID (formula TBD).
Enable outputs, DACs, etc. (sequence TBD)
Set ACTIVE = 1 to enable the Audio Interface
Set DACMU = 0 to soft-un-mute the audio DACs.
POWER DOWN
•
•
Set DACMU = 1 to soft-mute the audio DACs.
Disable functions (sequence TBD)
•
Switch off the power supplies.
LINE OUTPUT CONFIGURATION
All the analogue outputs, LOUT1/ROUT1, LOUT2/ROUT2, and MONOOUT, can be used as line
outputs. Recommended external components are shown below.
C1
1uF
R1
100 Ohm
LINE-OUT SOCKET
(LEFT)
LOUT2
AGND
WM8955L
LINE-OUT SOCKET
(RIGHT)
ROUT2
C2
1uF
R2
100 Ohm
AGND
Figure 25 Recommended Circuit for Line Output
The DC blocking capacitors and the load resistance together determine the lower cut-off frequency,
fc. Assuming a 10 kOhm load and C1, C2 = 10µF:
fc = 1 / 2π (RL+R1) C1 = 1 / (2π x 10.1kΩ x 1µF) = 16 Hz
Increasing the capacitance lowers fc, improving the bass response. Smaller values of C1 and C2 will
diminish the bass response. The function of R1 and R2 is to protect the line outputs from damage
when used improperly.
w
Product Preview Rev 0.4 May 2003
41
WM8955L
Product Preview
HEADPHONE OUTPUT CONFIGURATION
The analogue outputs LOUT1/ROUT1, LOUT2/ROUT2, and OUT3 can drive a 16Ω or 32Ω
headphone load, either through DC blocking capacitors, or DC coupled without any capacitor.
Headphone Output using DC blocking capacitors
LOUT1
DC Coupled Headphone Output
(OUT3SW = 00)
C1 220uF
LOUT1
ROUT1
WM8955L
WM8955L
HPDCEN = 1
C2 220uF
ROUT1
HPGND = 0V
HPDC = AVDD/2
Figure 26 Recommended Headphone Output Configurations
When DC blocking capacitors are used, then their capacitance and the load resistance together
determine the lower cut-off frequency, fc. Increasing the capacitance lowers fc, improving the bass
response. Smaller capacitance values will diminish the bass response. Assuming a 16 Ohm load and
C1 = 220µF:
fc = 1 / 2π RLC1 = 1 / (2π x 16Ω x 220µF) = 45 Hz
In the DC coupled configuration, the headphone “ground” is connected to the OUT3 pin, which must
be enabled by setting O3 = 1 and OUT3SW = 00. As the OUT3 pin produces a DC voltage of
AVDD/2 (=VREF), there is no DC offset between LOUT1/ROUT1 and OUT3, and therefore no DC
blocking capacitors are required. This saves space and material cost in portable applications.
It is recommended to connect the DC coupled headphone outputs only to headphones, and not to
the line input of another device. Although the built-in short circuit protection will prevent any damage
to the headphone outputs, such a connection may be noisy, and may not function properly if the
other device is grounded.
SPEAKER OUTPUT CONFIGURATION
LOUT2 and ROUT2 can differentially drive a mono 8Ω speaker as shown below.
LEFT
MIXER
LOUT2
WM8955L
LOUT2VOL
ROUT2INV = 1
VSPKR = L-(-R) = L+R
-1
RIGHT
MIXER
ROUT2VOL
ROUT2
Figure 27 Speaker Output Connection
The right channel is inverted by setting the ROUT2INV bit, so that the signal across the loudspeaker
is the sum of left and right channels.
w
Product Preview Rev 0.4 May 2003
42
Product Preview
WM8955L
IMPORTANT NOTICE
Wolfson Microelectronics plc (WM) reserve the right to make changes to their products or to discontinue any product or
service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing
orders, that information being relied on is current. All products are sold subject to the WM terms and conditions of sale
supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of
liability.
WM warrants performance of its products to the specifications applicable at the time of sale in accordance with WM’s
standard warranty. Testing and other quality control techniques are utilised to the extent WM deems necessary to support this
warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by
government requirements.
In order to minimise risks associated with customer applications, adequate design and operating safeguards must be used by
the customer to minimise inherent or procedural hazards.
WM assumes no liability for applications assistance or customer product design. WM does not warrant or represent that any
license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property
right of WM covering or relating to any combination, machine, or process in which such products or services might be or are
used. WM’s publication of information regarding any third party’s products or services does not constitute WM’s approval,
license, warranty or endorsement thereof.
Reproduction of information from the WM web site or datasheets is permissable only if reproduction is without alteration and is
accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this
information with alteration voids all warranties provided for an associated WM product or service, is an unfair and deceptive
business practice, and WM is not responsible nor liable for any such use.
Resale of WM’s products or services with statements different from or beyond the parameters stated by WM for that product
or service voids all express and any implied warranties for the associated WM product or service, is an unfair and deceptive
business practice, and WM is not responsible nor liable for any such use.
ADDRESS:
Wolfson Microelectronics plc
20 Bernard Terrace
Edinburgh
EH8 9NX
United Kingdom
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: [email protected]
w
Product Preview Rev 0.4 May 2003
43