WM8595 Product Datasheet

WM8595
w
24-bit 192kHz 2Vrms Multi-Channel CODEC
DESCRIPTION
FEATURES
The WM8595 is a high performance multi-channel audio
CODEC with flexible input/output selection and digital and
analogue volume control. Features include a 24-bit stereo
ADC with digital gain control, two 24-bit DACs with
independent volume control and clocking, and a range of
input/output channel selection options with analogue volume
control for flexible routing within current and future audio
systems.
•
•
Multi-channel CODEC with 6 stereo input selector and 2
stereo output selector
4-channel DAC, 2-channel ADC
•
•
•
6x2Vrms stereo input selector to ADC
2x2Vrms stereo output
Audio performance
-
The WM8595 has a six stereo input selector which accepts
input levels up to 2Vrms. One stereo input can be selected
through an input mux to be routed through to the ADC.
The WM8595 outputs two stereo audio channels at line
levels up to 2Vrms, driven from independent DACs. The
DAC channels include independent digital volume control,
and both stereo output channels include analogue volume
control with soft ramp.
The WM8595 supports up to 2Vrms analogue inputs, 2Vrms
outputs, with sample rates from 32kHz to 192kHz on the
DACs, and 32kHz to 96kHz on the ADC.
The WM8595 is controlled via a serial interface with support
for 2-wire and 3-wire control with full readback. Control of
mute, emergency shutdown and reset can also be achieved
by pin selection.
The WM8595 is ideal for audio applications requiring high
performance and flexible routing options, including flat panel
digital TV and DVD recorder.
The WM8595 is available in a 48-pin QFN package.
•
•
•
•
•
•
•
•
•
DAC: 100dB SNR typical (‘A’ weighted @ 48kHz)
DAC: -87dB THD typical
ADC: 96dB SNR typical (‘A’ weighted @ 48kHz)
ADC: -80dB THD typical
Independent sampling rate for ADC and DACs possible
DACs sampling frequency 32kHz – 192kHz
ADC sampling frequency 32kHz – 96kHz
DAC digital volume control +12dB to -100dB in 0.5dB
steps
ADC digital volume control from +30dB to -97dB in 0.5dB
steps
ADC input analogue boost control, selectable from 0dB,
+3dB, +6dB and +12dB
Output analogue volume control +6dB to -73.5dB in 0.5dB
steps with zero cross or soft ramp to prevent pops and
clicks
Digital multiplexer to interface to multiple digital sources –
DSP, HDMI, memory card
2-wire and 3-wire serial control interface with readback and
hardware reset, mute and emergency shutdown pins
•
•
ADC features master or slave clocking modes
Programmable format audio data interface modes
I2S, LJ, RJ, DSP
•
•
3.3V / 9V analogue, 3.3V digital supply operation
48-pin QFN package
APPLICATIONS
•
•
•
Digital Flat Panel TV
DVD-RW
Set Top Boxes
WOLFSON MICROELECTRONICS plc
Production Data, January 2011, Rev 4.2
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews
Copyright ©2011 Wolfson Microelectronics plc
ADC Input Mux
w
AVDD2
AGND2
VREF2GND
VMID2C
VREF2VDD
DACDAT1
MCLK1
BCLK1
LRCLK1
DACDAT2
MCLK2
BCLK2
LRCLK2
ADCDAT
RESET
SHUTDOWN
MUTE
CIFMODE
CS
SDA
SCLK
VREF1GND
VREF1C
AGND1
ADCVMID
AVDD1
DVDD
DGND
WM8595
Production Data
BLOCK DIAGRAM
PD, Rev 4.2, January 2011
2
WM8595
Production Data
TABLE OF CONTENTS
DESCRIPTION ....................................................................................................... 1
FEATURES............................................................................................................. 1
APPLICATIONS ..................................................................................................... 1
BLOCK DIAGRAM ................................................................................................. 2
PIN CONFIGURATION ........................................................................................... 4
PIN DESCRIPTION ................................................................................................ 5
ABSOLUTE MAXIMUM RATINGS ......................................................................... 6
RECOMMENDED OPERATING CONDITIONS ..................................................... 7
SUPPLY CURRENT CONSUMPTION ................................................................... 7
ELECTRICAL CHARACTERISTICS ...................................................................... 8
TERMINOLOGY .......................................................................................................... 10
MASTER CLOCK TIMING ........................................................................................... 11
RESET
¯ ¯ ¯ ¯ ¯ ¯ TIMING ........................................................................................................... 11
DIGITAL AUDIO INTERFACE TIMING – SLAVE MODE ............................................. 12
DIGITAL AUDIO INTERFACE TIMING – MASTER MODE.......................................... 13
CONTROL INTERFACE TIMING – 2-WIRE MODE .................................................... 14
CONTROL INTERFACE TIMING – 3-WIRE MODE .................................................... 15
POWER ON RESET (POR) ........................................................................................ 16
DEVICE DESCRIPTION ....................................................................................... 17
INTRODUCTION ......................................................................................................... 17
CONTROL INTERFACE .............................................................................................. 18
2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE .............. 18
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL INTERFACE MODE ...................... 20
DIGITAL AUDIO DATA FORMATS ............................................................................. 21
DIGITAL AUDIO INTERFACE ..................................................................................... 26
DIGITAL AUDIO DATA SAMPLING RATES ................................................................ 28
DAC FEATURES ......................................................................................................... 29
ANALOGUE OUTPUT VOLUME CONTROL ............................................................... 32
ADC FEATURES ......................................................................................................... 36
DIGITAL ROUTING CONTROL................................................................................... 40
POP AND CLICK PERFORMANCE ............................................................................ 46
GLOBAL ENABLE CONTROL ..................................................................................... 48
EMERGENCY POWER DOWN................................................................................... 49
REGISTER MAP................................................................................................... 50
DIGITAL FILTER CHARACTERISTICS ............................................................... 74
APPLICATIONS INFORMATION ......................................................................... 78
RECOMMENDED EXTERNAL COMPONENTS .......................................................... 78
RECOMMENDED ANALOGUE LOW PASS FILTER .................................................. 79
RELEVANT APPLICATION NOTES ............................................................................ 79
PACKAGE DIMENSIONS .................................................................................... 80
IMPORTANT NOTICE .......................................................................................... 81
ADDRESS ................................................................................................................... 81
REVISION HISTORY ............................................................................................ 82
w
PD, Rev 4.2, January 2011
3
WM8595
Production Data
VREF1GND
LINEOUT1L
VMID1C
VREF2VDD
LINEOUT1R
IN1L
VMID2C
AVDD1
AGND2
LINEOUT2L
AGND1
AVDD2
VREF2GND
CIFMODE
RESET
LINEOUT2R
SDOUT
MUTE
CS
SCLK
GPIO2
SHUTDOWN
SDA
GPIO1
PIN CONFIGURATION
ORDERING INFORMATION
ORDER CODE
TEMPERATURE
RANGE
PACKAGE
MOISTURE SENSITIVITY
LEVEL
PACKAGE BODY
TEMPERATURE
WM8595GEFL/V
-40°C to +85°C
48-lead QFN
(Pb-free)
MSL3
260oC
WM8595GEFL/RV
-40°C to +85°C
48-lead QFN
(Pb-free, tape and reel)
MSL3
260oC
Note:
Reel quantity = 2200
w
PD, Rev 4.2, January 2011
4
WM8595
Production Data
PIN DESCRIPTION
PIN
NAME
TYPE
1
MCLK1
Digital Input/Output
Audio interface port 1 master clock input/output
2
LRCLK1
Digital Input/Output
Audio interface port 1 left/right clock input/output
3
N/C
4
BCLK1
Digital Input/Output
Audio interface port 1 bit clock input/output
5
DACDAT1
Digital Input
Audio interface port 1 data input for DAC1
6
MCLK2
Digital Input/Output
Audio interface port 2 master clock input/output
7
LRCLK2
Digital Input/Output
Audio interface port 2 left/right clock input/output
8
BCLK2
Digital Input/Output
Audio interface port 2 bit clock input/output
9
DACDAT2
Digital Input
Audio interface port 2 data input for DAC2
10
ADCDAT
Digital Output
Audio interface port 3 data output for ADC
11
DVDD
Supply
Digital supply
12
DGND
Supply
Digital ground
13
GPIO1
Digital Input/Output
General purpose input/output 1
14
GPIO2
Digital Input/Output
General purpose input/output 2
15
¯SHUTDOWN
¯¯¯¯¯¯¯¯¯¯
Digital Input
Emergency shutdown
16
MUTE
Digital Input
Hardware DAC mute
17
RESET
¯¯¯¯¯¯
Digital Input
Hardware reset
18
AVDD2
Supply
Analogue 9V supply
19
AGND2
Supply
Analogue 9V ground
20
LINEOUT2R
Analogue Output
Output channel 2 right
21
LINEOUT2L
Analogue Output
Output channel 2 left
22
LINEOUT1R
Analogue Output
Output channel 1 right
23
LINEOUT1L
Analogue Output
Output channel 1 left
24
IN1L
Analogue Input
Input channel 1 left
25
IN1R
Analogue Input
Input channel 1 right
26
IN2L
Analogue Input
Input channel 2 left
27
IN2R
Analogue Input
Input channel 2 right
28
IN3L
Analogue Input
Input channel 3 left
29
IN3R
Analogue Input
Input channel 3 right
30
IN4L
Analogue Input
Input channel 4 left
31
IN4R
Analogue Input
Input channel 4 right
32
IN5L
Analogue Input
Input channel 5 left
33
IN5R
Analogue Input
Input channel 5 right
34
IN6L
Analogue Input
Input channel 6 left
35
IN6R
Analogue Input
Input channel 6 right
36
VREF1C
Analogue Output
Positive reference for ADC
37
VMID1C
Analogue Output
Midrail divider decoupling pin for ADC
38
VREF1GND
Analogue Input
Ground reference for ADC
39
VREF2VDD
Analogue Input
Positive reference for DACs
40
VMID2C
Analogue Output
41
VREF2GND
Analogue Input
42
AVDD1
Supply
Analogue 3.3V supply
43
AGND1
Supply
Analogue 3.3V ground
44
CIFMODE
Digital Input
45
SDOUT
Digital Output
46
CS
¯¯
Digital Input
3-wire serial control interface latch
47
SCLK
Digital Input
Software mode: serial control interface clock signal
48
SDA
Digital Input
Software mode: bi-directional serial control interface data signal
w
DESCRIPTION
No internal connection
Midrail divider decoupling pin for DACs
Ground reference for DACs
2-wire/3-wire mode select
Serial Data output for 3-wire readback
PD, Rev 4.2, January 2011
5
WM8595
Production Data
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at
or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical
Characteristics at the test conditions specified.
ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible
to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage
of this device.
Wolfson tests its package types according to IPC/JEDEC J-STD-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.
The Moisture Sensitivity Level for each package type is specified in Ordering Information.
MIN
MAX
Digital supply voltage, DVDD
CONDITION
-0.3V
+4.5V
Analogue supply voltage, AVDD1
-0.3V
+7V
Analogue supply voltage, AVDD2
-0.3V
+15V
Voltage range digital inputs
DGND -0.3V
DVDD + 0.3V
Voltage range analogue inputs
AGND – 2.4V
AVDD1 + 2.4V
Master Clock Frequency
38.462MHz
Ambient temperature (supplies applied)
-55°C
+125°C
Storage temperature
-65°C
+150°C
Pb free package body temperature (reflow 10 seconds)
+260°C
Package body temperature (soldering 2 minutes)
+183°C
Note:
1.
Analogue and digital grounds must always be within 0.3V of each other.
THERMAL PERFORMANCE
PARAMETER
SYMBOL
TEST
CONDITIONS
MIN
TYP
MAX
UNIT
Thermal resistance – junction to
ambient
RθJA
TBD
°C/W
Thermal resistance – junction to
case
RθJC
TBD
°C/W
Notes:
1.
Figures given for package mounted on 4-layer FR4 according to JESD51-7. (No forced air flow is assumed).
2.
Thermal performance figures are estimated.
w
PD, Rev 4.2, January 2011
6
WM8595
Production Data
RECOMMENDED OPERATING CONDITIONS
MIN
TYP
MAX
Digital power supply
PARAMETER
DVDD
2.97
3.3
3.6
V
Analogue power supply
AVDD1
2.97
3.3
3.6
V
AVDD2
8.1
9
9.9
V
Analogue power supply
Ground
Operating temperature
range
SYMBOL
TEST CONDITIONS
DGND/AGND1/
AGND2
0
TA
UNIT
V
-40
+85
°C
Notes:
1.
Digital supply (DVDD) must never be more than 0.3V greater than AVDD1 in normal operation.
2.
Digital ground (DGND) and analogue grounds (AGND1, AGND2) must never be more than 0.3V apart.
SUPPLY CURRENT CONSUMPTION
Test Conditions
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
ADC Record (DACs disabled)
Digital supply current
IDVDD
Analogue supply 1 current
IAVDD1
Analogue supply 2 current
IAVDD2
fs=48kHz, 256fs
Quiescent
8.6
mA
9.2
mA
0.01
mA
5.5
mA
6.5
mA
DAC Playback (ADC disabled, one DAC disabled)
Digital supply current
IDVDD
Analogue supply 1 current
IAVDD1
Analogue supply 2 current
IAVDD2
Digital supply current
IDVDD
Analogue supply 1 current
IAVDD1
Analogue supply 2 current
IAVDD2
Digital supply current
IDVDD
Analogue supply 1 current
IAVDD1
Analogue supply 2 current
IAVDD2
fs=48kHz, 256fs
Quiescent
fs=96kHz, 256fs
Quiescent
fs=192kHz, 256fs
Quiescent
2.0
mA
9.5
mA
7.0
mA
2.0
mA
10.0
mA
7.0
mA
2.0
mA
17.0
mA
20.0
mA
11.0
mA
ADC Record, DAC Playback (all circuit blocks enabled)
Digital supply current
IDVDD
Analogue supply 1 current
IAVDD1
Analogue supply 2 current
IAVDD2
w
fs=48kHz, 256fs
Quiescent
PD, Rev 4.2, January 2011
7
WM8595
Production Data
ELECTRICAL CHARACTERISTICS
Test Conditions
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
0.3xDVDD
V
Digital logic levels
Input low level
VIL
Input high level
VIH
Output low level
VOL
Output high level
VOH
0.7xDVDD
V
0.1 x DVDD
0.9 x DVDD
Digital input leakage current
Digital input capacitance
V
V
±0.2
μA
5
pF
Analogue Reference Levels
ADC Midrail Voltage
VMID1C
AVDD1/2
V
ADC Buffered Positive
Reference Voltage
VREF1C
VMID1C
V
DAC Midrail Voltage
VMID2C
Potential divider resistance
AVDD1 to VMID1C
VREF2VDD/2
V
100
kΩ
19
(Note 2)
kΩ
VMID1C to AGND1
VREF2VDD to VMID2C
VMID2C to VREF2GND
VMID_SEL[1:0] = 01
Analogue Line Outputs
Output signal level (0dB)
-10%
2.0x
AVDD1/3.3
Maximum capacitance load
+10%
11
Minimum resistance load
1
Vrms
nF
kΩ
Analogue Inputs
Input signal level (0dB)
2.0 x
AVDD1/3.3
Vrms
Input impedance
48
kΩ
Input capacitance
5
pF
100
dB
A-weighted
@ fs = 96kHz
100
dB
A-weighted
@ fs = 192kHz
100
dB
100
dB
DAC Performance (DAC1 to LINEOUT1L/R, DAC2 to LINEOUT2L/R)
Signal to Noise Ratio1,5
SNR
A-weighted
@ fs = 48kHz
90
Dynamic Range2,5
DNR
A-weighted, -60dB full
scale input
Total Harmonic Distortion3,5
THD
1kHz, 0dBFS
@ fs = 48kHz
-87
1kHz, 0dBFS
@ fs = 96kHz
-86
dB
1kHz, 0dBFS
@ fs = 192kHz
-85
dB
1kHz
110
dB
Channel Separation4,5
Channel Level Matching
Channel Phase Deviation
Power supply rejection ratio
w
PSRR
90
-80
dB
0.1
dB
1kHz
0.01
Degree
1kHz, 100mVpp
50
dB
20Hz to 20kHz,
100mVpp
45
dB
PD, Rev 4.2, January 2011
8
WM8595
Production Data
Test Conditions
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
SNR
A-weighted, 0dB gain
@ fs = 48kHz
85
96
dB
98
dB
96
dB
ADC Performance
Signal to Noise Ratio1,5
A-weighted, 0dB gain
@ fs = 96kHz
Dynamic Range2,5
DNR
A-weighted, -60dB full
scale input
Total Harmonic Distortion3,5
THD
1kHz, -1dBFS
@ fs = 48kHz
-80
1kHz, -1dBFS
@ fs = 96kHz
-78
dB
1kHz
110
dB
Channel Separation4,5
Channel Level Matching
Channel Phase Deviation
Power Supply Rejection Ratio
PSRR
85
-70
dB
0.1
dB
1kHz
0.01
Degree
1kHz, 100mVpp
70
dB
20Hz to 20kHz,
100mVpp
52
dB
Digital Volume Control
ADC minimum digital volume
-97
dB
ADC maximum digital volume
+30
dB
ADC volume step size
0.5
dB
DAC minimum digital volume
-100
dB
DAC maximum digital volume
+12
dB
DAC volume step size
0.5
dB
Analogue Volume Control
Minimum gain
-73.5
dB
Maximum gain
+6
dB
Step size
0.5
dB
Mute attenuation
120
dB
1kHz signal,
ADC fs=48kHz,
DAC fs=44.1kHz
100
dB
20kHz signal,
ADC fs=48kHz,
DAC fs=44.1kHz
100
dB
1kHz signal,
ADC fs=48kHz,
DAC fs=44.1kHz
100
dB
20kHz signal,
ADC fs=48kHz,
DAC fs=44.1kHz
100
dB
Crosstalk
DAC to ADC
ADC to DAC
w
PD, Rev 4.2, January 2011
9
WM8595
Production Data
TERMINOLOGY
1.
Signal-to-noise ratio (dBFS) – SNR is the difference in level between a reference full scale output signal and the
device output with no signal applied. This ratio is also called idle channel noise. (No Auto-zero or Automute function is
employed in achieving these results).
2.
Dynamic range (dBFS) – DNR is a measure of the difference in level between the highest and lowest components of a
signal. Normally a THD measurement at -60dBFS. The measured signal is then corrected by adding 60dB to the
result, e.g. THD @ -60dBFS = -30dB, DNR = 90dB.
3.
Total Harmonic Distortion (dBFS) – THD is the difference in level between a reference full scale output signal and the
first seven odd harmonics of the output signal. To calculate the ratio, the fundamental frequency of the output signal is
notched out and an RMS value of the next seven odd harmonics is calculated.
4.
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.
5.
All performance measurements carried out with 20kHz low pass filter, and where noted an A-weighted filter. Failure to
use such a filter will result in higher THD 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.
Notes:
1.
All minimum and maximum values are subject to change.
2.
This resistance is selectable using VMID_SEL[1:0] – see Figure 47 for full details.
3.
See p81 for details of extended input impedance configuration.
w
PD, Rev 4.2, January 2011
10
WM8595
Production Data
MASTER CLOCK TIMING
Figure 1 MCLK Timing
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25OC
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
27
120
ns
40:60
60:40
%
MCLK Period Jitter
200
ps
MCLK Rise/Fall times
10
ns
MAX
UNIT
Master Clock Timing Information
MCLK System clock cycle time
tMCLKY
MCLK Duty cycle
Table 1 Master Clock Timing Requirements
RESET
¯ ¯ ¯ ¯ ¯ ¯ TIMING
Figure 2 ¯RESET
¯ ¯ ¯ ¯ ¯ Timing
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25OC
PARAMETER
SYMBOL
MIN
TRESET
10
TYP
¯ ¯ ¯ ¯ ¯ ¯ Timing Information
RESET
RESET
¯ ¯ ¯ ¯ ¯ ¯ pulsewidth low
ns
Table 2 ¯RESET
¯ ¯ ¯ ¯ ¯ Timing Requirements
w
PD, Rev 4.2, January 2011
11
WM8595
Production Data
DIGITAL AUDIO INTERFACE TIMING – SLAVE MODE
Figure 3 Slave Mode Digital Audio Data Timing
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, MCLK = 256fs,
24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Audio Data Input Timing Information
BCLK cycle time
tBCY
80
ns
BCLK pulse width high
tBCH
30
ns
BCLK pulse width low
tBCL
30
ns
LRCLK set-up time to BCLK rising edge
tLRSU
22
ns
LRCLK hold time from BCLK rising edge
tLRH
25
ns
DACDAT (input) hold time from LRCLK rising edge
tDH
25
ns
DACDAT (input) set-up time to BCLK rising edge
tDS
25
ns
ADCDAT (output) propagation delay from BCLK falling
edge
tDD
4
16
ns
Table 3 Slave Mode Audio Interface Timing
w
PD, Rev 4.2, January 2011
12
WM8595
Production Data
DIGITAL AUDIO INTERFACE TIMING – MASTER MODE
Figure 4 Master Mode Digital Audio Data Timing
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, MCLK = 256fs,
24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
LRCLK propagation delay from BCLK falling edge
tDL
ADCDAT (output) propagation delay from BCLK falling
edge
tDDA
4
16
ns
4
16
ns
DACDAT (input) setup time to BCLK rising edge
tDST
22
ns
DACDAT (input) hold time to BCLK rising edge
tDHT
25
ns
Audio Data Input Timing Information
Table 4 Master Mode Audio Interface Timing
w
PD, Rev 4.2, January 2011
13
WM8595
Production Data
CONTROL INTERFACE TIMING – 2-WIRE MODE
Figure 5 Control Interface Timing – 2-Wire Serial Control Mode
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, MCLK = 256fs,
24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Program Register Input Information
SCLK pulse cycle time
tSCY
SCLK duty cycle
2500
40/60
SCLK frequency
ns
60/40
%
400
kHz
Hold Time (Start Condition)
tSTHO
600
Setup Time (Start Condition)
tSTSU
600
ns
Data Setup Time
tDSU
100
ns
ns
SDA, SCLK Rise Time
300
ns
SDA, SCLK Fall Time
300
ns
Setup Time (Stop Condition)
tSTOP
Data Hold Time
tDHO
Pulse width of spikes that will be suppressed
tps
600
2
ns
900
ns
8
ns
Table 5 Control Interface Timing – 2-Wire Serial Control Mode
w
PD, Rev 4.2, January 2011
14
WM8595
Production Data
CONTROL INTERFACE TIMING – 3-WIRE MODE
Figure 6 Control Interface Timing – 3-Wire Serial Control Mode
Test Conditions
AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, MCLK = 256fs,
24-bit data, unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Program Register Input Information
SCLK rising edge to CS
¯ ¯ rising edge
tSCS
80
ns
SCLK pulse cycle time
tSCY
160
ns
SCLK duty cycle
40/60
SDA to SCLK set-up time
tDSU
20
SDA hold time from SCLK rising edge
tDHO
40
60/40
%
ns
ns
SDOUT propagation delay from SCLK falling edge
tDL
CS
¯ ¯ pulse width high
tCSH
40
ns
CS
¯ ¯ falling to SCLK rising
tCSS1
40
ns
SCLK failing to CS
¯ ¯ rising
tCSS2
40
tps
2
Pulse width of spikes that will be suppressed
5
ns
ns
8
ns
Table 6 Control Interface Timing – 3-Wire Serial Control Mode
w
PD, Rev 4.2, January 2011
15
WM8595
Production Data
POWER ON RESET (POR)
Figure 1 Power Supply Timing Requirements
Test Conditions
DVDD = 3.3V, AVDD1 = 3.3V, AVDD2 = 9V DGND = AGND1 = AGND2 = 0V, TA = +25oC, TA_max = +125oC, TA_min = -25oC
AVDD1max = DVDDmax = 3.63V, AVDD1min = DVDDmim= 2.97V
AVDD2max = 9.9V, AVDD2min = 8.1V
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Vpord
Measured from DGND
0.27
0.36
0.60
V
VDD level to POR rising
edge (DVDD rising)
Vpord_hi
Measured from DGND
1.34
1.88
2.32
V
VDD level to POR falling
edge (DVDD falling)
Vpord_lo
Measured from DGND
1.32
1.86
2.30
V
VDD level to POR rising
edge (AVDD1 rising)
Vpor1_hi
Measured from DGND
1.65
1.68
1.85
V
VDD level to POR falling
edge (AVDD1 falling)
Vpor1_lo
Measured from DGND
1.63
1.65
1.83
V
VDD level to POR rising
edge (AVDD2 rising)
Vpor2_hi
Measured from DGND
1.80
1.86
2.04
V
VDD level to POR falling
edge (AVDD2 falling)
Vpor2_lo
Measured from DGND
1.76
1.8
2.02
V
Power Supply Input Timing Information
VDD level to POR defined
(DVDD rising)
Table 7 Power on Reset
w
PD, Rev 4.2, January 2011
16
WM8595
Production Data
DEVICE DESCRIPTION
INTRODUCTION
The WM8595 is a high performance multi-channel audio CODEC with 2Vrms line level inputs and
outputs and flexible digital input / output switching. The device comprises a 24-bit stereo ADC, two
24-bit stereo DACs with independent sampling rates and digital volume control, two stereo PGAs in
the output path, a flexible digital audio interface multiplexer, a flexible analogue input multiplexer.
Analogue inputs and outputs are all at 2Vrms line level, minimising external component count.
The DACs can operate from independent left/right clocks, bit clocks and master clocks with
independent data inputs. Alternatively, the DACs can be synchronised to use the same clocks with
independent data inputs.
The ADC uses a separate left/right clock, bit clock and master clock, allowing independent recording
and playback in audio applications. The ADC audio interface can be configured to operate in either
master or slave clocking mode. In master mode, left/right clocks and bit clocks are all outputs. In
slave mode, left/right clocks and bit clocks are all inputs.
The ADC includes digital gain control, allowing signals to be gained and attenuated between +30dB
and -97dB in 0.5dB steps.
The DACs include independent digital volume control, which is adjustable between +12dB and -100
dB in 0.5dB steps. The DACs can be configured to output stereo audio data and a range of mono
audio options.
The input analogue multiplexer accepts six stereo line level inputs at up to 2Vrms, and allows any
stereo input to be routed to the input of the ADC.
The output PGAs have optional zero cross functionality, with gain adjustable between +6dB and 73.5dB in 0.5dB steps, and configurable soft ramp rate. Analogue audio is output at 2Vrms line level.
The digital audio interface multiplexer allows flexible routing of the digital signals internal to the
device between the independent ADC, DAC1 and DAC2 audio interfaces from the digital audio ports.
By integrating this functionality into the WM8595, the external component count and board space
normally required to switch between various digital audio sources can be significantly reduced.
Control of the internal functionality of the device is by 2-wire or 3-wire serial control interface with
readback. The interface may be asynchronous to the audio data interface as control data will be resynchronised to the audio processing internally. In addition, control of mute, emergency shutdown
and reset may also be achieved by pin control.
Operation using system clocks of 128fs, 192fs, 256fs, 384fs, 512fs, 768fs or 1152fs is provided. ADC
and DACs may be clocked independently. Sampling rates from 32kHz to 192kHz are supported for
both DACs provided the appropriate master clocks are input. Sampling rates from 32kHz to 96kHz
are supported for the ADC provided the appropriate master clock is input.
The audio data interface supports right justified, left justified, and I2S interface formats along with a
highly flexible DSP serial port interface format.
w
PD, Rev 4.2, January 2011
17
WM8595
Production Data
CONTROL INTERFACE
Control of the WM8595 is achieved by a 2-wire SM-bus-compliant or 3-wire SPI compliant serial
interface with readback. Software interface mode is selected using the CIFMODE pin as shown in
Table 8 below:
CIFMODE (PIN 44)
INTERFACE FORMAT
Low
2 wire
High
3 wire
Table 8 Control Interface Mode Selection
2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE
Many devices can be controlled by the same bus, and each device has a unique 7-bit address.
REGISTER WRITE
The controller indicates the start of data transfer with a high to low transition on SDA 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 SDA (7-bit address and read/write bit,
MSB first). If the device address received matches the address of the WM8595, the WM8595
responds by pulling SDA low on the next clock pulse (ACK). If the address is not recognised, the
WM8595 returns to the idle condition and waits for a new start condition with valid address.
When the WM8595 has acknowledged a correct address, the controller sends the first byte of control
data (B23 to B16, i.e. the WM8595 register address). The WM8595 then acknowledges the first data
byte by pulling SDA low for one SCLK pulse. The controller then sends a second byte of control data
(B15 to B8, i.e. the first 8 bits of register data), and the WM8595 acknowledges again by pulling SDA
low for one SCLK pulse. Finally, the controller sends a third byte of control data (B7 to B0, i.e. the
final 8 bits of register data), and the WM8595 acknowledges again by pulling SDA low for one SCLK
pulse.
The transfer of data is complete when there is a low to high transition on SDA while SCLK is high.
After receiving a complete address and data sequence the WM8595 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. SDA changes while SCLK is high), the WM8595 reverts to the idle condition.
The WM8595 device 2-wire write address is 34h (0110100) or 36h (0110110), selectable by control
of CS
¯¯.
CS
¯ ¯ (PIN 46)
2-WIRE BUS ADDRESS (B[7:1])
0
34h (011010)
1
36h (011011)
Table 9 2-Wire Control Interface Bus Address Selection
Figure 7 2-Wire Write Protocol
w
PD, Rev 4.2, January 2011
18
WM8595
Production Data
AUTO-INCREMENT REGISTER WRITE
It is possible to write to multiple consecutive registers using the auto-increment feature. When
AUTO_INC is set, the register write protocol follows the method shown in Figure 8
. As with normal register writes, the controller indicates the start of data transfer with a high to low
transition on SDA while SCLK remains high, and all devices on the bus receive the device address.
When the WM8595 has acknowledged a correct address, the controller sends the first byte of control
data (A6 to A0, i.e. the WM8595 initial register address). The WM8595 then acknowledges the first
control data byte by pulling SDA low for one SCLK pulse. The controller then sends a byte of register
data. The WM8595 acknowledges the first byte of register data, auto-increments the register address
to be written to, and waits for the next byte of register data. Subsequent bytes of register data can be
written to consecutive registers of the WM8595 without setting up the device and register address.
The transfer of data is complete when there is a low to high transition on SDA while SCLK is high.
Figure 8 2-Wire Auto-Increment Register Write
REGISTER READBACK
The WM8595 allows readback of all registers with data output on the bidirectional SDA pin. The
protocol is similar to that used to write to the device. The controller will issue the device address
followed by a write bit, and the register index will then be passed to the WM8595.
At this point the controller will issue a repeated start condition and resend the device address along
with a read bit. The WM8595 will acknowledge this and the WM8595 will become a slave transmitter.
The WM8595 will place the data from the indexed register onto SDA MSB first. When the controller
receives the first byte of data, it acknowledges it. When the controller receives the second and final
byte of data it will not acknowledge receipt of the data indicating that it will resume master transmitter
control of SDA. The controller will then issue a stop command completing the read cycle.
Figure 9 2-wire Read Protocol
AUTO-INCREMENT REGISTER READBACK
It is possible to read from multiple consecutive registers in continuous readback mode. Continuous
readback mode is selected by setting AUTO_INC. In continuous readback mode, the WM8595 will
return the indexed register first, followed by consecutive registers in increasing index order until the
controller issues a stop sequence.
Figure 10 2-Wire Auto-Increment Register Readback
w
PD, Rev 4.2, January 2011
19
WM8595
Production Data
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL INTERFACE MODE
REGISTER WRITE
SDA is used for the program data, SCLK is used to clock in the program data and CS
¯ ¯ is use to latch
in the program data. SDA is sampled on the rising edge of SCLK. The 3-wire interface write protocol
is shown in Figure 11.
Figure 11 3-Wire Serial Interface Write Protocol
•
W indicates write operation.
•
A[6:0] is the register index.
•
B[15:0] is the data to be written to the register indexed.
•
CS
¯ ¯ is edge sensitive – the data is latched on the rising edge of /CS.
REGISTER READ-BACK
The read-only status registers can be read back via the SDOUT pin. Read Back is enabled when the
R/W bit is high. The data can then be read by writing to the appropriate register address, to which the
device will respond with data.
Figure 12 3-Wire Serial Interface Readback Protocol
REGISTER RESET
Any write to register R0 (00h) will reset the WM8595. All register bits are reset to their default values.
w
PD, Rev 4.2, January 2011
20
WM8595
Production Data
DEVICE ID AND REVISION
Reading from register R0 returns the device ID. Reading from register R1 returns the device revision
number.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R0
DEVICE_ID
00h
15:0
DEVICE_ID
[15:0]
10000101
10010101
R1
REVISION
01h
7:0
REVNUM
[7:0]
N/A
DESCRIPTION
Device ID
A read of this register will return the device
ID, 0x8595.
Device Revision
A read of this register will return the device
revision number. This number is sequentially
incremented if the device design is updated.
Table 10 Device ID and Revision Number
DIGITAL AUDIO DATA FORMATS
The WM8595 supports a range of common audio interface formats:
2
•
IS
•
Left Justified (LJ)
•
Right Justified (RJ)
•
DSP Mode A
•
DSP Mode B
All formats send the MSB first and support word lengths of 16, 20, 24 and 32 bits, with the exception
of 32 bit RJ mode, which is not supported.
Audio data for each stereo channel is time multiplexed with the interface’s left/right clock indicating
whether the left or right channel is present. The left/right clock is also used as a timing reference to
indicate the beginning or end of the data words.
In LJ, RJ and I2S modes, the minimum number of bit clock periods per left/right clock period is two
times the selected word length. The left/right clock must be high for a minimum of bit clock periods
equivalent to the word length, and low for the same period. For example, for a word length of 24 bits,
the left/right clock must be high for a minimum of 24 bit clock periods and low for a minimum of 24
bit clock periods. Any mark to space ratio is acceptable for the left/right clock provided these
requirements are met.
In DSP modes A and B, left and right channels must be time multiplexed and input on DACDAT.
LRCLK is used as a frame synchronisation signal to identify the MSB of the first input word. The
minimum number of bit clock periods per left/right clock period is two times the selected word length.
Any mark to space ratio is acceptable for the left/right clock provided the rising edge is correctly
positioned.
w
PD, Rev 4.2, January 2011
21
WM8595
Production Data
I2S MODE
In I2S mode, the MSB of input data is sampled on the second rising edge of bit clock following a
left/right clock transition. The MSB of output data changes on the first falling edge of bit clock
following a left/right clock transition, and may be sampled on the next rising edge of bit clock.
Left/right clocks are low during the left channel audio data samples and high during the right channel
audio data samples.
Figure 13 I2S Mode Timing
LEFT JUSTIFIED (LJ) MODE
In LJ mode, the MSB of the input data is sampled by the WM8595 on the first rising edge of bit clock
following a left/right clock transition. The MSB of output data changes on the same falling edge of bit
clock as left/right clock and may be sampled on the next rising edge of bit clock. Left/right clock is
high during the left channel audio data samples and low during the right channel audio data
samples.
Figure 14 LJ Mode Timing
w
PD, Rev 4.2, January 2011
22
WM8595
Production Data
RIGHT JUSTIFIED (RJ) MODE
In RJ mode the LSB of input data is sampled on the rising edge of bit clock preceding a left/right
clock transition. The LSB of output data changes on the falling edge of bit clock preceding a left/right
clock transition, and may be sampled on the next rising edge of bit clock. Left/right clock is high
during the left channel audio data samples and low during the right channel audio data samples.
Figure 15 RJ Mode Timing
DSP MODE A
In DSP Mode A, the MSB of channel 1 left data input is sampled on the second rising edge of bit
clock following a left/right clock rising edge. Channel 1 right data then follows. The MSB of output
data changes on the first falling edge of bit clock following a left/right clock transition and may be
sampled on the rising edge of bit clock. The right channel data is contiguous with the left channel
data.
Figure 16 DSP Mode A Timing
w
PD, Rev 4.2, January 2011
23
WM8595
Production Data
DSP MODE B
In DSP Mode B, the MSB of channel 1 left data input is sampled on the first bit clock rising edge
following a left/right clock rising edge. Channel 1 right data then follows. The MSB of output data
changes on the same falling edge of BCLK as the low to high left/right clock transition and may be
sampled on the rising edge of bit clock. The right channel data is contiguous with the left channel
data.
Figure 17 DSP Mode B Timing
DIGITAL AUDIO INTERFACE CONTROL
The control of the audio interface formats is achieved by register write. Dynamically changing the
audio data format may cause erroneous operation and is not recommended.
Interface timing is such that the input data and left/right clock are sampled on the rising edge of the
interface bit clock. Output data changes on the falling edge of the interface bit clock. By setting the
appropriate bit clock and left/right clock polarity bits, the WM8595 ADC and DACs can sample data
on the opposite clock edges.
The control of audio interface formats and clock polarities is summarised in Table 11.
w
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R2
DAC1_CTRL1
02h
1:0
DAC1_
FMT[1:0]
10
DAC1 Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
3:2
DAC1_
WL[1:0]
10
DAC1 Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified
mode)
4
DAC1_BCP
0
DAC1 BCLK Polarity
0 = DACBCLK not inverted - data latched on
rising edge of BCLK
1 = DACBCLK inverted - data latched on
falling edge of BCLK
PD, Rev 4.2, January 2011
24
WM8595
Production Data
REGISTER
ADDRESS
R7
DAC2_CTRL1
07h
R13
ADC_CTRL1
0Dh
BIT
LABEL
DEFAULT
DESCRIPTION
5
DAC1_LRP
0
DAC1 LRCLK Polarity
0 = DACLRCLK not inverted
1 = DACLRCLK inverted
1:0
DAC2_
FMT[1:0]
10
DAC2 Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
3:2
DAC2_
WL[1:0]
10
DAC2 Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified
mode)
4
DAC2_BCP
0
DAC2 BCLK Polarity
0 = DACBCLK not inverted - data latched on
rising edge of BCLK
1 = DACBCLK inverted - data latched on
falling edge of BCLK
5
DAC2_LRP
0
DAC2 LRCLK Polarity
0 = DACLRCLK not inverted
1 = DACLRCLK inverted
1:0
ADC_
FMT[1:0]
10
ADC Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
3:2
ADC_
WL[1:0]
10
ADC Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified
mode)
4
ADC_BCP
0
ADC BCLK Polarity
0 = ADCBCLK not inverted - data latched on
rising edge of BCLK
1 = ADCBCLK inverted - data latched on
falling edge of BCLK
5
ADC_LRP
0
ADC LRCLK Polarity
0 = ADCLRCLK not inverted
1 = ADCLRCLK inverted
Table 11 Audio Interface Control
w
PD, Rev 4.2, January 2011
25
WM8595
Production Data
DIGITAL AUDIO INTERFACE
Digital audio data is transferred to and from the WM8595 via the digital audio interface. The DACs
have independent data inputs and master clocks, bit clocks and left/right frame clocks, and operate
in both master or slave mode The ADC has independent master clock, bit clock and left/right frame
clock in addition to its data output, and can operate in both master and slave modes.
MASTER MODE
The ADC audio interface requires both a left/right frame clock (ADCLRCLK) and a bit clock
(ADCBCLK). These can be supplied externally (slave mode) or they can be generated internally
(master mode). Selection of master and slave mode is achieved by setting ADC_MSTR in ADC
Control Register 3.
The frequency of ADCLRCLK in master mode is dependent upon the ADC master clock frequency
and the ADC_SR[2:0] bits.
The frequency of ADCBCLK in master mode can be selected by ADC_BCLKDIV[1:0].
Both DAC1 and DAC2 operate in slave mode only.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R14
ADC_CTRL2
0Eh
2:0
ADC_
SR[2:0]
000
ADC MCLK:LRCLK Ratio
000 = Auto detect
001 = 128fs
010 = 192fs
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = Reserved
5:3
ADC_BCLK
DIV[2:0]
000
ADC BCLK Rate
000 = MCLK / 4
001 = MCLK / 8
010 = 32fs
011 = 64fs
100 = 128fs
All other values of ADC_BCLKDIV[2:0] are
reserved
0
ADC_
MSTR
0
R15
ADC_CTRL3
0Fh
DESCRIPTION
ADC Master Mode Select
0 = Slave mode, ADCBCLK and ADCLRCLK
are inputs to WM8595
1 = Master mode, ADCBCLK and
ADCLRCLK are outputs from WM8595
Table 12 ADC Master Mode Control
w
PD, Rev 4.2, January 2011
26
WM8595
Production Data
SLAVE MODE
In slave mode, the master clock to left/right clock ratio for the ADC, DAC1 and DAC2 can be autodetected or set manually by register write.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R3
DAC1_CTRL2
03h
2:0
DAC1_
SR[2:0]
000
R8
DAC2_CTRL2
08h
2:0
DAC2_
SR[2:0]
000
R14
ADC_CTRL2
0Eh
2:0
ADC_
SR[2:0]
000
DESCRIPTION
DAC MCLK:LRCLK Ratio
000 = Auto detect
001 = 128fs
010 = 192fs
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = 1152fs
ADC MCLK:LRCLK Ratio
000 = Auto detect
001 = reserved
010 = reserved
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = Reserved
Table 13 Slave Mode MCLK to LRCLK Ratio Control
w
PD, Rev 4.2, January 2011
27
WM8595
Production Data
DIGITAL AUDIO DATA SAMPLING RATES
In a typical digital audio system there is one central clock source producing a reference clock to
which all audio data processing is synchronised. This clock is often referred to as the audio system’s
master clock. The WM8595 uses independent master clocks for ADC and DACs. The external
master clocks can be applied directly to the ADCMCLK, DACMCLK1 and DACMCLK2 input pins. In a
system where there are a number of possible sources for the reference clock, it is recommended that
the clock source with the lowest jitter be used for the master clock to optimise the performance of the
WM8595.
In slave clocking mode the WM8595 has a master detection circuit that automatically determines the
relationship between the master clock frequency (ADCMCLK, DACMCLK1, DACMCLK2) and the
sampling rate (ADCLRCLK, DACLRCLK1, DACLRCLK2), to within +/- 32 system clock periods. The
master clocks must be synchronised with the left/right clocks, although the device is tolerant of
phase variations or jitter on the master clocks.
The ADC supports master clock to sampling clock ratios of 256fs to 768fs and sampling rates of
32kHz to 96kHz, provided the internal signal processing of the ADC is programmed to operate at the
correct rate. The DACs support master clock to sampling clock ratios of 128fs to 1152fs and
sampling rates of 32kHz to 192kHz, provided the internal signal processing of the DACs is
programmed to operate at the correct rate.
Table 14 shows typical master clock frequencies and sampling rates supported by the WM8595
ADC. Table 15 shows typical master clock frequencies and sampling rates supported by the
WM8595 DACs.
MASTER CLOCK FREQUENCY (MHZ)
Sampling Rate
(ADCLRCLK)
32kHz
44.1kHz
48kHz
88.2kHz
96kHz
256fs
8.192
11.2896
12.288
22.5792
24.576
384fs
12.288
16.9344
18.432
33.8688
Unavailable
512fs
16.384
22.5792
24.576
Unavailable
Unavailable
768fs
24.576
33.8688
36.864
Unavailable
Unavailable
Table 14 ADC Master Clock Frequency Versus Sampling Rate
MASTER CLOCK FREQUENCY (MHZ)
Sampling Rate
(DACLRCLK1
DACLRCLK2)
128fs
192fs
256fs
384fs
512fs
768fs
32kHz
Unavailable
Unavailable
8.192
12.288
16.384
24.576
36.864
44.1kHz
Unavailable
8.4672
11.2896
16.9344
22.5792
33.8688
Unavailable
1152fs
48kHz
Unavailable
9.216
12.288
18.432
24.576
36.864
Unavailable
88.2kHz
11.2896
16.9344
22.5792
33.8688
Unavailable
Unavailable
Unavailable
96kHz
12.288
18.432
24.576
36.864
Unavailable
Unavailable
Unavailable
176.4kHz
22.5792
33.8688
Unavailable
Unavailable
Unavailable
Unavailable
Unavailable
192kHz
24.576
36.864
Unavailable
Unavailable
Unavailable
Unavailable
Unavailable
Table 15 DAC Master Clock Frequency Versus Sampling Rate
w
PD, Rev 4.2, January 2011
28
WM8595
Production Data
DAC FEATURES
The WM8595 includes two 24-bit DACs with independent clocks and independent data inputs. The
DACs include digital volume control with zero cross and soft mute, de-emphasis support, and the
capability to select the output channels to be stereo or a range of mono options. The DACs are
enabled by writing to DAC1_EN and DAC2_EN.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R2
DAC1_CTRL1
02h
8
DAC1_EN
0
DAC1 Enable
0 = DAC disabled
1 = DAC enabled
R7
DAC2_CTRL1
07h
8
DAC2_EN
0
DAC2 Enable
0 = DAC2 disabled
1 = DAC2 enabled
Table 16 DAC Enable Control
DIGITAL VOLUME CONTROL
The WM8595 DACs include independent digital volume control, allowing the digital gain to be
adjusted between -100dB and +12dB in 0.5dB steps. All four DAC channels can be controlled
independently. Alternatively, global update bits allow the user to write all volume changes before the
volume is updated.
Volume control includes optional zero cross functionality. When zero cross is enabled, volume
changes are not applied until the output level crosses VMID. Zero cross helps to prevent pop and
click noise when changing volume settings.
w
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R5
DAC1L_VOL
05h
7:0
DAC1L
_VOL[7:0]
11001000
R6
DAC1R_VOL
06h
7:0
DAC1R
_VOL[7:0]
R10
DAC2L_VOL
0Ah
7:0
DAC2L
_VOL[7:0]
R11
DAC2R_VOL
0Bh
7:0
DAC2R
_VOL[7:0]
R5
DAC1L_VOL
05h
8
DAC1L_VU
R6
DAC1R_VOL
06h
8
DAC1R_VU
R10
DAC2L_VOL
0Ah
8
DAC2L_VU
R11
DAC2R_VOL
0Bh
8
DAC2R_VU
0
DESCRIPTION
DAC Digital Volume
0000 0000 = -100dB
0000 0001 = -99.5dB
0000 0010 = -99dB
…0.5dB steps
1100 1000 = 0dB
…0.5dB steps
1101 1111 = +11.5dB
111X XXXX = +12dB
DAC Digital Volume Update
0 = Latch DAC volume setting into Register
Map but do not update volume
1 = Latch DAC volume setting into Register
Map and update left and right channels
simultaneously
PD, Rev 4.2, January 2011
29
WM8595
Production Data
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R2
DAC1_CTRL1
02h
7
DAC1
_ZCEN
1
R7
DAC2_CTRL1
07h
7
DAC2
_ZCEN
DESCRIPTION
DAC Digital Volume Control Zero Cross
Enable
0 = Do not use zero cross
1 = Use zero cross
Table 17 DAC Digital Volume Control
SOFTMUTE
A soft mute can be applied to DAC1 and DAC2 independently.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R2
DAC1_CTRL1
02h
9
DAC1_
MUTE
0
R7
DAC2_CTRL1
07h
9
DAC2_
MUTE
0
DESCRIPTION
DAC Softmute
0 = Normal operation
1 = Softmute applied
Table 18 DAC Softmute Control
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
0
0.001
0.002
0.003
0.004
0.005
0.006
Time(s)
Figure 18 Application and Release of DAC Soft Mute
Figure 18 shows the applications and release of DAC soft mute whilst a full amplitude sinusoid is
being played at 48kHz sampling rate. When DACx_MUTE (lower trace) is asserted, the output
(upper trace) of the appropriate DAC will decay exponentially from the DC level of the last input
sample towards VMID2C with a time constant of approximately 64 input samples. When
DACx_MUTE is de-asserted, the output will restart immediately from the current input sample.
w
PD, Rev 4.2, January 2011
30
WM8595
Production Data
DIGITAL MONOMIX CONTROL
Each DAC can be independently set to output a range of mono and stereo options. Each DAC output
channel can output left channel data, right channel data or a mix of left and right channel data.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R2
DAC1_CTRL1
02h
11:10
DAC1_OP
_MUX[1:0]
00
DAC1 Digital Monomix
00 = Stereo (Normal Operation)
01 = Mono (Left data to DAC1R)
10 = Mono (Right data to DAC1L)
11 = Digital Monomix, (L+R)/2
R7
DAC2_CTRL1
07h
11:10
DAC2_OP
_MUX[1:0]
00
DAC2 Digital Monomix
00 = Stereo (Normal Operation)
01 = Mono (Left data to DAC2R)
10 = Mono (Right data to DAC2L)
11 = Digital Monomix, (L+R)/2
Table 19 Digital Monomix Control
DE-EMPHASIS
A digital de-emphasis filter may be applied to the DAC outputs when the sampling frequency is
44.1kHz. The de-emphasis filter for each DAC can be applied independently. The de-emphasis filter
responses and error can be seen in Figure 60 De-Emphasis Frequency Response (32kHz) and
Figure 61 De-Emphasis Error (32kHz).
Note: De-emphasis is not available when MCLK=192fs.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R2
DAC1_CTRL1
02h
6
DAC1
_DEEMPH
0
DAC1 De-emphasis
0 = No de-emphasis
1 = Apply 44.1kHz de-emphasis
R7
DAC2_CTRL1
07h
6
DAC2
_DEEMPH
0
DAC2 De-emphasis
0 = No de-emphasis
1 = Apply 44.1kHz de-emphasis
Table 20 De-emphasis Control
SIMULATANEOUS DAC1 AND DAC2 CONTROL
If the same settings are required to both DAC1 and DAC2, it is possible to have the register settings
of DAC2 copy the register settings made to DAC1. To use this feature, the user must ensure that
DAC2_COPY_DAC1 is set before writes are made to DAC1. Any writes then made to R2-6 are
automatically made to R7-11.
Example (When DAC2_COPY_DAC1=1):
REGISTER WRITE
R2 = 0x0001
R3 = 0x0023
R4 = 0x0045
R5 = 0x0067
R6 = 0x0089
ACTUAL REGISTER SETTING
R2 = 0x0001 & R7 = 0x0001
R3 = 0x0023 & R8 = 0x0023
R4 = 0x0045 & R9 = 0x0045
R5 = 0x0067 & R10 = 0x0067
R6 = 0x0089 & R11 = 0x0089
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R12
ENABLE
0Bh
1
DAC2_
COPY_
DAC1
0
DESCRIPTION
DAC2 Configuration Control
0 = DAC2 settings independent of DAC1
1 = DAC2 settings are the same as DAC1
Table 21 DAC2 Configuration Control
w
PD, Rev 4.2, January 2011
31
WM8595
Production Data
ANALOGUE OUTPUT VOLUME CONTROL
ANALOGUE VOLUME CONTROL
Each analogue output includes analogue volume control. Volume changes can be applied to each
output immediately as they are written. Alternatively, all volume changes can be written, and then all
volume changes can be applied simultaneously using the volume update feature.
Volume control includes optional zero cross functionality. When zero cross is enabled, volume
changes are not applied until the output level crosses the DC level of the analogue channel (VMID).
Zero cross helps to prevent pop and click noise when changing volume settings.
The zero cross function includes a timeout which forces volume changes if a zero cross event does
not occur. The timeout period is a maximum of 278ms.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R19
PGA1L_VOL
13h
7:0
PGA1L_
VOL[7:0]
00001100
R20
PGA1R_VOL
14h
7:0
PGA1R_
VOL[7:0]
R21
PGA2L_VOL
15h
7:0
PGA2L_
VOL[7:0]
R22
PGA2R_VOL
16h
7:0
PGA2R_
VOL[7:0]
R19
PGA1L_VOL
13h
8
PGA1L_
VU
R20
PGA1R_VOL
14h
8
PGA1R_
VU
R21
PGA2L_VOL
15h
8
PGA2L_
VU
R22
PGA2R_VOL
16h
8
PGA2R_
VU
R25
PGA_CTRL1
19h
2
PGA1L_
ZC
3
PGA1R_
ZC
4
PGA2L_
ZC
5
PGA2R_
ZC
DESCRIPTION
PGA Volume
0000 0000 = +6dB
0000 0001 = +5.5dB
…0.5dB steps
00001100 = 0dB
…
1001 1110 = -73.5dB
1001 1111 = PGA Mute
0
PGA Volume Update
0 = Latch corresponding volume setting into
Register Map but do not update volume
1 = Latch corresponding volume setting
into Register Map and update all channels
simultaneously
0
PGA Gain Zero Cross Enable
0 = PGA gain updates occur immediately
1 = PGA gain updates occur on zero cross
Table 22 Analogue Volume Control
w
PD, Rev 4.2, January 2011
32
WM8595
Production Data
VOLUME RAMP
Analogue volume can be adjusted by step change or by soft ramp. The ramp rate is dependent upon
the sampling rate. The sampling rate upon which the volume ramp rate is based can be selected
between the DAC sampling rate or the ADC sampling rate in either slave mode or master mode. The
ramp rates for common audio sample rates are shown in Table 23:
SAMPLE RATE FOR PGA (kHz)
DIVIDE BY
32
8
PGA RAMP RATE
(ms/dB)
0.50
44.1
8
0.36
48
8
0.33
88.2
16
0.36
96
16
0.33
176.4
32
0.36
192
32
0.33
Table 23 Analogue Volume Ramp Rate
For example, when using a sample rate of 48kHz, the time taken for a volume change from and initial
setting of 0dB to -20dB is calculated as follows:
Volume Change (dB) x PGA Ramp Rate (ms/dB) = 20 x 0.33 = 6.6ms
When changing from one PGA ramp clock source to another, it is recommended that
PGA_SAFE_SW is set to 0. This forces the clock switch over to occur at a point where all relevant
clock signals are zero, ensuring glitch-free operation. This process can take up to 32 left/right clock
cycles.
If a faster change in PGA ramp rate clock source is required, PGA_FORCE can be set to 1. This
forces the change in clock source to occur immediately regardless of the state of the relevant clock
signals internally. Glitch-free operation is not guaranteed under these conditions. PGA_FORCE
must be set back to 0 to initialise the timing circuits with the new clock.
If the volume ramp function is not required when increasing or decreasing volume, this block can be
bypassed by setting ATTACK_BYPASS or DECAY_BYPASS to 1. Figure 19 shows the effect of
these register settings:
Figure 19 ATTACK_BYPASS and DECAY_BYPASS Functionality
w
PD, Rev 4.2, January 2011
33
WM8595
Production Data
Note: When ATTACK_BYPASS=1 or DECAY_BYPASS=1, it is recommended that the zero cross
function for the PGA is used to eliminate click noise when changing volume settings.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R25
PGA_CTRL1
19h
0
DECAY_
BYPASS
0
PGA Gain Decay Mode
0 = PGA gain will ramp down
1 = PGA gain will step down
1
ATTACK_
BYPASS
0
PGA Gain Attack Mode
0 = PGA gain will ramp up
1 = PGA gain will step up
R27
ADD_CTRL1
1Bh
6:4
PGA_
SR[2:0]
001
Sample Rate for PGA
000 = 32kHz
001 = 44.1kHz
010 = 48kHz
011 = 88.2kHz
100 = 96kHz
101 = 176.4kHz
11X = 192kHz
See Table 23 for further information on PGA
sample rate versus volume ramp rate.
R36
PGA_CTRL3
24h
3:1
PGA_
SEL[2:0]
000
PGA Ramp Control Clock Source
000 = LRCLK1
001 = LRCLK2
010 to 110 = Reserved
111 = ADCLRCLK (when ADC is being used
in master mode)
10
PGA_UPD
0
PGA Ramp Control Clock Source Mux
Update
0 = Do not update PGA clock source
1 = Update clock source
Table 24 Analogue Volume Ramp Control
w
PD, Rev 4.2, January 2011
34
WM8595
Production Data
ANALOGUE MUTE CONTROL
The analogue PGAs can be muted independently and are muted by default. Alternatively, all mute
bits can be set using a master mute bit, MUTE_ALL.
Setting one of these mute bits is equivalent to setting the relevant PGAxx_VOL[7:0] register bits to
mute as defined in Table 22.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R26
PGA_CTRL2
1Ah
0
MUTE_
ALL
0
Master PGA Mute Control
0 = Unmute all PGAs
1 = Mute all PGAs
1
PGA1L_
MUTE
1
2
PGA1R_
MUTE
1
Individual PGA Mute Control
0 = Unmute PGA
1 = Mute PGA
3
PGA2L_
MUTE
1
4
PGA2R_
MUTE
1
Table 25 Analogue Mute Control
PGA ENABLE CONTROL
The PGAs are enabled using PGAxx_EN bits as described in Table 26
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R31
INPUT_CTRL4
1Fh
0
PGA1L_
EN
0
1
PGA1R_
EN
2
PGA2L_
EN
3
PGA2R_
EN
DESCRIPTION
PGA Enable Controls
0 = PGA disabled
1 = PGA enabled
Table 26 PGA Enable Control
w
PD, Rev 4.2, January 2011
35
WM8595
Production Data
ADC FEATURES
The WM8595 features a stereo 24-bit sigma-delta ADC, digital volume control with zero cross, a
selectable high pass filter to remove DC offsets, and support for both master and slave clocking
modes.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R13
ADC_CTRL1
0Dh
6
ADC_EN
0
DESCRIPTION
ADC Enable
0 = ADC disabled
1 = ADC enabled
Table 27 ADC Enable Control
ADC INPUT SELECTOR CONTROL
The ADC input switch can be configured to allow any combination of two inputs to be input to the
ADC. Each input switch channel can be controlled independently.
The input switch also includes PGAs to provide a range of analogue gain settings between 0dB and
+12dB prior to the ADC. These PGAs can be enabled and disabled independently.
Figure 20 ADC Input Selector Control
w
PD, Rev 4.2, January 2011
36
WM8595
Production Data
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R30
INPUT_CTRL1
1Eh
3:0
ADCL_
SEL[3:0]
0000
7:4
ADCR_
SEL[4:0]
1000
9:8
ADC_AMP
_VOL[1:0]
10
ADC Amplifier Gain Control
00 = 0dB
01 = +3dB
10 = +6dB
11 = +12dB
10
ADC_
SWITCH_
EN
0
ADC Input Switch Control
0 = ADC input switches open
1 = ADC input switches closed
6
ADCL_
AMP_EN
0
7
ADCR_
AMP_EN
0
ADC Input Amplifier Enable Controls
0 = Amplifier disabled
1 = Amplifier enabled
R31
INPUT_CTRL2
1Fh
DESCRIPTION
ADC Input Select
0000 = IN1L
0001 = IN2L
0010 = IN3L
0011 = IN4L
0100 = IN5L
0101 = IN6L
0110 = Reserved
0111 = Reserved
1000 = IN1R
1001 = IN2R
1010 = IN3R
1011 = IN4R
1100 = IN5R
1101 = IN6R
1110 = Reserved
1111 = Reserved
Table 28 ADC Input Switch Control
w
PD, Rev 4.2, January 2011
37
WM8595
Production Data
DIGITAL VOLUME CONTROL
The ADC digital volume can be adjusted between +30dB and -97dB in 0.5dB steps. Left and right
channels can be controlled independently. Volume changes can be applied immediately to each
channel, or volume changes can be written to both channels before writing to an update bit in order
to change the volume in both channels simultaneously.
Volume control includes optional zero cross functionality. When zero cross is enabled, volume
changes are not applied until the output level crosses the DC level of the ADC output. Zero cross
helps to prevent pop and click noise when changing volume settings.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R16
ADCL_VOL
10h
7:0
ADCL
_VOL[7:0]
11000011
R17
ADCR_VOL
11h
7:0
ADCR
_VOL[7:0]
11000011
R16
ADCL_VOL
10h
8
ADCL_VU
0
R17
ADCR_VOL
11h
8
ADCR_VU
0
R13
ADC_CTRL1
0Dh
13
ADC_ZC_
EN
1
DESCRIPTION
ADC Digital Volume
0000 0000 = Digital mute
0000 0001 = -97dB
0000 0010 = -96.5dB
…0.5dB steps
1100 0011 = 0dB
…0.5dB steps
1111 1110 = +29.5dB
1111 1111 = +30dB
ADC Digital Volume Update
0 = Latch ADC volume setting into Register
Map but do not update volume
1 = Latch ADC volume setting into Register
Map and update left and right channels
simultaneously
ADC Digital Volume Control Zero Cross
Enable
0 = Do not use zero cross, change volume
instantly
1 = Use zero cross, change volume when
data crosses zero
Table 29 ADC Digital Volume Control
w
PD, Rev 4.2, January 2011
38
WM8595
Production Data
CHANNEL SWAP AND INVERSION
The WM8595 ADC input channels can be inverted and swapped in a number of ways to provide
maximum flexibility of input path to the ADC. The default configuration provides stereo output data
with the left and right channel data in the left and right channels. It is possible to swap the left and
right channels, invert them independently, or select the same data from both channels.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R13
ADC_CTRL1
0Dh
7
ADC_
LRSWAP
0
ADC Left/Right Swap
0 = Normal
1 = Swap left channel data into right channel
and vice-versa
8
ADCR_
INV
0
9
ADCL_
INV
0
ADCL and ADCR Output Signal Inversion
0 = Output not inverted
1 = Output inverted
11:10
ADC_
DATA_
SEL[1:0]
00
ADC Data Output Select
00 = left data from ADCL, right data from
ADCR
01 = left data from ADCL, right data from
ADCL
10 = left data from ADCR, right data from
ADCR
11 = left data from ADCR, right data from
ADCL
Table 30 ADC Channel Swap Control
HIGH PASS FILTER
The WM8595 includes a high pass filter to remove DC offsets. The high pass filter response is
shown on page 77. It is possible to disable the high pass filter by writing to ADC_HPD.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R13
ADC_CTRL1
0Dh
12
ADC_HPD
0
DESCRIPTION
ADC High Pass Filter Disable
0 = High pass filter enabled
1 = High pass filter disabled
Table 31 High Pass Filter Disable Control
w
PD, Rev 4.2, January 2011
39
WM8595
Production Data
DIGITAL ROUTING CONTROL
The WM8595 includes a highly flexible digital routing multiplexer, allowing independent systems to be
directly connected to the WM8595 without the need for glue logic. The WM8595 consists of two
digital audio ‘ports’, each with four pins, which can be configured to connect to any of the three
internal WM8595 systems (ADC, DAC1 or DAC2) or to any other digital audio ports. An additional
ADC data pin and two GPIO pins are available as auxiliary bidirectional data pins. A simplified block
diagram of the digital routing is shown in Figure 21:
Figure 21 Digital Routing Block Diagram
The default configuration of the clocking is as shown in Figure 22 below. It is expected that this
configuration will satisfy the majority of the use cases for the WM8595, but if it doesn’t it is possible
to route the signals differently. See the following pages for details of this setup.
Figure 22 Default Clocking Configuration
w
PD, Rev 4.2, January 2011
40
WM8595
Production Data
DIGITAL AUDIO PORT PIN CONFIGURATION
The MCLK1 pin is defined as an input or an output using MCLK1_SEL[2:0]. The BCLK1 and
LRCLK1 pins are always defined as inputs or outputs together using WORDCLK1_SEL[2:0].
DACDAT1 is always an input.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R37
AIF_MUX1
25h
3:1
MCLK1_
SEL[2:0]
000
MCLK1 Pin Function Select
000 = Input to WM8595
001 = Output MCLK2
010 to 111 = Reserved
6:4
WORD
CLK1_
SEL[2:0]
000
BCLK1 and LRCLK1 Pins Function Select
000 = Inputs to WM8595
001 = Output BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Output ADCBCLK and ADCBCLK
(when ADC is master mode)
Table 32 Digital Audio Port 1 Pin Configuration
The MCLK2 pin is defined as an input or an output using MCLK2_SEL[2:0]. The BCLK2 and
LRCLK2 pins are always defined as inputs or outputs together using WORDCLK2_SEL[2:0].
DACDAT2 is always an input.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R38
AIF_MUX2
26h
3:1
MCLK2_
SEL[2:0]
001
MCLK2 Pin Function Select
000 = Output MCLK1
001 = Input to WM8595
010 to 111 = Reserved
6:4
WORD
CLK2_
SEL[2:0]
001
BCLK2 and LRCLK2 Pins Function Select
000 = Output BCLK1 and LRCLK1
001 = Inputs to WM8595
010 to 110 = Reserved
111 = Output ADCBCLK and ADCBCLK
(when ADC is master mode)
Table 33 Digital Audio Port 2 Pin Configuration
w
PD, Rev 4.2, January 2011
41
WM8595
Production Data
ADC AUDIO INTERFACE CLOCK CONFIGURATION
The WM8595 ADC has an independent audio interface which can be configured to select the
required signals from any of the digital audio ports. The audio interface is not restricted to take each
signal from the same digital audio port, although the BCLK and LRCLK signals are selected together.
The MCLK is always an input to the ADC audio interface is selected using ADCMCLK_SEL[2:0]. The
BCLK and LRCLK are always selected together, and can be either an input to the ADC audio
interface (when the ADC is in slave mode) or an output from the ADC audio interface (when the ADC
is in master mode). BCLK and LRCLK are selected using ADCWORDCLK_SEL[2:0].
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R44
AIF_MUX5
2Ch
3:1
ADC
MCLK_
SEL[2:0]
000
ADCMCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
6:4
ADC
WORD
CLK_
SEL[2:0]
000
ADC BCLK and LRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Output ADCBCLK and ADCBCLK
(when ADC is master mode)
Table 34 ADC Audio Interface Clock Configuration
w
PD, Rev 4.2, January 2011
42
WM8595
Production Data
DAC1 AND DAC2 AUDIO INTERFACE CLOCK CONFIGURATION
Both DACs on the WM8595 have independent audio interfaces which can be configured to select the
required signals from any of the digital audio ports. The audio interfaces are not restricted to take
each signal from the same digital audio ports, although the BCLK and LRCLK signals are selected
together.
DAC1MCLK and DAC2MCLK are always inputs to the DAC1 and DAC2 audio interfaces and are
selected using DAC1MCLK_SEL[2:0] and DAC2MCLK_SEL[2:0] respectively.
DAC1BCLK and DAC1LRCLK are always selected together and can are inputs to the DAC1 audio
interface. DAC2BCLK and DAC2LRCLK are always selected together and are inputs to the DAC2
audio interface. DAC1BCLK and DAC1LRCLK are selected using DAC1WORDCLK_SEL[2:0], while
DAC2BCLK and DAC2LRCLK are selected using DAC2WORDCLK_SEL[2:0].
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R42
AIF_MUX3
2Ah
3:1
DAC1
MCLK_
SEL[2:0]
000
DAC1 MCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
DAC2
MCLK_
SEL[2:0]
001
DAC2 MCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
DAC1
WORD
CLK_
SEL[2:0]
000
DAC1 BCLK and DAC LRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Use ADCBCLK and ADCBCLK (when
ADC is master mode)
DAC2
WORD
CLK_
SEL[2:0]
001
DAC2 BCLK and DAC LRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Use ADCBCLK and ADCBCLK (when
ADC is master mode)
R43
AIF_MUX4
2Bh
R42
AIF_MUX3
2Ah
6:4
R43
AIF_MUX4
2Bh
DESCRIPTION
R42
AIF_MUX3
2Ah
9:7
DAC1
DIN_
SEL[2:0]
000
DAC1 DIN Select
000 = Use DACDAT1
001 = Use DACDAT2
010 to 100 = Reserved
101 = Use GPIO1
110 = Use GPIO2
111 = Reserved
R43
AIF_MUX4
2Bh
9:7
DAC2
DIN_
SEL[2:0]
001
DAC2 DIN Select
000 = Use DACDAT1
001 = Use DACDAT2
010 to 100 = Reserved
101 = Use GPIO1
110 = Use GPIO2
111 = Reserved
Table 35 DAC1 and DAC2 Audio Interface Clock Configuration
w
PD, Rev 4.2, January 2011
43
WM8595
Production Data
USING GPIO PINS AS ADDITIONAL DATA PINS
There are two GPIO pins, GPIO1 and GPIO2, which can be used as additional pins to connect to
external devices. GPIO1 is controlled by GPIO1_SEL[2:0] and GPIO2 by GPIO2_SEL[2:0].
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R45
AIF_MUX9
2Dh
3:1
GPIO1_
SEL[2:0]
101
DESCRIPTION
GPIO1 Pin Function Select
000 = Source DACDAT1
001 = Source DACDAT2
010 = Source ADCDAT
011 to 100 = Reserved
101 = Input to WM8595
110 = Source GPIO2
111 = Source ADC Data Output
Table 36 GPIO1 Audio Interface Mux Configuration
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R46
AIF_MUX10
2Eh
3:1
GPIO2_
SEL[2:0]
000
DESCRIPTION
GPIO2 Pin Function Select
000 = Source DACDAT1
001 = Source DACDAT2
010 = Source ADCDAT
011 to 100 = Reserved
101 = Source GPIO1
110 = Input to WM8595
111 = Source ADC Data Output
Table 37 GPIO2 Audio Interface Mux Configuration
w
PD, Rev 4.2, January 2011
44
WM8595
Production Data
UPDATE FUNCTION
To prevent clock contention issues during setup of the digital audio interface mux, an update system
has been implemented. This allows the registers to be configured as required and the update to be
applied with the last register write synchronise the configuration of the digital audio mux. An update
can be generated using any of the update bits shown in Table 38.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R37
AIF_MUX1
25h
10
PORT1_
UPD
0
R38
AIF_MUX2
26h
10
PORT2_
UPD
Update
0 = Latch corresponding settings into
Register Map but do not update
1 = Latch corresponding settings into
Register Map and update all simultaneously
R42
AIF_MUX3
2Ah
10
DAC1_
UPD
R43
AIF_MUX4
2Bh
10
DAC2_
UPD
R44
AIF_MUX5
2Ch
10
ADC_
UPD
R45
AIF_MUX6
2Dh
10
GPIO1_
UPD
R46
AIF_MUX7
2Eh
10
GPIO2_
UPD
Table 38 Audio Interface Mux Update Bits
w
PD, Rev 4.2, January 2011
45
WM8595
Production Data
POP AND CLICK PERFORMANCE
The WM8595 includes a number of features designed to minimise pops and clicks in various phases
of operation including power up, power down, changing analogue paths and starting/stopping clocks.
In order to ensure optimum performance, the following sequences should be followed.
POWERUP SEQUENCE
1.
Apply power to the WM8595 (see Power On Reset).
2.
Set-up initial internal biases:
3.
4.
•
SOFT_ST=1
•
FAST_EN=1
•
POBCTRL=1
•
BUFIO_EN=1
Enable output drivers to allow the AC coupling capacitors at the output stage to be precharged to VMID2C:
•
VOUTxL_EN=1
•
VOUTxR_EN=1
Enable VMID2C. Highest resistance string selected here for optimum pop reduction:
•
5.
Wait until VMID2C has fully charged. The time is dependent on the capacitor values used
to AC-couple the outputs and to decouple VMID2C, and the VMID_SEL value chosen. An
approximate delay of 6xRCms can be used, where R is the VMID2C resistance (between
AVDD1 and VMID2C) and C is the decoupling capacitor on VMID2C, although this time
should be determined by the customer using the exact application configuration for best
results.
•
6.
BIAS_EN=1
Switch the output drivers to use the master bias instead of the power up (fast) bias:
•
w
Insert delay
Enable the master bias and VMID2C buffer:
•
7.
VMID_SEL=10
POBCTRL=0
8.
Enable all functions (DACs, ADC, PGAs) required for use. Outputs are muted by default so
the write order is not important.
9.
Unmute the PGAs and switch VMID2C resistance to mid setting for normal operation:
•
PGAxL_MUTE=0
•
PGAxR_MUTE=0
•
VMID_SEL=01
PD, Rev 4.2, January 2011
46
WM8595
Production Data
POWERDOWN SEQUENCE
1.
Mute all PGAs:
•
2.
3.
MUTE_ALL=1
Set up biases for power down mode:
•
FAST_EN=1
•
VMID_SEL=01
•
BIAS_EN=1
•
BUFIO_EN=1
•
VMIDTOG=0
•
SOFT_ST=1
Switch outputs to use fast bias instead of master bias:
•
POBCTRL=1
4.
Power down all WM8595 functions (ADC, DACs, PGAs etc.). The outputs are muted so the
write order is not important.
5.
Power down VMID to allow the analogue outputs to ramp gently to ground in a pop-free
manner.
•
6.
Wait until VMID2C has fully discharged. The time taken depends on system capacitance
and should be evaluated by the customer in their application.
•
7.
9.
Insert delay
Clamp outputs to ground.
•
8.
VMID_SEL=00
APE_B=0
Power down outputs.
•
VOUTxL_EN=0
•
VOUTxR_EN=0
Disable remaining bias control bits.
•
FAST_EN=0
•
POBCTRL=0
•
BIAS_EN=0
Power supplies can now be safely removed from the WM8595 if desired.
w
PD, Rev 4.2, January 2011
47
WM8595
Production Data
Table 39 describes the various bias control bits for power up/down control:
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R35
BIAS
23h
0
POBCTRL
0
Bias Source for Output Amplifiers
0 = Output amplifiers use master bias
1 = Output amplifiers use fast bias
1
VMIDTOG
0
VMID Power Down Characteristic
0 = Slow ramp
1 = Fast ramp
2
FAST_EN
0
Fast Bias Enable
0 = Fast bias disabled
1 = Fast bias enabled
3
BUFIO_
EN
0
VMID Buffer Enable
0 = VMID Buffer disabled
1 = VMID Buffer enabled
4
SOFT_ST
1
VMID Soft Ramp Enable
0 = Soft ramp disabled
1 = Soft ramp enabled
5
BIAS_EN
0
Master Bias Enable
0 = Master bias disabled
1 = Master bias enabled
Also powers down VMID1C
7:6
VMID_
SEL[1:0]
00
VMID Resistor String Value Selection
(VMID2C only)
00 = off (no VMID)
01 = 38k
10 = 127k
11 = 12.5k
The selection is the total resistance of the
string from VREF2VDD to VREF2GND. The
VMID1C resistance is fixed at 200kΩ.
Table 39 Bias Control
GLOBAL ENABLE CONTROL
The WM8595 includes a number of enable and disable mechanisms to allow the device to be
powered on and off in a pop-free manner. A global enable control bit enables the ADC, DAC and
analogue paths.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
R12
ENABLE
0Ch
0
GLOBAL_
EN
0
DESCRIPTION
Device Global Enable
0 = ADC, DAC and PGA ramp control
circuitry disabled
1 = ADC, DAC and PGA ramp control
circuitry enabled
Table 40 Global Enable Control
w
PD, Rev 4.2, January 2011
48
WM8595
Production Data
EMERGENCY POWER DOWN
In the event of sudden power failure in a system, or any other emergency condition, the
SHUTDOWN
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ pin may be used to power the device down from any state in a controlled manner.
This may be useful in a system where there is no guarantee the power supplies will be available long
enough to complete the recommended power down sequence using software writes.
When the SHUTDOWN
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ is pulled low, the device will mute and then power down the outputs quietly.
If the WM8595 is still receiving clocks, the outputs will be softmuted. If the clocks have stopped, the
outputs will be muted immediately. Figure 23 shows the operation of SHUTDOWN
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ and the effect
on the outputs of the device:
Figure 23 SHUTDOWN
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ Operation
It is expected that power is removed from the device before the device is used again, forcing the
device to be reset via the POR. If this is not the case, the device must be manually reset by the
customer (either by a software or hardware reset) once the SHUTDOWN
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ is pulled high again.
w
PD, Rev 4.2, January 2011
49
WM8595
REGISTER MAP
11
10
8
7
0
0
0
0
0
0
DA C1_M UTE
0
DAC2_EN
DAC1R_VU
DAC1L_V U
0
DAC1_EN
0
0
DA C1_ZCEN
0
DAC1_DEEM PH
0
DAC1_LRP
DAC2L_VOL[7:0]
DAC1R_VOL[7:0]
DAC1L_VOL[7:0]
0
DA C1_BCP
3
0
0
0
0
DAC2R_VOL[ 7:0]
4
0
0
DAC2_M UTE
DAC2L_VU
5
0
0
0
0
DAC2R_VU
6
0
0
0
9
0
0
0
0
0
12
0
0
0
13
DEVICE_ID
0
0
0
0
0
14
REVISION
0
0
0
15
00
DAC1_CTRL1
0
0
0
0
D ec A d d r Hex A d d r N ame
01
0
0
0
Read: DEVICE_ID[ 15:0] / Writ e: SW_RST
0
02
DAC1_CTRL2
0
0
0
REVNUM [ 7:0]
1
03
DAC1R_V OL
DAC1L_VOL
0
0
0
2
05
0
0
0
3
06
0
0
0
0
0
0
ADC_LRP
0
ADC_BCP
0
0
0
ADC_EN
0
0
0
ADC_LRSWA P
DAC2_OP_M UX [1:0]
DAC1_OP_M UX[1:0]
5
0
0
0
0
ADCR_INV
0
DAC1_WL[ 1:0]
2
DAC2_WL[ 1:0]
0
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
PGA 2R_VU
PGA2L_V U
PGA1R_V U
PGA1L_VU
ADCR_VU
ADCL_VU
0
PGA2R_V OL7:0]
PGA2L_VOL[ 7:0]
PGA1R_VOL[ 7:0]
PGA1L_VOL[7:0]
ADCR_VOL[7:0]
ADCL_VOL[7:0]
0x000C
0x000C
0x000C
0x000C
0x00C3
0x200A
0x0000
0x00C8
0x00C8
0x0000
0x008A
0x00C8
0x00C8
0x0000
0x008A
0x0000
0x8595
Hex D ef aul t
Production Data
0
DAC1_FM T[1:0]
DAC1_SR[ 2:0]
GLOBAL_EN
DA C2_FM T[1:0]
DAC2_SR[2:0]
D A C2_COP Y _DA C1
0
0
0
0
0x0000
0
0
0
ADC_FM T[ 1:0]
0
0
0
0
0x00C3
36
35
34
26
25
24
23
22
AIF_M UX 4
AIF_M UX 3
AIF_M UX 2
AIF_M UX 1
PGA_CTRL3
BIAS
OUTPUT_CTRL
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
0
0
0
0
0
0
0
0
0
0
0
0
0
GPIO2_UPD
GPIO1_UPD
A DC_UPD
DAC2_UPD
DAC1_UPD
PORT2_UPD
PORT1_UPD
PGA_UPD
0
VOUT2R_EN
0
0
0
0
0
0
0
VOUT2L_EN
0
0
0
0
0
0
0
0
VOUT1R_EN
0
0
0
0
0
0
0
0
0
0
0
0
0
GPIO2_SEL[2:0]
GPIO1_SEL[2:0]
0
0
0x000C
0x000A
ADCL_SEL[ 3:0]
0x007E
M UTE_A LL
0x0000
PGA1L_M UTE
PGA2R_M UTE PGA2L_M UTE PGA1R_M UTE
0x0048
0
0
0x0000
PGA2R_ZC
0
PGA1L_EN
0x0010
0x0040
0
PGA1R_EN
POBCTRL
VOUT1L_TRI
0
PGA2L_ZC
ADC_SR[ 2:0]
0
0
0
0
0
A DC_WL[ 1:0]
ADC_CTRL3
0
0
0
0
0
ADC_BCLKDIV[ 2:0]
0
ADCL_INV
0
6
DAC2_CTRL1
0
0
0
ADC_HPD
DAC2_B CP
DAC2_CTRL2
0
0
0
ADC_ZC_EN
DAC2_LRP
07
DAC2L_V OL
0
0
0
DAC2_ZCEN DAC2_DEEM PH
7
08
DAC2R_VOL
ENABLE
0
0
0
0A
0C
ADC_CTRL2
ADC_CTRL1
0
8
0B
12
0E
0D
0
11
10
13
ADCL_VOL
0
0
0
0
ADC_DATA_SEL[1:0]
14
0F
ADCR_VOL
0
0
0
0
0x0000
10
PGA1L_VOL
0
0
0
PGA2L_EN
VM IDTOG
VOUT1R_TRI
37
2A
AIF_M UX 5
0
0
0x0080
PGA2R_EN
FAST_EN
VOUT2L_TRI
0
0
BUFIOEN
VOUT2R_TRI
AUTO_INC
0
PGA_SR[ 2:0]
0
SOFT_ST
38
2B
0
0
DAC2DIN_SEL[ 2:0]
VM ID_SEL[1:0]
0
ADCWORDCLK_SEL[2:0]
DAC1WORDCLK_SEL[2:0]
WORDCLK2_SEL[2:0]
WORDCLK1_SEL[2:0]
ADCM CLK_SEL[ 2:0]
DA C2M CLK_SEL[ 2:0]
DAC1M CLK_SEL[ 2:0]
M CLK2_SEL[ 2:0]
M CLK1_SEL[ 2:0]
PGA_SEL[ 2:0]
0
0
0
0
0
0
0x0000
0x0092
0x0000
0x0092
0x0000
0x0002
50
PD, Rev 4.2, January 2011
DA C2WORDCLK_SEL[ 2:0]
APE_B
42
2C
AIF_M UX 7
AIF_M UX 6
VOUT1L_EN
43
2D
A DCR_AM P_ENA DCL_AM P_EN
0
0
ADCR_SEL[3:0]
BIA S_EN
0
44
2E
ADC_AM P_VOL[1:0]
ADC_M STR
15
11
PGA1R_VOL
0
0
0
0
16
13
PGA2L_VOL
0
0
0
0
17
14
PGA2R_VOL
0
0
0
0
ADC_SWITCH_EN
0
19
15
0
0
0
0
0
0
20
16
PGA_CTRL2
PGA_CTRL1
0
0
0
0
21
19
0
0
0
0
22
1A
0
0
0
PGA1L_ZC ATTACK_BYPASDECAY_B YPASS
25
GEN
0
0
PGA1R_ZC
26
1B
INPUT_CTRL2
INPUT_CTRL1
0
27
1F
1E
0
31
30
0
45
DAC1DIN_SEL[ 2:0]
46
w
WM8595
Production Data
R0 (0h) – Software Reset / Device ID Register (DEVICE_ID)
Bit #
15
14
13
Read
12
11
10
9
8
DEVICE_ID[15:8]
Write
SW_RST
Default
1
0
0
0
0
1
0
1
Bit #
7
6
5
4
3
2
1
0
1
0
1
Read
DEVICE_ID[7:0]
Write
SW_RST
Default
1
0
0
1
0
N/A = Not Applicable (no function implemented)
Function
Description
DEVICEID[15:0]
Device ID
A read of this register will return the device ID. In this case 0x8595.
Software Reset
A write of any value to this register will generate a software reset.
SW_RST
Figure 24 R0 – Software Reset / Device ID
R1 (01h) – Device Revision Register (REVISION)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
Read
8
REVNUM[7:0]
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
-
-
-
-
-
-
-
-
N/A = Not Applicable (no function implemented)
Function
Description
REVNUM[7:0]
Device Revision
A read of this register will return the device revision number. This number is sequentially incremented if
the device design is updated.
Figure 25 R1 – Device Revision Register
w
PD, Rev 4.2, January 2011
51
WM8595
Production Data
R2 (02h) – DAC Control Register 1 (DAC1_CTRL1)
Bit #
15
14
13
12
Read
0
0
0
0
Write
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
Bit #
7
6
5
4
3
DAC1_ZCEN
DAC1_
DEEMPH
DAC1_LRP
DAC1_BCP
1
0
0
0
Read
Write
Default
11
10
9
8
DAC1_MUTE
DAC1_EN
0
0
0
2
1
0
DAC1_OP_MUX[1:0]
DAC1_WL[1:0]
DAC1_FMT[1:0]
1
1
0
0
N/A = Not Applicable (no function implemented)
Function
Description
DAC1_FMT[1:0]
DAC1 Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
DAC1_WL[1:0]
DAC1 Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified mode)
DAC1_BCP
DAC1 BCLK Polarity
0 = DACBCLK not inverted – data latched on rising edge of BCLK
1 = DACBCLK inverted – data latched on falling edge of BCLK
DAC1_LRP
DAC1 LRCLK Polarity
0 = DACLRCLK not inverted
1 = DACLRCLK inverted
DAC1_DEEMPH
DAC1_ZCEN
DAC1_EN
DAC1_MUTE
DAC1_OP_MUX[1:0]
DAC1 Deemphasis
0 = No deemphasis
1 = Apply 44.1kHz deemphasis
DAC1 Digital Volume Control Zero Cross Enable
0 = Do not use zero cross
1 = Use zero cross
DAC1 Enable
0 = DAC disabled
1 = DAC enabled
DAC1 Softmute
0 = Normal operation
1 = Softmute applied
DAC1 Digital Monomix
00 = Stereo (Normal Operation)
01 = Mono (Left data to DAC1R)
10 = Mono (Right data to DAC1L)
11 = Digital Monomix, (L+R)/2
Figure 26 R2 – DAC1 Control Register 1
w
PD, Rev 4.2, January 2011
52
WM8595
Production Data
R3 (03h) – DAC1 Control Register 2 (DAC1_CTRL2)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
2
1
0
Bit #
7
6
5
4
3
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
8
DAC1_SR[2:0]
0
0
0
N/A = Not Applicable (no function implemented)
Function
DAC1_SR[2:0]
Description
DAC1 MCLK:LRCLK Ratio
000 = Auto detect
001 = 128fs
010 = 192fs
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = 1152fs
Figure 27 R3 – DAC1 Control Register 2
R5 (05h) – DAC1L Digital Volume Control Register (DAC1L_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
0
0
Read
DAC1L_VU
DAC1L_VOL[7:0]
Write
Default
8
1
1
0
0
1
N/A = Not Applicable (no function implemented)
Function
DAC1L_VOL[7:0]
DAC1L_VU
Description
DAC1L Digital Volume
0000 0000 = -100dB
0000 0001 = -99.5dB
0000 0010 = -99dB
…0.5dB steps
1100 1000 = 0dB
…0.5dB steps
1101 1111 = +11.5dB
111X XXXX = +12dB
DAC1L Digital Volume Update
0 = Latch DAC1L_VOL[7:0] into Register Map but do not update volume
1 = Latch DAC1L_VOL[7:0] into Register Map and update left and right channels simultaneously
Figure 28 R5 – DAC1L Digital Volume Control Register
w
PD, Rev 4.2, January 2011
53
WM8595
Production Data
R6 (06h) – DAC1R Digital Volume Control Register (DAC1R_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
0
0
Read
DAC1R_VU
DAC1R_VOL[7:0]
Write
Default
8
1
1
0
0
1
N/A = Not Applicable (no function implemented)
Function
DAC1R_VOL[7:0]
DAC1R_VU
Description
DAC1R Digital Volume
0000 0000 = -100dB
0000 0001 = -99.5dB
0000 0010 = -99dB
…0.5dB steps
1100 1000 = 0dB
…0.5dB steps
1101 1111 = +11.5dB
111X XXXX = +12dB
DAC1R Digital Volume Update
0 = Latch DACR_VOL[7:0] into Register Map but do not update volume
1 = Latch DACR_VOL[7:0] into Register Map and update left and right channels simultaneously
Figure 29 R6 – DAC1R Digital Volume Control Register
w
PD, Rev 4.2, January 2011
54
WM8595
Production Data
R7 (07h) – DAC2 Control Register 1 (DAC2_CTRL1)
Bit #
15
14
13
12
Read
0
0
0
0
Write
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
Bit #
7
6
5
4
3
DAC2_ZCEN
DAC2_
DEEMPH
DAC2_LRP
DAC2_BCP
1
0
0
0
Read
Write
Default
11
10
9
8
DAC2_MUTE
DAC2_EN
0
0
0
2
1
0
DAC2_OP_MUX[1:0]
DAC2_WL[1:0]
DAC2_FMT[1:0]
1
1
0
0
N/A = Not Applicable (no function implemented)
Function
Description
DAC2_FMT[1:0]
DAC2 Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
DAC2_WL[1:0]
DAC2 Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified mode)
DAC2_BCP
DAC2 BCLK Polarity
0 = DACBCLK not inverted – data latched on rising edge of BCLK
1 = DACBCLK inverted – data latched on falling edge of BCLK
DAC2_LRP
DAC2 LRCLK Polarity
0 = DACLRCLK not inverted
1 = DACLRCLK inverted
DAC2_DEEMPH
DAC2_ZCEN
DAC2_EN
DAC2_MUTE
DAC2_OP_MUX[1:0]
DAC2 Deemphasis
0 = No deemphasis
1 = Apply 44.1kHz deemphasis
DAC2 Digital Volume Control Zero Cross Enable
0 = Do not use zero cross
1 = Use zero cross
DAC2 Enable
0 = DAC2 disabled
1 = DAC2 enabled
DAC2 Softmute
0 = Normal operation
1 = Softmute applied
DAC2 Digital Monomix
00 = Stereo (Normal Operation)
01 = Mono (Left data to Right DAC2)
10 = Mono (Right data to Left DAC2)
11 = Digital Monomix, (L+R)/2
Figure 30 R7 – DAC2 Control Register 1
w
PD, Rev 4.2, January 2011
55
WM8595
Production Data
R8 (08h) – DAC2 Control Register 2 (DAC2_CTRL2)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
2
1
0
Bit #
7
6
5
4
3
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
8
DAC2_SR[2:0]
0
0
0
N/A = Not Applicable (no function implemented)
Function
Description
DAC2_SR[2:0]
DAC2 MCLK:LRCLK Ratio
000 = Auto detect
001 = 128fs
010 = 192fs
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = 1152fs
Figure 31 R8 – DAC2 Control Register 2
R10 (0Ah) – DAC2L Digital Volume Control Register (DAC2L_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
0
0
Read
DAC2L_VU
DAC2L_VOL[7:0]
Write
Default
8
1
1
0
0
1
N/A = Not Applicable (no function implemented)
Function
DAC2L_VOL[7:0]
DAC2L_VU
Description
DAC2 Digital Volume
0000 0000 = -100dB
0000 0001 = -99.5dB
0000 0010 = -99dB
…0.5dB steps
1100 1000 = 0dB
…0.5dB steps
1101 1111 = +11.5dB
111X XXXX = +12dB
DAC2 Digital Volume Update
0 = Latch DAC2L_VOL[7:0] into Register Map but do not update volume
1 = Latch DAC2L_VOL[7:0] into Register Map and update left and right channels simultaneously
Figure 32 R10 – DAC2L Digital Volume Control Register
w
PD, Rev 4.2, January 2011
56
WM8595
Production Data
R11 (0Bh) – DAC2R Digital Volume Control Register (DAC2R_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
0
0
Read
8
DAC2R_VU
DAC2R_VOL[7:0]
Write
Default
1
1
0
0
1
N/A = Not Applicable (no function implemented)
Function
Description
DAC2R_VOL[7:0]
DAC2R_VU
DAC2R Digital Volume
0000 0000 = -100dB
0000 0001 = -99.5dB
0000 0010 = -99dB
…0.5dB steps
1100 1000 = 0dB
…0.5dB steps
1101 1111 = +11.5dB
111X XXXX = +12dB
DAC2R Digital Volume Update
0 = Latch DAC2R_VOL[7:0] into Register Map but do not update volume
1 = Latch DAC2R_VOL[7:0] into Register Map and update left and right channels simultaneously
Figure 33 R11 – DAC2R Digital Volume Control Register
R12 (0Ch) – Device Enable Register (ENABLE)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
1
0
Bit #
7
6
5
4
3
2
Read
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
8
DAC2_
GLOBAL_EN
COPY_DAC1
0
0
N/A = Not Applicable (no function implemented)
Function
GLOBAL_EN
DAC2_COPY_DAC1
Description
Device Global Enable
0 = ADC, DAC and PGA ramp control circuitry disabled
1 = ADC, DAC and PGA ramp control circuitry enabled
DAC2 Configuration Control
0 = DAC2 settings independent of DAC1
1 = DAC2 settings are the same as DAC1
Figure 34 R12 – Device Enable Register
w
PD, Rev 4.2, January 2011
57
WM8595
Production Data
R13 (0Dh) – ADC Control Register 1 (ADC_CTRL1)
Bit #
15
14
Read
0
0
13
12
Write
N/A
N/A
Default
0
Bit #
Read
11
ADC_ZCEN
ADC_HPD
0
1
0
0
7
6
5
4
3
Write
ADC_
LRSWAP
ADC_EN
ADC_LRP
ADC_BCP
Default
0
0
0
0
10
9
8
ADCL_INV
ADCR_INV
0
0
0
2
1
0
ADC_DATA_SEL[1:0]
ADC_WL[1:0]
1
ADC_FMT[1:0]
0
1
0
N/A = Not Applicable (no function implemented)
Function
Description
ADC_FMT[1:0]
ADC Audio Interface Format
00 = Right Justified
01 = Left Justified
10 = I2S
11 = DSP
ADC_WL[1:0]
ADC Audio Interface Word Length
00 = 16-bit
01 = 20-bit
10 = 24-bit
11 = 32-bit (not available in Right Justified mode)
ADC_BCP
ADC BCLK Polarity
0 = ADCBCLK not inverted – data latched on rising edge of BCLK
1 = ADCBCLK inverted – data latched on falling edge of BCLK
ADC_LRP
ADC LRCLK Polarity
0 = ADCLRCLK not inverted
1 = ADCLRCLK inverted
ADC_EN
ADC Enable
0 = ADC disabled
1 = ADC enabled
ADC_LRSWAP
ADCR_INV
ADCL_INV
ADC_DATA_SEL[1:0]
ADC_HPD
ADC_ZC_EN
ADC Left/Right Swap
0 = Normal
1 = Swap left channel data into right channel and vice-versa
ADCL and ADCR Output Signal Inversion
0 = Output not inverted
1 = Output inverted
ADC Data Output Select
00 = left data from ADCL, right data from ADCR (Normal Stereo)
01 = left data from ADCL, right data from ADCL (Mono Left)
10 = left data from ADCR, right data from ADCR (Mono Right)
11 = left data from ADCR, right data from ADCL (Reverse Stereo)
ADC High Pass Filter Disable
0 = High pass filter enabled
1 = High pass filter disabled
ADC Digital Volume Control Zero Cross Enable
0 = Do not use zero cross, change volume instantly
1 = Use zero cross, change volume when data crosses zero
Figure 35 R13 – ADC Control Register 1
w
PD, Rev 4.2, January 2011
58
WM8595
Production Data
R14 (0Eh) – ADC Control Register 2 (ADC_CTRL2)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
5
4
3
2
1
0
Bit #
7
6
Read
0
0
Write
N/A
N/A
Default
0
0
ADC_BCLKDIV[2:0]
0
0
8
ADC_SR[2:0]
0
0
0
0
N/A = Not Applicable (no function implemented)
Function
Description
ADC_SR[2:0]
ADC_BCLKDIV[2:0]
ADC MCLK:LRCLK Ratio
000 = Auto detect
001 = reserved
010 = reserved
011 = 256fs
100 = 384fs
101 = 512fs
110 = 768fs
111 = Reserved
ADC BCLK Rate (when ADC in Master Mode)
000 = MCLK / 4
001 = MCLK / 8
010 = 32fs
011 = 64fs
100 = 128fs
All other values of ADC_BCLKDIV[2:0] are reserved
Figure 36 R14 – ADC Control Register 2
R15 (0Fh) – ADC Control Register 3 (ADC_CTRL3)
Bit #
15
14
13
12
11
10
9
8
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
ADC_MSTR
0
N/A = Not Applicable (no function implemented)
Function
ADC_MSTR
Description
ADC Master Mode Select
0 = Slave mode, ADCBCLK and ADCLRCLK are inputs to WM8595
1 = Master mode, ADCBCLK and ADCLRCLK are outputs from WM8595
Figure 37 R15 – ADC Control Register 3
w
PD, Rev 4.2, January 2011
59
WM8595
Production Data
R16 (10h) – Left ADC Digital Volume Control Register (ADCL_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
1
1
Read
8
ADCL_VU
ADCL_VOL[7:0]
Write
Default
1
1
0
0
0
N/A = Not Applicable (no function implemented)
Function
Description
ADCL_VOL[7:0]
Left ADC Digital Volume
0000 0000 = Digital mute
0000 0001 = -97dB
0000 0010 = -96.5dB
…0.5dB steps
1100 0011 = 0dB
…0.5dB steps
1111 1110 = +29.5dB
1111 1111 = +30dB
Left DAC Digital Volume Update
0 = Latch ADCL_VOL[7:0] into Register Map but do not update volume
1 = Latch ADCL_VOL[7:0] into Register Map and update left and right channels simultaneously
ADCL_VU
Figure 38 R16 – Left ADC Digital Volume Control Register
R17 (11h) – Right ADC Digital Volume Control Register (ADCR_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
0
1
1
Read
ADCR_VU
ADCR_VOL[7:0]
Write
Default
8
1
1
0
0
0
N/A = Not Applicable (no function implemented)
Function
ADCR_VOL[7:0]
ADCR_VU
Description
Right ADC Digital Volume
0000 0000 = Digital mute
0000 0001 = -97dB
0000 0010 = -96.5dB
…0.5dB steps
1100 0011 = 0dB
…0.5dB steps
1111 1110 = +29.5dB
1111 1111 = +30dB
Right ADC Digital Volume Update
0 = Latch ADCR_VOL[7:0] into Register Map but do not update volume
1 = Latch ADCR_VOL[7:0] into Register Map and update left and right channels simultaneously
Figure 39 R17 – Right ADC Digital Volume Control Register
w
PD, Rev 4.2, January 2011
60
WM8595
Production Data
R19 (13h) – PGA1L Volume Control Register (PGA1L_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
PGA1L_VU
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
1
0
0
Read
PGA1L_VOL[7:0]
Write
Default
8
0
0
0
0
1
N/A = Not Applicable (no function implemented)
R20 (14h) – PGA1R Volume Control Register (PGA1R_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
PGA1R_VU
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
1
0
0
Read
PGA1R_VOL[7:0]
Write
Default
8
0
0
0
0
1
N/A = Not Applicable (no function implemented)
R21 (15h) – PGA2L Volume Control Register (PGA2L_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
PGA2L_VU
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
1
0
0
Read
PGA2L_VOL[7:0]
Write
Default
8
0
0
0
0
1
N/A = Not Applicable (no function implemented)
R22 (16h) – PGA2R Volume Control Register (PGA2R_VOL)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
PGA2R_VU
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
1
0
0
Read
PGA2R_VOL[7:0]
Write
Default
8
0
0
0
0
1
N/A = Not Applicable (no function implemented)
…Continued on next page
w
PD, Rev 4.2, January 2011
61
WM8595
Production Data
Function
Description
PGA1L_VOL[7:0]
PGA1R_VOL[7:0]
PGA2L_VOL[7:0]
PGA2R_VOL[7:0]
PGA1L_VU
PGA1R_VU
PGA2L_VU
PGA2R_VU
Input PGA Volume
0000 0000 = +6dB
0000 0001 = +5.5dB
…0.5dB steps
00001100 = 0dB
…
1001 1110 = -73.5dB
1001 1111 = PGA Mute
Input PGA Volume Update
0 = Latch corresponding volume setting into Register Map but do not update volume
1 = Latch corresponding volume setting into Register Map and update all channels simultaneously
Figure 40 R19-24 – PGA Volume Control Registers
R25 (19h) – PGA Control Register 1 (PGA_CTRL1)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
5
4
3
2
1
0
DECAY_
BYPASS
0
Bit #
7
6
Read
0
0
Write
N/A
N/A
Default
0
0
PGA2R_ZC
PGA2L_ZC
PGA1R_ZC
PGA1L_ZC
ATTACK_
BYPASS
0
0
0
0
0
8
N/A = Not Applicable (no function implemented)
Function
Description
DECAY_BYPASS
PGA Gain Decay Mode
0 = PGA gain will ramp down
1 = PGA gain will step down
ATTACK_BYPASS
PGA Gain Attack Mode
0 = PGA gain will ramp up
1 = PGA gain will step up
PGA1L_ZC
PGA1R_ZC
PGA2L_ZC
PGA2R_ZC
PGA Gain Zero Cross Enable
0 = PGA gain updates occur immediately
1 = PGA gain updates occur on zero cross
Zero cross must be disabled to use gain ramp
Figure 41 R25 – PGA Control Register 1
w
PD, Rev 4.2, January 2011
62
WM8595
Production Data
R26 (1Ah) – PGA Control Register 2 (PGA_CTRL2)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
8
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
Read
0
0
0
Write
N/A
N/A
N/A
PGA2R_
MUTE
PGA2L_
MUTE
PGA1R_
MUTE
PGA1L_
MUTE
MUTE_ALL
Default
0
1
1
1
1
1
1
0
N/A = Not Applicable (no function implemented)
Function
Description
MUTE_ALL
PGA1L_MUTE
PGA1R_MUTE
PGA2L_MUTE
PGA2R_MUTE
Master PGA Mute Control
0 = Unmute all output drivers
1 = Mute all output drivers
Individual PGA Mute Control
0 = Unmute output driver
1 = Mute output driver
Figure 42 R26 – PGA Control Register 2
R27 (1Bh) – Additional Control Register 1 (ADD_CTRL1)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
6
5
4
3
Bit #
7
Read
0
Write
N/A
Default
0
PGA_SR[2:0]
1
0
AUTO_INC
0
1
8
2
1
0
0
0
0
N/A
N/A
N/A
0
0
0
N/A = Not Applicable (no function implemented)
Function
AUTO_INC
PGA_SR[2:0]
Description
2-wire Software Mode Auto Increment Enable
0 = Auto increment disabled
1 = Auto increment enabled
Sample Rate for PGA
000 = 32kHz
001 = 44.1kHz
010 = 48kHz
011 = 88.2kHz
100 = 96kHz
101 = 176.4kHz
11X = 192kHz
See Table 23 for further information on PGA sample rate versus volume ramp rate.
Figure 43 R27 – Additional Control Register 1
w
PD, Rev 4.2, January 2011
63
WM8595
Production Data
R30 (1Eh) – Input Control Register 1 (INPUT_CTRL1)
Bit #
15
14
13
12
11
10
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
ADC_
SWITCH_EN
Default
0
0
0
0
0
0
1
0
Bit #
7
6
5
4
3
2
1
0
Read
ADCR_SEL[3:0]
Write
Default
1
0
0
9
8
ADC_AMP_VOL[1:0]
ADCL_SEL[3:0]
0
0
0
0
0
N/A = Not Applicable (no function implemented)
Function
ADCL_SEL[3:0]
ADCR_SEL[3:0]
Description
ADC Input Select
0000 = IN1L
0001 = IN2L
0010 = IN3L
0011 = IN4L
0100 = IN5L
0101 = IN6L
0110 = Reserved
0111 = Reserved
1000 = IN1R
1001 = IN2R
1010 = IN3R
1011 = IN4R
1100 = IN5R
1101 = IN6R
1110 = Reserved
1111 = Reserved
ADC_AMP_VOL[1:0]
ADC Amplifier Gain Control
00 = 0dB
01 = +3dB
10 = +6dB
11 = +12dB
ADC_SWITCH_EN
ADC Input Switch Control
0 = ADC input switches open
1 = ADC input switches closed
Figure 44 R30 – Input Control Register 1
w
PD, Rev 4.2, January 2011
64
WM8595
Production Data
R31 (1Fh) – Input Control Register 2 (INPUT_CTRL2)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
7
6
3
2
1
0
PGA2R_EN
PGA2L_EN
PGA1R_EN
PGA1L_EN
0
0
0
0
Bit #
Read
Write
ADCR_AMP_ ADCL_AMP_
EN
EN
Default
0
0
5
4
0
0
N/A
N/A
0
0
8
N/A = Not Applicable (no function implemented)
Function
Description
PGA1L_EN
PGA1R_EN
PGA2L_EN
PGA2R_EN
ADCL_AMP_EN
ADCR_AMP_EN
Input PGA Enable Controls
0 = PGA disabled
1 = PGA enabled
ADC Input Amplifier Enable Controls
0 = Amplifier disabled
1 = Amplifier enabled
Figure 45 R31 – Input Control Register 2
R34 (22h) – Output Control Register 3 (OUTPUT_CTRL)
Bit #
15
14
13
12
11
10
9
8
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
3
2
1
0
Read
Write
VOUT1L_EN
APE_B
0
1
Default
5
4
0
0
N/A
N/A
0
0
VOUT2R_EN VOUT2L_EN VOUT1R_EN
VOUT2R_TRI VOUT2L_TRI VOUT1R_TRI VOUT1L_TRI
0
0
0
0
N/A = Not Applicable (no function implemented)
Function
VOUT1L_TRI
VOUT1R_TRI
VOUT2L_TRI
VOUT2R_TRI
Description
Output Amplifier Tristate Control
0 = Normal operation
1 = Output amplifier tristate enable (Hi-Z)
APE_B
Clamp Outputs to Ground
0 = clamp active
1 = clamp not active
VOUT1L_EN
VOUT1R_EN
VOUT2L_EN
VOUT2R_EN
Output Amplifier Enables
0 = Output amplifier disabled
1 = Output amplifier enabled
Figure 46 R34 – Output Control Register
w
PD, Rev 4.2, January 2011
65
WM8595
Production Data
R35 (23h) – Bias Control Register (BIAS)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
0
BIAS_EN
SOFT_ST
BUFIO_EN
FAST_EN
VMIDTOG
POBCTRL
0
1
0
0
0
0
Read
Write
Default
VMID_SEL[1:0]
0
0
8
N/A = Not Applicable (no function implemented)
Function
Description
POBCTRL
Bias Source for Output Amplifiers
0 = Output amplifiers use master bias
1 = Output amplifiers use fast bias
VMIDTOG
VMID Power Down Characteristic
0 = Slow ramp
1 = Fast ramp
FAST_EN
Fast Bias Enable
0 = Fast bias disabled
1 = Fast bias enabled
BUFIO_EN
VMID Buffer Enable
0 = VMID Buffer disabled
1 = VMID Buffer enabled
SOFT_ST
VMID Soft Ramp Enable
0 = Soft ramp disabled
1 = Soft ramp enabled
BIAS_EN
Master Bias Enable
0 = Master bias disabled
1 = Master bias enabled
Also powers down VMID1C
VMID_SEL[1:0]
VMID Resistor String Value Selection (VMID2C only)
00 = off (no VMID)
01 = 38k
10 = 127k
11 = 12.5k
The selection is the total resistance of the string from VREF2VDD to VREF2GND. The VMID1C
resistance is fixed at 200k.
Figure 47 R35 – Bias Control Register
w
PD, Rev 4.2, January 2011
66
WM8595
Production Data
R36 (24h) – PGA Control Register 3 (PGA_CTRL)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
3
Bit #
7
6
5
4
Read
0
0
0
0
Write
N/A
N/A
N/A
N/A
Default
0
0
0
0
10
9
0
N/A
N/A
0
0
0
2
1
PGA_UPD
0
0
0
PGA_SEL[2:0]
0
8
0
N/A
1
0
N/A = Not Applicable (no function implemented)
Function
PGA_SEL[2:0]
PGA_UPD
Description
PGA Ramp Control Clock Source
000 = LRCLK1
001 = LRCLK2
010 to 110 = Reserved
111 = ADCLRCLK (when ADC is being used in master mode)
PGA Ramp Control Clock Source Mux Update
0 = Do not update PGA clock source
1 = Update clock source
Figure 48 R36 – PGA Control Register
w
PD, Rev 4.2, January 2011
67
WM8595
Production Data
R37 (25h) – Audio Interface MUX Configuration Register 1 (AIF_MUX1)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
6
5
4
3
Bit #
7
Read
0
Write
N/A
Default
0
10
0
0
0
N/A
N/A
0
0
0
2
1
0
0
0
0
MCLK1_SEL[2:0]
0
8
0
PORT1_UPD
WORDCLK1_SEL[2:0]
9
N/A
0
0
N/A = Not Applicable (no function implemented)
Function
MCLK1_SEL[2:0]
WORDCLK1_SEL[2:0]
PORT1_UPD
Description
MCLK1 Pin Function Select
000 = Input to WM8595
001 = Output MCLK2
010 to 111 = Reserved
BCLK1 and LRCLK1 Pins Function Select
000 = Inputs to WM8595
001 = Output BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Output ADCBCLK and ADCBCLK (when ADC is master mode)
Port 1 Update
0 = Latch corresponding Port 1 settings into Register Map but do not update
1 = Latch corresponding Port 1 settings into Register Map and update all simultaneously
Figure 49 R37 – Audio Interface MUX Configuration Register 1
w
PD, Rev 4.2, January 2011
68
WM8595
Production Data
R38 (26h) – Audio Interface MUX Configuration Register 2 (AIF_MUX2)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
6
5
4
3
Bit #
7
Read
0
Write
N/A
Default
1
10
0
0
0
N/A
N/A
0
0
0
2
1
0
0
0
0
MCLK2_SEL[2:0]
1
8
0
PORT2_UPD
WORDCLK2_SEL[2:0]
9
N/A
1
0
N/A = Not Applicable (no function implemented)
Function
MCLK2_SEL[2:0]
WORDCLK2_SEL[2:0]
PORT2_UPD
Description
MCLK2 Pin Function Select
000 = Output MCLK1
001 = Input to WM8595
010 = Output MCLK3
011 = Output MCLK4
100 = Output MCLK5
101 to 111 = Reserved
BCLK2 and LRCLK2 Pins Function Select
000 = Output BCLK1 and LRCLK1
001 = Inputs to WM8595
010 = Output BCLK3 and LRCLK3
011 = Output BCLK4 and LRCLK4
100 = Output BCLK5 and LRCLK5
101 = Output DAC1BCLK and DAC1LRCLK (when DAC1 is in master mode)
110 = Output DAC2BCLK and DAC2LRCLK (when DAC2 is in master mode)
111 = Output ADCBCLK and ADCBCLK (when ADC is master mode)
Port 2 Update
0 = Latch corresponding Port 2 settings into Register Map but do not update
1 = Latch corresponding Port 2 settings into Register Map and update all simultaneously
Figure 50 R38 – Audio Interface MUX Configuration Register 2
w
PD, Rev 4.2, January 2011
69
WM8595
Production Data
R42 (2Ah) – Audio Interface MUX Configuration Register 3 (AIF_MUX3)
Bit #
15
14
13
12
11
10
9
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
Read
Write
DAC1DIN_
SEL[0]
Default
0
DAC1WORDCLK_SEL[2:0]
0
0
DAC1_UPD
DAC1DIN_SEL[2:1]
0
0
0
0
0
DAC1MCLK_SEL[2:0]
0
8
N/A
0
0
N/A = Not Applicable (no function implemented)
Function
DAC1MCLK_SEL[2:0]
Description
DAC1MCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
DAC1WORDCLK_
SEL[2:0]
DAC1BCLK and DAC1LRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Use ADCBCLK and ADCBCLK (when ADC is master mode)
DAC1DIN_SEL[2:0]
DAC1DIN Select
000 = Use DACDAT1
001 = Use DACDAT2
010 to 100 = Reserved
101 = Use GPIO1
110 = Use GPIO2
111 = Reserved
DAC1_UPD
DAC1 Clock Update
0 = Latch corresponding DAC1 clock settings into Register Map but do not update
1 = Latch corresponding DAC1 clock settings into Register Map and update all simultaneously
Figure 51 R42 – Audio Interface MUX Configuration Register 3
w
PD, Rev 4.2, January 2011
70
WM8595
Production Data
R43 (2Bh) – Audio Interface MUX Configuration Register 4 (AIF_MUX4)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
0
0
Bit #
7
6
5
4
3
2
1
Read
Write
DAC2DIN_
SEL[0]
Default
1
DAC2WORDCLK_SEL[2:0]
0
0
10
9
DAC2_UPD
DAC2DIN_SEL[2:1]
0
0
0
0
0
DAC2MCLK_SEL[2:0]
1
8
N/A
1
0
N/A = Not Applicable (no function implemented)
Function
DAC2MCLK_SEL[2:0]
Description
DAC2MCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
DAC2WORDCLK_
SEL[2:0]
DAC2BCLK and DAC2LRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Use ADCBCLK and ADCBCLK (when ADC is master mode)
DAC2DIN_SEL[2:0]
DAC2DIN Select
000 = Use DACDAT1
001 = Use DACDAT2
010 to 100 = Reserved
101 = Use GPIO1
110 = Use GPIO2
111 = Reserved
DAC2_UPD
DAC2 Clock Update
0 = Latch corresponding DAC2 clock settings into Register Map but do not update
1 = Latch corresponding DAC2 clock settings into Register Map and update all simultaneously
Figure 52 R43 – Audio Interface MUX Configuration Register 4
w
PD, Rev 4.2, January 2011
71
WM8595
Production Data
R44 (2Ch) – Audio Interface MUX Configuration Register 5 (AIF_MUX5)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
6
5
4
3
Bit #
7
Read
0
Write
N/A
Default
0
ADCWORDCLK_SEL[2:0]
0
0
10
9
0
N/A
N/A
0
0
0
2
1
ADC_UPD
0
0
0
0
ADCMCLK_SEL[2:0]
0
8
0
N/A
0
0
N/A = Not Applicable (no function implemented)
Function
ADCMCLK_SEL[2:0]
ADCWORDCLK_
SEL[2:0]
ADC_UPD
Description
ADCMCLK Select
000 = Use MCLK1
001 = Use MCLK2
010 to 111 = Reserved
ADCBCLK and ADCLRCLK Select
000 = Use BCLK1 and LRCLK1
001 = Use BCLK2 and LRCLK2
010 to 110 = Reserved
111 = Output ADCBCLK and ADCBCLK (when ADC is master mode)
ADC Clock Update
0 = Latch corresponding ADC clock settings into Register Map but do not update
1 = Latch corresponding ADC clock settings into Register Map and update all simultaneously
Figure 53 R44 – Audio Interface MUX Configuration Register 5
w
PD, Rev 4.2, January 2011
72
WM8595
Production Data
R45 (2Dh) – Audio Interface MUX Configuration Register 6 (AIF_MUX6)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
3
Bit #
7
6
5
4
Read
0
0
0
0
Write
N/A
N/A
N/A
N/A
Default
0
0
0
0
10
9
0
N/A
N/A
0
0
0
2
1
GPIO1_UPD
0
0
0
GPIO1_SEL[2:0]
1
8
0
N/A
1
0
N/A = Not Applicable (no function implemented)
Function
Description
GPIO1_SEL[2:0]
GPIO1_UPD
GPIO1 Pin Function Select
000 = Source DACDAT1
001 = Source DACDAT2
010 = Source ADCDAT
011 to 100 = Reserved
101 = Input to WM8595
110 = Source GPIO2
111 = Source ADC Data Output
GPIO1 Update
0 = Latch corresponding GPIO1 settings into Register Map but do not update
1 = Latch corresponding GPIO1 settings into Register Map and update
Figure 54 R45 – Audio Interface MUX Configuration Register 6
R46 (2Eh) – Audio Interface MUX Configuration Register 7 (AIF_MUX7)
Bit #
15
14
13
12
11
Read
0
0
0
0
0
Write
N/A
N/A
N/A
N/A
N/A
Default
0
0
0
0
0
3
Bit #
7
6
5
4
Read
0
0
0
0
Write
N/A
N/A
N/A
N/A
Default
0
0
0
0
10
9
0
N/A
N/A
0
0
0
2
1
GPIO2_UPD
1
0
0
GPIO2_SEL[2:0]
1
8
0
N/A
0
0
N/A = Not Applicable (no function implemented)
Function
GPIO2_SEL[2:0]
GPIO2_UPD
Description
GPIO2 Pin Function Select
000 = Source DACDAT1
001 = Source DACDAT2
010 = Source ADCDAT
011 to 100 = Reserved
101 = Source GPIO1
110 = Input to WM8595
111 = Source ADC Data Output
GPIO2 Update
0 = Latch corresponding GPIO2 settings into Register Map but do not update
1 = Latch corresponding GPIO2 settings into Register Map and update all simultaneously
Figure 55 R46 – Audio Interface MUX Configuration Register 7
w
PD, Rev 4.2, January 2011
73
WM8595
Production Data
DIGITAL FILTER CHARACTERISTICS
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
ADC Filter
Passband
± 0.05dB
0.454fs
Passband Ripple
0.05
Stopband
dB
0.546fs
Stopband Attenuation
-60
Group Delay
dB
16
fs
DAC Filter – 32kHz to 96kHz
Passband
± 0.1dB
0.454fs
Passband Ripple
0.1
Stopband
Stopband attenuation
dB
0.546fs
f > 0.546fs
-50
Group Delay
dB
10
Fs
DAC Filter – 176.4kHz to 192kHz
Passband
± 0.1dB
0.247fs
Passband Ripple
0.1
Stopband
Stopband attenuation
Group Delay
w
dB
0.753fs
f > 0.546fs
-50
dB
10
Fs
PD, Rev 4.2, January 2011
74
WM8595
Production Data
DAC FILTER RESPONSES
0.2
0
0.15
0.1
Response (dB)
Response (dB)
-20
-40
-60
0.05
0
-0.05
-0.1
-80
-0.15
-100
-0.2
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
Frequency (Fs)
-120
0
0.5
1
1.5
2
2.5
3
Frequency (Fs)
Figure 56 DAC Digital Filter Frequency Response
– 44.1, 48 and 96KHz
Figure 57 DAC Digital Filter Ripple –44.1, 48 and 96kHz
0.2
0
0
Response (dB)
Response (dB)
-20
-40
-60
-0.2
-0.4
-0.6
-0.8
-80
-1
0
-100
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
Frequency (Fs)
Frequency (Fs)
Figure 58 DAC Digital Filter Frequency Response
– 192KHz
w
Figure 59 DAC Digital Filter Ripple – 192kHz
PD, Rev 4.2, January 2011
75
WM8595
Production Data
DIGITAL DE-EMPHASIS CHARACTERISTICS
0
1
0.5
-2
Response (dB)
Response (dB)
0
-4
-6
-0.5
-1
-1.5
-2
-8
-2.5
-10
-3
0
2
4
6
8
10
Frequency (kHz)
12
14
16
0
2
4
6
8
10
Frequency (kHz)
Figure 60 De-Emphasis Frequency Response (32kHz)
Figure 61 De-Emphasis Error (32kHz)
Figure 62 De-Emphasis Frequency Response (44.1kHz)
Figure 63 De-Emphasis Error (44.1kHz)
0
12
14
16
1
0.8
-2
0.6
Response (dB)
Response (dB)
0.4
-4
-6
0.2
0
-0.2
-0.4
-8
-0.6
-0.8
-10
-1
0
5
10
15
Frequency (kHz)
20
Figure 64 De-Emphasis Frequency Response (48kHz)
w
0
5
10
15
Frequency (kHz)
20
Figure 65 De-Emphasis Error (48kHz)
PD, Rev 4.2, January 2011
76
WM8595
Production Data
ADC FILTER RESPONSES
Magnitude (dB): Passband Ripple
Magnitude (dB) up to fs
0.1
20
0.08
0
0.00
-20
0.25
0.50
0.75
0.06
0.04
-40
0.02
0
0.00
-0.02
-60
-80
0.25
-0.04
-100
-0.06
-120
-0.08
-0.1
-140
Frequency
Frequency
Figure 66 ADC Digital Filter Frequency Response
Figure 67 ADC Digital Filter Ripple
ADC HIGH PASS FILTER
The WM8595 has a selectable digital high pass filter to remove DC offsets. The filter response is characterised by the
following polynomial.
1 - z-1
1 - 0.9995z-1
H(z) =
0
-2
-4
-6
-8
-10
-12
-14
-16
-18
-20
0
2
4
6
8
10
12
14
16
18
20
MA GNITUDE(dB)
Figure 68 ADC Highpass Filter Response
w
PD, Rev 4.2, January 2011
77
WM8595
Production Data
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
Analogue
+3.3V
Analogue
+9V
Digital
+3.3V
42
AVDD1
18
AVDD2
11
DVDD
C1
4.7µF
C2
4.7µF
C3
4.7µF
15
SHUTDOWN
16
MUTE
17
RESET
GND
Control
Interface
43
AGND1
19
AGND2
12
DGND
44
46
47
48
45
CIFMODE
CS
SCLK
SDA
SDOUT
VREF1C
VREF1GND
VMID1C
GND
36
38
37
C4
4.7µF
C5
4.7µF
GND
Analogue
+3.3V
Digital
Audio
Interface
AC-Coupled
Inputs
1
2
4
5
6
7
8
9
10
13
14
24
25
26
27
28
29
30
31
32
33
34
35
MCLK1
LRCLK1
BCLK1
DACDAT1
MCLK2
LRCLK2
BCLK2
DACDAT2
ADCDAT
GPIO1
GPIO2
IN1L
IN1R
IN2L
IN2R
IN3L
IN3R
IN4L
IN4R
IN5L
IN5R
IN6L
IN6R
VREF2VDD
VREF2GND
VMID2C
39
41
40
C6
4.7µF
C7
4.7µF
GND
23
LINEOUT1L
22
LINEOUT1R
AC-Coupled
Outputs
21
LINEOUT2L
20
LINEOUT2R
Notes:
w
1.
AGND and DGND should ideally share a continuous ground plane. Where this is not possible, it
is recommended that AGND and DGND are connected as close to the WM8595 as possible.
2.
Decoupling capacitors shown are very low-ESR, multilayer ceramic capacitors and should be
placed as near to the WM8595 as possible. Equally good audio performance may be obtained
using 0.1μF ceramic capacitors near to the WM8595, with a 10μF electrolytic capacitor nearby.
Note that power up time is a function of the VMID2C resistor string setting and the decoupling
capacitor C7.
3.
The exposed paddle on the bottom of the QFN package should be connected to AGND
PD, Rev 4.2, January 2011
78
WM8595
Production Data
RECOMMENDED ANALOGUE LOW PASS FILTER
Ω
Ω
Ω
Ω
Figure 69 Recommended Analogue Low Pass Filter (shown for VOUT1L/R)
Note: See WAN0176 for AC coupling capacitor selection information.
An external single pole RC filter is recommended (see Figure 69) if the device is driving a wideband
amplifier. Other filter architectures may provide equally good results.
RELEVANT APPLICATION NOTES
The following application notes, available from www.wolfsonmicro.com, may provide additional
guidance for the use of the WM8595.
DEVICE PERFORMANCE:
WAN0129 – Decoupling and Layout Methodology for Wolfson DACs, ADCs and CODECs
WAN0144 – Using Wolfson Audio DACs and CODECs with Noisy Supplies
WAN0176 – AC Coupling Capacitor Selection
GENERAL:
WAN0108 – Moisture Sensitivity Classification and Plastic IC Packaging
WAN0109 – ESD Damage in Integrated Circuits: Causes and Prevention
WAN0158 – Lead-Free Solder Profiles for Lead-Free Components
w
PD, Rev 4.2, January 2011
79
WM8595
Production Data
PACKAGE DIMENSIONS
DM079.A
FL: 48 PIN QFN PLASTIC PACKAGE 7 X 7 X 0.75 mm BODY, 0.50 mm LEAD PITCH
PIN 1
D2
D
D2/2
48
37
L
INDEX AREA
(D/2 X E/2)
1
36
EXPOSED
6
GND
PADDLE
E2/2
E2
E
12
25
24
b
aaa C
2X
13
aaa C
2X
e
(A3)
ccc
A2
TOP VIEW
C
A
A1
C
bbb C
SEATING PLANE
Symbols
A
A1
A2
A3
b
D
D2
E
E2
e
L
aaa
bbb
ccc
REF
MIN
0.7
0
0.20
5.55
5.55
0.35
Dimensions (mm)
NOM
MAX
0.75
0.8
0.05
0.035
0.55
0.57
0.203 REF
0.25
0.30
7.00 BSC
5.65
5.75
7.00 BSC
5.65
5.75
0.5 BSC
0.45
0.4
NOTE
1
Tolerances of Form and Position
0.10
0.08
0.10
JEDEC, MO-220
NOTES:
1. DIMENSION b APPLIED TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.15 mm AND 0.30 mm FROM TERMINAL TIP.
2. ALL DIMENSIONS ARE IN MILLIMETRES
3. THE TERMINAL #1 IDENTIFIER AND TERMINAL NUMBERING CONVENTION SHALL CONFORM TO JESD 95-1 SPP-002.
4. COPLANARITY APPLIES TO THE EXPOSED HEAT SINK SLUG AS WELL AS THE TERMINALS.
5. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
6. REFER TO APPLICATIONS NOTE WAN_0118 FOR FURTHER INFORMATION.
w
PD, Rev 4.2, January 2011
80
Production Data
WM8595
IMPORTANT NOTICE
Wolfson Microelectronics plc (“Wolfson”) products and services are sold subject to Wolfson’s terms and conditions of sale,
delivery and payment supplied at the time of order acknowledgement.
Wolfson warrants performance of its products to the specifications in effect at the date of shipment. Wolfson reserves the
right to make changes to its products and specifications or to discontinue any product or service without notice. Customers
should therefore obtain the latest version of relevant information from Wolfson to verify that the information is current.
Testing and other quality control techniques are utilised to the extent Wolfson deems necessary to support its warranty.
Specific testing of all parameters of each device is not necessarily performed unless required by law or regulation.
In order to minimise risks associated with customer applications, the customer must use adequate design and operating
safeguards to minimise inherent or procedural hazards. Wolfson is not liable for applications assistance or customer
product design. The customer is solely responsible for its selection and use of Wolfson products. Wolfson is not liable for
such selection or use nor for use of any circuitry other than circuitry entirely embodied in a Wolfson product.
Wolfson’s products are not intended for use in life support systems, appliances, nuclear systems or systems where
malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage.
Any use of products by the customer for such purposes is at the customer’s own risk.
Wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other
intellectual property right of Wolfson covering or relating to any combination, machine, or process in which its products or
services might be or are used. Any provision or publication of any third party’s products or services does not constitute
Wolfson’s approval, licence, warranty or endorsement thereof. Any third party trade marks contained in this document
belong to the respective third party owner.
Reproduction of information from Wolfson datasheets is permissible only if reproduction is without alteration and is
accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. Wolfson is
not liable for any unauthorised alteration of such information or for any reliance placed thereon.
Any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in
this datasheet or in Wolfson’s standard terms and conditions of sale, delivery and payment are made, given and/or
accepted at that person’s own risk. Wolfson is not liable for any such representations, warranties or liabilities or for any
reliance placed thereon by any person.
ADDRESS
Wolfson Microelectronics plc
Westfield House
26 Westfield Road
Edinburgh
EH11 2QB
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: [email protected]
w
PD, Rev 4.2, January 2011
81
WM8595
Production Data
REVISION HISTORY
DATE
REV
ORIGINATOR
19/01/10
4.2
CT
CHANGES
Updated Figure 3 Slave Mode Digital Timing Diagram to latest format. p12.
Updated Table 3 Specifications to match Figure 3. p12.
w
PD, Rev 4.2, January 2011
82