Part Number Hot Search : 
SQ045 5012A LT1805 XP0053A 5012A P87C5 SMG2307 ECG1325
Product Description
Full Text Search
 

To Download WM859407 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 w
DESCRIPTION
The WM8594 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 digital volume control, and a range of input/output channel selection options with analogue volume control, for flexible routing within current and future audio systems. The WM8594 accepts five stereo audio inputs at line levels up to 2Vrms. One stereo input can be routed to the ADC. All inputs can be routed to the output. The WM8594 outputs three stereo audio channels at line levels up to 2Vrms, which can be selected from any of the analogue inputs and DAC outputs. Additionally, one stereo output is available with a headphone driver. The DAC channels include independent digital volume control, and all three stereo output channels include analogue volume control with soft ramp. The WM8594 supports up to 2Vrms analogue inputs, 2Vrms outputs, with sampling rates from 32kHz to 192kHz for the DACs, and 32kHz to 96kHz for the ADC. The WM8594 is ideal for audio applications requiring high performance and flexible routing options, including flat panel digital TV and DVD recorder. The device is controlled via a serial interface with support for 2-wire and 3-wire control with full readback. Control of mute, powerdown and reset can also be achieved by pin selection. The WM8594 is available in a 48-lead TQFP package. * * * * * * * * * * * *
WM8594
24-bit 192kHz 2Vrms Multi-Channel CODEC
FEATURES
* * * * * Multi-channel CODEC with 5 stereo input selector and 3 stereo output selector 4-channel DAC, 2-channel ADC Five stereo 2Vrms stereo inputs with analogue bypass to three stereo 2Vrms outputs Stereo headphone driver Audio performance DAC: 100dB SNR typical (`A' weighted @ 48kHz) DAC: -90dB THD typical ADC: 100dB SNR typical (`A' weighted @ 48kHz)
ADC: -90dB THD typical Independent sampling rates for ADC, DAC1 and DAC2 DACs sampling frequency 32kHz to 192kHz ADC sampling frequency 32kHz to 96kHz ADC digital gain control: +30dB to -97dB DAC digital volume control: +12dB to -100dB Analogue Volume control with soft ramp: +6dB to -73.5dB All volume controls include zero cross detection to prevent pops and clicks 2 and 3-wire serial control interface with readback and hardware reset, mute and powerdown pins 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-lead TQFP package
APPLICATIONS
* * Digital Flat Panel TV DVD-RW
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/
Product Preview, January 2007, Rev 1.0 Copyright (c)2007 Wolfson Microelectronics plc
WM8594 BLOCK DIAGRAM
Product Preview
w
PP Rev 1.0 January 2007 2
Product Preview
WM8594 TABLE OF CONTENTS
DESCRIPTION .......................................................................................................1 FEATURES.............................................................................................................1 APPLICATIONS .....................................................................................................1 BLOCK DIAGRAM .................................................................................................2 TABLE OF CONTENTS .........................................................................................3 PIN CONFIGURATION...........................................................................................4 ORDERING INFORMATION ..................................................................................4 PIN DESCRIPTION ................................................................................................5 ABSOLUTE MAXIMUM RATINGS.........................................................................6 RECOMMENDED OPERATING CONDITIONS .....................................................7 SUPPLY CURRENT CONSUMPTION ...................................................................7 ELECTRICAL CHARACTERISTICS ......................................................................7
TERMINOLOGY ............................................................................................................ 9 MASTER CLOCK 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.............................................................................................. 17 2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE .............. 18 3-WIRE (SPI COMPATIBLE) SERIAL CONTROL INTERFACE MODE ...................... 20 GLOBAL ENABLE CONTROL..................................................................................... 21 DIGITAL AUDIO INTERFACE ..................................................................................... 21 DIGITAL AUDIO DATA SAMPLING RATES................................................................ 23 DIGITAL AUDIO DATA FORMATS ............................................................................. 25 DAC FEATURES......................................................................................................... 29 ADC FEATURES......................................................................................................... 32 ANALOGUE ROUTING CONTROL............................................................................. 33 POP AND CLICK PERFORMANCE ............................................................................ 44
REGISTER MAP...................................................................................................47 DIGITAL FILTER CHARACTERISTICS ...............................................................71 APPLICATIONS INFORMATION .........................................................................74
RECOMMENDED EXTERNAL COMPONENTS .......................................................... 74 RECOMMENDED ANALOGUE LOW PASS FILTER .................................................. 75 EXTENDED INPUT IMPEDANCE CONFIGURATION................................................. 75 RELEVANT APPLICATION NOTES ............................................................................ 76
PACKAGE DIMENSIONS ....................................................................................77 IMPORTANT NOTICE ..........................................................................................78
ADDRESS: .................................................................................................................. 78
w
PP Rev 1.0 January 2007 3
WM8594
Product Preview
PIN CONFIGURATION
ORDERING INFORMATION
DEVICE WM8594SEFT/V WM8594SEFT/RV Note: Reel quantity = 2,200 TEMPERATURE RANGE -25 to +85oC -25 to +85oC PACKAGE 48-lead TQFP (Pb-free) 48-lead TQFP (Pb-free, tape and reel) MOISTURE SENSITIVITY LEVEL MSL1 MSL1 PEAK SOLDERING TEMPERATURE 260C 260C
w
PP Rev 1.0 January 2007 4
Product Preview
WM8594
PIN DESCRIPTION
PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 NAME ADCLRC ADCBCLK DOUT DACMCLK1 DACLRC1 DACBCLK1 DIN1 DACMCLK2 DACLRC2 DACBCLK2 DIN2 DVDD DGND /PWDN MUTE /RESET AVDD2 AGND2 VOUT3R VOUT3L VOUT2R VOUT2L VOUT1R VOUT1L VIN1L VIN1R VIN2L VIN2R VIN3L VIN3R VIN4L VIN4R VIN5L VIN5R ADCREFP ADCVMID ADCREFN DACREFP DACVMID DACREFN AVDD1 AGND1 MODE SDOUT /CS SCLK SDIN ADCMCLK TYPE Digital Input/Output Digital Input/Output Digital Output Digital Input Digital input Digital Input Digital Input Digital Input Digital input Digital Input Digital Input Supply Supply Digital Input Digital Input Digital Input Supply Supply Analogue Output Analogue Output Analogue Output Analogue Output Analogue Output Analogue Output Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Input Analogue Output Analogue Input Analogue Input Analogue Output Analogue Input Supply Supply Digital Input Digital Output Digital Input Digital Input Digital Input Digital Input DESCRIPTION ADC audio interface left/right clock input/output ADC audio interface bit clock input/output ADC data output DAC1 master clock DAC1 audio interface left/right clock input DAC1 audio interface bit clock input DAC 1 data input DAC2 master clock DAC2 audio interface left/right clock input DAC2 audio interface bit clock input DAC 2 data input Digital supply Digital ground Hardware standby mode Hardware DAC mute Hardware reset Analogue 9V supply Analogue ground Output selector channel 3 right output Output selector channel 3 left output Output selector channel 2 right output Output selector channel 2 left output Output selector channel 1 right output Output selector channel 1 left output Input selector channel 1 left input Input selector channel 1 right input Input selector channel 2 left input Input selector channel 2 right input Input selector channel 3 left input Input selector channel 3 right input Input selector channel 4 left input Input selector channel 4 right input Input selector channel 5 left input Input selector channel 5 right input Positive reference for ADC Midrail divider decoupling pin for ADC Ground reference for ADC Positive reference for DACs Midrail divider decoupling pin for DACs Ground reference for DACs Analogue 3.3V supply Analogue ground Software mode select (High = 3-wire, Low = 2-wire) Software mode: serial control interface data output Software mode: serial control interface chip select Software mode: serial control interface clock signal Software mode: serial control interface data signal ADC master clock input
w
PP Rev 1.0 January 2007 5
WM8594
Product Preview
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical Characteristics at the test conditions specified. ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage of this device. 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 <30C / 85% Relative Humidity. Not normally stored in moisture barrier bag. MSL2 = out of bag storage for 1 year at <30C / 60% Relative Humidity. Supplied in moisture barrier bag. MSL3 = out of bag storage for 168 hours at <30C / 60% Relative Humidity. Supplied in moisture barrier bag. The Moisture Sensitivity Level for each package type is specified in Ordering Information. CONDITION Digital supply voltage, DVDD Analogue supply voltage, AVDD1 Analogue supply voltage, AVDD2 Voltage range digital inputs Voltage range analogue inputs Master Clock Frequency Ambient temperature (supplies applied) Storage temperature Pb free package body temperature (reflow 10 seconds) Package body temperature (soldering 2 minutes) Note: 1. Analogue and digital grounds must always be within 0.3V of each other. -55C -65C MIN -0.3V -0.3V -0.3V DGND -0.3V TBD MAX +4.5V +7V +15V DVDD + 0.3V AVDD1 + 0.2V 38.462MHz +125C +150C +260C +183C
THERMAL PERFORMANCE
PARAMETER Thermal resistance - junction to ambient Notes: 1. 2. Figure given for package mounted on 4-layer FR4 according to JESD51-7. (No forced air flow is assumed). Thermal performance figures are estimated. SYMBOL TEST CONDITIONS MIN TYP 51.7 See note 1 MAX UNIT C/W
RJA
w
PP Rev 1.0 January 2007 6
Product Preview
WM8594
RECOMMENDED OPERATING CONDITIONS
PARAMETER Digital power supply Analogue power supply Analogue power supply Ground Operating temperature range Notes: 1. 2. Digital supply (DVDD) must never be more than 0.3V greater than AVDD1 in normal operation. Digital ground (DGND) and analogue grounds (AGND1, AGND2) must never be more than 0.3V apart. SYMBOL DVDD AVDD1 AVDD2 DGND/AGND1/ AGND2 TA -25 TEST CONDITIONS MIN 2.97 2.97 8.1 TYP 3.3 3.3 9 0 +85 MAX 3.6 3.6 9.9 UNIT V V V V C
SUPPLY CURRENT CONSUMPTION
PARAMETER Digital supply current Analogue supply current Analogue supply current Standby current SYMBOL IDVDD IAVDD1 IAVDD2 TEST CONDITIONS MIN TYP TBD TBD TBD TBD MAX UNIT mA mA mA A
ELECTRICAL CHARACTERISTICS
Test Conditions
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER Digital logic levels Input low level Input high level Output low level Output high level Digital input leakage current Digital input leakage capacitance Analogue Reference Levels ADC Midrail Voltage ADC Buffered Positive Reference Voltage DAC Midrail Voltage Potential divider resistance
SYMBOL VIL VIH VOL VOH
TEST CONDITIONS
MIN
TYP
MAX 0.3xDVDD
UNIT V V V V A pF
0.7xDVDD 0.1 x DVDD 0.9 x DVDD TBD TBD
ADCVMID ADCREFP DACVMID
AVDD1 to ADCVMID ADCVMID to AGND1 DACVREFP to DACVMID DACVMID to DACVREFN VMID_SEL[1:0] = 01
AVDD1/2 ADCVMID DACREFP/2 100 50 (Note 2)
V V V k k
Analogue Line Outputs Output signal level (0dB) Maximum capacitance load Minimum resistance load 1 RL = 10k TBD 2.0x AVDD2 / 9 TBD 11 Vrms nF k
w
PP Rev 1.0 January 2007 7
WM8594
Test Conditions
Product Preview
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER Analogue Headphone Outputs Output signal level (0dB) Minimum resistance load Analogue Inputs Input signal level (0dB) Input impedance Extended input impedance (Note 3) Input capacitance DAC Performance Signal to Noise Ratio1,5
SYMBOL
TEST CONDITIONS RL = 32
MIN TBD 16
TYP 0.8x AVDD2 / 9
MAX TBD
UNIT Vrms
2.0 x AVDD1/3.3 10 External resistor = 10k 11 21 TBD SNR A-weighted @ fs = 48kHz A-weighted @ fs = 96kHz A-weighted @ fs = 192kHz TBD 100 100 100 TBD 100 -90 -90 -90 100 0.1 0.05 PSRR 1kHz, 100mVpp 20Hz to 20kHz, 100mVpp TBD 50 TBD
TBD 12
Vrms k k nF dB dB dB dB
Dynamic Range2,5 Total Harmonic Distortion3,5
DNR THD
A-weighted, -60dB full scale input 1kHz, 0dBFS @ fs = 48kHz 1kHz, 0dBFS @ fs = 96kHz 1kHz, 0dBFS @ fs = 192kHz
TBD
dB dB dB dB dB Degree dB dB
Channel Separation4,5 Channel Level Matching Channel Phase Deviation Power supply rejection ratio
ADC Performance Signal to Noise Ratio1,5 SNR A-weighted, 0dB gain @ fs = 48kHz A-weighted, 0dB gain @ fs = 96kHz Dynamic Range2,5 Total Harmonic Distortion3,5 DNR THD A-weighted, -60dB full scale input 1kHz, -1dBFS @ fs = 48kHz 1kHz, -1dBFS @ fs = 96kHz Channel Separation4,5 Channel Level Matching Channel Phase Deviation Power Supply Rejection Ratio Analogue Bypass Paths Signal to Noise Ratio1,5 Dynamic Range
2,5
TBD
100 97
dB dB dB TBD dB dB dB dB Degree dB dB dB dB dB PP Rev 1.0 January 2007 8
TBD
100 -90 -87 100 0.1 0.05
PSRR
TBD
50 TBD
SNR DNR THD
A-weighted A-weighted
100 100 90
Total Harmonic Distortion3,5
w
Product Preview
WM8594
Test Conditions
AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated
PARAMETER Channel Separation4,5 Channel Level Matching Channel Phase Deviation Headphone Amplifier Output signal level (0dB) Signal to Noise Ratio1,5 Total Harmonic Distortion Channel Separation4,5 Power Supply Rejection Ratio Digital Volume Control ADC minimum digital volume ADC maximum digital volume ADC volume step size DAC minimum digital volume DAC maximum digital volume DAC volume step size Analogue Volume Control Minimum gain Maximum gain Step size Mute attenuation Crosstalk DAC to ADC
SYMBOL
TEST CONDITIONS
MIN
TYP 100 0.1 0.05 0.8
MAX
UNIT dB dB Degree Vrms dB dB dB dB
SNR THD
A-weighted PO=20mW, RL=16 PO=20mW, RL=32
PSRR
TBD -97 +30 0.5 -100 +12 0.5 -73.5 +6 0.5 TBD 1kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 20kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 100
dB dB dB dB dB dB dB dB dB dB dB dB
100
dB
ADC to DAC
1kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 20kHz signal, ADC fs=48kHz, DAC fs=44.1kHz
100
dB
100
dB
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). 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. 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. 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.
2.
3.
4.
w
PP Rev 1.0 January 2007 9
WM8594
5.
Product Preview
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. 2. 3. All minimum and maximum values are subject to change. This resistance is selectable using VMID_SEL[1:0] - see Figure 49 for full details. See p75 for details of extended input impedance configuration.
w
PP Rev 1.0 January 2007 10
Product Preview
WM8594
MASTER CLOCK TIMING
ADCMCLK/ DACMCLK1/ DACMCLK2 t
MCLKY
Figure 1 MCLK Timing Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25OC PARAMETER Master Clock Timing Information MCLK System clock cycle time MCLK Duty cycle MCLK Period Jitter MCLK Rise/Fall times Table 1 Master Clock Timing Requirements tMCLKY 27 40:60 120 60:40 200 10 ns % ps ns SYMBOL MIN TYP MAX UNIT
w
PP Rev 1.0 January 2007 11
WM8594
DIGITAL AUDIO INTERFACE TIMING - SLAVE MODE
Product Preview
Figure 2 Slave Mode Digital Audio Data Timing Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER Audio Data Input Timing Information ADCBCLK / DACBCLK1 / DACBCLK2 cycle time ADCBCLK / DACBCLK1 / DACBCLK2 pulse width high ADCBCLK / DACBCLK1 / DACBCLK2 pulse width low ADCBCLK / DACBCLK1 / DACBCLK2 rise/fall times ADCLRCLK / DACLRCLK1 / DACLRCLK2 set-up time to ADCBCLK / DACBCLK1 / DACLRCLK2 rising edge ADCLRCLK / DACLRCLK1 / DACLRCLK2 hold time from ADCBCLK / DACBCLK1 / DACBCLK2 rising edge ADCLRCLK / DACLRCLK1 / DACLRCLK2 rise/fall times DIN1/2 hold time from DACBCLK1 / DACBCLK2 rising edge DOUT propagation delay from ADCBCLK falling edge Table 2 Slave Mode Audio Interface Timing tDH tDD 25 4 16 tLRSU tLRH 22 25 5 tBCY tBCH tBCL 80 30 30 5 ns ns ns ns ns ns ns ns ns SYMBOL MIN TYP MAX UNIT
w
PP Rev 1.0 January 2007 12
Product Preview
WM8594
DIGITAL AUDIO INTERFACE TIMING - MASTER MODE
Figure 3 Master Mode Digital Audio Data Timing Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER Audio Data Input Timing Information ADCLRCLK / DACLRCLK1 / DACLRCLK2 propagation delay from ADCBCLK / DACBCLK1 / DACLRCLK2 falling edge DOUT propagation delay from ADCBCLK falling edge DIN1 / DIN2 setup time to DACBCLK1 / DACBCLK2 rising edge DIN1 / DIN2 hold time to DACBCLK1 / DACBCLK2 rising edge Table 3 Master Mode Audio Interface Timing tDL 4 16 ns SYMBOL MIN TYP MAX UNIT
tDDA tDST tDHT
4 22 25
16
ns ns ns
w
PP Rev 1.0 January 2007 13
WM8594
CONTROL INTERFACE TIMING - 2-WIRE MODE
t
STHO
Product Preview
t
DSU
t
STHO
SDIN t
STSU
t
STOP
SCLK t
SCY
t
DH
Figure 4 Control Interface Timing - 2-Wire Serial Control Mode Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER Program Register Input Information SCLK pulse cycle time SCLK duty cycle SCLK frequency Hold Time (Start Condition) Setup Time (Start Condition) Data Setup Time SDIN, SCLK Rise Time SDIN, SCLK Fall Time Setup Time (Stop Condition) Data Hold Time Pulse width of spikes that will be suppressed Table 4 Control Interface Timing - 2-Wire Serial Control Mode tSTOP tDHO tps 2 600 900 8 tSTHO tSTSU tDSU 600 600 100 300 300 tSCY 2500 40/60 60/40 400 ns % kHz ns ns ns ns ns ns ns ns SYMBOL MIN TYP MAX UNIT
w
PP Rev 1.0 January 2007 14
Product Preview
WM8594
CONTROL INTERFACE TIMING - 3-WIRE MODE
t CSS t CSH
/CS t SCLK
SCY
t SCS
t
CSS
SDIN t
DSU
LSB t
DHO
SDOUT t
DL
LSB
Figure 5 Control Interface Timing - 3-Wire Serial Control Mode Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER Program Register Input Information SCLK rising edge to CSB rising edge SCLK pulse cycle time SCLK duty cycle SDIN to SCLK set-up time SDIN hold time from SCLK rising edge SDOUT propagation delay from SCLK rising edge CSB pulse width high CSB rising/falling to SCLK rising Pulse width of spikes that will be suppressed Table 5 Control Interface Timing - 3-Wire Serial Control Mode tDSU tDHO tDL tCSH tCSS tps 20 20 2 8 tSCS tSCY 60 80 40/60 20 20 5 60/40 ns ns % ns ns ns ns ns ns SYMBOL MIN TYP MAX UNIT
w
PP Rev 1.0 January 2007 15
WM8594
POWER ON RESET (POR)
Product Preview
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 VDD level to POR defined (DVDD rising) VDD level to POR rising edge (DVDD rising) VDD level to POR falling edge (DVDD falling) VDD level to POR rising edge (AVDD1 rising) VDD level to POR falling edge (AVDD1 falling) VDD level to POR rising edge (AVDD2 rising) VDD level to POR falling edge (AVDD2 falling) Table 6 Power on Reset SYMBOL Vpord Vpord_hi Vpord_lo Vpor1_hi Vpor1_lo Vpor2_hi Vpor2_lo TEST CONDITIONS Measured from DGND Measured from DGND Measured from DGND Measured from DGND Measured from DGND Measured from DGND Measured from DGND MIN 0.27 1.34 1.32 1.65 1.63 1.80 1.76 TYP 0.36 1.88 1.86 1.68 1.65 1.86 1.8 MAX 0.60 2.32 2.30 1.85 1.83 2.04 2.02 UNIT V V V V V V V Power Supply Input Timing Information
w
PP Rev 1.0 January 2007 16
Product Preview
WM8594
DEVICE DESCRIPTION
INTRODUCTION
The WM8594 is a high performance multi-channel audio CODEC with 2Vrms line level inputs and outputs and flexible analogue input / output switching. The device comprises a 24-bit stereo ADC, two 24-bit stereo DACs with independent sampling rates and digital volume control, and a flexible analogue input and output 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. Each of the DAC audio interfaces can be configured to operate in ether master or slave clocking modes. 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 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 multiplexer accepts five stereo line level inputs at up to 2Vrms. One stereo input can be routed to the ADC, and all five stereo inputs can be routed to the output multiplexer. The output multiplexer includes analogue volume control with zero cross, adjustable between +6dB and -73.5dB in 0.5dB steps, and configurable soft ramp rate. Analogue audio is output at 2Vrms line level. Control of the internal functionality of the device is by 2-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, power-down and reset may also be achieved by pin selection. Operation using system clocks of 128fs, 192fs, 256fs, 384fs, 512fs, 768fs or 1152fs is provided. ADC and both 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.
CONTROL INTERFACE
Control of the WM8594 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 MODE pin as shown in Table 7 below: MODE Low High INTERFACE FORMAT 2 wire 3 wire
Table 7 Control Interface Mode Selection
w
PP Rev 1.0 January 2007 17
WM8594
2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE
Product Preview
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 SDIN while SCLK remains high. This indicates that a device address and data will follow. All devices on the 2-wire bus respond to the start condition and shift in the next eight bits on SDIN (7-bit address and read/write bit, MSB first). If the device address received matches the address of the WM8594, the WM8594 responds by pulling SDIN low on the next clock pulse (ACK). If the address is not recognised, the WM8594 returns to the idle condition and waits for a new start condition with valid address. When the WM8594 has acknowledged a correct address, the controller sends the first byte of control data (B23 to B16, i.e. the WM8594 register address). The WM8594 then acknowledges the first data byte by pulling SDIN 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 WM8594 acknowledges again by pulling SDIN 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 WM8594 acknowledges again by pulling SDIN low for one SCLK pulse. The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high. After receiving a complete address and data sequence the WM8594 returns to the idle state and waits for another start condition. If a start or stop condition is detected out of sequence at any point during data transfer (i.e. SDIN changes while SCLK is high), the WM8594 reverts to the idle condition. The WM8594 device address is 34h (0110100) or 36h (0110110), selectable by control of /CS. /CS (PIN 45) 0 1 2-WIRE BUS ADDRESS 34h (0110100) 36h (0110110)
Table 8 2-Wire Control Interface Bus Address Selection
Figure 6 2-Wire Write Protocol
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 7. As with normal register writes, the controller indicates the start of data transfer with a high to low transition on SDIN while SCLK remains high, and all devices on the bus receive the device address. When the WM8594 has acknowledged a correct address, the controller sends the first byte of control data (A6 to A0, i.e. the WM8594 initial register address). The WM8594 then acknowledges the first control data byte by pulling SDIN low for one SCLK pulse. The controller then sends a byte of register data. The WM8594 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 WM8594 without setting up the device and register address. The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high.
w
PP Rev 1.0 January 2007 18
Product Preview
WM8594
Figure 7 2-Wire Auto-Increment Register Write
REGISTER READBACK
The WM8594 allows readback of all registers with data output on the bidirectional SDIN 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 WM8594. At this point the controller will issue a repeated start condition and resend the device address along with a read bit. The WM8594 will acknowledge this and the WM8594 will become a slave transmitter. The WM8594 will place the data from the indexed register onto SDIN 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 SDIN. The controller will then issue a stop command completing the read cycle.
Figure 8 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 WM8594 will return the indexed register first, followed by consecutive registers in increasing index order until the controller issues a stop sequence.
Figure 9 2-Wire Auto-Increment Register Readback
w
PP Rev 1.0 January 2007 19
WM8594
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL INTERFACE MODE
REGISTER WRITE
Product Preview
SDIN 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. SDIN is sampled on the rising edge of SCLK. The 3-wire interface write protocol is shown in Figure 10.
Figure 10 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 11 3-Wire Serial Interface Readback Protocol
REGISTER RESET
Any write to register R0 (00h) will reset the WM8594. All register bits are reset to their default values.
w
PP Rev 1.0 January 2007 20
Product Preview
WM8594
DEVICE ID AND REVISION
Reading from register R0 returns the device ID. Reading from register R1 returns the device revision number. REGISTER ADDRESS R0 DEVICE_ID 00h R1 REVISION 01h BIT 15:0 LABEL DEVICE_ID [15:0] REVNUM [7:0] DEFAULT 10000101 10010100 N/A DESCRIPTION Device ID A read of this register will return the device ID, 0x8594. Device Revision A read of this register will return the device revision number. This number is sequentially incremented if the device design is updated.
7:0
Table 9 Device ID and Revision Number
GLOBAL ENABLE CONTROL
The WM8594 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. For full details of pop-free operation, see `Pop and Click Performance' on page 44. REGISTER ADDRESS R12 ENABLE 0Ch BIT 0 LABEL GLOBAL_ EN DEFAULT 0 DESCRIPTION Device Global Enable 0 = ADC, DAC and PGA ramp control circuitry disabled 1 = ADC, DAC and PGA ramp control circuitry enabled
Table 10 Global Enable Control
DIGITAL AUDIO INTERFACE
Digital audio data is transferred to and from the WM8594 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 15. 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]. The DAC audio interfaces require both left/right frame clocks (DACLRCLK1, DACLRCLK2) and bit clocks (DACBCLK1, DACBCLK2). 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 DAC1_MSTR in DAC1 Control Register 4 and DAC2_MSTR in DAC2 Control Register 9. The frequency of DACLRCLK1 in master mode is dependent upon the DAC1 master clock frequency and the DAC1_SR[2:0] bits. Similarly the frequency of DACLRCLK2 in master mode is dependent upon the DAC2 master clock frequency and the DAC2_SR[2:0] bits. The frequency of DACBCLK1 and DACBCLK2 in master mode can be selected by DAC1_BCLKDIV[1:0] and DAC2_BCLKDIV[1:0].
w
PP Rev 1.0 January 2007 21
WM8594
REGISTER ADDRESS R3 DAC1_CTRL2 03h BIT 2:0 LABEL DAC1_ SR[2:0] DEFAULT 000
Product Preview DESCRIPTION DAC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs DAC1 BCLK Rate 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of DAC1_BCLKDIV[2:0] are reserved DAC1 Master Mode Select 0 = Slave mode, DACBCLK1 and DACLRCLK1 are inputs to WM8594 1 = Master mode, DACBCLK1 and DACLRCLK1 are outputs from WM8594 DAC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs DAC2 BCLK Rate 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of DAC2_BCLKDIV[2:0] are reserved DAC2 Master Mode Select 0 = Slave mode, DACBCLK2 and DACLRCLK2 are inputs to WM8594 1 = Master mode, DACBCLK2 and DACLRCLK2 are outputs from WM8594 ADC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = Reserved
5:3
DAC1_ BCLKDIV [2:0]
000
R4 DAC1_CTRL3 04h
0
DAC1_ MSTR
0
R8 DAC1_CTRL2 08h
2:0
DAC2_ SR[2:0]
000
5:3
DAC2_ BCLKDIV [2:0]
000
R9 DAC2_CTRL3 09h
0
DAC2_ MSTR
0
R14 ADC_CTRL2 0Eh
2:0
ADC_ SR[2:0]
000
w
PP Rev 1.0 January 2007 22
Product Preview
WM8594
REGISTER ADDRESS BIT 5:3 LABEL ADC_BCLK DIV[2:0] DEFAULT 000 DESCRIPTION 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 ADC Master Mode Select 0 = Slave mode, ADCBCLK and ADCLRCLK are inputs to WM8594 1 = Master mode, ADCBCLK and ADCLRCLK are outputs from WM8594
R15 ADC_CTRL3 0Fh
0
ADC_ MSTR
0
Table 11 ADC Master Mode Control
SLAVE MODE
In slave mode, the master clock to left/right clock ratio can be auto-detected or set manually by register write. REGISTER ADDRESS R3 DAC1_CTRL2 03h R8 DAC2_CTRL2 08h BIT 2:0 LABEL DAC1_ SR[2:0] DAC2_ SR[2:0] DEFAULT 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
2:0
000
R14 ADC_CTRL2 0Eh
2:0
ADC_ SR[2:0]
000
Table 12 Slave Mode MCLK to LRCLK Ratio Control
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 WM8594 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 WM8594.
w
PP Rev 1.0 January 2007 23
WM8594
Product Preview In slave clocking mode the WM8594 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 13 shows typical master clock frequencies and sampling rates supported by the WM8594 ADC. Table 14 shows typical master clock frequencies and sampling rates supported by the WM8594 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 13 ADC Master Clock Frequency Versus Sampling Rate Sampling Rate (DACLRCLK1 DACLRCLK2) 32kHz 44.1kHz 48kHz 88.2kHz 96kHz 176.4kHz 192kHz 128fs Unavailable Unavailable Unavailable 11.2896 12.288 22.5792 24.576 192fs Unavailable 8.4672 9.216 16.9344 18.432 33.8688 36.864 MASTER CLOCK FREQUENCY (MHZ) 256fs 8.192 11.2896 12.288 22.5792 24.576 Unavailable Unavailable 384fs 12.288 16.9344 18.432 33.8688 36.864 Unavailable Unavailable 512fs 16.384 22.5792 24.576 Unavailable Unavailable Unavailable Unavailable 768fs 24.576 33.8688 36.864 Unavailable Unavailable Unavailable Unavailable 1152fs 36.864 Unavailable Unavailable Unavailable Unavailable Unavailable Unavailable
Table 14 DAC Master Clock Frequency Versus Sampling Rate
w
PP Rev 1.0 January 2007 24
Product Preview
WM8594
DIGITAL AUDIO DATA FORMATS
The WM8594 supports a range of common audio interface formats: * * * * * I2S 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 DIN1. 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.
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 12 I2S Mode Timing
w
PP Rev 1.0 January 2007 25
WM8594
LEFT JUSTIFIED (LJ) MODE
Product Preview
In LJ mode, the MSB of the input data is sampled by the WM8594 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 13 LJ Mode Timing
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 14 RJ Mode Timing
w
PP Rev 1.0 January 2007 26
Product Preview
WM8594
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 15 DSP Mode A Timing
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 16 DSP Mode B Timing
w
PP Rev 1.0 January 2007 27
WM8594
DIGITAL AUDIO INTERFACE CONTROL
Product Preview
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/tight clock polarity bits, the WM8594 ADC and DACs can sample data on the opposite clock edges. The control of audio interface formats and clock polarities is summarised in Table 15. REGISTER ADDRESS R2 DAC1_CTRL1 02h BIT 1:0 LABEL DAC1_ FMT[1:0] DEFAULT 10 DESCRIPTION DAC1 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC1 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted DAC2 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC2 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted
3:2
DAC1_ WL[1:0]
10
4
DAC1_BCP
0
5
DAC1_LRP
0
R7 DAC2_CTRL1 07h
1:0
DAC2_ FMT[1:0]
10
3:2
DAC2_ WL[1:0]
10
4
DAC2_BCP
0
5
DAC2_LRP
0
w
PP Rev 1.0 January 2007 28
Product Preview
WM8594
REGISTER ADDRESS R13 ADC_CTRL1 0Dh BIT 1:0 LABEL ADC_ FMT[1:0] DEFAULT 10 DESCRIPTION ADC Audio Interface Format 00 = Right Justified 01 = Left Justified 2 10 = I S 11 = DSP ADC Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = ADCLRCLK not inverted 1 = ADCLRCLK inverted
3:2
ADC_ WL[1:0]
10
4
ADC_BCP
0
5
ADC_LRP
0
Table 15 Audio Interface Control
DAC FEATURES
The WM8594 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 R2 DAC1_CTRL1 02h R7 DAC2_CTRL1 07h BIT 8 LABEL DAC1_EN DEFAULT 0 DESCRIPTION DAC1 Enable 0 = DAC disabled 1 = DAC enabled DAC2 Enable 0 = DAC2 disabled 1 = DAC2 enabled
8
DAC2_EN
0
Table 16 DAC Enable Control
DIGITAL VOLUME CONTROL
The WM8594 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
PP Rev 1.0 January 2007 29
WM8594
REGISTER ADDRESS R5 DAC1L_VOL 05h R6 DAC1R_VOL 06h R10 DAC2L_VOL 0Ah R11 DAC2R_VOL 0Bh R5 DAC1L_VOL 05h R6 DAC1R_VOL 06h R10 DAC2L_VOL 0Ah R11 DAC2R_VOL 0Bh R2 DAC1_CTRL1 02h R7 DAC2_CTRL1 07h BIT 7:0 LABEL DAC1L _VOL[7:0] DAC1R _VOL[7:0] DAC2L _VOL[7:0] DAC2R _VOL[7:0] DAC1L_VU 0 DEFAULT 11001000
Product Preview 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
7:0
7:0
7:0
8
8
DAC1R_VU
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
8
DAC2L_VU
8
DAC2R_VU
7
DAC1 _ZCEN DAC2 _ZCEN
1
7
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 R2 DAC1_CTRL1 02h R7 DAC2_CTRL1 07h BIT 9 LABEL DAC1_ MUTE DAC2_ MUTE DEFAULT 0 DESCRIPTION DAC Softmute 0 = Normal operation 1 = Softmute applied
9
0
Table 18 DAC Softmute Control
w
PP Rev 1.0 January 2007 30
Product Preview
WM8594
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 R2 DAC1_CTRL1 02h BIT 11:10 LABEL DAC1_OP _MUX[1:0] DEFAULT 00 DESCRIPTION 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 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
R7 DAC2_CTRL1 07h
11:10
DAC2_OP _MUX[1:0]
00
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. REGISTER ADDRESS R2 DAC1_CTRL1 02h R7 DAC2_CTRL1 07h BIT 6 LABEL DAC1 _DEEMPH DAC2 _DEEMPH DEFAULT 0 DESCRIPTION DAC1 De-emphasis 0 = No de-emphasis 1 = Apply 44.1kHz de-emphasis DAC2 De-emphasis 0 = No de-emphasis 1 = Apply 44.1kHz de-emphasis
6
0
Table 20 De-emphasis Control
CLOCK SWITCHING
The input clocks to the DAC (DACMCLK1, DACMCLK2, DACBCLK1, DACBCLK2, DACLRCLK1, DACLRCLK2) can be switched between sources if the DACs are required to source data from multiple DSPs or application processors. Uncontrolled switching of clocks is not recommended as this can result in glitches being applied to the DACs. The WM8594 can be configured to ignore the clock inputs so that the clocks can be switched externally. This means that the WM8594 is not affected by any glitches that arise as a result of switching clocks. The DACs should be configured to ignore the input clocks for the duration of the period taken to switch the clocks. REGISTER ADDRESS R38 DAC1_CLK 26h R39 DAC2_CLK BIT 0 LABEL DAC1_ SAFE_SW DAC2_ SAFE_SW DEFAULT 0 DESCRIPTION DAC Clock Input Safe Switching 0 = Ignore DAC clock inputs 1 = Use DAC clock inputs
0
0
Table 21 DAC Clock Switching Control
w
PP Rev 1.0 January 2007 31
WM8594
ADC FEATURES
Product Preview
The WM8594 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 R13 ADC_CTRL1 0Dh BIT 6 LABEL ADC_EN DEFAULT 0 DESCRIPTION ADC Enable 0 = ADC disabled 1 = ADC enabled
Table 22 ADC Enable Control
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 R16 ADCL_VOL 10h R17 ADCR_VOL 11h BIT 7:0 LABEL ADCL _VOL[7:0] ADCR _VOL[7:0] DEFAULT 11000011 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
7:0
11000011
R16 ADCL_VOL 10h R17 ADCR_VOL 11h R13 ADC_CTRL1 0Dh
8
ADCL_VU
0
8
ADCR_VU
0
13
ADC_ZC_ EN
1
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 23 ADC Digital Volume Control
CHANNEL SWAP AND INVERSION
The WM8594 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.
w
PP Rev 1.0 January 2007 32
Product Preview
WM8594
REGISTER ADDRESS R13 ADC_CTRL1 0Dh BIT 7 LABEL ADC_ LRSWAP DEFAULT 0 DESCRIPTION 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, ADCR 01 = left data from ADCL, ADCL 10 = left data from ADCR, ADCR 11 = left data from ADCR, ADCL
8 9 11:10
ADCR_ INV ADCL_ INV ADC_ DATA_ SEL[1:0]
0 0 00
right data from right data from right data from right data from
Table 24 ADC Channel Swap Control
HIGH PASS FILTER
The WM8594 includes a high pass filter to remove DC offsets. The high pass filter response is shown on page 73. It is possible to disable the high pass filter by writing to ADC_HPD. REGISTER ADDRESS R13 ADC_CTRL1 0Dh BIT 12 LABEL ADC_HPD DEFAULT 0 DESCRIPTION ADC High Pass Filter Disable 0 = High pass filter enabled 1 = High pass filter disabled
Table 25 High Pass Filter Disable Control
CLOCK SWITCHING
The input clocks to the ADC (ADCMCLK, ADCBCLK, ADCLRCLK) can be switched between sources if the ADC is used to supply data to multiple DSPs or application processors. Uncontrolled switching of clocks is not recommended as this may result in clock glitches being applied to the ADC. The WM8594 can be configured to ignore the clock inputs so that the clocks can be switched externally. This means that the WM8594 is not affected by any glitches that arise as a result of switching clocks. The ADC should be configured to ignore the input clocks for the duration of the period taken to switch the clocks. REGISTER ADDRESS R37 ADC_CLK 25h BIT 0 LABEL ADC_ SAFE_SW DEFAULT 0 DESCRIPTION ADC Clock Input Safe Switching 0 = Ignore ADC Clock Inputs 1 = Use ADC Clock Inputs
Table 26 ADC Clock Switching Control
ANALOGUE ROUTING CONTROL
The WM8594 has a number of analogue paths, allowing flexible routing of a number of analogue input signals and DAC output signals at levels up to 2Vrms. The analogue paths include volume control with zero cross, optional soft ramp and soft mute, and flexible routing of analogue inputs and DAC outputs to analogue outputs.
w
PP Rev 1.0 January 2007 33
WM8594
Product Preview There are a total of ten (five stereo) analogue input channels and four (two stereo) DAC output channels. Two of the ten input channels can be routed to the ADC. Six of the 14 total channels can be routed to the analogue outputs. Figure 17 illustrates the various blocks of the analogue routing paths within the WM8594. The following sections describe the control bits associated with the WM8594 analogue paths. Figure 17 also shows where these control bits take affect on the WM8594.
Figure 17 Analogue Routing Paths and Control
ANALOGUE VOLUME CONTROL
Each analogue bypass channel includes analogue volume control. Volume changes can be applied to each channel 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.
w
PP Rev 1.0 January 2007 34
Product Preview
WM8594
REGISTER ADDRESS R19 PGA1L_VOL 13h R20 PGA1R_VOL 14h R21 PGA2L_VOL 15h R22 PGA2R_VOL 16h R23 PGA3L_VOL 17h R24 PGA3R_VOL 18h R19 PGA1L_VOL 13h R20 PGA1R_VOL 14h R21 PGA2L_VOL 15h R22 PGA2R_VOL 16h R23 PGA3L_VOL 17h R24 PGA3R_VOL 18h R25 PGA_CTRL1 19h BIT 7:0 LABEL PGA1L_ VOL[7:0] PGA1R_ VOL[7:0] PGA2L_ VOL[7:0] PGA2R_ VOL[7:0] PGA3L_ VOL[7:0] PGA3R_ VOL[7:0] PGA1L_ VU PGA1R_ VU PGA2L_ VU PGA2R_ VU PGA3L_ VU PGA3R_ VU PGA1L_ ZC PGA1R_ ZC PGA1L_ ZC PGA1R_ ZC PGA1L_ ZC PGA1R_ ZC 1 PGA Gain Zero Cross Enable 0 = PGA gain updates occur immediately 1 = PGA gain updates occur on zero cross 0 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 DEFAULT 00001100 DESCRIPTION Input PGA Volume 0000 0000 = +6dB 0000 0001 = +5.5dB ...0.5dB steps 00001100 = 0dB ... 1001 1110 = -73.5dB 1001 1111 = PGA Mute
7:0
7:0
7:0
7:0
7:0
8
8
8
8
8
8
2 3 4 5 6 7
Table 27 Analogue Volume Control
w
PP Rev 1.0 January 2007 35
WM8594
VOLUME RAMP
Product Preview
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 28: SAMPLE RATE FOR PGA (kHz) 32 44.1 48 88.2 96 176.4 192 Table 28 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_SAFE_SW 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. 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 18 shows the effect of these register settings:
DECAY_BYPASS=0 ATTACK_BYPASS=0
DIVIDE BY 8 8 8 16 16 32 32
PGA Ramp Rate (ms/dB) 0.50 0.36 0.33 0.36 0.33 0.36 0.33
DECAY_BYPASS=1
ATTACK_BYPASS=1
Figure 18 ATTACK_BYPASS and DECAY_BYPASS functionality 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.
w
PP Rev 1.0 January 2007 36
Product Preview
WM8594
REGISTER ADDRESS R25 PGA_CTRL1 19h BIT 0 LABEL DECAY_ BYPASS ATTACK_ BYPASS PGA_ SR[2:0] DEFAULT 0 DESCRIPTION PGA Gain Decay Mode 0 = PGA gain will ramp down 1 = PGA gain will step down PGA Gain Attack Mode 0 = PGA gain will ramp up 1 = PGA gain will step up Sample Rate for PGA 000 = 32kHz 001 = 44.1kHz 010 = 48kHz 011 = 88.2kHz 100 = 96kHz 101 = 176.4kHz 11X = 192kHz See Table 28 for further information on PGA sample rate versus volume ramp rate. PGA Ramp Control Clock Source Mux Force Update 0 = Wait until clocks are safe before switching PGA clock source 1 = Force PGA clock source to change immediately PGA Ramp Control Clock Source 000 = ADCLRCLK 001 = DACLRCLK1 010 = DACLRCLK2 011 = reserved 100 = reserved 101 = DACLRCLK1 (when DAC1 is being used in master mode) 110 = DACLRCLK2 (when DAC2 is being used in master mode) 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
1
0
R27 ADD_CTRL1 1Bh
6:4
001
R36 PGA_CTRL3 24h
0
PGA_ SAFE_SW
0
3:1
PGA_ SEL[2:0]
000
10
PGA_UPD
0
Table 29 Analogue Volume Ramp Control
w
PP Rev 1.0 January 2007 37
WM8594
ANALOGUE MUTE CONTROL
Product Preview
The analogue channel PGAs can be muted independently and are muted by default. Alternatively, all mute bits can be set using a master mute bit, MUTE_ALL.
REGISTER ADDRESS R26 PGA_CTRL2 1Ah
BIT 0
LABEL MUTE_ ALL VOUT1L_ MUTE VOUT1R_ MUTE VOUT2L_ MUTE VOUT2R_ MUTE VOUT3L_ MUTE VOUT3R_ MUTE
DEFAULT 0
DESCRIPTION Master PGA Mute Control 0 = Unmute all PGAs 1 = Mute all PGAs Individual PGA Mute Control 0 = Unmute PGA 1 = Mute PGA
1 2 3 4 5 6
1 1 1 1 1 1
Table 30 Analogue Mute Control
w
PP Rev 1.0 January 2007 38
Product Preview
WM8594
INPUT SELECTOR CONTROL
Each left channel input PGA can select between all left channel analogue inputs, and both left and right DAC inputs. Each right channel input PGA can select between all right channel analogue inputs, and both left and right DAC inputs. All PGAs can be enabled and disabled independently. Note: It is recommended to mute the PGA before changing the input to the PGA to avoid pop/click noises when selecting a different input source.
Figure 19 Input Selector Control
w
PP Rev 1.0 January 2007 39
WM8594
REGISTER ADDRESS R28 INPUT_CTRL1 1Ch BIT 3:0 LABEL PGA1L_ IN_ SEL[3:0] PGA2L_ IN_ SEL[3:0] PGA3L_ IN_ SEL[3:0] DEFAULT 0000
Product Preview DESCRIPTION Left Input PGA Source Selection 0000 = No input selected 0001 = VIN1L selected 0010 = VIN2L selected 0011 = VIN3L selected 0100 = VIN4L selected 0101 = VIN5L selected 0110 to 1000 = reserved 1001 = DAC1L output selected 1010 = DAC1R output selected 1011 = DAC2L output selected 1100 = DAC2R output selected 1101 to 1111 = reserved Right Input PGA Source Selection 0000 = No input selected 0001 = VIN1R selected 0010 = VIN2R selected 0011 = VIN3R selected 0100 = VIN4R selected 0101 = VIN5R selected 0110 to 1000 = reserved 1001 = DAC1L output selected 1010 = DAC1R output selected 1011 = DAC2L output selected 1100 = DAC2R output selected 1101 to 1111 = reserved Input PGA Enable Controls 0 = PGA disabled 1 = PGA enabled
11:8
0000
R29 INPUT_CTRL2 1Dh
7:4
0000
R28 INPUT_CTRL1 1Ch R29 INPUT_CTRL2 1Dh
7:4
PGA1R_ IN_ SEL[3:0] PGA2R_ IN_ SEL[3:0] PGA3R_ IN_ SEL[3:0]
0000
3:0
0000
11:8
0000
R31 INPUT_CTRL4 1Fh
0 1 2 3 4 5
PGA1L_ EN PGA1R_ EN PGA2L_ EN PGA2R_ EN PGA3L_ EN PGA3R_ EN
0
Table 31 PGA Input Select Control
w
PP Rev 1.0 January 2007 40
Product Preview
WM8594
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 -6dB and +6dB prior to the ADC. These PGAs can be enabled and disabled independently.
Figure 20 ADC Input Selector Control REGISTER ADDRESS R30 INPUT_CTRL3 1Eh BIT 3:0 7:4 LABEL ADCL_ SEL[3:0] ADCR_ SEL[4:0] DEFAULT 0000 0000 DESCRIPTION ADC Input Select 0000 = VIN1L 0001 = VIN2L 0010 = VIN3L 0011 = VIN4L 0100 = VIN5L 0101 to 1000 = reserved 1000 = VIN1R 1001 = VIN2R 1010 = VIN3R 1011 = VIN4R 1100 = VIN5R 1101 to 1111 = reserved ADC Amplifier Gain Control 00 = 0dB 01 = +3dB 10 = +6dB 11 = +12dB ADC Input Switch Control 0 = ADC input switches open 1 = ADC input switches closed ADC Input Amplifier Enable Controls 0 = Amplifier disabled 1 = Amplifier enabled
9:8
ADC_AMP _VOL[1:0]
10
10
ADC_ SWITCH_ EN ADCL_ AMP_EN ADCR_ AMP_EN
0
R31 INPUT_CTRL4 1Fh
6 7
0 0
Table 32 ADC Input Switch Control
w
PP Rev 1.0 January 2007 41
WM8594
OUTPUT SELECTOR CONTROL
Product Preview
Any analogue PGA channel can be routed to any analogue output. All analogue outputs can be independently enabled and disabled. Additionally, all outputs can be tri-stated to allow the output to be connected to applications where ports can either be inputs or outputs. Note: It is recommended to mute all the outputs before changing the output selector to avoid pop/click noises when selecting a different output source.
Figure 21 Output Selector Control
w
PP Rev 1.0 January 2007 42
Product Preview
WM8594
REGISTER ADDRESS R32 OUTPUT_ CTRL1 20h BIT 2:0 5:3 8:6 R33 OUTPUT_ CTRL2 21h 2:0 5:3 8:6 R34 OUTPUT_ CTRL3 22h 0 1 2 3 4 5 7 8 9 10 11 12 LABEL VOUT1L_ SEL[2:0] VOUT1R_ SEL[2:0] VOUT2L_ SEL[2:0] VOUT2R_ SEL[2:0] VOUT3L_ SEL[2:0] VOUT3R_ SEL[2:0] VOUT1L_ TRI VOUT1R_ TRI VOUT2L_ TRI VOUT1R_ TRI VOUT3L_ TRI VOUT3R_ TRI VOUT1L_ EN VOUT1R_ EN VOUT2L_ EN VOUT2R_ EN VOUT3L_ EN VOUT3R_ EN 0 Output Amplifier Enables 0 = Output amplifier disabled 1 = Output amplifier enabled DEFAULT 000 001 010 011 100 101 0 Output Amplifier Tristate Control 0 = Normal operation 1 = Output amplifier tristate enable (Hi-Z) DESCRIPTION Output Mux Selection 000 = PGA1L 001 = PGA1R 010 = PGA2L 011 = PGA2R 100 = PGA3L 101 = PGA3R 11X = Reserved
Table 33 Output Selection
w
PP Rev 1.0 January 2007 43
WM8594
POP AND CLICK PERFORMANCE
Product Preview
The WM8594 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. 2. Apply power to the WM8594 (see Power On Reset). Set-up initial internal biases: * * * 3. SOFT_ST=1 FAST_EN=1 POBCTRL=1
Enable output drivers to allow the AC coupling capacitors at the output stage to be precharged to DACVMID: * * VOUTxL_EN=1 VOUTxR_EN=1
4.
Enable DACVMID. 500k selected here for optimum pop reduction: * VMID_SEL=10
5.
Wait until DACVMID has fully charged. The time is dependent on the capacitor values used to AC-couple the outputs and to decouple DACVMID, and the VMID_SEL value chosen. An approximate delay of 6xRCms can be used, where R is the DACVMID resistance and C is the decoupling capacitor on DACVMID. For DACVMID resistance of 50k and C=4.7uF, the delay should be approximately 1.5 seconds. * Insert delay
6.
Enable the master bias and DACVMID buffer: * * BIAS_EN=1 BUFIO_EN=1
7.
Switch the output drivers to use the master bias instead of the power up (fast) bias: * POBCTRL=0
8.
Enable all functions (DACs, ADC, PGAs) required for use. Outputs are muted by default so the write order is not important. Unmute the outputs and switch DACVMID resistance to 50k for normal operation: * * * VOUTxL_MUTE=0 VOUTxR_MUTE=0 VMID_SEL=01
9.
POWERDOWN SEQUENCE
1. Mute all outputs: * 2. MUTE_ALL=1
Set up biases for power down mode: * * * FAST_EN=1 VMID_SEL=01 BIAS_EN=1
w
PP Rev 1.0 January 2007 44
Product Preview * * * 3.
WM8594
BUFIO_EN=1 VMIDTOG=1 SOFT_ST=0
Switch outputs to use fast bias instead of master bias: * POBCTRL=1
4.
Power down all WM8594 functions (ADC, DACs, PGAs etc.). The outputs are muted so the write order is not important. Power down VMID to allow the analogue outputs to ramp gently to ground in a pop-free manner. * VMID_SEL=00
5.
6.
Wait until DACVMID has fully discharged. The time taken depends on system capacitance. * Insert delay
7.
Clamp outputs to ground. * APE_B=0
8.
Power down outputs. * * VOUTxL_EN=0 VOUTxR_EN=0
9.
Disable remaining bias control bits. * * * FAST_EN=0 POBCTRL=0 BIAS_EN=0
Power supplies can now be safely removed from the WM8594 if desired. Table 34 describes the various bias control bits for power up/down control.
w
PP Rev 1.0 January 2007 45
WM8594
REGISTER ADDRESS R35 BIAS 23h BIT 0 LABEL POBCTRL DEFAULT 0
Product Preview DESCRIPTION Bias Source for Output Amplifiers 0 = Output amplifiers use master bias 1 = Output amplifiers use fast bias VMID Power Down Characteristic 0 = Slow ramp 1 = Fast ramp Fast Bias Enable 0 = Fast bias disabled 1 = Fast bias enabled VMID Buffer Enable 0 = VMID Buffer disabled 1 = VMID Buffer enabled VMID Soft Ramp Enable 0 = Soft ramp disabled 1 = Soft ramp enabled Master Bias Enable 0 = Master bias disabled 1 = Master bias enabled Also powers down ADCVMID VMID Resistor String Value Selection (DACVMID only) 00 = off (no VMID) 01 = 100k 10 = 500k 11 = 10k The selection is the total resistance of the string from DACREFP to DACREFN. The ADCVMID resistance is fixed at 200k.
1
VMIDTOG
0
2
FAST_EN
0
3
BUFIO_ EN SOFT_ST
0
4
1
5
BIAS_EN
0
7:6
VMID_ SEL[1:0]
00
Table 34 Bias Control
w
PP Rev 1.0 January 2007 46
Product Preview
WM8594
REGISTER MAP
D ec Addr 0 1 2 DAC1 _OP_MUX[1 :0] 0 0 0 0 DAC2_OP_MUX[1 :0] 0 0 0 0 0 0 0 0 0 0 0 0 DAC2_MUTE 0 0 0 0 0 ADCL_INV 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 VOUT3R_EN 0 0 0 0 0 0 VOUT3L_EN 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 PGA2L_IN_SEL[3:0] 0 PGA3R_IN_SEL[3:0] ADC_SWITCH_EN 0 0 0 VOUT2R_EN 0 PGA_UPD ADC_AMP_VOL[1 :0] 0 0 0 VOUT2L_EN 0 0 VOUT1 R_EN 0 0 0 0 0 0 0 0 0 0 0 DAC1 L_VU DAC1 R_VU DAC2_EN 0 0 DAC2L_VU DAC2R_VU 0 ADCR_INV 0 0 ADCL_VU ADCR_VU PGA1 L_VU PGA1 R_VU PGA2L_VU PGA2R_VU PGA3L_VU PGA3R_VU 0 0 0 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 9 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 24 23 BIAS PGA_CTRL_3 22 OUTPUT_CTRL3 21 OUTPUT_CTRL2 20 OUTPUT_CTRL1 0 1 F INPUT_CTRL4 0 1 E INPUT_CTRL3 0 1 D INPUT_CTRL2 0 1 C INPUT_CTRL1 0 1 B GEN 0 0 1 A PGA_CTRL2 0 0 1 9 PGA_CTRL1 0 0 1 8 PGA3R_VOL 0 0 0 1 7 PG3L_VOL 0 0 0 1 6 PGA2R_VOL 0 0 0 1 5 PGA2L_VOL 0 0 0 1 4 PGA1 R_VOL 0 0 0 0 1 3 PGA1 L_VOL 0 0 0 0 1 1 ADCR_VOL 0 0 0 0 1 0 ADCL_VOL 0 0 0 0 0F ADC_CTRL3 0 0 0 0 0 0E ADC_CTRL2 0 0 0 0 0 0D ADC_CTRL1 0 0 ADC_ZC_EN ADC_HPD 0C ENABLE 0 0 0 0 0B DAC2R_VOL 0 0 0 0 0A DAC2L_VOL 0 0 0 0 09 DAC2_CTRL3 0 0 0 0 08 DAC2_CTRL2 0 0 0 0 07 DAC2_CTRL1 0 0 0 0 06 DAC1 R_VOL 0 0 0 0 05 DAC1 L_VOL 0 0 0 0 04 DAC1 _CTRL3 0 0 0 0 03 DAC1 _CTRL2 0 0 0 0 02 DAC1 _CTRL1 0 0 0 0 DAC1 _MUTE DAC1 _EN 01 REVISION 0 0 0 0 0 0 0 0 00 DEVICE_ID
Hex Addr N ame
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Hex Default
Read: DEVICE_ID[1 5:0] / Write: SW_RST
0x8594
REVNUM[7:0] DAC1 _ZCEN 0 0 DAC1 _DEEMPH 0 0 0 DAC1 _LRP DAC1 _BCP DAC1 _BCLKDIV[2:0] 0
0x0000
DAC1 _WL[1 :0]
DAC1 _FMT[1 :0]
0x008A
DAC1 _SR[2:0]
0x0000
0
0
0
DAC1 _MSTR
0x0000
DAC1 L_VOL[7:0]
0x00C8
DAC1 R_VOL[7:0] DAC2_ZCEN 0 0 DAC2_DEEMPH 0 0 0 DAC2_LRP DAC2_BCP DAC2_BCLKDIV[2:0] 0
0x00C8
DAC2_WL[1 :0]
DAC2_FMT[1 :0]
0x008A
DAC2_SR[2:0]
0x0000
0
0
0
DAC2_M STR
0x0000
DAC2L_VOL[7:0]
0x00C8
DAC2R_VOL[7:0] 0 ADC_LRSWAP 0 0 0 0 0 ADC_EN 0 ADC_LRP 0 ADC_BCP ADC_BCLKDIV[2:0] 0
0x00C8
0
0
0
GLOBAL_EN
0x0000
ADC_DATA_SEL[1 :0]
ADC_WL[1 :0]
ADC_FMT[1 :0]
0x200A
ADC_SR[2:0]
0x0000
0
0
ADC_MSTR
0x0000
ADCL_VOL[7:0]
0x00C3
ADCR_VOL[7:0]
0x00C3
PGA1 L_VOL[7:0]
0x000C
PGA1 R_VOL[7:0]
0x000C
PGA2L_VOL[7:0]
0x000C
PGA2R_VOL7:0]
0x000C
PGA3L_VOL[7:0]
0x000C
PGA3R_VOL[7:0] PGA3R_ZC 0 0 PGA3L_ZC VOUT3R_MUTE PGA2R_ZC VOUT3L_MUTE PGA_SR[2:0] PGA1 R_IN_SEL[3:0] PGA3L_IN_SEL[3:0] ADCR_SEL[3:0] ADCR_AM P_EN ADCL_AMP_EN VOUT2L_SEL[2:0] VOUT3R_SEL[2:0] VOUT1 L_EN APE_B VMID_SEL[1 :0] 0 0 VOUT3R_TRI BIAS_EN 0 PGA3R_EN PGA3L_EN VOUT1 R_SEL[2:0] VOUT3L_SEL[2:0] VOUT3L_TRI SOFT_ST 0 PGA2L_ZC VOUT2R_MUTE
0x000C
PGA1 R_ZC
PGA1 L_ZC
ATTACK_BYPASSDECAY_BYPASS
0x00FC
VOUT2L_MUTE
VOUT1 R_MUTE
VOUT1 L_MUTE
MUTE_ALL
0x007E
AUTO_INC
0
0
0
0x0048
PGA1 L_IN_SEL[3:0]
0x0000
PGA2R_IN_SEL[3:0]
0x0000
ADCL_SEL[3:0]
0x0008
PGA2R_EN
PGA2L_EN
PGA1 R_EN
PGA1 L_EN
0x0000
VOUT1 L_SEL[2:0]
0x0088
VOUT2R_SEL[2:0]
0x01 63
VOUT2R_TRI
VOUT2L_TRI
VOUT1 R_TRI
VOUT1 L_TRI
0x0040
BUFIOEN
FAST_EN
VMIDTOG
POBCTRL
0x001 0
PGA_SEL[2:0]
PGA_SAFE_SW
0x0002
w
PP Rev 1.0 January 2007 47
WM8594
Product Preview
R0 (0h) - Software Reset / Device ID Register (DEVICE_ID) Bit # Read Write Default Bit # Read Write Default Function DEVICEID[15:0] SW_RST 1 0 0 1 1 7 0 6 0 5 0 4 SW_RST 0 Description Device ID A read of this register will return the device ID. In this case 0x8594. Software Reset A write of any value to this register will generate a software reset. 1 0 0 N/A = Not Applicable (no function implemented) 15 14 13 12 SW_RST 0 3 1 2 0 1 1 0 11 10 9 8 DEVICE_ID[15:8]
DEVICE_ID[7:0]
Figure 22 R0 - Software Reset / Device ID
R1 (01h) - Device Revision Register (REVISION) Bit # Read Write Default Bit # Read Write Default Function REVNUM[7:0] N/A N/A N/A 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 N/A 11 0 N/A 0 3 N/A Description Device Revision A read of this register will return the device revision number. This number is sequentially incremented if the device design is updated. 10 0 N/A 0 2 N/A 9 0 N/A 0 1 N/A 8 0 N/A 0 0 N/A -
REVNUM[7:0]
N/A = Not Applicable (no function implemented)
Figure 23 R1 - Device Revision Register
w
PP Rev 1.0 January 2007 48
Product Preview
WM8594
R2 (02h) - DAC Control Register 1 (DAC1_CTRL1) Bit # Read Write Default Bit # Read Write Default Function DAC1_FMT[1:0] DAC1 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC1 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted 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 15 0 N/A 0 7 DAC1_ZCEN 1 14 0 N/A 0 6 DAC1_ DEEMPH 0 13 0 N/A 0 5 DAC1_LRP 0 12 0 N/A 0 4 DAC1_BCP 0 11 10 9 DAC1_MUTE 0 1 8 DAC1_EN 0 0
DAC1_OP_MUX[1:0] 0 3 0 2
DAC1_WL[1:0] 1 Description 0
DAC1_FMT[1:0] 1 0
N/A = Not Applicable (no function implemented)
DAC1_WL[1:0]
DAC1_BCP
DAC1_LRP
DAC1_DEEMPH
DAC1_ZCEN
DAC1_EN
DAC1_MUTE
DAC1_OP_MUX[1:0]
Figure 24 R2 - DAC1 Control Register 1
w
PP Rev 1.0 January 2007 49
WM8594
Product Preview
R3 (03h) - DAC1 Control Register 2 (DAC1_CTRL2) Bit # Read Write Default Bit # Read Write Default Function DAC1_SR[2:0] DAC1 MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs DAC1 BCLK Rate 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of DAC1_BCLKDIV[2:0] are reserved 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 0 13 0 N/A 0 5 12 0 N/A 0 4 DAC1_BCLKDIV[2:0] 0 0 Description 0 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 DAC1_SR[2:0] 0 0 8 0 N/A 0 0
N/A = Not Applicable (no function implemented)
DAC1_ BCLKDIV [2:0]
Figure 25 R3 - DAC1 Control Register 2
R4 (04h) - DAC1 Control Register 3 (DAC1_CTRL3) Bit # Read Write Default Bit # Read Write Default Function DAC1_MSTR 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description DAC1 Master Mode Select 0 = Slave mode, DACBCLK1 and DACLRCLK1 are inputs to WM8594 1 = Master mode, DACBCLK1 and DACLRCLK1 are outputs from WM8594 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 DAC1_MSTR 0
N/A = Not Applicable (no function implemented)
Figure 26 R4 - DAC1 Control Register 3
w
PP Rev 1.0 January 2007 50
Product Preview
WM8594
R5 (05h) - DAC1L Digital Volume Control Register (DAC1L_VOL) Bit # Read Write Default Bit # Read Write Default Function DAC1L_VOL[7:0] 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 DAC1L_VU 0 0
DAC1L_VOL[7:0] 0 1 Description 0 0 0
N/A = Not Applicable (no function implemented)
DAC1L_VU
Figure 27 R5 - DAC1L Digital Volume Control Register R6 (06h) - DAC1R Digital Volume Control Register (DAC1R_VOL) Bit # Read Write Default Bit # Read Write Default Function DAC1R_VOL[7:0] 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 DAC1R_VU 0 0
DAC1R_VOL[7:0] 0 1 Description 0 0 0
N/A = Not Applicable (no function implemented)
DAC1R_VU
Figure 28 R6 - DAC1R Digital Volume Control Register
w
PP Rev 1.0 January 2007 51
WM8594
Product Preview
R7 (07h) - DAC2 Control Register 1 (DAC2_CTRL1) Bit # Read Write Default Bit # Read Write Default Function DAC2_FMT[1:0] DAC2 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC2 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted DAC2 Deemphasis 0 = No deemphasis 1 = Apply 44.1kHz de-emphasis 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 15 0 N/A 0 7 DAC2_ZCEN 1 14 0 N/A 0 6 DAC2_ DEEMPH 0 13 0 N/A 0 5 DAC2_LRP 0 12 0 N/A 0 4 DAC2_BCP 0 11 10 9 DAC2_MUTE 0 1 8 DAC2_EN 0 0
DAC2_OP_MUX[1:0] 0 3 0 2
DAC2_WL[1:0] 1 Description 0
DAC2_FMT[1:0] 1 0
N/A = Not Applicable (no function implemented)
DAC2_WL[1:0]
DAC2_BCP
DAC2_LRP
DAC2_DEEMPH
DAC2_ZCEN
DAC2_EN
DAC2_MUTE
DAC2_OP_MUX[1:0]
Figure 29 R7 - DAC2 Control Register 1
w
PP Rev 1.0 January 2007 52
Product Preview
WM8594
R8 (08h) - DAC2 Control Register 2 (DAC2_CTRL2) Bit # Read Write Default Bit # Read Write Default Function 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 DAC2 BCLK Rate 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of DAC2_BCLKDIV[2:0] are reserved 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 0 13 0 N/A 0 5 12 0 N/A 0 4 DAC2_BCLKDIV[2:0] 0 0 Description 0 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 DAC2_SR[2:0] 0 0 8 0 N/A 0 0
N/A = Not Applicable (no function implemented)
DAC2_BCLKDIV[2:0]
Figure 30 R8 - DAC2 Control Register 2 R9 (09h) - DAC2 Control Register 3 (DAC2_CTRL3) Bit # Read Write Default Bit # Read Write Default Function DAC2_MSTR 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description DAC2 Master Mode Select 0 = Slave mode, DACBCLK2 and DACLRCLK2 are inputs to WM8594 1 = Master mode, DACBCLK2 and DACLRCLK2 are outputs from WM8594 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 DAC2_MSTR 0
N/A = Not Applicable (no function implemented)
Figure 31 R9 - DAC2 Control Register 3
w
PP Rev 1.0 January 2007 53
WM8594
R10 (0Ah) - DAC2L Digital Volume Control Register (DAC2L_VOL) Bit # Read Write Default Bit # Read Write Default Function DAC2L_VOL[7:0] 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1
Product Preview
8 DAC2L_VU 0 0
DAC2L_VOL[7:0] 0 1 Description 0 0 0
N/A = Not Applicable (no function implemented)
DAC2L_VU
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 R11 (0Bh) - DAC2R Digital Volume Control Register (DAC2R_VOL) Bit # Read Write Default Bit # Read Write Default Function DAC2R_VOL[7:0] 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 DAC2R_VU 0 0
DAC2R_VOL[7:0] 0 1 Description 0 0 0
N/A = Not Applicable (no function implemented)
DAC2R_VU
Figure 33 R11 - DAC2R Digital Volume Control Register
w
PP Rev 1.0 January 2007 54
Product Preview
WM8594
R12 (0Ch) - Device Enable Register (ENABLE) Bit # Read Write Default Bit # Read Write Default Function GLOBAL_EN 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description Device Global Enable 0 = ADC, DAC and PGA ramp control circuitry disabled 1 = ADC, DAC and PGA ramp control circuitry enabled 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 GLOBAL_EN 0
N/A = Not Applicable (no function implemented)
Figure 34 R12 - Device Enable Register R13 (0Dh) - ADC Control Register 1 (ADC_CTRL1) Bit # Read Write Default Bit # Read Write Default Function ADC_FMT[1:0] ADC Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP ADC Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 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 LRCLK Polarity 0 = ADCLRCLK not inverted 1 = ADCLRCLK inverted ADC Enable 0 = ADC disabled 1 = ADC enabled 15 0 N/A 0 7 ADC_ LRSWAP 0 14 0 N/A 0 6 ADC_EN 0 13 ADC_ZCEN 1 5 ADC_LRP 0 12 ADC_HPD 0 4 ADC_BCP 0 11 10 9 ADCL_INV 0 1 8 ADCR_INV 0 0
ADC_DATA_SEL[1:0] 0 3 ADC_WL[1:0] 1 Description 0 0 2
ADC_FMT[1:0] 1 0
N/A = Not Applicable (no function implemented)
ADC_WL[1:0]
ADC_BCP
ADC_LRP
ADC_EN
w
PP Rev 1.0 January 2007 55
WM8594
ADC_LRSWAP 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
Product Preview
ADCR_INV ADCL_INV ADC_DATA_SEL[1:0]
ADC_HPD
ADC_ZC_EN
Figure 35 R13 - ADC Control Register 1 R14 (0Eh) - ADC Control Register 2 (ADC_CTRL2) Bit # Read Write Default Bit # Read Write Default Function ADC_SR[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 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 0 13 0 N/A 0 5 12 0 N/A 0 4 ADC_BCLKDIV[2:0] 0 0 Description 0 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 ADC_SR[2:0] 0 0 8 0 N/A 0 0
N/A = Not Applicable (no function implemented)
ADC_BCLKDIV[2:0]
Figure 36 R14 - ADC Control Register 2
w
PP Rev 1.0 January 2007 56
Product Preview
WM8594
R15 (0Fh) - ADC Control Register 3 (ADC_CTRL3) Bit # Read Write Default Bit # Read Write Default Function ADC_MSTR 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description ADC Master Mode Select 0 = Slave mode, ADCBCLK and ADCLRCLK are inputs to WM8594 1 = Master mode, ADCBCLK and ADCLRCLK are outputs from WM8594 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 ADC_MSTR 0
N/A = Not Applicable (no function implemented)
Figure 37 R15 - ADC Control Register 3 R16 (10h) - Left ADC Digital Volume Control Register (ADCL_VOL) Bit # Read Write Default Bit # Read Write Default Function 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 ADCL_VU 0 0
ADCL_VOL[7:0] 0 0 Description 0 1 1
N/A = Not Applicable (no function implemented)
ADCL_VU
Figure 38 R10 - Left ADC Digital Volume Control Register
w
PP Rev 1.0 January 2007 57
WM8594
R17 (11h) - Right ADC Digital Volume Control Register (ADCR_VOL) Bit # Read Write Default Bit # Read Write Default Function ADCR_VOL[7:0] 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 1 1 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1
Product Preview
8 ADCR_VU 0 0
ADCR_VOL[7:0] 0 0 Description 0 1 1
N/A = Not Applicable (no function implemented)
ADCR_VU
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
PP Rev 1.0 January 2007 58
Product Preview
WM8594
R19 (13h) - PGA1L Volume Control Register (PGA1L_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 0 PGA1L_VU 0 0
PGA1L_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) R20 (14h) - PGA1R Volume Control Register (PGA1R_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 0 PGA1R_VU 0 0
PGA1R_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) R21 (15h) - PGA2L Volume Control Register (PGA2L_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 0 PGA2L_VU 0 0
PGA2L_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) R22 (16h) - PGA2R Volume Control Register (PGA2R_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 0 PGA2R_VU 0 0
PGA2R_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) ...Continued on next page
w
PP Rev 1.0 January 2007 59
WM8594
R23 (17h) - PGA3L Volume Control Register (PGA3L_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1
Product Preview
8 0 PGA3L_VU 0 0
PGA3L_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) R24 (18h) - PGA3R Volume Control Register (PGA3R_VOL) Bit # Read Write Default Bit # Read Write Default 0 0 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 8 0 PGA3R_VU 0 0
PGA3R_VOL[7:0] 0 1 1 0 0
N/A = Not Applicable (no function implemented) PGA1L_VOL[7:0] PGA1R_VOL[7:0] PGA2L_VOL[7:0] PGA2R_VOL[7:0] PGA3L_VOL[7:0] PGA3R_VOL[7:0] 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
PGA1L_VU PGA1R_VU PGA2L_VU PGA2R_VU PGA3L_VU PGA3R_VU
Figure 40 R19-24 - PGA Volume Control Registers
w
PP Rev 1.0 January 2007 60
Product Preview
WM8594
R25 (19h) - PGA Control Register 1 (PGA_CTRL1) Bit # Read Write Default Bit # Read Write Default Function DECAY_BYPASS PGA Gain Decay Mode 0 = PGA gain will ramp down 1 = PGA gain will step down PGA Gain Attack Mode 0 = PGA gain will ramp up 1 = PGA gain will step up 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 15 0 N/A 0 7 PGA3R_ZC 1 14 0 N/A 0 6 PGA3L_ZC 1 13 0 N/A 0 5 PGA2R_ZC 1 12 0 N/A 0 4 PGA2L_ZC 1 11 0 N/A 0 3 PGA1R_ZC 1 Description 10 0 N/A 0 2 PGA1L_ZC 1 9 0 N/A 0 1 ATTACK_ BYPASS 0 8 0 N/A 0 0 DECAY_ BYPASS 0
N/A = Not Applicable (no function implemented)
ATTACK_BYPASS
PGA1L_ZC PGA1R_ZC PGA2L_ZC PGA2R_ZC PGA3L_ZC PGA3R_ZC
Figure 41 R25 - PGA Control Register 1 R26 (1Ah) - PGA Control Register 2 (PGA_CTRL2) Bit # Read Write Default Bit # Read Write Default Function MUTE_ALL Master PGA Mute Control 0 = Unmute all PGAs 1 = Mute all PGAs Individual PGA Mute Control 0 = Unmute PGA 1 = Mute PGA 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 VOUT3R_ MUTE 1 13 0 N/A 0 5 VOUT3L_ MUTE 1 12 0 N/A 0 4 VOUT2R_ MUTE 1 11 0 N/A 0 3 VOUT2L_ MUTE 1 Description 10 0 N/A 0 2 VOUT1R_ MUTE 1 9 0 N/A 0 1 VOUT1L_ MUTE 1 8 0 N/A 0 0 MUTE_ALL 0
N/A = Not Applicable (no function implemented)
VOUT1L_MUTE VOUT1R_MUTE VOUT2L_MUTE VOUT2R_MUTE VOUT3L_MUTE VOUT3R_MUTE
Figure 42 R26 - PGA Control Register 2
w
PP Rev 1.0 January 2007 61
WM8594
R27 (1Bh) - Additional Control Register 1 (ADD_CTRL1) Bit # Read Write Default Bit # Read Write Default Function AUTO_INC 15 0 N/A 0 7 0 N/A 0 1 14 0 N/A 0 6 13 0 N/A 0 5 PGA_SR[2:0] 0 0 12 0 N/A 0 4 11 0 N/A 0 3 AUTO_INC 1 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 28 for further information on PGA sample rate versus volume ramp rate. 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0
Product Preview
8 0 N/A 0 0 0 N/A 0
N/A = Not Applicable (no function implemented)
PGA_SR[2:0]
Figure 43 R27 - Additional Control Register 1
w
PP Rev 1.0 January 2007 62
Product Preview
WM8594
R28 (1Ch) - Input Control Register 1 (INPUT_CTRL1) Bit # Read Write Default Bit # Read Write Default 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 0 3 11 10 9 8
PGA2L_IN_SEL[3:0] 0 2 0 1 0 0
PGA1R_IN_SEL[3:0] 0 0 0 0
PGA1L_IN_SEL[3:0] 0 0 0
N/A = Not Applicable (no function implemented) R29 (1Dh) - Input Control Register 2 (INPUT_CTRL2) Bit # Read Write Default Bit # Read Write Default Function PGA1L_IN_SEL[3:0] PGA2L_IN_SEL[3:0] PGA3L_IN_SEL[3:0] Left Input PGA Source Selection 0000 = No input selected 0001 = VIN1L selected 0010 = VIN2L selected 0011 = VIN3L selected 0100 = VIN4L selected 0101 = VIN5L selected 0110 to 1000 = reserved 1001 = DAC1L output selected 1010 = DAC1R output selected 1011 = DAC2L output selected 1100 = DAC2R output selected 1101 to 1111 = reserved Right Input PGA Source Selection 0000 = No input selected 0001 = VIN1R selected 0010 = VIN2R selected 0011 = VIN3R selected 0100 = VIN4R selected 0101 = VIN5R selected 0110 to 1000 = reserved 1001 = DAC1L output selected 1010 = DAC1R output selected 1011 = DAC2L output selected 1100 = DAC2R output selected 1101 to 1111 = reserved 0 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 0 3 11 10 9 8
PGA3R_IN_SEL[3:0] 0 2 0 1 0 0
PGA3L_IN_SEL[3:0] 0 0 0 0 Description
PGA2R_IN_SEL[3:0] 0 0 0
N/A = Not Applicable (no function implemented)
PGA1R_IN_SEL[3:0] PGA2R_IN_SEL[3:0] PGA3R_IN_SEL[3:0]
Figure 44 R28-29 - Input Control Registers 1-2
w
PP Rev 1.0 January 2007 63
WM8594
R30 (1Eh) - Input Control Register 3 (INPUT_CTRL3) Bit # Read Write Default Bit # Read Write Default Function ADCL_SEL[3:0] ADCR_SEL[3:0] ADC Input Select 0000 = VIN1L 0001 = VIN2L 0010 = VIN3L 0011 = VIN4L 0100 = VIN5L 0101 to 1000 = reserved 1000 = VIN1R 1001 = VIN2R 1010 = VIN3R 1011 = VIN4R 1100 = VIN5R 1101 to 1111 = reserved ADC Amplifier Gain Control 00 = 0dB 01 = +3dB 10 = +6dB 11 = +12dB ADC Input Switch Control 0 = ADC input switches open 1 = ADC input switches closed 1 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 11 0 N/A 0 3 10 ADC_ SWITCH_EN 0 2 9
Product Preview
8
ADC_AMP_VOL[1:0] 1 1 0 0
ADCR_SEL[3:0] 0 0 0 0 Description
ADCL_SEL[3:0] 0 0 0
N/A = Not Applicable (no function implemented)
ADC_AMP_VOL[1:0]
ADC_SWITCH_EN
Figure 45 R30 - Input Control Register 3
w
PP Rev 1.0 January 2007 64
Product Preview
WM8594
R31 (1Fh) - Input Control Register 4 (INPUT_CTRL4) Bit # Read Write Default Bit # Read Write Default Function PGA1L_EN PGA1R_EN PGA2L_EN PGA2R_EN PGA3L_EN PGA3R_EN ADCL_AMP_EN ADCR_AMP_EN Input PGA Enable Controls 0 = PGA disabled 1 = PGA enabled 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 PGA3R_EN 0 12 0 N/A 0 4 PGA3L_EN 0 11 0 N/A 0 3 PGA2R_EN 0 Description 10 0 N/A 0 2 PGA2L_EN 0 9 0 N/A 0 1 PGA1R_EN 0 8 0 N/A 0 0 PGA1L_EN 0
ADCR_AMP_ ADCL_AMP_ EN EN 0 0
N/A = Not Applicable (no function implemented)
ADC Input Amplifier Enable Controls 0 = Amplifier disabled 1 = Amplifier enabled
Figure 46 R31 - Input Control Register 4
w
PP Rev 1.0 January 2007 65
WM8594
R32 (20h) - Output Control Register 1 (OUTPUT_CTRL1) Bit # Read Write Default Bit # Read Write Default 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 VOUT1R _SEL[2:0] 0 0 1 0 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1
Product Preview
8 VOUT2L_ SEL[2] 0 0
VOUT2L_SEL[1:0] 1 0
VOUT1L_SEL[2:0] 0 0
N/A = Not Applicable (no function implemented) R33 (21h) - Output Control Register 2 (OUTPUT_CTRL2) Bit # Read Write Default Bit # Read Write Default Function VOUT1L_SEL[3:0] VOUT1R_SEL [3:0] VOUT2L_SEL [3:0] VOUT2R_SEL [3:0] VOUT3L_SEL [3:0] VOUT3R_SEL [3:0] Output Mux Selection 000 = PGA1L 001 = PGA1R 010 = PGA2L 011 = PGA2R 100 = PGA3L 101 = PGA3R 11X = Reserved 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 12 0 N/A 0 4 VOUT3L_SEL [2:0] 1 0 0 Description 0 11 0 N/A 0 3 10 0 N/A 0 2 9 0 N/A 0 1 VOUT2R_SEL[2:0] 1 1 8 VOUT3R_ SEL[2] 1 0
VOUT3R_SEL [1:0] 0 1
N/A = Not Applicable (no function implemented)
Figure 47 R32-33 - Output Control Registers 1-2
w
PP Rev 1.0 January 2007 66
Product Preview
WM8594
R34 (22h) - Output Control Register 3 (OUTPUT_CTRL3) Bit # Read Write Default Bit # Read Write Default Function VOUT1L_TRI VOUT1R_TRI VOUT2L_TRI VOUT2R_TRI VOUT3L_TRI VOUT3R_TRI APE_B Output Amplifier Tristate Control 0 = Normal operation 1 = Output amplifier tristate enable (Hi-Z) 15 0 N/A 0 7 VOUT1L_EN 0 14 0 N/A 0 6 APE_B 1 13 0 N/A 0 5 12 11 10 9 8
VOUT3R_EN VOUT3L_EN VOUT2R_EN VOUT2L_EN VOUT1R_EN 0 4 0 3 0 2 0 1 0 0
VOUT3R_TRI VOUT3L_TRI VOUT2R_TRI VOUT2L_TRI VOUT1R_TRI VOUT1L_TRI 0 0 0 Description 0 0 0
N/A = Not Applicable (no function implemented)
Clamp Outputs to Ground 0 = clamp active 1 = clamp not active Output Amplifier Enables 0 = Output amplifier disabled 1 = Output amplifier enabled
VOUT1L_EN VOUT1R_EN VOUT2L_EN VOUT2R_EN VOUT3L_EN VOUT3R_EN
Figure 48 R34 - Output Control Register 3
w
PP Rev 1.0 January 2007 67
WM8594
R35 (23h) - Bias Control Register (BIAS) Bit # Read Write Default Bit # Read Write Default Function POBCTRL Bias Source for Output Amplifiers 0 = Output amplifiers use master bias 1 = Output amplifiers use fast bias VMID Power Down Characteristic 0 = Slow ramp 1 = Fast ramp Fast Bias Enable 0 = Fast bias disabled 1 = Fast bias enabled VMID Buffer Enable 0 = VMID Buffer disabled 1 = VMID Buffer enabled VMID Soft Ramp Enable 0 = Soft ramp disabled 1 = Soft ramp enabled Master Bias Enable 0 = Master bias disabled 1 = Master bias enabled Also powers down ADCVMID VMID Resistor String Value Selection (DACVMID only) 00 = off (no VMID) 01 = 100k 10 = 500k 11 = 10k The selection is the total resistance of the string from DACREFP to DACREFN. resistance is fixed at 200k. 15 0 N/A 0 7 14 0 N/A 0 6 13 0 N/A 0 5 BIAS_EN 0 12 0 N/A 0 4 SOFT_ST 1 11 0 N/A 0 3 BUFIO_EN 0 Description 10 0 N/A 0 2 FAST_EN 0 9 0 N/A 0 1 VMIDTOG 0
Product Preview
8 0 N/A 0 0 POBCTRL 0
VMID_SEL[1:0] 0 0
N/A = Not Applicable (no function implemented)
VMIDTOG
FAST_EN
BUFIO_EN
SOFT_ST
BIAS_EN
VMID_SEL[1:0]
The ADCVMID
Figure 49 R35 - Bias Control Register
w
PP Rev 1.0 January 2007 68
Product Preview
WM8594
R36 (24h) - PGA Control Register 3 (PGA_CTRL3) Bit # Read Write Default Bit # Read Write Default Function PGA_SAFE_SW 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 0 Description PGA Ramp Control Clock Source Mux Force Update 0 = Wait until clocks are safe before switching PGA clock source 1 = Force PGA clock source to change immediately See page 37 for details of use. PGA Ramp Control Clock Source 000 = ADCLRCLK 001 = DACLRCLK1 010 = DACLRCLK2 011 = reserved 100 = reserved 101 = DACLRCLK1 (when DAC1 is being used in master mode) 110 = DACLRCLK2 (when DAC2 is being used in master mode) 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 11 0 N/A 0 3 10 PGA_UPD 0 2 PGA_SEL[2:0] 0 0 9 0 N/A 0 1 8 0 N/A 0 0 PGA_ SAFE_SW 0
N/A = Not Applicable (no function implemented)
PGA_SEL[2:0]
PGA_UPD
Figure 50 R36 - PGA Control Register 3
R37 (25h) - ADC Input Clock Control Register (ADC_CLK) Bit # Read Write Default Bit # Read Write Default Function ADC_SAFE_SW ADC Clock Input Safe Switching 0 = Ignore ADC Clock Inputs 1 = Use ADC Clock Inputs See page 33 for details of use 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 ADC_ SAFE_SW 0
N/A = Not Applicable (no function implemented)
Figure 51 R37 - ADC Input Clock Control Register
w
PP Rev 1.0 January 2007 69
WM8594
R38 (26h) - DAC1 Input Clock Control Register (DAC1_CLK) Bit # Read Write Default Bit # Read Write Default Function DAC1_SAFE_SW DAC1 Clock Input Safe Switching 0 = Ignore DAC1 Clock Inputs 1 = Use DAC1 Clock Inputs See page 31 for details of use. 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0
Product Preview
8 0 N/A 0 0 DAC1_ SAFE_SW 0
N/A = Not Applicable (no function implemented)
Figure 52 R38 - DAC1 Input Clock Control Register R39 (27h) - DAC2 Input Clock Control Register (DAC2_CLK) Bit # Read Write Default Bit # Read Write Default Function DAC2_SAFE_SW DAC2 Clock Input Safe Switching 0 = Ignore DAC2 Clock Inputs 1 = Use DAC2 Clock Inputs See page 31 for details of use. 15 0 N/A 0 7 0 N/A 0 14 0 N/A 0 6 0 N/A 0 13 0 N/A 0 5 0 N/A 0 12 0 N/A 0 4 0 N/A 0 11 0 N/A 0 3 0 N/A 0 Description 10 0 N/A 0 2 0 N/A 0 9 0 N/A 0 1 0 N/A 0 8 0 N/A 0 0 DAC2_ SAFE_SW 0
N/A = Not Applicable (no function implemented)
Figure 53 R39 - DAC2 Input Clock Control Register
w
PP Rev 1.0 January 2007 70
Product Preview
WM8594
DIGITAL FILTER CHARACTERISTICS
PARAMETER ADC Filter Passband Passband Ripple Stopband Stopband Attenuation Group Delay DAC Filter - 32kHz to 96kHz Passband Passband Ripple Stopband Stopband attenuation Group Delay DAC Filter - 176.4kHz to 192kHz Passband Passband Ripple Stopband Stopband attenuation Group Delay f > 0.546fs 0.753fs -50 10 dB Fs 0.1dB 0.247fs 0.1 dB f > 0.546fs 0.546fs -50 10 dB Fs 0.1dB 0.454fs 0.1 dB 0.546fs -60 16 dB fs 0.05dB 0.454fs 0.05 dB TEST CONDITIONS MIN TYP MAX UNIT
DAC FILTER RESPONSES
0
0.2 0.15
-20
0.1 Response (dB) 0.05 0 -0.05 -0.1 -0.15
Response (dB)
-40
-60
-80
-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)
0 0.5 1 1.5 Frequency (Fs) 2 2.5 3
-120
Figure 54 DAC Digital Filter Frequency Response - 32kHz to 96kHz
Figure 55 DAC Digital Filter Ripple -32kHz to 96kHz
w
PP Rev 1.0 January 2007 71
WM8594
0.2
0
Product Preview
0
-20 Response (dB)
Response (dB)
-0.2
-40
-0.4
-60
-0.6
-0.8
-80
-1
-100 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Frequency (Fs)
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
Frequency (Fs)
Figure 56 DAC Digital Filter Frequency Response - 176.4kHz to 192kHz
Figure 57 DAC Digital Filter Ripple - 176.4kHz to 192kHz
DIGITAL DE-EMPHASIS CHARACTERISTICS
Figure 58 De-Emphasis Frequency Response (44.1KHz)
Figure 59 De-Emphasis Error (44.1KHz)
w
PP Rev 1.0 January 2007 72
Product Preview
WM8594
ADC FILTER RESPONSES
Magnitude (dB) up to fs 20 0 0.00 -20 -40 -60 -80 -100 -120 -140 Frequency
0.1 0.08 Magnitude (dB): Passband Ripple
0.25
0.50
0.75
0.06 0.04 0.02 0 0.00 -0.02 -0.04 -0.06 -0.08 -0.1 Frequency
0.25
Figure 60 ADC Digital Filter Frequency Response
Figure 61 ADC Digital Filter Ripple
ADC HIGH PASS FILTER
The WM8594 has a selectable digital high pass filter to remove DC offsets. The filter response is characterised by the following polynomial.
H(z) =
1 - z-1 1 - 0.9995z-1
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 62 ADC Highpass Filter Response
w
PP Rev 1.0 January 2007 73
WM8594 APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
Product Preview
Notes: 1. 2. 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 WM8594 as possible. Decoupling capacitors shown are very low-ESR, multilayer ceramic capacitors and should be placed as near to the WM8594 as possible. Equally good results may be obtained using 0.1F ceramic capacitors near to the WM8594, with a 10F electrolytic capacitor nearby.
w
PP Rev 1.0 January 2007 74
Product Preview
WM8594
RECOMMENDED ANALOGUE LOW PASS FILTER

Figure 63 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 63) if the device is driving a wideband amplifier. Other filter architectures may provide equally good results.
EXTENDED INPUT IMPEDANCE CONFIGURATION
Figure 64 Extended Input Impedance Configuration Note: See WAN0176 for AC coupling capacitor selection information. The input impedance to the WM8594 is specified in the Electrical Characteristics section beginning on p7, and is fixed across gain setting and signal routing options. If this input impedance is not enough for the intended application, an alternative input configuration (Figure 64) is possible. This configuration increases the input impedance to the WM8594 by 10k, but reduces the overall gain in the ADC and Bypass paths by -6dB. In order to compensate for this reduction in gain, +6dB of gain should be set in the ADC Input PGA (by using ADC_AMP_VOL[1:0]) and in the bypass PGA (by using PGAxx_VOL[7:0]). Examples: * If a 2VRMS signal is applied to VIN1L and VIN1R and routed to VOUT1L and VOUT1R using PGA1L and PGA1R, then setting PGA1L_VOL[7:0] and PGA1R_VOL[7:0] =0x00 is necessary to see 2VRMS at VOUT1L and VOUT1R. If a 2VRMS signal is applied to VIN1L and VIN1R and routed to ADCL and ADCR, then setting ADC_AMP_VOL[1:0]=10 is necessary to see 0dBFS at the ADC outputs.
*
w
PP Rev 1.0 January 2007 75
WM8594
RELEVANT APPLICATION NOTES
Product Preview
The following application notes, available from www.wolfsonmicro.com, may provide additional guidance for the use of the WM8594.
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
PP Rev 1.0 January 2007 76
Product Preview
WM8594
PACKAGE DIMENSIONS
FT: 48 PIN TQFP (7 x 7 x 1.0 mm) DM004.C
b
e
25
36
37
24
E1
E
48
13
1
12
c
D1 D
L
A A2
A1 -Cccc C
SEATING PLANE
Symbols A A1 A2 b c D D1 E E1 e L ccc REF:
Dimensions (mm) MIN NOM MAX --------1.20 0.05 ----0.15 0.95 1.00 1.05 0.17 0.22 0.27 0.09 ----0.20 9.00 BSC 7.00 BSC 9.00 BSC 7.00 BSC 0.50 BSC 0.45 0.60 0.75 o o o 3.5 7 0 Tolerances of Form and Position 0.08 JEDEC.95, MS-026
NOTES: A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS. B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE. C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.25MM. D. MEETS JEDEC.95 MS-026, VARIATION = ABC. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PP Rev 1.0 January 2007 77
WM8594 IMPORTANT NOTICE
Product Preview
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 :: sales@wolfsonmicro.com
w
PP Rev 1.0 January 2007 78


▲Up To Search▲   

 
Price & Availability of WM859407

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X