WM8594 w 24-bit 192kHz 2Vrms Multi-Channel CODEC DESCRIPTION FEATURES 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 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. Five stereo 2Vrms stereo inputs with analogue bypass to three stereo 2Vrms outputs Stereo headphone driver Audio performance - 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. Multi-channel CODEC with 5 stereo input selector and 3 stereo output selector 4-channel DAC, 2-channel ADC 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 ©2007 Wolfson Microelectronics plc WM8594 Product Preview BLOCK DIAGRAM w PP Rev 1.0 January 2007 2 WM8594 Product Preview 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 MOISTURE SENSITIVITY LEVEL PEAK SOLDERING TEMPERATURE 48-lead TQFP (Pb-free) MSL1 260˚C 48-lead TQFP (Pb-free, tape and reel) MSL1 260˚C DEVICE TEMPERATURE RANGE PACKAGE WM8594SEFT/V -25 to +85oC WM8594SEFT/RV -25 to +85oC Note: Reel quantity = 2,200 w PP Rev 1.0 January 2007 4 WM8594 Product Preview PIN DESCRIPTION PIN NAME TYPE 1 ADCLRC Digital Input/Output ADC audio interface left/right clock input/output DESCRIPTION 2 ADCBCLK Digital Input/Output ADC audio interface bit clock input/output 3 DOUT Digital Output 4 DACMCLK1 Digital Input DAC1 master clock 5 DACLRC1 Digital input DAC1 audio interface left/right clock input 6 DACBCLK1 Digital Input DAC1 audio interface bit clock input 7 DIN1 Digital Input DAC 1 data input 8 DACMCLK2 Digital Input DAC2 master clock 9 DACLRC2 Digital input DAC2 audio interface left/right clock input 10 DACBCLK2 Digital Input DAC2 audio interface bit clock input 11 DIN2 Digital Input DAC 2 data input 12 DVDD Supply Digital supply 13 DGND Supply Digital ground 14 /PWDN Digital Input Hardware standby mode 15 MUTE Digital Input Hardware DAC mute 16 /RESET Digital Input 17 AVDD2 Supply Analogue 9V supply Analogue ground ADC data output Hardware reset 18 AGND2 Supply 19 VOUT3R Analogue Output Output selector channel 3 right output 20 VOUT3L Analogue Output Output selector channel 3 left output 21 VOUT2R Analogue Output Output selector channel 2 right output 22 VOUT2L Analogue Output Output selector channel 2 left output 23 VOUT1R Analogue Output Output selector channel 1 right output 24 VOUT1L Analogue Output Output selector channel 1 left output 25 VIN1L Analogue Input Input selector channel 1 left input 26 VIN1R Analogue Input Input selector channel 1 right input 27 VIN2L Analogue Input Input selector channel 2 left input 28 VIN2R Analogue Input Input selector channel 2 right input 29 VIN3L Analogue Input Input selector channel 3 left input 30 VIN3R Analogue Input Input selector channel 3 right input 31 VIN4L Analogue Input Input selector channel 4 left input 32 VIN4R Analogue Input Input selector channel 4 right input 33 VIN5L Analogue Input Input selector channel 5 left input 34 VIN5R Analogue Input Input selector channel 5 right input 35 ADCREFP Analogue Input 36 ADCVMID Analogue Output 37 ADCREFN Analogue Input Ground reference for ADC 38 DACREFP Analogue Input Positive reference for DACs 39 DACVMID Analogue Output 40 DACREFN Analogue Input 41 AVDD1 Supply Analogue 3.3V supply 42 AGND1 Supply Analogue ground 43 MODE Digital Input Software mode select (High = 3-wire, Low = 2-wire) 44 SDOUT Digital Output Software mode: serial control interface data output 45 /CS Digital Input Software mode: serial control interface chip select 46 SCLK Digital Input Software mode: serial control interface clock signal 47 SDIN Digital Input Software mode: serial control interface data signal 48 ADCMCLK Digital Input ADC master clock input w Positive reference for ADC Midrail divider decoupling pin for ADC Midrail divider decoupling pin for DACs Ground reference for DACs 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 <30°C / 85% Relative Humidity. Not normally stored in moisture barrier bag. MSL2 = out of bag storage for 1 year at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag. MSL3 = out of bag storage for 168 hours at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag. The Moisture Sensitivity Level for each package type is specified in Ordering Information. MIN MAX Digital supply voltage, DVDD -0.3V +4.5V Analogue supply voltage, AVDD1 -0.3V +7V Analogue supply voltage, AVDD2 -0.3V +15V DGND -0.3V DVDD + 0.3V TBD AVDD1 + 0.2V CONDITION Voltage range digital inputs Voltage range analogue inputs Master Clock Frequency 38.462MHz Ambient temperature (supplies applied) -55°C +125°C Storage temperature -65°C +150°C Pb free package body temperature (reflow 10 seconds) +260°C Package body temperature (soldering 2 minutes) +183°C Note: 1. Analogue and digital grounds must always be within 0.3V of each other. THERMAL PERFORMANCE PARAMETER Thermal resistance – junction to ambient SYMBOL RθJA TEST CONDITIONS MIN TYP MAX 51.7 See note 1 UNIT °C/W Notes: 1. Figure given for package mounted on 4-layer FR4 according to JESD51-7. (No forced air flow is assumed). 2. Thermal performance figures are estimated. w PP Rev 1.0 January 2007 6 WM8594 Product Preview RECOMMENDED OPERATING CONDITIONS MIN TYP MAX Digital power supply PARAMETER DVDD 2.97 3.3 3.6 V Analogue power supply AVDD1 2.97 3.3 3.6 V AVDD2 8.1 9 9.9 V Analogue power supply Ground Operating temperature range SYMBOL TEST CONDITIONS DGND/AGND1/ AGND2 0 TA UNIT V -25 +85 °C MAX UNIT Notes: 1. Digital supply (DVDD) must never be more than 0.3V greater than AVDD1 in normal operation. 2. Digital ground (DGND) and analogue grounds (AGND1, AGND2) must never be more than 0.3V apart. SUPPLY CURRENT CONSUMPTION PARAMETER SYMBOL TEST CONDITIONS MIN TYP Digital supply current IDVDD TBD mA Analogue supply current IAVDD1 TBD mA Analogue supply current IAVDD2 TBD mA TBD µA Standby current ELECTRICAL CHARACTERISTICS Test Conditions AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT 0.3xDVDD V Digital logic levels Input low level VIL Input high level VIH Output low level VOL Output high level VOH 0.7xDVDD V 0.1 x DVDD 0.9 x DVDD V V Digital input leakage current TBD µA Digital input leakage capacitance TBD pF Analogue Reference Levels ADC Midrail Voltage ADCVMID AVDD1/2 V ADC Buffered Positive Reference Voltage ADCREFP ADCVMID V DAC Midrail Voltage DACVMID Potential divider resistance AVDD1 to ADCVMID DACREFP/2 V 100 kΩ 50 (Note 2) kΩ ADCVMID to AGND1 DACVREFP to DACVMID DACVMID to DACVREFN VMID_SEL[1:0] = 01 Analogue Line Outputs Output signal level (0dB) RL = 10kΩ TBD Maximum capacitance load Minimum resistance load w 2.0x AVDD2 / 9 TBD 11 1 Vrms nF kΩ PP Rev 1.0 January 2007 7 WM8594 Product Preview Test Conditions AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT RL = 32Ω TBD 0.8x AVDD2 / 9 TBD Vrms Analogue Headphone Outputs Output signal level (0dB) Minimum resistance load Ω 16 Analogue Inputs Input signal level (0dB) Input impedance 10 Extended input impedance (Note 3) External resistor = 10kΩ 2.0 x AVDD1/3.3 TBD Vrms 11 12 kΩ 21 kΩ TBD nF 100 dB A-weighted @ fs = 96kHz 100 dB A-weighted @ fs = 192kHz 100 dB 100 dB Input capacitance DAC Performance Signal to Noise Ratio1,5 SNR A-weighted @ fs = 48kHz TBD Dynamic Range2,5 DNR A-weighted, -60dB full scale input Total Harmonic Distortion3,5 THD 1kHz, 0dBFS @ fs = 48kHz -90 1kHz, 0dBFS @ fs = 96kHz -90 dB 1kHz, 0dBFS @ fs = 192kHz -90 dB Channel Separation4,5 100 dB Channel Level Matching 0.1 dB Channel Phase Deviation 0.05 Degree Power supply rejection ratio PSRR 1kHz, 100mVpp TBD TBD 20Hz to 20kHz, 100mVpp TBD dB 50 dB TBD dB 100 dB 97 dB 100 dB ADC Performance Signal to Noise Ratio1,5 SNR A-weighted, 0dB gain @ fs = 48kHz TBD A-weighted, 0dB gain @ fs = 96kHz Dynamic Range2,5 DNR A-weighted, -60dB full scale input Total Harmonic Distortion3,5 THD 1kHz, -1dBFS @ fs = 48kHz -90 1kHz, -1dBFS @ fs = 96kHz -87 dB Channel Separation4,5 100 dB Channel Level Matching 0.1 dB Channel Phase Deviation 0.05 Degree 50 dB TBD dB Power Supply Rejection Ratio PSRR TBD TBD TBD dB Analogue Bypass Paths Signal to Noise Ratio1,5 SNR A-weighted 100 dB Dynamic Range DNR A-weighted 100 dB Total Harmonic Distortion3,5 THD 90 dB 2,5 w PP Rev 1.0 January 2007 8 WM8594 Product Preview Test Conditions AVDD2=9V, AVDD1=DVDD=3.3V, AGND1=AGND2=0V, DGND=0V, TA=+25˚C, 1kHz signal, fs=48kHz, MCLK=256fs unless otherwise stated PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT Channel Separation4,5 100 Channel Level Matching 0.1 dB Channel Phase Deviation 0.05 Degree 0.8 Vrms dB Headphone Amplifier Output signal level (0dB) Signal to Noise Ratio1,5 SNR A-weighted dB Total Harmonic Distortion THD PO=20mW, RL=16Ω dB PO=20mW, RL=32Ω dB Channel Separation4,5 Power Supply Rejection Ratio dB PSRR TBD dB Digital Volume Control ADC minimum digital volume -97 dB ADC maximum digital volume +30 dB ADC volume step size 0.5 dB DAC minimum digital volume -100 dB DAC maximum digital volume +12 dB DAC volume step size 0.5 dB Minimum gain -73.5 dB Maximum gain +6 dB Step size 0.5 dB Mute attenuation TBD dB 1kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 100 dB 20kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 100 dB 1kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 100 dB 20kHz signal, ADC fs=48kHz, DAC fs=44.1kHz 100 dB Analogue Volume Control Crosstalk DAC to ADC ADC to DAC TERMINOLOGY 1. Signal-to-noise ratio (dBFS) – SNR is the difference in level between a reference full scale output signal and the device output with no signal applied. This ratio is also called idle channel noise. (No Auto-zero or Automute function is employed in achieving these results). 2. Dynamic range (dBFS) – DNR is a measure of the difference in level between the highest and lowest components of a signal. Normally a THD measurement at -60dBFS. The measured signal is then corrected by adding 60dB to the result, e.g. THD @ -60dBFS = -30dB, DNR = 90dB. 3. Total Harmonic Distortion (dBFS) – THD is the difference in level between a reference full scale output signal and the first seven odd harmonics of the output signal. To calculate the ratio, the fundamental frequency of the output signal is notched out and an RMS value of the next seven odd harmonics is calculated. 4. Channel Separation (dB) – Also known as Cross-Talk. This is a measure of the amount one channel is isolated from the other. Normally measured by sending a full scale signal down one channel and measuring the other. 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. All minimum and maximum values are subject to change. 2. This resistance is selectable using VMID_SEL[1:0] – see Figure 49 for full details. 3. See p75 for details of extended input impedance configuration. w PP Rev 1.0 January 2007 10 WM8594 Product Preview 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 SYMBOL MIN TYP MAX UNIT 27 120 ns 40:60 60:40 % MCLK Period Jitter 200 ps MCLK Rise/Fall times 10 ns Master Clock Timing Information MCLK System clock cycle time MCLK Duty cycle tMCLKY Table 1 Master Clock Timing Requirements w PP Rev 1.0 January 2007 11 WM8594 Product Preview DIGITAL AUDIO INTERFACE TIMING – SLAVE MODE Figure 2 Slave Mode Digital Audio Data Timing Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER SYMBOL MIN TYP MAX UNIT Audio Data Input Timing Information ADCBCLK / DACBCLK1 / DACBCLK2 cycle time tBCY 80 ns ADCBCLK / DACBCLK1 / DACBCLK2 pulse width high tBCH 30 ns ADCBCLK / DACBCLK1 / DACBCLK2 pulse width low tBCL 30 ADCBCLK / DACBCLK1 / DACBCLK2 rise/fall times ns 5 ns ADCLRCLK / DACLRCLK1 / DACLRCLK2 set-up time to ADCBCLK / DACBCLK1 / DACLRCLK2 rising edge tLRSU 22 ns ADCLRCLK / DACLRCLK1 / DACLRCLK2 hold time from ADCBCLK / DACBCLK1 / DACBCLK2 rising edge tLRH 25 ns DIN1/2 hold time from DACBCLK1 / DACBCLK2 rising edge tDH 25 DOUT propagation delay from ADCBCLK falling edge tDD 4 ADCLRCLK / DACLRCLK1 / DACLRCLK2 rise/fall times 5 ns ns 16 ns Table 2 Slave Mode Audio Interface Timing w PP Rev 1.0 January 2007 12 WM8594 Product Preview 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 = +25˚C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER SYMBOL MIN ADCLRCLK / DACLRCLK1 / DACLRCLK2 propagation delay from ADCBCLK / DACBCLK1 / DACLRCLK2 falling edge tDL 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 TYP MAX UNIT 4 16 ns tDDA 4 16 ns tDST 22 ns tDHT 25 ns Audio Data Input Timing Information Table 3 Master Mode Audio Interface Timing w PP Rev 1.0 January 2007 13 WM8594 Product Preview CONTROL INTERFACE TIMING – 2-WIRE MODE t t STHO t DSU STHO SDIN t t STSU 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 = +25˚C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER SYMBOL MIN TYP MAX UNIT Program Register Input Information SCLK pulse cycle time tSCY SCLK duty cycle 2500 40/60 SCLK frequency ns 60/40 % 400 kHz Hold Time (Start Condition) tSTHO 600 Setup Time (Start Condition) tSTSU 600 ns Data Setup Time tDSU 100 ns ns SDIN, SCLK Rise Time 300 ns SDIN, SCLK Fall Time 300 ns 900 ns 8 ns Setup Time (Stop Condition) tSTOP Data Hold Time tDHO Pulse width of spikes that will be suppressed tps 600 2 ns Table 4 Control Interface Timing – 2-Wire Serial Control Mode w PP Rev 1.0 January 2007 14 WM8594 Product Preview CONTROL INTERFACE TIMING – 3-WIRE MODE t CSS t CSH /CS t t SCS SCY t CSS SCLK LSB SDIN t t DSU DHO LSB SDOUT t DL Figure 5 Control Interface Timing – 3-Wire Serial Control Mode Test Conditions AVDD1, DVDD = 3.3V, AVDD2 = 9V, AGND1, AGND2, DGND = 0V, TA = +25˚C, Slave Mode, fs = 48kHz, ADCMCLK, DACMCLK = 256fs, 24-bit data, unless otherwise stated. PARAMETER SYMBOL MIN SCLK rising edge to CSB rising edge tSCS 60 SCLK pulse cycle time tSCY 80 TYP MAX UNIT Program Register Input Information SCLK duty cycle 40/60 SDIN to SCLK set-up time tDSU 20 SDIN hold time from SCLK rising edge tDHO 20 SDOUT propagation delay from SCLK rising edge tDL CSB pulse width high tCSH 20 CSB rising/falling to SCLK rising tCSS 20 tps 2 Pulse width of spikes that will be suppressed ns ns 60/40 % ns ns 5 ns ns ns 8 ns Table 5 Control Interface Timing – 3-Wire Serial Control Mode w PP Rev 1.0 January 2007 15 WM8594 Product Preview POWER ON RESET (POR) Figure 1 Power Supply Timing Requirements Test Conditions DVDD = 3.3V, AVDD1 = 3.3V, AVDD2 = 9V DGND = AGND1 = AGND2 = 0V, TA = +25oC, TA_max = +125oC, TA_min = -25oC AVDD1max = DVDDmax = 3.63V, AVDD1min = DVDDmim= 2.97V, AVDD2max = 9.9V, AVDD2min = 8.1V PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT Vpord Measured from DGND 0.27 0.36 0.60 V VDD level to POR rising edge (DVDD rising) Vpord_hi Measured from DGND 1.34 1.88 2.32 V VDD level to POR falling edge (DVDD falling) Vpord_lo Measured from DGND 1.32 1.86 2.30 V VDD level to POR rising edge (AVDD1 rising) Vpor1_hi Measured from DGND 1.65 1.68 1.85 V VDD level to POR falling edge (AVDD1 falling) Vpor1_lo Measured from DGND 1.63 1.65 1.83 V VDD level to POR rising edge (AVDD2 rising) Vpor2_hi Measured from DGND 1.80 1.86 2.04 V VDD level to POR falling edge (AVDD2 falling) Vpor2_lo Measured from DGND 1.76 1.8 2.02 V Power Supply Input Timing Information VDD level to POR defined (DVDD rising) Table 6 Power on Reset w PP Rev 1.0 January 2007 16 WM8594 Product Preview 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 INTERFACE FORMAT Low 2 wire High 3 wire Table 7 Control Interface Mode Selection w PP Rev 1.0 January 2007 17 WM8594 Product Preview 2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE Many devices can be controlled by the same bus, and each device has a unique 7-bit address. REGISTER WRITE The controller indicates the start of data transfer with a high to low transition on 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) 2-WIRE BUS ADDRESS 0 34h (0110100) 1 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 WM8594 Product Preview 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 Product Preview 3-WIRE (SPI COMPATIBLE) SERIAL CONTROL INTERFACE MODE REGISTER WRITE 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 WM8594 Product Preview DEVICE ID AND REVISION Reading from register R0 returns the device ID. Reading from register R1 returns the device revision number. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R0 DEVICE_ID 00h 15:0 DEVICE_ID [15:0] 10000101 10010100 Device ID A read of this register will return the device ID, 0x8594. R1 REVISION 01h 7:0 REVNUM [7:0] N/A Device Revision A read of this register will return the device revision number. This number is sequentially incremented if the device design is updated. Table 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 BIT LABEL DEFAULT DESCRIPTION R12 ENABLE 0Ch 0 GLOBAL_ EN 0 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 w Product Preview REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R3 DAC1_CTRL2 03h 2:0 DAC1_ SR[2:0] 000 DAC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs 5:3 DAC1_ BCLKDIV [2:0] 000 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 R4 DAC1_CTRL3 04h 0 DAC1_ MSTR 0 DAC1 Master Mode Select 0 = Slave mode, DACBCLK1 and DACLRCLK1 are inputs to WM8594 1 = Master mode, DACBCLK1 and DACLRCLK1 are outputs from WM8594 R8 DAC1_CTRL2 08h 2:0 DAC2_ SR[2:0] 000 DAC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs 5:3 DAC2_ BCLKDIV [2:0] 000 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 R9 DAC2_CTRL3 09h 0 DAC2_ MSTR 0 DAC2 Master Mode Select 0 = Slave mode, DACBCLK2 and DACLRCLK2 are inputs to WM8594 1 = Master mode, DACBCLK2 and DACLRCLK2 are outputs from WM8594 R14 ADC_CTRL2 0Eh 2:0 ADC_ SR[2:0] 000 ADC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = Reserved PP Rev 1.0 January 2007 22 WM8594 Product Preview REGISTER ADDRESS R15 ADC_CTRL3 0Fh BIT LABEL DEFAULT DESCRIPTION 5:3 ADC_BCLK DIV[2:0] 000 ADC BCLK Rate 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of ADC_BCLKDIV[2:0] are reserved 0 ADC_ MSTR 0 ADC Master Mode Select 0 = Slave mode, ADCBCLK and ADCLRCLK are inputs to WM8594 1 = Master mode, ADCBCLK and ADCLRCLK are outputs from WM8594 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 BIT LABEL DEFAULT R3 DAC1_CTRL2 03h 2:0 DAC1_ SR[2:0] 000 R8 DAC2_CTRL2 08h 2:0 DAC2_ SR[2:0] 000 R14 ADC_CTRL2 0Eh 2:0 ADC_ SR[2:0] 000 DESCRIPTION DAC MCLK:LRCLK Ratio 000 = Auto detect 001 = 128fs 010 = 192fs 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = 1152fs ADC MCLK:LRCLK Ratio 000 = Auto detect 001 = reserved 010 = reserved 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = Reserved Table 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 MASTER CLOCK FREQUENCY (MHZ) Sampling Rate (DACLRCLK1 DACLRCLK2) 128fs 192fs 256fs 384fs 512fs 768fs 32kHz Unavailable Unavailable 8.192 12.288 16.384 24.576 1152fs 36.864 44.1kHz Unavailable 8.4672 11.2896 16.9344 22.5792 33.8688 Unavailable 48kHz Unavailable 9.216 12.288 18.432 24.576 36.864 Unavailable 88.2kHz 11.2896 16.9344 22.5792 33.8688 Unavailable Unavailable Unavailable Unavailable 96kHz 12.288 18.432 24.576 36.864 Unavailable Unavailable 176.4kHz 22.5792 33.8688 Unavailable Unavailable Unavailable Unavailable Unavailable 192kHz 24.576 36.864 Unavailable Unavailable Unavailable Unavailable Unavailable Table 14 DAC Master Clock Frequency Versus Sampling Rate w PP Rev 1.0 January 2007 24 WM8594 Product Preview 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 Product Preview LEFT JUSTIFIED (LJ) MODE 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 WM8594 Product Preview 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 Product Preview DIGITAL AUDIO INTERFACE CONTROL The control of the audio interface formats is achieved by register write. Dynamically changing the audio data format may cause erroneous operation and is not recommended. Interface timing is such that the input data and left/right clock are sampled on the rising edge of the interface bit clock. Output data changes on the falling edge of the interface bit clock. By setting the appropriate bit clock and left/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 BIT LABEL DEFAULT R2 DAC1_CTRL1 02h 1:0 DAC1_ FMT[1:0] 10 DAC1 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP 3:2 DAC1_ WL[1:0] 10 DAC1 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 4 DAC1_BCP 0 DAC1 BCLK Polarity 0 = DACBCLK not inverted - data latched on rising edge of BCLK 1 = DACBCLK inverted - data latched on falling edge of BCLK 5 DAC1_LRP 0 DAC1 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted 1:0 DAC2_ FMT[1:0] 10 DAC2 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP 3:2 DAC2_ WL[1:0] 10 DAC2 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 4 DAC2_BCP 0 DAC2 BCLK Polarity 0 = DACBCLK not inverted - data latched on rising edge of BCLK 1 = DACBCLK inverted - data latched on falling edge of BCLK 5 DAC2_LRP 0 DAC2 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted R7 DAC2_CTRL1 07h w DESCRIPTION PP Rev 1.0 January 2007 28 WM8594 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R13 ADC_CTRL1 0Dh 1:0 ADC_ FMT[1:0] 10 ADC Audio Interface Format 00 = Right Justified 01 = Left Justified 2 10 = I S 11 = DSP 3:2 ADC_ WL[1:0] 10 ADC Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) 4 ADC_BCP 0 ADC BCLK Polarity 0 = ADCBCLK not inverted - data latched on rising edge of BCLK 1 = ADCBCLK inverted - data latched on falling edge of BCLK 5 ADC_LRP 0 ADC LRCLK Polarity 0 = ADCLRCLK not inverted 1 = ADCLRCLK inverted Table 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 BIT LABEL DEFAULT DESCRIPTION R2 DAC1_CTRL1 02h 8 DAC1_EN 0 DAC1 Enable 0 = DAC disabled 1 = DAC enabled R7 DAC2_CTRL1 07h 8 DAC2_EN 0 DAC2 Enable 0 = DAC2 disabled 1 = DAC2 enabled Table 16 DAC Enable Control DIGITAL VOLUME CONTROL The 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 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT R5 DAC1L_VOL 05h 7:0 DAC1L _VOL[7:0] 11001000 R6 DAC1R_VOL 06h 7:0 DAC1R _VOL[7:0] R10 DAC2L_VOL 0Ah 7:0 DAC2L _VOL[7:0] R11 DAC2R_VOL 0Bh 7:0 DAC2R _VOL[7:0] R5 DAC1L_VOL 05h 8 DAC1L_VU R6 DAC1R_VOL 06h 8 DAC1R_VU R10 DAC2L_VOL 0Ah 8 DAC2L_VU R11 DAC2R_VOL 0Bh 8 DAC2R_VU R2 DAC1_CTRL1 02h 7 DAC1 _ZCEN R7 DAC2_CTRL1 07h 7 DAC2 _ZCEN 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 0 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 1 DAC Digital Volume Control Zero Cross Enable 0 = Do not use zero cross 1 = Use zero cross Table 17 DAC Digital Volume Control SOFTMUTE A soft mute can be applied to DAC1 and DAC2 independently. REGISTER ADDRESS BIT LABEL DEFAULT R2 DAC1_CTRL1 02h 9 DAC1_ MUTE 0 R7 DAC2_CTRL1 07h 9 DAC2_ MUTE 0 DESCRIPTION DAC Softmute 0 = Normal operation 1 = Softmute applied Table 18 DAC Softmute Control w PP Rev 1.0 January 2007 30 WM8594 Product Preview DIGITAL MONOMIX CONTROL Each DAC can be independently set to output a range of mono and stereo options. Each DAC output channel can output left channel data, right channel data or a mix of left and right channel data. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R2 DAC1_CTRL1 02h 11:10 DAC1_OP _MUX[1:0] 00 DAC1 Digital Monomix 00 = Stereo (Normal Operation) 01 = Mono (Left data to DAC1R) 10 = Mono (Right data to DAC1L) 11 = Digital Monomix, (L+R)/2 R7 DAC2_CTRL1 07h 11:10 DAC2_OP _MUX[1:0] 00 DAC2 Digital Monomix 00 = Stereo (Normal Operation) 01 = Mono (Left data to DAC2R) 10 = Mono (Right data to DAC2L) 11 = Digital Monomix, (L+R)/2 Table 19 Digital Monomix Control DE-EMPHASIS A digital de-emphasis filter may be applied to the DAC outputs when the sampling frequency is 44.1kHz. The de-emphasis filter for each DAC can be applied independently. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R2 DAC1_CTRL1 02h 6 DAC1 _DEEMPH 0 DAC1 De-emphasis 0 = No de-emphasis 1 = Apply 44.1kHz de-emphasis R7 DAC2_CTRL1 07h 6 DAC2 _DEEMPH 0 DAC2 De-emphasis 0 = No de-emphasis 1 = Apply 44.1kHz de-emphasis Table 20 De-emphasis Control 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 BIT LABEL DEFAULT R38 DAC1_CLK 26h 0 DAC1_ SAFE_SW 0 R39 DAC2_CLK 0 DAC2_ SAFE_SW 0 DESCRIPTION DAC Clock Input Safe Switching 0 = Ignore DAC clock inputs 1 = Use DAC clock inputs Table 21 DAC Clock Switching Control w PP Rev 1.0 January 2007 31 WM8594 Product Preview ADC FEATURES 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 BIT LABEL DEFAULT R13 ADC_CTRL1 0Dh 6 ADC_EN 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 BIT LABEL DEFAULT R16 ADCL_VOL 10h 7:0 ADCL _VOL[7:0] 11000011 R17 ADCR_VOL 11h 7:0 ADCR _VOL[7:0] 11000011 R16 ADCL_VOL 10h 8 ADCL_VU 0 R17 ADCR_VOL 11h 8 ADCR_VU 0 R13 ADC_CTRL1 0Dh 13 ADC_ZC_ EN 1 DESCRIPTION ADC Digital Volume 0000 0000 = Digital mute 0000 0001 = -97dB 0000 0010 = -96.5dB …0.5dB steps 1100 0011 = 0dB …0.5dB steps 1111 1110 = +29.5dB 1111 1111 = +30dB ADC Digital Volume Update 0 = Latch ADC volume setting into Register Map but do not update volume 1 = Latch ADC volume setting into Register Map and update left and right channels simultaneously ADC Digital Volume Control Zero Cross Enable 0 = Do not use zero cross, change volume instantly 1 = Use zero cross, change volume when data crosses zero Table 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 WM8594 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R13 ADC_CTRL1 0Dh 7 ADC_ LRSWAP 0 ADC Left/Right Swap 0 = Normal 1 = Swap left channel data into right channel and vice-versa 8 ADCR_ INV 0 9 ADCL_ INV 0 ADCL and ADCR Output Signal Inversion 0 = Output not inverted 1 = Output inverted 11:10 ADC_ DATA_ SEL[1:0] 00 ADC Data Output Select 00 = left data from ADCL, ADCR 01 = left data from ADCL, ADCL 10 = left data from ADCR, ADCR 11 = left data from ADCR, ADCL 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 BIT LABEL DEFAULT R13 ADC_CTRL1 0Dh 12 ADC_HPD 0 DESCRIPTION ADC High Pass Filter Disable 0 = High pass filter enabled 1 = High pass filter disabled Table 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 BIT LABEL DEFAULT R37 ADC_CLK 25h 0 ADC_ SAFE_SW 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 WM8594 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT R19 PGA1L_VOL 13h 7:0 PGA1L_ VOL[7:0] 00001100 R20 PGA1R_VOL 14h 7:0 PGA1R_ VOL[7:0] R21 PGA2L_VOL 15h 7:0 PGA2L_ VOL[7:0] R22 PGA2R_VOL 16h 7:0 PGA2R_ VOL[7:0] R23 PGA3L_VOL 17h 7:0 PGA3L_ VOL[7:0] R24 PGA3R_VOL 18h 7:0 PGA3R_ VOL[7:0] R19 PGA1L_VOL 13h 8 PGA1L_ VU R20 PGA1R_VOL 14h 8 PGA1R_ VU R21 PGA2L_VOL 15h 8 PGA2L_ VU R22 PGA2R_VOL 16h 8 PGA2R_ VU R23 PGA3L_VOL 17h 8 PGA3L_ VU R24 PGA3R_VOL 18h 8 PGA3R_ VU R25 PGA_CTRL1 19h 2 PGA1L_ ZC 3 PGA1R_ ZC 4 PGA1L_ ZC 5 PGA1R_ ZC 6 PGA1L_ ZC 7 PGA1R_ ZC DESCRIPTION Input PGA Volume 0000 0000 = +6dB 0000 0001 = +5.5dB …0.5dB steps 00001100 = 0dB … 1001 1110 = -73.5dB 1001 1111 = PGA Mute 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 1 PGA Gain Zero Cross Enable 0 = PGA gain updates occur immediately 1 = PGA gain updates occur on zero cross Table 27 Analogue Volume Control w PP Rev 1.0 January 2007 35 WM8594 Product Preview VOLUME RAMP Analogue volume can be adjusted by step change or by soft ramp. The ramp rate is dependent upon the sampling rate. The sampling rate upon which the volume ramp rate is based can be selected between the DAC sampling rate or the ADC sampling rate in either slave mode or master mode. The ramp rates for common audio sample rates are shown in Table 28: SAMPLE RATE FOR PGA (kHz) DIVIDE BY 32 8 PGA Ramp Rate (ms/dB) 0.50 44.1 8 0.36 48 8 0.33 88.2 16 0.36 96 16 0.33 176.4 32 0.36 192 32 0.33 Table 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 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 WM8594 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R25 PGA_CTRL1 19h 0 DECAY_ BYPASS 0 PGA Gain Decay Mode 0 = PGA gain will ramp down 1 = PGA gain will step down 1 ATTACK_ BYPASS 0 PGA Gain Attack Mode 0 = PGA gain will ramp up 1 = PGA gain will step up R27 ADD_CTRL1 1Bh 6:4 PGA_ SR[2:0] 001 Sample Rate for PGA 000 = 32kHz 001 = 44.1kHz 010 = 48kHz 011 = 88.2kHz 100 = 96kHz 101 = 176.4kHz 11X = 192kHz See Table 28 for further information on PGA sample rate versus volume ramp rate. R36 PGA_CTRL3 24h 0 PGA_ SAFE_SW 0 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 3:1 PGA_ SEL[2:0] 000 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) 10 PGA_UPD 0 PGA Ramp Control Clock Source Mux Update 0 = Do not update PGA clock source 1 = Update clock source Table 29 Analogue Volume Ramp Control w PP Rev 1.0 January 2007 37 WM8594 Product Preview ANALOGUE MUTE CONTROL 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 BIT LABEL DEFAULT DESCRIPTION R26 PGA_CTRL2 1Ah 0 MUTE_ ALL 0 Master PGA Mute Control 0 = Unmute all PGAs 1 = Mute all PGAs 1 VOUT1L_ MUTE 1 2 VOUT1R_ MUTE 1 Individual PGA Mute Control 0 = Unmute PGA 1 = Mute PGA 3 VOUT2L_ MUTE 1 4 VOUT2R_ MUTE 1 5 VOUT3L_ MUTE 1 6 VOUT3R_ MUTE 1 Table 30 Analogue Mute Control w PP Rev 1.0 January 2007 38 WM8594 Product Preview 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 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT R28 INPUT_CTRL1 1Ch 3:0 PGA1L_ IN_ SEL[3:0] 0000 11:8 PGA2L_ IN_ SEL[3:0] 0000 R29 INPUT_CTRL2 1Dh 7:4 PGA3L_ IN_ SEL[3:0] 0000 R28 INPUT_CTRL1 1Ch 7:4 PGA1R_ IN_ SEL[3:0] 0000 R29 INPUT_CTRL2 1Dh 3:0 PGA2R_ IN_ SEL[3:0] 0000 11:8 PGA3R_ IN_ SEL[3:0] 0000 0 PGA1L_ EN 0 1 PGA1R_ EN 2 PGA2L_ EN 3 PGA2R_ EN 4 PGA3L_ EN 5 PGA3R_ EN R31 INPUT_CTRL4 1Fh 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 Table 31 PGA Input Select Control w PP Rev 1.0 January 2007 40 WM8594 Product Preview 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 BIT LABEL DEFAULT R30 INPUT_CTRL3 1Eh 3:0 ADCL_ SEL[3:0] 0000 7:4 ADCR_ SEL[4:0] 0000 9:8 ADC_AMP _VOL[1:0] 10 ADC Amplifier Gain Control 00 = 0dB 01 = +3dB 10 = +6dB 11 = +12dB 10 ADC_ SWITCH_ EN 0 ADC Input Switch Control 0 = ADC input switches open 1 = ADC input switches closed 6 ADCL_ AMP_EN 0 7 ADCR_ AMP_EN 0 ADC Input Amplifier Enable Controls 0 = Amplifier disabled 1 = Amplifier enabled R31 INPUT_CTRL4 1Fh 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 Table 32 ADC Input Switch Control w PP Rev 1.0 January 2007 41 WM8594 Product Preview OUTPUT SELECTOR CONTROL 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 WM8594 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT R32 OUTPUT_ CTRL1 20h 2:0 VOUT1L_ SEL[2:0] 000 5:3 VOUT1R_ SEL[2:0] 001 8:6 VOUT2L_ SEL[2:0] 010 2:0 VOUT2R_ SEL[2:0] 011 5:3 VOUT3L_ SEL[2:0] 100 8:6 VOUT3R_ SEL[2:0] 101 0 VOUT1L_ TRI 0 1 VOUT1R_ TRI Output Amplifier Tristate Control 0 = Normal operation 1 = Output amplifier tristate enable (Hi-Z) 2 VOUT2L_ TRI 3 VOUT1R_ TRI 4 VOUT3L_ TRI 5 VOUT3R_ TRI 7 VOUT1L_ EN 0 8 VOUT1R_ EN Output Amplifier Enables 0 = Output amplifier disabled 1 = Output amplifier enabled 9 VOUT2L_ EN 10 VOUT2R_ EN 11 VOUT3L_ EN 12 VOUT3R_ EN R33 OUTPUT_ CTRL2 21h R34 OUTPUT_ CTRL3 22h 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 Product Preview POP AND CLICK PERFORMANCE 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. Apply power to the WM8594 (see Power On Reset). 2. Set-up initial internal biases: 3. 4. • 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 Enable DACVMID. 500kΩ selected here for optimum pop reduction: • 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. • 6. 7. VMID_SEL=10 Insert delay Enable the master bias and DACVMID buffer: • BIAS_EN=1 • BUFIO_EN=1 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. 9. Unmute the outputs and switch DACVMID resistance to 50k for normal operation: • VOUTxL_MUTE=0 • VOUTxR_MUTE=0 • VMID_SEL=01 POWERDOWN SEQUENCE 1. Mute all outputs: • 2. w MUTE_ALL=1 Set up biases for power down mode: • FAST_EN=1 • VMID_SEL=01 • BIAS_EN=1 PP Rev 1.0 January 2007 44 WM8594 Product Preview 3. • 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. 5. Power down VMID to allow the analogue outputs to ramp gently to ground in a pop-free manner. • 6. Wait until DACVMID has fully discharged. The time taken depends on system capacitance. • 7. 9. Insert delay Clamp outputs to ground. • 8. VMID_SEL=00 APE_B=0 Power down outputs. • VOUTxL_EN=0 • VOUTxR_EN=0 Disable remaining bias control bits. • FAST_EN=0 • POBCTRL=0 • BIAS_EN=0 Power supplies can now be safely removed from the 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 Product Preview REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION R35 BIAS 23h 0 POBCTRL 0 Bias Source for Output Amplifiers 0 = Output amplifiers use master bias 1 = Output amplifiers use fast bias 1 VMIDTOG 0 VMID Power Down Characteristic 0 = Slow ramp 1 = Fast ramp 2 FAST_EN 0 Fast Bias Enable 0 = Fast bias disabled 1 = Fast bias enabled 3 BUFIO_ EN 0 VMID Buffer Enable 0 = VMID Buffer disabled 1 = VMID Buffer enabled 4 SOFT_ST 1 VMID Soft Ramp Enable 0 = Soft ramp disabled 1 = Soft ramp enabled 5 BIAS_EN 0 Master Bias Enable 0 = Master bias disabled 1 = Master bias enabled Also powers down ADCVMID 7:6 VMID_ SEL[1:0] 00 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Ω. Table 34 Bias Control w PP Rev 1.0 January 2007 46 Product Preview REGISTER MAP 5 WM8594 6 4 3 2 1 0 DAC2_EN 0 DAC2_ZCEN 0 0 DAC2_DEEMPH 0 DAC1_BCLKDIV[2:0] 0 0 0 0 DAC2L_VOL[7:0] DAC2R_VOL[7:0] 0 0 0 GLOBAL_EN DAC2_M STR DAC2_FMT[1:0] DAC2_SR[2:0] 0 0 0x8594 Hex Default DAC1_DEEMPH 7 0 8 DAC1_ZCEN 0 9 0 10 DAC1_EN 0 11 0 12 DAC1_MUTE 0 0x00C8 0x00C8 13 0 DAC1L_VOL[7:0] 14 0 DAC1R_VOL[7:0] 15 DAC1_OP_MUX[1:0] 0 0 DAC1L_VU Hex Addr N ame 0 0 DAC1R_VU D ec Addr 0 0 0 DAC2_MUTE 0 0 ADC_FMT[1:0] 0x0000 0x008A 0x0000 0x0000 0x008A 0x0000 0x00C8 0x0000 0x00C8 0x0000 0x200A PGA1L_VOL ADCR_VOL ADCL_VOL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PGA3R_VU PGA3L_VU PGA2R_VU PGA2L_VU PGA1R_VU PGA1L_VU ADCR_VU ADCL_VU 0 0 PGA3R_ZC PGA3L_IN_SEL[3:0] PGA1R_IN_SEL[3:0] VOUT3R_MUTE PGA3L_ZC VOUT3L_MUTE PGA2R_ZC VOUT2R_MUTE PGA2L_ZC AUTO_INC VOUT2L_MUTE PGA1R_ZC PGA3R_VOL[7:0] PGA3L_VOL[7:0] PGA2R_VOL7:0] PGA2L_VOL[7:0] PGA1R_VOL[7:0] PGA1L_VOL[7:0] ADCR_VOL[7:0] ADCL_VOL[7:0] PGA2R_IN_SEL[3:0] PGA1L_IN_SEL[3:0] 0 VOUT1R_MUTE PGA1L_ZC 0 VOUT1L_MUTE 0 MUTE_ALL 0x0000 0x0000 0x000C 0x000C 0x000C 0x000C 0x000C 0x000C 0x00C3 0x00C3 ADC_WL[1:0] 0x0000 0 0 0 0 REVNUM[7:0] 0 0 0 DAC2_OP_MUX[1:0] 0 DAC2L_VU 0 0 DEVICE_ID 0 0 0 Read: DEVICE_ID[15:0] / Write: SW_RST REVISION 0 0 0 0 0 0 ADC_BCP 0 01 00 0 0 0 0 0 0 0 0 DAC2R_VU ADC_LRP 0 1 0 0 0 DAC1_FMT[1:0] 0 0 0 DAC1_WL[1:0] DAC1_CTRL1 0 0 DAC1_BCP 02 0 0 DAC1_LRP 2 DAC1_CTRL2 0 0 0 0 0 0 0 ADC_EN DAC1_MSTR DAC1_CTRL3 0 0 0 0 0 0 0 ADC_LRSWAP 11 10 PGA1R_VOL 0 0 0 0 0 0 0 PGA2L_IN_SEL[3:0] 0x0000 16 13 PGA2L_VOL 0 0 0 0 0 PGA3R_IN_SEL[3:0] ADC_MSTR 17 14 PGA2R_VOL 0 0 0 0 ADC_SR[2:0] 19 15 PG3L_VOL 0 0 0 0 0 20 16 PGA3R_VOL 0 0 0 0 0 21 17 PGA_CTRL1 0 0 0 0 ADC_BCLKDIV[2:0] 22 18 PGA_CTRL2 0 0 DAC1_SR[2:0] 03 0 0 0 0 0 0 0 ADCR_INV 0 0 0 04 0 DAC2_CTRL1 0 0 0 0 0 ADCL_INV 0 0 0 3 DAC1R_VOL DAC1L_VOL 0 4 06 07 DAC2_CTRL2 0 0 0 0 0 0 DAC2_WL[1:0] 05 08 DAC2L_VOL DAC2_CTRL3 0 0 0 0 0 6 7 09 0 0 ADC_HPD 0 0 0 5 8 0A DAC2R_VOL ADC_ZC_EN 0 0 DAC2_BCP 9 ENABLE 0 0 0 DAC2_LRP 10 0C 0B 0 0 0 DAC2_BCLKDIV[2:0] 11 ADC_CTRL1 0 0 0 12 0D ADC_CTRL3 ADC_CTRL2 23 19 GEN 0 ADC_DATA_SEL[1:0] 13 0F 0E 24 1A 0 0 15 14 25 1B 0 0x0048 0x007E 0x00FC 26 INPUT_CTRL2 INPUT_CTRL1 ATTACK_BYPASSDECAY_BYPASS 27 1D 1C PGA_SR[2:0] 29 0x0000 0x0008 0x0163 0x0088 PGA1R_EN VOUT1L_SEL[2:0] PGA2L_EN VOUT2R_SEL[2:0] PGA1L_EN 28 PGA2R_EN ADCL_SEL[3:0] PGA3L_EN VOUT1R_SEL[2:0] PGA3R_EN ADCR_SEL[3:0] VOUT3L_SEL[2:0] ADCR_AM P_EN ADCL_AMP_EN VOUT2L_SEL[2:0] 0 VOUT3R_SEL[2:0] 0 ADC_AMP_VOL[1:0] 0 0 0 ADC_SWITCH_EN 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INPUT_CTRL4 0 INPUT_CTRL3 OUTPUT_CTRL1 1F OUTPUT_CTRL2 VOUT1R_EN 1E 21 20 0 31 32 VOUT2L_EN 0 30 33 0 0 VMID_SEL[1:0] PGA_SEL[2:0] PGA_SAFE_SW 0x0002 0x0010 VOUT2R_EN 0 0x0040 0 VOUT1L_TRI VOUT3L_EN PGA_UPD VOUT1R_TRI VOUT3R_EN 0 VOUT2L_TRI 0 0 VOUT2R_TRI 0 0 VOUT3L_TRI 0 0 VOUT3R_TRI OUTPUT_CTRL3 0 APE_B 22 0 VOUT1L_EN 34 0 POBCTRL 0 VMIDTOG 0 FAST_EN 0 BUFIOEN BIAS 0 PGA_CTRL_3 SOFT_ST 23 0 24 BIAS_EN 35 47 PP Rev 1.0 January 2007 0 36 w WM8594 Product Preview R0 (0h) – Software Reset / Device ID Register (DEVICE_ID) Bit # 15 14 13 Read 12 11 10 9 8 DEVICE_ID[15:8] Write SW_RST Default 1 0 0 0 0 1 0 1 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read DEVICE_ID[7:0] Write SW_RST Default 1 0 0 1 0 N/A = Not Applicable (no function implemented) Function Description DEVICEID[15:0] Device ID A read of this register will return the device ID. In this case 0x8594. Software Reset A write of any value to this register will generate a software reset. SW_RST Figure 22 R0 – Software Reset / Device ID R1 (01h) – Device Revision Register (REVISION) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read REVNUM[7:0] Write N/A N/A N/A N/A N/A N/A N/A N/A Default - - - - - - - - N/A = Not Applicable (no function implemented) Function Description REVNUM[7:0] Device Revision A read of this register will return the device revision number. This number is sequentially incremented if the device design is updated. Figure 23 R1 – Device Revision Register w PP Rev 1.0 January 2007 48 WM8594 Product Preview R2 (02h) – DAC Control Register 1 (DAC1_CTRL1) Bit # 15 14 13 12 Read 0 0 0 0 Write N/A N/A N/A N/A Default 0 0 0 0 0 Bit # 7 6 5 4 3 DAC1_ZCEN DAC1_ DEEMPH DAC1_LRP DAC1_BCP 1 0 0 0 Read Write Default 11 10 9 8 DAC1_MUTE DAC1_EN 0 0 0 2 1 0 DAC1_OP_MUX[1:0] DAC1_WL[1:0] DAC1_FMT[1:0] 1 1 0 0 N/A = Not Applicable (no function implemented) Function Description DAC1_FMT[1:0] DAC1 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC1_WL[1:0] DAC1 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) DAC1_BCP DAC1 BCLK Polarity 0 = DACBCLK not inverted - data latched on rising edge of BCLK 1 = DACBCLK inverted - data latched on falling edge of BCLK DAC1_LRP DAC1 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted DAC1_DEEMPH DAC1_ZCEN DAC1_EN DAC1_MUTE DAC1_OP_MUX[1:0] DAC1 Deemphasis 0 = No deemphasis 1 = Apply 44.1kHz deemphasis DAC1 Digital Volume Control Zero Cross Enable 0 = Do not use zero cross 1 = Use zero cross DAC1 Enable 0 = DAC disabled 1 = DAC enabled DAC1 Softmute 0 = Normal operation 1 = Softmute applied DAC1 Digital Monomix 00 = Stereo (Normal Operation) 01 = Mono (Left data to DAC1R) 10 = Mono (Right data to DAC1L) 11 = Digital Monomix, (L+R)/2 Figure 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 # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 5 4 3 2 1 0 Bit # 7 6 Read 0 0 Write N/A N/A Default 0 0 DAC1_BCLKDIV[2:0] 0 0 8 DAC1_SR[2:0] 0 0 0 0 N/A = Not Applicable (no function implemented) Function Description DAC1_SR[2:0] DAC1_ BCLKDIV [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 Figure 25 R3 – DAC1 Control Register 2 R4 (04h) – DAC1 Control Register 3 (DAC1_CTRL3) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 DAC1_MSTR 0 N/A = Not Applicable (no function implemented) Function DAC1_MSTR 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 Figure 26 R4 – DAC1 Control Register 3 w PP Rev 1.0 January 2007 50 WM8594 Product Preview R5 (05h) – DAC1L Digital Volume Control Register (DAC1L_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 0 0 Read 8 DAC1L_VU DAC1L_VOL[7:0] Write Default 1 1 0 0 1 N/A = Not Applicable (no function implemented) Function Description DAC1L_VOL[7:0] DAC1L_VU DAC1L Digital Volume 0000 0000 = -100dB 0000 0001 = -99.5dB 0000 0010 = -99dB …0.5dB steps 1100 1000 = 0dB …0.5dB steps 1101 1111 = +11.5dB 111X XXXX = +12dB DAC1L Digital Volume Update 0 = Latch DAC1L_VOL[7:0] into Register Map but do not update volume 1 = Latch DAC1L_VOL[7:0] into Register Map and update left and right channels simultaneously Figure 27 R5 – DAC1L Digital Volume Control Register R6 (06h) – DAC1R Digital Volume Control Register (DAC1R_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 0 0 Read DAC1R_VU DAC1R_VOL[7:0] Write Default 8 1 1 0 0 1 N/A = Not Applicable (no function implemented) Function DAC1R_VOL[7:0] DAC1R_VU Description DAC1R Digital Volume 0000 0000 = -100dB 0000 0001 = -99.5dB 0000 0010 = -99dB …0.5dB steps 1100 1000 = 0dB …0.5dB steps 1101 1111 = +11.5dB 111X XXXX = +12dB DAC1R Digital Volume Update 0 = Latch DACR_VOL[7:0] into Register Map but do not update volume 1 = Latch DACR_VOL[7:0] into Register Map and update left and right channels simultaneously Figure 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 # 15 14 13 12 Read 0 0 0 0 Write N/A N/A N/A N/A Default 0 0 0 0 0 Bit # 7 6 5 4 3 DAC2_ZCEN DAC2_ DEEMPH DAC2_LRP DAC2_BCP 1 0 0 0 Read Write Default 11 10 9 8 DAC2_MUTE DAC2_EN 0 0 0 2 1 0 DAC2_OP_MUX[1:0] DAC2_WL[1:0] DAC2_FMT[1:0] 1 1 0 0 N/A = Not Applicable (no function implemented) Function Description DAC2_FMT[1:0] DAC2 Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP DAC2_WL[1:0] DAC2 Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) DAC2_BCP DAC2 BCLK Polarity 0 = DACBCLK not inverted - data latched on rising edge of BCLK 1 = DACBCLK inverted - data latched on falling edge of BCLK DAC2_LRP DAC2 LRCLK Polarity 0 = DACLRCLK not inverted 1 = DACLRCLK inverted DAC2_DEEMPH DAC2_ZCEN DAC2_EN DAC2_MUTE DAC2_OP_MUX[1:0] DAC2 Deemphasis 0 = No deemphasis 1 = Apply 44.1kHz 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 Figure 29 R7 – DAC2 Control Register 1 w PP Rev 1.0 January 2007 52 WM8594 Product Preview R8 (08h) – DAC2 Control Register 2 (DAC2_CTRL2) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 5 4 3 2 1 0 Bit # 7 6 Read 0 0 Write N/A N/A Default 0 0 DAC2_BCLKDIV[2:0] 0 0 8 DAC2_SR[2:0] 0 0 0 0 N/A = Not Applicable (no function implemented) Function Description DAC2_SR[2:0] DAC2_BCLKDIV[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 Figure 30 R8 – DAC2 Control Register 2 R9 (09h) – DAC2 Control Register 3 (DAC2_CTRL3) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 8 DAC2_MSTR 0 N/A = Not Applicable (no function implemented) Function DAC2_MSTR 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 Figure 31 R9 – DAC2 Control Register 3 w PP Rev 1.0 January 2007 53 WM8594 Product Preview R10 (0Ah) – DAC2L Digital Volume Control Register (DAC2L_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 0 0 Read 8 DAC2L_VU DAC2L_VOL[7:0] Write Default 1 1 0 0 1 N/A = Not Applicable (no function implemented) Function Description DAC2L_VOL[7:0] DAC2L_VU DAC2 Digital Volume 0000 0000 = -100dB 0000 0001 = -99.5dB 0000 0010 = -99dB …0.5dB steps 1100 1000 = 0dB …0.5dB steps 1101 1111 = +11.5dB 111X XXXX = +12dB DAC2 Digital Volume Update 0 = Latch DAC2L_VOL[7:0] into Register Map but do not update volume 1 = Latch DAC2L_VOL[7:0] into Register Map and update left and right channels simultaneously Figure 32 R10 – DAC2L Digital Volume Control Register R11 (0Bh) – DAC2R Digital Volume Control Register (DAC2R_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 0 0 Read DAC2R_VU DAC2R_VOL[7:0] Write Default 8 1 1 0 0 1 N/A = Not Applicable (no function implemented) Function DAC2R_VOL[7:0] DAC2R_VU Description DAC2R Digital Volume 0000 0000 = -100dB 0000 0001 = -99.5dB 0000 0010 = -99dB …0.5dB steps 1100 1000 = 0dB …0.5dB steps 1101 1111 = +11.5dB 111X XXXX = +12dB DAC2R Digital Volume Update 0 = Latch DAC2R_VOL[7:0] into Register Map but do not update volume 1 = Latch DAC2R_VOL[7:0] into Register Map and update left and right channels simultaneously Figure 33 R11 – DAC2R Digital Volume Control Register w PP Rev 1.0 January 2007 54 WM8594 Product Preview R12 (0Ch) – Device Enable Register (ENABLE) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 GLOBAL_EN 0 N/A = Not Applicable (no function implemented) Function Description GLOBAL_EN Device Global Enable 0 = ADC, DAC and PGA ramp control circuitry disabled 1 = ADC, DAC and PGA ramp control circuitry enabled Figure 34 R12 – Device Enable Register R13 (0Dh) – ADC Control Register 1 (ADC_CTRL1) Bit # 15 14 Read 0 0 13 12 Write N/A N/A Default 0 Bit # Read 11 ADC_ZCEN ADC_HPD 0 1 0 0 7 6 5 4 3 Write ADC_ LRSWAP ADC_EN ADC_LRP ADC_BCP Default 0 0 0 0 10 9 8 ADCL_INV ADCR_INV 0 0 0 2 1 0 ADC_DATA_SEL[1:0] ADC_WL[1:0] 1 ADC_FMT[1:0] 0 1 0 N/A = Not Applicable (no function implemented) Function Description ADC_FMT[1:0] ADC Audio Interface Format 00 = Right Justified 01 = Left Justified 10 = I2S 11 = DSP ADC_WL[1:0] ADC Audio Interface Word Length 00 = 16-bit 01 = 20-bit 10 = 24-bit 11 = 32-bit (not available in Right Justified mode) ADC_BCP ADC BCLK Polarity 0 = ADCBCLK not inverted - data latched on rising edge of BCLK 1 = ADCBCLK inverted - data latched on falling edge of BCLK ADC_LRP ADC LRCLK Polarity 0 = ADCLRCLK not inverted 1 = ADCLRCLK inverted ADC_EN ADC Enable 0 = ADC disabled 1 = ADC enabled w PP Rev 1.0 January 2007 55 WM8594 Product Preview ADC_LRSWAP ADCR_INV ADCL_INV ADC_DATA_SEL[1:0] ADC_HPD ADC_ZC_EN ADC Left/Right Swap 0 = Normal 1 = Swap left channel data into right channel and vice-versa ADCL and ADCR Output Signal Inversion 0 = Output not inverted 1 = Output inverted ADC Data Output Select 00 = left data from ADCL, right data from ADCR (Normal Stereo) 01 = left data from ADCL, right data from ADCL (Mono Left) 10 = left data from ADCR, right data from ADCR (Mono Right) 11 = left data from ADCR, right data from ADCL (Reverse Stereo) ADC High Pass Filter Disable 0 = High pass filter enabled 1 = High pass filter disabled ADC Digital Volume Control Zero Cross Enable 0 = Do not use zero cross, change volume instantly 1 = Use zero cross, change volume when data crosses zero Figure 35 R13 – ADC Control Register 1 R14 (0Eh) – ADC Control Register 2 (ADC_CTRL2) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 0 0 Write N/A N/A Default 0 0 ADC_BCLKDIV[2:0] 0 0 8 ADC_SR[2:0] 0 0 0 0 N/A = Not Applicable (no function implemented) Function ADC_SR[2:0] ADC_BCLKDIV[2:0] Description ADC MCLK:LRCLK Ratio 000 = Auto detect 001 = reserved 010 = reserved 011 = 256fs 100 = 384fs 101 = 512fs 110 = 768fs 111 = Reserved ADC BCLK Rate (when ADC in Master Mode) 000 = MCLK / 4 001 = MCLK / 8 010 = 32fs 011 = 64fs 100 = 128fs All other values of ADC_BCLKDIV[2:0] are reserved Figure 36 R14 – ADC Control Register 2 w PP Rev 1.0 January 2007 56 WM8594 Product Preview R15 (0Fh) – ADC Control Register 3 (ADC_CTRL3) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 8 ADC_MSTR 0 N/A = Not Applicable (no function implemented) Function Description ADC_MSTR ADC Master Mode Select 0 = Slave mode, ADCBCLK and ADCLRCLK are inputs to WM8594 1 = Master mode, ADCBCLK and ADCLRCLK are outputs from WM8594 Figure 37 R15 – ADC Control Register 3 R16 (10h) – Left ADC Digital Volume Control Register (ADCL_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 1 1 Read ADCL_VU ADCL_VOL[7:0] Write Default 8 1 1 0 0 0 N/A = Not Applicable (no function implemented) Function ADCL_VOL[7:0] ADCL_VU Description 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 Figure 38 R10 – Left ADC Digital Volume Control Register w PP Rev 1.0 January 2007 57 WM8594 Product Preview R17 (11h) – Right ADC Digital Volume Control Register (ADCR_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 0 1 1 Read ADCR_VU ADCR_VOL[7:0] Write Default 8 1 1 0 0 0 N/A = Not Applicable (no function implemented) Function ADCR_VOL[7:0] ADCR_VU Description Right ADC Digital Volume 0000 0000 = Digital mute 0000 0001 = -97dB 0000 0010 = -96.5dB …0.5dB steps 1100 0011 = 0dB …0.5dB steps 1111 1110 = +29.5dB 1111 1111 = +30dB Right ADC Digital Volume Update 0 = Latch ADCR_VOL[7:0] into Register Map but do not update volume 1 = Latch ADCR_VOL[7:0] into Register Map and update left and right channels simultaneously Figure 39 R17 – Right ADC Digital Volume Control Register w PP Rev 1.0 January 2007 58 WM8594 Product Preview R19 (13h) – PGA1L Volume Control Register (PGA1L_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA1L_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA1L_VOL[7:0] Write Default 8 0 0 0 0 1 N/A = Not Applicable (no function implemented) R20 (14h) – PGA1R Volume Control Register (PGA1R_VOL) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA1R_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA1R_VOL[7:0] Write Default 0 0 0 0 1 N/A = Not Applicable (no function implemented) R21 (15h) – PGA2L Volume Control Register (PGA2L_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA2L_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA2L_VOL[7:0] Write Default 8 0 0 0 0 1 N/A = Not Applicable (no function implemented) R22 (16h) – PGA2R Volume Control Register (PGA2R_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA2R_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA2R_VOL[7:0] Write Default 8 0 0 0 0 1 N/A = Not Applicable (no function implemented) …Continued on next page w PP Rev 1.0 January 2007 59 WM8594 Product Preview R23 (17h) – PGA3L Volume Control Register (PGA3L_VOL) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA3L_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA3L_VOL[7:0] Write Default 8 0 0 0 0 1 N/A = Not Applicable (no function implemented) R24 (18h) – PGA3R Volume Control Register (PGA3R_VOL) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A PGA3R_VU Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 1 0 0 Read PGA3R_VOL[7:0] Write Default 0 0 0 0 1 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] PGA1L_VU PGA1R_VU PGA2L_VU PGA2R_VU PGA3L_VU PGA3R_VU Input PGA Volume 0000 0000 = +6dB 0000 0001 = +5.5dB …0.5dB steps 00001100 = 0dB … 1001 1110 = -73.5dB 1001 1111 = PGA Mute Input PGA Volume Update 0 = Latch corresponding volume setting into Register Map but do not update volume 1 = Latch corresponding volume setting into Register Map and update all channels simultaneously Figure 40 R19-24 – PGA Volume Control Registers w PP Rev 1.0 January 2007 60 WM8594 Product Preview R25 (19h) – PGA Control Register 1 (PGA_CTRL1) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 DECAY_ BYPASS 0 Read Write PGA3R_ZC PGA3L_ZC PGA2R_ZC PGA2L_ZC PGA1R_ZC PGA1L_ZC ATTACK_ BYPASS 1 1 1 1 1 1 0 Default 8 N/A = Not Applicable (no function implemented) Function Description DECAY_BYPASS PGA Gain Decay Mode 0 = PGA gain will ramp down 1 = PGA gain will step down ATTACK_BYPASS PGA Gain Attack Mode 0 = PGA gain will ramp up 1 = PGA gain will step up PGA1L_ZC PGA1R_ZC PGA2L_ZC PGA2R_ZC PGA3L_ZC PGA3R_ZC PGA Gain Zero Cross Enable 0 = PGA gain updates occur immediately 1 = PGA gain updates occur on zero cross Zero cross must be disabled to use gain ramp Figure 41 R25 – PGA Control Register 1 R26 (1Ah) – PGA Control Register 2 (PGA_CTRL2) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 8 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 0 Write N/A VOUT3R_ MUTE VOUT3L_ MUTE VOUT2R_ MUTE VOUT2L_ MUTE VOUT1R_ MUTE VOUT1L_ MUTE MUTE_ALL Default 0 1 1 1 1 1 1 0 N/A = Not Applicable (no function implemented) Function MUTE_ALL VOUT1L_MUTE VOUT1R_MUTE VOUT2L_MUTE VOUT2R_MUTE VOUT3L_MUTE VOUT3R_MUTE Description Master PGA Mute Control 0 = Unmute all PGAs 1 = Mute all PGAs Individual PGA Mute Control 0 = Unmute PGA 1 = Mute PGA Figure 42 R26 – PGA Control Register 2 w PP Rev 1.0 January 2007 61 WM8594 Product Preview R27 (1Bh) – Additional Control Register 1 (ADD_CTRL1) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 6 5 4 3 Bit # 7 Read 0 Write N/A Default 0 PGA_SR[2:0] 1 0 AUTO_INC 0 1 8 2 1 0 0 0 0 N/A N/A N/A 0 0 0 N/A = Not Applicable (no function implemented) Function AUTO_INC PGA_SR[2:0] Description 2-wire Software Mode Auto Increment Enable 0 = Auto increment disabled 1 = Auto increment enabled Sample Rate for PGA 000 = 32kHz 001 = 44.1kHz 010 = 48kHz 011 = 88.2kHz 100 = 96kHz 101 = 176.4kHz 11X = 192kHz See Table 28 for further information on PGA sample rate versus volume ramp rate. Figure 43 R27 – Additional Control Register 1 w PP Rev 1.0 January 2007 62 WM8594 Product Preview R28 (1Ch) – Input Control Register 1 (INPUT_CTRL1) Bit # 15 14 13 12 Read 0 0 0 0 Write N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 11 10 Default 0 0 8 PGA2L_IN_SEL[3:0] PGA1R_IN_SEL[3:0] Write 9 PGA1L_IN_SEL[3:0] 0 0 0 0 0 0 N/A = Not Applicable (no function implemented) R29 (1Dh) – Input Control Register 2 (INPUT_CTRL2) Bit # 15 14 13 12 Read 0 0 0 0 Write N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 10 0 0 0 9 8 PGA3R_IN_SEL[3:0] PGA3L_IN_SEL[3:0] Write Default 11 PGA2R_IN_SEL[3:0] 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function Description 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 PGA1R_IN_SEL[3:0] PGA2R_IN_SEL[3:0] PGA3R_IN_SEL[3:0] 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 Figure 44 R28-29 – Input Control Registers 1-2 w PP Rev 1.0 January 2007 63 WM8594 Product Preview R30 (1Eh) – Input Control Register 3 (INPUT_CTRL3) Bit # 15 14 13 12 11 10 Read 0 0 0 0 0 Write N/A N/A N/A N/A N/A ADC_ SWITCH_EN Default 0 0 0 0 0 0 1 0 Bit # 7 6 5 4 3 2 1 0 Read ADCR_SEL[3:0] Write Default 1 0 0 9 8 ADC_AMP_VOL[1:0] ADCL_SEL[3:0] 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function ADCL_SEL[3:0] ADCR_SEL[3:0] Description ADC Input Select 0000 = 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_AMP_VOL[1:0] ADC Amplifier Gain Control 00 = 0dB 01 = +3dB 10 = +6dB 11 = +12dB ADC_SWITCH_EN ADC Input Switch Control 0 = ADC input switches open 1 = ADC input switches closed Figure 45 R30 – Input Control Register 3 w PP Rev 1.0 January 2007 64 WM8594 Product Preview R31 (1Fh) – Input Control Register 4 (INPUT_CTRL4) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 7 6 5 4 3 2 1 0 PGA3R_EN PGA3L_EN PGA2R_EN PGA2L_EN PGA1R_EN PGA1L_EN 0 0 0 0 0 0 Bit # Read Write ADCR_AMP_ ADCL_AMP_ EN EN Default 0 0 8 N/A = Not Applicable (no function implemented) Function PGA1L_EN PGA1R_EN PGA2L_EN PGA2R_EN PGA3L_EN PGA3R_EN ADCL_AMP_EN ADCR_AMP_EN Description Input PGA Enable Controls 0 = PGA disabled 1 = PGA enabled 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 Product Preview R32 (20h) – Output Control Register 1 (OUTPUT_CTRL1) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A VOUT2L_ SEL[2] Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read Write VOUT2L_SEL[1:0] Default 1 0 VOUT1R _SEL[2:0] 0 0 VOUT1L_SEL[2:0] 1 0 0 0 N/A = Not Applicable (no function implemented) R33 (21h) – Output Control Register 2 (OUTPUT_CTRL2) Bit # 15 14 13 12 11 10 9 8 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A VOUT3R_ SEL[2] Default 0 0 0 0 0 0 0 1 Bit # 7 6 5 4 3 2 1 0 Read Write VOUT3R_SEL [1:0] Default 0 1 VOUT3L_SEL [2:0] 1 0 VOUT2R_SEL[2:0] 0 0 1 1 N/A = Not Applicable (no function implemented) 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] Description Output Mux Selection 000 = PGA1L 001 = PGA1R 010 = PGA2L 011 = PGA2R 100 = PGA3L 101 = PGA3R 11X = Reserved Figure 47 R32-33 – Output Control Registers 1-2 w PP Rev 1.0 January 2007 66 WM8594 Product Preview R34 (22h) – Output Control Register 3 (OUTPUT_CTRL3) Bit # 15 14 13 Read 0 0 0 Write N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 VOUT1L_EN APE_B 0 1 Read Write Default 12 11 10 9 8 VOUT3R_EN VOUT3L_EN VOUT2R_EN VOUT2L_EN VOUT1R_EN VOUT3R_TRI VOUT3L_TRI VOUT2R_TRI VOUT2L_TRI VOUT1R_TRI VOUT1L_TRI 0 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function VOUT1L_TRI VOUT1R_TRI VOUT2L_TRI VOUT2R_TRI VOUT3L_TRI VOUT3R_TRI Description Output Amplifier Tristate Control 0 = Normal operation 1 = Output amplifier tristate enable (Hi-Z) APE_B Clamp Outputs to Ground 0 = clamp active 1 = clamp not active VOUT1L_EN VOUT1R_EN VOUT2L_EN VOUT2R_EN VOUT3L_EN VOUT3R_EN Output Amplifier Enables 0 = Output amplifier disabled 1 = Output amplifier enabled Figure 48 R34 – Output Control Register 3 w PP Rev 1.0 January 2007 67 WM8594 Product Preview R35 (23h) – Bias Control Register (BIAS) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 BIAS_EN SOFT_ST BUFIO_EN FAST_EN VMIDTOG POBCTRL 0 1 0 0 0 0 Read Write Default VMID_SEL[1:0] 0 0 8 N/A = Not Applicable (no function implemented) Function Description POBCTRL Bias Source for Output Amplifiers 0 = Output amplifiers use master bias 1 = Output amplifiers use fast bias VMIDTOG VMID Power Down Characteristic 0 = Slow ramp 1 = Fast ramp FAST_EN Fast Bias Enable 0 = Fast bias disabled 1 = Fast bias enabled BUFIO_EN VMID Buffer Enable 0 = VMID Buffer disabled 1 = VMID Buffer enabled SOFT_ST VMID Soft Ramp Enable 0 = Soft ramp disabled 1 = Soft ramp enabled BIAS_EN Master Bias Enable 0 = Master bias disabled 1 = Master bias enabled Also powers down ADCVMID VMID_SEL[1:0] 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Ω. The ADCVMID Figure 49 R35 – Bias Control Register w PP Rev 1.0 January 2007 68 WM8594 Product Preview R36 (24h) – PGA Control Register 3 (PGA_CTRL3) Bit # 15 14 13 12 11 Read 0 0 0 0 0 Write N/A N/A N/A N/A N/A Default 0 0 0 0 0 3 Bit # 7 6 5 4 Read 0 0 0 0 Write N/A N/A N/A N/A Default 0 0 0 0 10 9 0 N/A N/A 0 0 0 2 1 PGA_UPD 0 0 PGA_ SAFE_SW PGA_SEL[2:0] 0 8 0 0 0 N/A = Not Applicable (no function implemented) Function Description PGA_SAFE_SW 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_SEL[2:0] 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_UPD PGA Ramp Control Clock Source Mux Update 0 = Do not update PGA clock source 1 = Update clock source Figure 50 R36 – PGA Control Register 3 R37 (25h) – ADC Input Clock Control Register (ADC_CLK) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 8 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A ADC_ SAFE_SW Default 0 0 0 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function ADC_SAFE_SW Description ADC Clock Input Safe Switching 0 = Ignore ADC Clock Inputs 1 = Use ADC Clock Inputs See page 33 for details of use Figure 51 R37 – ADC Input Clock Control Register w PP Rev 1.0 January 2007 69 WM8594 Product Preview R38 (26h) – DAC1 Input Clock Control Register (DAC1_CLK) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 8 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A DAC1_ SAFE_SW Default 0 0 0 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function Description 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. Figure 52 R38 – DAC1 Input Clock Control Register R39 (27h) – DAC2 Input Clock Control Register (DAC2_CLK) Bit # 15 14 13 12 11 10 9 Read 0 0 0 0 0 0 0 8 0 Write N/A N/A N/A N/A N/A N/A N/A N/A Default 0 0 0 0 0 0 0 0 Bit # 7 6 5 4 3 2 1 0 Read 0 0 0 0 0 0 0 Write N/A N/A N/A N/A N/A N/A N/A DAC2_ SAFE_SW Default 0 0 0 0 0 0 0 0 N/A = Not Applicable (no function implemented) Function DAC2_SAFE_SW Description DAC2 Clock Input Safe Switching 0 = Ignore DAC2 Clock Inputs 1 = Use DAC2 Clock Inputs See page 31 for details of use. Figure 53 R39 – DAC2 Input Clock Control Register w PP Rev 1.0 January 2007 70 WM8594 Product Preview DIGITAL FILTER CHARACTERISTICS PARAMETER TEST CONDITIONS MIN TYP MAX UNIT ADC Filter ± 0.05dB Passband 0.454fs Passband Ripple 0.05 Stopband dB 0.546fs Stopband Attenuation -60 dB Group Delay 16 fs DAC Filter – 32kHz to 96kHz ± 0.1dB Passband 0.454fs Passband Ripple 0.1 Stopband dB 0.546fs Stopband attenuation f > 0.546fs -50 dB Group Delay 10 Fs DAC Filter – 176.4kHz to 192kHz ± 0.1dB Passband 0.247fs Passband Ripple 0.1 Stopband dB 0.753fs Stopband attenuation f > 0.546fs -50 dB Group Delay 10 Fs DAC FILTER RESPONSES 0.2 0 0.15 0.1 Response (dB) Response (dB) -20 -40 -60 0.05 0 -0.05 -0.1 -80 -0.15 -100 -0.2 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 Frequency (Fs) -120 0 0.5 1 1.5 2 2.5 3 Frequency (Fs) Figure 54 DAC Digital Filter Frequency Response – 32kHz to 96kHz w Figure 55 DAC Digital Filter Ripple –32kHz to 96kHz PP Rev 1.0 January 2007 71 WM8594 Product Preview 0.2 0 0 Response (dB) Response (dB) -20 -40 -60 -0.2 -0.4 -0.6 -0.8 -80 -1 0 -100 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 Frequency (Fs) Frequency (Fs) Figure 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) w Figure 59 De-Emphasis Error (44.1KHz) PP Rev 1.0 January 2007 72 WM8594 Product Preview ADC FILTER RESPONSES Magnitude (dB): Passband Ripple Magnitude (dB) up to fs 0.1 20 0.08 0 0.00 -20 0.25 0.50 0.75 0.06 0.04 -40 0.02 0 0.00 -0.02 -60 -80 0.25 -0.04 -100 -0.06 -120 -0.08 -0.1 -140 Frequency Frequency Figure 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. 1 - z-1 1 - 0.9995z-1 H(z) = 0 -2 -4 -6 -8 -10 -12 -14 -16 -18 -20 0 2 4 6 8 10 12 14 16 18 20 MA GNITUDE(dB) Figure 62 ADC Highpass Filter Response w PP Rev 1.0 January 2007 73 WM8594 Product Preview APPLICATIONS INFORMATION RECOMMENDED EXTERNAL COMPONENTS Notes: 1. AGND and DGND should ideally share a continuous ground plane. Where this is not possible, it is recommended that AGND and DGND are connected as close to the WM8594 as possible. 2. 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.1µF ceramic capacitors near to the WM8594, with a 10µF electrolytic capacitor nearby. w PP Rev 1.0 January 2007 74 WM8594 Product Preview 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: w • 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. PP Rev 1.0 January 2007 75 WM8594 Product Preview RELEVANT APPLICATION NOTES 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 WM8594 Product Preview PACKAGE DIMENSIONS FT: 48 PIN TQFP (7 x 7 x 1.0 mm) b DM004.C e 36 25 37 24 E1 48 E 13 1 12 Θ D1 c D L A A2 A1 -Cccc C Symbols A A1 A2 b c D D1 E E1 e L Θ ccc REF: SEATING PLANE 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 Product Preview IMPORTANT NOTICE Wolfson Microelectronics plc (“Wolfson”) products and services are sold subject to Wolfson’s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. Wolfson warrants performance of its products to the specifications in effect at the date of shipment. Wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. Customers should therefore obtain the latest version of relevant information from Wolfson to verify that the information is current. Testing and other quality control techniques are utilised to the extent Wolfson deems necessary to support its warranty. Specific testing of all parameters of each device is not necessarily performed unless required by law or regulation. In order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. Wolfson is not liable for applications assistance or customer product design. The customer is solely responsible for its selection and use of Wolfson products. Wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a Wolfson product. Wolfson’s products are not intended for use in life support systems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. Any use of products by the customer for such purposes is at the customer’s own risk. Wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectual property right of Wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. Any provision or publication of any third party’s products or services does not constitute Wolfson’s approval, licence, warranty or endorsement thereof. Any third party trade marks contained in this document belong to the respective third party owner. Reproduction of information from Wolfson datasheets is permissible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. Wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. Any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in Wolfson’s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person’s own risk. Wolfson is not liable for any such representations, warranties or liabilities or for any reliance placed thereon by any person. ADDRESS: Wolfson Microelectronics plc Westfield House 26 Westfield Road Edinburgh EH11 2QB Tel :: +44 (0)131 272 7000 Fax :: +44 (0)131 272 7001 Email :: [email protected] w PP Rev 1.0 January 2007 78