WM8569 w 24-bit, 192kHz Stereo CODEC with Volume Control DESCRIPTION The WM8569 is a stereo audio codec ideal for DVD, PVR, LCD-TV and automotive applications. Independent ADC and DAC clocking permits separate record and playback sampling rates. A stereo 24-bit multi-bit sigma delta DAC with oversampling and digital interpolation filters provides the output signal. Digital audio input word lengths from 16-24 bits and sampling rates from 8kHz to 192kHz are supported. A stereo 24-bit multi-bit sigma delta ADC is used. Digital audio output word lengths from 16-24 bits and sampling rates from 32kHz to 96kHz are supported. The DAC and ADC support independent sampling rates. The audio data interface supports I2S, left justified, right justified and DSP digital audio formats. The device is controlled via a 3-wire serial interface. The interface provides access to all features including volume controls, mutes, de-emphasis and power management facilities. A hardware control interface allows access to a limited feature set. The WM8569 is available in a 28-lead SSOP. FEATURES • Audio Performance − • • • 103dB SNR (‘A’ weighted @ 48kHz) DAC − DAC Sampling Frequency: 8kHz – 192kHz − 100dB SNR (‘A’ weighted @ 48kHz) ADC − ADC Sampling Frequency: 32kHz – 96kHz Independent Sampling Rates for ADC and DAC 3-wire SPI Serial or Hardware Control Interface Audio Mute and De-Emphasis Functions • Programmable Audio Data Interface Modes • • • − 16/20/24/32 bit Word Lengths − I2S, Left, Right Justified or DSP 2.7V to 5.5V Analogue Supply 2.7V to 3.6V Digital Supply 28-lead SSOP Package APPLICATIONS • • • • • DVD Recorder Personal Video Recorder PC Sound Card Automotive Audio LCD-TV BLOCK DIAGRAM WOLFSON MICROELECTRONICS plc To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/ Production Data, June 2006, Rev 4.0 Copyright 2006 Wolfson Microelectronics plc WM8569 Production Data TABLE OF CONTENTS DESCRIPTION .......................................................................................................1 FEATURES.............................................................................................................1 APPLICATIONS .....................................................................................................1 BLOCK DIAGRAM .................................................................................................1 TABLE OF CONTENTS .........................................................................................2 PIN CONFIGURATION...........................................................................................3 ORDERING INFORMATION ..................................................................................3 PIN DESCRIPTION ................................................................................................4 ABSOLUTE MAXIMUM RATINGS.........................................................................5 RECOMMENDED OPERATING CONDITIONS .....................................................6 ELECTRICAL CHARACTERISTICS ......................................................................6 TERMINOLOGY ............................................................................................................ 7 MASTER CLOCK TIMING ............................................................................................. 8 DIGITAL AUDIO INTERFACE – MASTER MODE ......................................................... 8 DIGITAL AUDIO INTERFACE – SLAVE MODE .......................................................... 10 MPU INTERFACE TIMING .......................................................................................... 12 INTERNAL POWER ON RESET CIRCUIT ..........................................................13 DEVICE DESCRIPTION.......................................................................................14 INTRODUCTION ......................................................................................................... 14 AUDIO DATA SAMPLING RATES............................................................................... 14 HARDWARE CONTROL MODES ............................................................................... 15 DIGITAL AUDIO INTERFACE ..................................................................................... 17 POWERDOWN MODES ............................................................................................. 21 ZERO DETECT ........................................................................................................... 21 SOFTWARE CONTROL INTERFACE OPERATION................................................... 21 REGISTER MAP ......................................................................................................... 22 CONTROL INTERFACE REGISTERS ........................................................................ 23 DIGITAL FILTER CHARACTERISTICS ...............................................................30 DAC FILTER RESPONSES......................................................................................... 30 ADC FILTER RESPONSES......................................................................................... 31 ADC HIGH PASS FILTER ........................................................................................... 31 DIGITAL DE-EMPHASIS CHARACTERISTICS........................................................... 31 APPLICATIONS INFORMATION .........................................................................33 RECOMMENDED EXTERNAL COMPONENTS .......................................................... 33 RECOMMENDED EXTERNAL COMPONENTS VALUES ........................................... 33 SUGGESTED ANALOGUE LOW PASS POST DAC FILTERS ................................... 34 PACKAGE DIMENSIONS ....................................................................................35 IMPORTANT NOTICE ..........................................................................................36 ADDRESS: .................................................................................................................. 36 w PD Rev 4.0 June 2006 2 WM8569 Production Data PIN CONFIGURATION ORDERING INFORMATION DEVICE TEMPERATURE RANGE PACKAGE MOISTURE SENSITIVITY LEVEL PEAK SOLDERING TEMPERATURE WM8569SEDS/V -25 to +85oC 28-lead SSOP (Pb-free) MSL3 260oC WM8569SEDS/RV -25 to +85oC 28-lead SSOP (Pb-free, tape and reel) MSL3 260oC Note: Reel quantity = 2,000 w PD Rev 4.0 June 2006 3 WM8569 Production Data PIN DESCRIPTION PIN NAME TYPE 1 DACMCLK Digital Input Master DAC clock: 256fs, 384fs, 512fs or 768fs DESCRIPTION 2 ADCBCLK Digital Input ADC audio interface bit clock 3 DACBLCK Digital Input/Output DAC audio interface bit clock 4 ADCLRC Digital Input/Output ADC left/right word clock 5 DACLRC Digital Input/Output DAC left/right word clock 6 DVDD Supply Digital positive supply 7 DGND Supply Digital ground 8 DIN Digital input DAC data input 9 NC No Connect No Connect 10 DOUT Digital output ADC data output 11 CSB/IDF Digital input Software Mode: Serial control interface latch signal Hardware Mode: Input audio data format 12 SCLK/IWL Digital input Software Mode: Serial control interface clock Hardware Mode: Audio data input word length 13 SDIN/DM Digital input Software Mode: Serial control interface data Hardware Mode: De-emphasis selection 14 MUTE Digital input/output 15 REFADC Analogue output 16 ADCVREFN Supply 17 DACVREFN Supply DAC negative reference supply 18 DACVREFP Supply DAC positive reference supply 19 VMID Analogue output Midrail divider decoupling pin; 10uF external decoupling 20 AINR Analogue input ADC right input 21 AINL Analogue input ADC left input 22 VOUTL Analogue output DAC left output 23 VOUTR Analogue output DAC right output 24 NC No Connect 25 AGND Supply Analogue negative supply and substrate connection 26 AVDD Supply Analogue positive supply 27 MODE Digital Input Control format selection: 0 = Software mode 1 = Hardware mode 28 ADCMCLK Digital Input Master ADC clock: 256fs, 384fs, 512fs or 768fs DAC Zero Flag output or DAC mute input ADC reference buffer decoupling pin; 10uF external decoupling ADC negative reference supply No Connect Note: Digital input pins have Schmitt trigger input buffers. w PD Rev 4.0 June 2006 4 WM8569 Production Data ABSOLUTE MAXIMUM RATINGS Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical Characteristics at the test conditions specified. ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage of this device. Wolfson tests its package types according to IPC/JEDEC J-STD-020B for Moisture Sensitivity to determine acceptable storage conditions prior to surface mount assembly. These levels are: MSL1 = unlimited floor life at <30°C / 85% Relative Humidity. Not normally stored in moisture barrier bag. MSL2 = out of bag storage for 1 year at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag. MSL3 = out of bag storage for 168 hours at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag. The Moisture Sensitivity Level for each package type is specified in Ordering Information. CONDITION MIN MAX Digital supply voltage -0.3V +5V Analogue supply voltage -0.3V +7V DGND -0.3V DVDD +0.3V AGND -0.3V AVDD +0.3V Voltage range digital inputs 1 Voltage range analogue inputs 1 Master Clock Frequency 37MHz Operating temperature range, TA -25°C +85°C Storage temperature after soldering -65°C +150°C Notes: 1. Analogue and digital grounds must always be within 0.3V of each other. w PD Rev 4.0 June 2006 5 WM8569 Production Data RECOMMENDED OPERATING CONDITIONS PARAMETER SYMBOL Digital supply range Analogue supply range Ground MAX UNIT DVDD TEST CONDITIONS MIN 2.7 TYP 3.6 V AVDD, VREFP 2.7 5.5 V +0.3 V AGND, VREFN, DGND 0 Difference DGND to AGND -0.3 0 V Note: Digital supply DVDD must never be more than 0.3V greater than AVDD. ELECTRICAL CHARACTERISTICS Test Conditions AVDD, VREFP = 5V, DVDD = 3.3V, AGND, VREFN = 0V, DGND = 0V, TA = +25oC, fs = 48kHz, MCLK = 256fs. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT DAC Performance (Load = 10kΩ, 50pF) 0dBFs Full scale output voltage 1.0 x VREFP/5 Vrms 103 dB SNR (Note 1,2,4) A-weighted, @ fs = 48kHz SNR (Note 1,2,4) A-weighted @ fs = 96kHz 102 dB SNR (Note 1,2,4) A-weighted @ fs = 192kHz 101 dB SNR (Note 1,2,4) A-weighted @ fs = 48kHz, AVDD = 3.3V 99 dB SNR (Note 1,2,4) A-weighted @ fs = 96kHz, AVDD = 3.3V 99 dB 103 dB Dynamic Range (Note 2,4) DNR Total Harmonic Distortion (THD) A-weighted, -60dB full scale input 95 90 1kHz, 0dB.Fs -90 1kHz Input, 0dB gain 100 dB 100 dB 1kHz 100mVp-p 50 dB 20Hz to 20kHz 100mVp-p 45 dB 2.0 x REFADC/5 Vrms Input resistance 20 kΩ Input capacitance 10 pF 100 dB Mute Attenuation DAC channel separation Power Supply Rejection Ratio PSRR -80 dB ADC Performance Input Signal Level (0dB) SNR (Note 1,2,4) A-weighted, 0dB gain @ fs = 48kHz SNR (Note 1,2,4) A-weighted, 0dB gain @ fs = 96kHz 100 dB SNR (Note 1,2,4) A-weighted, 0dB gain @ fs = 48kHz, AVDD = 3.3V 93 dB SNR (Note 1,2,4) A-weighted, 0dB gain @ fs = 96kHz, AVDD = 3.3V 93 dB 1kHz, -1dBFs -82 1kHz Input 90 Total Harmonic Distortion (THD) ADC Channel Separation w 80 -72 dB dB PD Rev 4.0 June 2006 6 WM8569 Production Data Test Conditions AVDD, VREFP = 5V, DVDD = 3.3V, AGND, VREFN = 0V, DGND = 0V, TA = +25oC, fs = 48kHz, MCLK = 256fs. PARAMETER SYMBOL Mute Attenuation Power Supply Rejection Ratio PSRR TEST CONDITIONS MIN TYP MAX UNIT 1kHz Input, 0dB gain 90 dB 1kHz 100mVpp 50 dB 20Hz to 20kHz 100mVpp 45 dB Digital Logic Levels (CMOS Levels) Input LOW level VIL Input HIGH level VIH 0.3 x DVDD 0.7 x DVDD Input leakage current ±0.2 Input capacitance ±1 5 Output LOW VOL IOL=1mA Output HIGH VOH IOH= -1mA V V µA pF 0.1 x DVDD 0.9 x DVDD V V Analogue Reference Levels Reference voltage VVMID Potential divider resistance RVMID VREFP/2 – 50mV VREFP/2 VREFP/2 + 50mV V VREFP to VMID and VMID to VREFN 50 kΩ AVDD, VREFP = 5V TBD mA DVDD = 3.3V TBD mA Supply Current Analogue supply current Digital supply current Notes: 1. Ratio of output level with 1kHz full scale input, to the output level with all zeros into the digital input, measured ‘A’ weighted. 2. All performance measurements done with 20kHz low pass filter, and where noted an A-weight filter. Failure to use such a filter will result in higher THD+N and lower SNR and Dynamic Range readings than are found in the Electrical Characteristics. The low pass filter removes out of band noise; although it is not audible it may affect dynamic specification values. 3. VMID decoupled with 10uF and 0.1uF capacitors (smaller values may result in reduced performance). TERMINOLOGY 1. Signal-to-noise ratio (dB) - SNR is a measure of the difference in level between the full scale output and the output with no signal applied. (No Auto-zero or Automute function is employed in achieving these results). 2. Dynamic range (dB) - DNR is a measure of the difference between the highest and lowest portions of a signal. Normally a THD+N measurement at 60dB below full scale. The measured signal is then corrected by adding the 60dB to it. (e.g. THD+N @ -60dB= -32dB, DR= 92dB). 3. THD (dB) - THD is a ratio, of the rms values, of Distortion/Signal. 4. Stop band attenuation (dB) - Is the degree to which the frequency spectrum is attenuated (outside audio band). 5. 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. 6. Pass-Band Ripple - Any variation of the frequency response in the pass-band region. w PD Rev 4.0 June 2006 7 WM8569 Production Data MASTER CLOCK TIMING t MCLKL MCLK tMCLKH t MCLKY Figure 1 ADC and DAC Master Clock Timing Requirements Test Conditions o AVDD, VREFP = 5V, DVDD = 3.3V, AGND, VREFN = 0V, AGND, DGND = 0V, TA = +25 C, fs = 48kHz, DACMCLK and ADCMCLK = 256fs unless otherwise stated. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT System Clock Timing Information MCLK System clock pulse width high tMCLKH 11 ns MCLK System clock pulse width low tMCLKL 11 ns MCLK System clock cycle time tMCLKY MCLK Duty cycle 28 40:60 ns 60:40 Table 1 Master Clock Timing Requirements DIGITAL AUDIO INTERFACE – MASTER MODE Figure 2 Audio Interface – Master Mode w PD Rev 4.0 June 2006 8 WM8569 Production Data DACBCLK/ ADCBCLK (Output) t DACLRC/ ADCLRC (Output) DL t DDA DOUT DIN t t DST DHT Figure 3 Digital Audio Data Timing – Master Mode Test Conditions AVDD, VREFP = 5V, DVDD = 3.3V, AGND, VREFN, DGND = 0V, TA = +25oC, Master Mode, fs = 48kHz, MCLK = 256fs unless otherwise stated. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT Audio Data Input Timing Information DACLRC/ADCLRC propagation delay from DACBCLK/ADCBCLK falling edge tDL 0 10 ns DOUT propagation delay from ADCBCLK falling edge tDDA 0 10 ns DIN setup time to DACBCLK rising edge tDST 10 ns DIN hold time from DACBCLK rising edge tDHT 10 ns Table 2 Digital Audio Data Timing – Master Mode w PD Rev 4.0 June 2006 9 WM8569 Production Data DIGITAL AUDIO INTERFACE – SLAVE MODE Figure 4 Audio Interface – Slave Mode Figure 5 Digital Audio Data Timing – Slave Mode w PD Rev 4.0 June 2006 10 WM8569 Production Data Test Conditions AVDD = 5V, DVDD = 3.3V, AGND = 0V, DGND = 0V, TA = +25oC, Slave Mode, fs = 48kHz, DACMCLK and ADCMCLK = 256fs unless otherwise stated. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT Audio Data Input Timing Information ADCBCLK/DACBCLK cycle time tBCY 50 ns ADCBCLK/DACBCLK pulse width high tBCH 20 ns ADCBCLK/DACBCLK pulse width low tBCL 20 ns ADCLRC/DACLRC set-up time to ADCBCLK/DACBCLK rising edge tLRSU 10 ns ADCLRC/DACLRC hold time from ADCBCLK/DACBCLK rising edge tLRH 10 ns DIN set-up time to DACBCLK rising edge tDS 10 ns DIN hold time from DACBCLK rising edge tDH 10 ns DOUT propagation delay from ADCBCLK falling edge tDD 0 10 ns Table 3 Digital Audio Data Timing – Slave Mode w PD Rev 4.0 June 2006 11 WM8569 Production Data MPU INTERFACE TIMING Figure 6 SPI Compatible Control Interface Input Timing Test Conditions AVDD = 5V, DVDD = 3.3V, AGND, DGND = 0V, TA = +25oC, fs = 48kHz, DACMCLK and ADCMCLK = 256fs unless otherwise stated PARAMETER SYMBOL MIN SCLK/IWL rising edge to CSB/IDF rising edge tSCS 60 TYP MAX UNIT ns SCLK/IWL pulse cycle time tSCY 80 ns SCLK/IWL pulse width low tSCL 30 ns SCLK/IWL pulse width high tSCH 30 ns SDIN/DM to SCLK/IWL set-up time tDSU 20 ns SCLK/IWL to SDIN/DM hold time tDHO 20 ns CSB/IDF pulse width low tCSL 20 ns CSB/IDF pulse width high tCSH 20 ns CSB/IDF rising to SCLK/IWL rising tCSS 20 ns Table 4 3-Wire SPI Compatible Control Interface Input Timing Information w PD Rev 4.0 June 2006 12 WM8569 Production Data INTERNAL POWER ON RESET CIRCUIT Figure 7 Internal Power on Reset Circuit Schematic The WM8569 includes an internal Power-On-Reset Circuit, as shown in Figure 7, which is used reset the digital logic into a default state after power up. The POR circuit is powered from DVDD and monitors DVDD. It asserts PORB low if DVDD is below a minimum threshold. Figure 8 Typical Power-Up Sequence Figure 8 shows a typical power-up sequence. When DVDD goes above the minimum threshold, Vpord, there is enough voltage for the circuit to guarantee PORB is asserted low and the chip is held in reset. In this condition, all writes to the control interface are ignored. When DVDD rises to Vpor_on, PORB is released high and all registers are in their default state and writes to the control interface may take place. On power down, PORB is asserted low whenever DVDD drops below the minimum threshold Vpor_off. SYMBOL MIN TYP MAX UNIT Vpord 0.3 0.5 0.8 V Vpor_on 1.3 1.7 2.0 V Vpor_off 1.3 1.7 2.0 V Table 5 Typical POR Operation (typical values, not tested) w PD Rev 4.0 June 2006 13 WM8569 Production Data DEVICE DESCRIPTION INTRODUCTION WM8569 is a complete 2-channel audio codec, including digital interpolation and decimation filters, multi-bit sigma delta stereo ADC, and switched capacitor multi-bit sigma delta DAC with volume control and output smoothing filter. The device is implemented as a separate stereo DAC and a stereo ADC in a single package and controlled by a single 3-wire software or hardware interface. The DAC has its own data input DIN, DAC word clock DACLRC, DAC bit clock DACBCLK and DAC master clock DACMCLK while the stereo ADC has its own data output DOUT, word clock ADCLRC, bit clock ADCBCLK and ADC master clock ADCMCLK. This allows the ADC and DAC to operate independently. The Audio Interface may be configured to operate in either master or slave mode. In Slave mode DACLRC/ADCLRC and DACBCLK/ADCBCLK are all inputs. In Master mode DACLRC/ADCLRC and DACBCLK/ADCBCLK are all outputs. The DAC has its own digital volume control that is adjustable in 0.5dB steps. A zero cross detect circuit is provided. The digital volume control detects a transition through the zero point before updating the volume. This minimises audible clicks and ‘zipper’ noise as the gain values change. Control of internal functionality of the device is by 3-wire serial or pin programmable control interface. Operation using master clocks of 128fs, 192fs, 256fs, 384fs, 512fs or 768fs is provided for the DAC, for operation of both the ADC and DAC master clocks of 256fs, 384fs, 512fs and 768fs is provided. In Slave mode, selection between clock rates is automatically controlled. In master mode, the sample rate is set by control bits DACRATE and ADCRATE. Audio sample rates (fs) from less than 8kHz up to 192kHz are allowed for the DAC and from less than 32kHz up to 96kHz 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. AUDIO DATA SAMPLING RATES In a typical digital audio system there is only 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 external master system clock can be applied directly through the ADC and DAC MCLK input pin(s) with no software configuration necessary. 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 to optimise the performance of the ADC and DAC. The DAC master clock for WM8569 supports audio sampling rates from 128fs to 768fs, where fs is the audio sampling frequency (DACLRC) typically 32kHz, 44.1kHz, 48kHz, 96kHz or 192kHz. The ADC master clock for WM8569 supports audio sampling rates from 256fs to 768fs, where fs is the audio sampling frequency (ADCLRC) typically 32kHz, 44.1kHz, 48kHz or 96kHz. The master clock is used to operate the digital filters and the noise shaping circuits. In Slave mode the WM8569 has a master clock detection circuit that automatically determines the relationship between the system clock frequency and the sampling rate (to within +/- 32 master clocks). If there is a greater than 32 clocks error the interface defaults to 768fs mode. The master clocks must be synchronised with LRC, although the WM8569 is tolerant of phase variations or jitter on this clock. Table 6 shows the typical master clock frequency inputs for the WM8569. The signal processing for the WM8569 typically operates at an oversampling rate of 128fs for both ADC and DAC. The exception to this for the DAC is for operation with a 128/192fs system clock, e.g. for 192kHz operation, when the oversampling rate is 64fs. For ADC operation at 96kHz it is recommended that the user set the ADCOSR bit. This changes the ADC signal processing oversample rate to 64fs. w PD Rev 4.0 June 2006 14 WM8569 Production Data SAMPLING RATE (DACLRC/ ADCLRC) System Clock Frequency (MHz) 128fs 192fs DAC only DAC only 256fs 384fs 512fs 768fs 32kHz 4.096 6.144 8.192 12.288 16.384 24.576 44.1kHz 5.6448 8.467 11.2896 16.9340 22.5792 33.8688 24.576 36.864 48kHz 6.144 9.216 12.288 18.432 96kHz 12.288 18.432 24.576 36.864 192kHz 24.576 36.864 Unavailable Unavailable Unavailable Unavailable Unavailable Unavailable Table 6 System Clock Frequencies Versus Sampling Rate HARDWARE CONTROL MODES When the MODE pin is held high, the following hardware modes of operation are available. Note: When in hardware mode the ADC and DAC will only run in slave mode. MUTE AND AUTOMUTE OPERATION In both hardware and software modes, MUTE controls the selection of MUTE directly, and can be used to enable and disable the automute function. This pin becomes an output when left floating and indicates infinite ZERO detect (IZD) has been detected. DESCRIPTION 0 1 Floating Normal Operation Mute DAC channels Enable IZD, MUTE becomes an output to indicate when IZD occurs. L=IZD detected, H=IZD not detected. Table 7 Mute and Automute Control Figure 9 shows the application and release of MUTE whilst a full amplitude sinusoid is being played at 48kHz sampling rate. When MUTE (lower trace) is asserted, the output (upper trace) begins to decay exponentially from the DC level of the last input sample. The output will decay towards VMID with a time constant of approximately 64 input samples. If MUTE is applied to all channels for 1024 or more input samples the outputs will be connected directly to VMID if IZD is set. When MUTE is deasserted, the output will restart immediately from the current input sample. 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -2.5 0 0.001 0.002 0.003 0.004 0.005 0.006 Time(s) Figure 9 Application and Release of Soft Mute w PD Rev 4.0 June 2006 15 WM8569 Production Data The MUTE pin is an input to select mute or not mute. MUTE is active high; taking the pin high causes the filters to soft mute, ramping down the audio signal over a few milliseconds. Taking MUTE low again allows data into the filter. The automute function detects a series of ZERO value audio samples of 1024 samples long being applied to both channels. After such an event, a latch is set whose output (AUTOMUTED) is wire OR’d through a 10kΩ resistor to the MUTE pin. Thus if the MUTE pin is not being driven, the automute function will assert mute. If MUTE is tied low, AUTOMUTED is overridden and will not mute unless the IZD register bit is set. If MUTE is driven from a bi-directional source, then both MUTE and automute functions are available. If MUTE is not driven, AUTOMUTED appears as a weak output (10kΩ source impedance) and can be used to drive external mute circuits. AUTOMUTED will be removed as soon as any channel receives a non-ZERO input. A diagram showing how the various Mute modes interact is shown below. IZD (Register Bit) AUTOMUTED (Internal Signal) 10kΩ Ω SOFTMUTE (Internal Signal) MUTE PIN MUTE (Register Bit) Figure 10 Control of MUTE Modes INPUT FORMAT SELECTION In hardware mode, CSB/IDF and SCLK/IWL become input controls for selection of input data format type and input data word length for both the ADC and DAC. CSB/IDF SCLK/IWL 0 0 24-bit right justified INPUT DATA MODE 0 1 20-bit right justified 1 0 16-bit I2S 1 1 24-bit I S 2 Table 8 Input Format Selection Note: In 24 bit I2S mode, any width of 24 bits or less is supported provided that the left/right clocks (ADCLRC and DACLRC) are high for a minimum of 24 bit clocks (ADCBCLK and DACBCLK) and low for a minimum of 24 bit clocks. DE-EMPHASIS CONTROL In hardware mode, the SDIN/DM pin becomes an input control for selection of de-emphasis filtering to be applied. SDIN/DM DE-EMPHASIS 0 Off 1 On Table 9 De-emphasis Control w PD Rev 4.0 June 2006 16 WM8569 Production Data DIGITAL AUDIO INTERFACE MASTER AND SLAVE MODES The audio interface operates in either Slave or Master mode, selectable using the DACMS and ADCMS control bits. In both Master and Slave modes DIN is always an input to the WM8569 and DOUT is always an output. The default is Slave mode. In Slave mode, DACLRC, ADCLRC, DACBCLK and ADCBCLK are inputs to the WM8569 (Figure 11). DIN and DACLRC are sampled by the WM8569 on the rising edge of DACBCLK. ADC data is output on DOUT and changes on the falling edge of ADCBCLK. By setting the control bit DACBCP the polarity of DACBCLK may be reversed so that DIN is sampled on the falling edge of DACBCLK. By setting the control bit ADCBCP, the polarity of ADCBCLK may be reversed so that DOUT changes on the rising edge of ADCBCLK. Figure 11 Slave Mode In Master mode, DACLRC, ADCLRC, DACBCLK and ADCBCLK are outputs from the WM8569 (Figure 12). DACLRC, ADCLRC, DACBCLK and ADCBCLK are generated by the WM8569. DIN is sampled by the WM8569 on the rising edge of DACBCLK so the controller must output DAC data that changes on the falling edge of DACBCLK. ADC data is output on DOUT and changes on the falling edge of ADCBCLK. By setting the control bit DACBCP the polarity of DACBCLK may be reversed so that DIN is sampled on the falling edge of DACBCLK. By setting the control bit ADCBCP, the polarity of ADCBCLK may be reversed so that DOUT changes on the rising edge of ADCBCLK. Figure 12 Master Mode w PD Rev 4.0 June 2006 17 WM8569 Production Data AUDIO INTERFACE FORMATS Audio data is applied to the internal DAC filters or output from the ADC filters, via the Digital Audio Interface. 5 popular interface formats are supported: • Left Justified mode • Right Justified mode • I2S mode • DSP Mode A • DSP Mode B All 5 formats send the MSB first and support word lengths of 16, 20, 24 and 32 bits, with the exception of 32 bit right justified mode, which is not supported. In left justified, right justified and I2S modes, the digital audio interface receives DAC data on the DIN input and outputs ADC data on DOUT. Audio Data for each stereo channel is time multiplexed with DACLRC/ADCLRC indicating whether the left or right channel is present. DACLRC/ADCLRC is also used as a timing reference to indicate the beginning or end of the data words. In left justified, right justified and I2S modes, the minimum number of BCLKs per LRC period is 2 times the selected word length. LRC must be high for a minimum of word length BCLKs and low for a minimum of word length BCLKs. Any mark to space ratio on LRC is acceptable provided the above requirements are met. In DSP mode A or B, the DAC channels are time multiplexed onto DIN. LRC is used as a frame sync signal to identify the MSB of the first word. The minimum number of DACBCLKs per DACLRC period is 6 times the selected word length. Any mark to space ratio is acceptable on DACLRC provided the rising edge is correctly positioned. The ADC data may also be output in DSP mode A or B, with ADCLRC used as a frame sync to identify the MSB of the first word. The minimum number of ADCBCLKs per ADCLRC period is 2 times the selected word length if only the ADC is being operated. LEFT JUSTIFIED MODE In left justified mode, the MSB of DIN is sampled by the WM8569 on the first rising edge of DACBCLK following a DACLRC transition. The MSB of the ADC data is output on DOUT and changes on the same falling edge of ADCBCLK as ADCLRC and may be sampled on the rising edge of BCLK. LRC is high during the left samples and low during the right samples (Figure 13). 1/fs LEFT CHANNEL RIGHT CHANNEL DACLRC/ ADCLRC DACBCLK/ ADCBCLK DIN1/2/3/ DOUT 1 MSB 2 3 n-2 n-1 n LSB 1 MSB 2 3 n-2 n-1 n LSB Figure 13 Left Justified Mode Timing Diagram w PD Rev 4.0 June 2006 18 WM8569 Production Data RIGHT JUSTIFIED MODE In right justified mode, the LSB of DIN is sampled by the WM8569 on the rising edge of DACBCLK preceding a DACLRC transition. The LSB of the ADC data is output on DOUT and changes on the falling edge of ADCBCLK preceding a ADCLRC transition and may be sampled on the rising edge of ADCBCLK. LRC are high during the left samples and low during the right samples (Figure 14). 1/fs LEFT CHANNEL RIGHT CHANNEL DACLRC/ ADCLRC DACBCLK/ ADCBCLK DIN1/2/3/ DOUT 1 2 3 n-2 n-1 MSB n 1 LSB 2 3 n-2 n-1 MSB n LSB Figure 14 Right Justified Mode Timing Diagram 2 I S MODE In I2S mode, the MSB of DIN is sampled by the WM8569 on the second rising edge of DACBCLK following a DACLRC transition. The MSB of the ADC data is output on DOUT and changes on the first falling edge of ADCBCLK following an ADCLRC transition and may be sampled on the rising edge of ADCBCLK. LRC are low during the left samples and high during the right samples. 1/fs LEFT CHANNEL RIGHT CHANNEL DACLRC/ ADCLRC DACBCLK/ ADCBCLK 1 BCLK 1 BCLK DIN1/2/3/ DOUT 1 2 3 MSB n-2 n-1 n LSB 1 MSB 2 3 n-2 n-1 n LSB Figure 15 I2S Mode Timing Diagram DSP MODE A In DSP mode A, the MSB of DAC left channel data is sampled by the WM8569 on the second rising edge on DACBCLK following a DACLRC rising edge. DAC right channel follows DAC left channel (Figure 16). Figure 16 DSP Mode A Timing Diagram – DAC Data Input w PD Rev 4.0 June 2006 19 WM8569 Production Data The MSB of the left channel ADC data is output on DOUT and changes on the first falling edge of ADCBCLK following a low to high ADCLRC transition and may be sampled on the rising edge of ADCBCLK. The right channel ADC data is contiguous with the left channel data (Figure 17) 1 BCLK 1 BCLK 1/fs ADCLRC ADCBCLK LEFT CHANNEL DOUT 1 2 RIGHT CHANNEL n n-1 MSB 1 2 n-1 NO VALID DATA n LSB Input Word Length (IWL) Figure 17 DSP Mode A Timing Diagram – ADC Data Output DSP MODE B In DSP mode B, the MSB of DAC left channel data is sampled by the WM8569 on the first DACBCLK rising edge following a DACLRC rising edge. (Figure 18). Figure 18 DSP Mode B Timing Diagram – DAC Data Input The MSB of the left channel ADC data is output on DOUT and changes on the same falling edge of ADCBCLK as the low to high ADCLRC transition and may be sampled on the rising edge of ADCBCLK. The right channel ADC data is contiguous with the left channel data (Figure 19). 1/fs ADCLRC BCK LEFT CHANNEL DOUT 1 2 MSB RIGHT CHANNEL n n-1 1 2 n-1 NO VALID DATA n 1 LSB Input Word Length (IWL) Figure 19 DSP Mode B Timing Diagram – ADC Data Output w PD Rev 4.0 June 2006 20 WM8569 Production Data POWERDOWN MODES The WM8569 has powerdown control bits allowing specific parts of the WM8569 to be powered off when not being used. Control bit ADCPD powers off the ADC. The three stereo DACs each have a separate powerdown control bit, DACPD[2:0] allowing individual stereo DACs to be powered off when not in use. Setting ADCPD and DACPD[2:0] will powerdown everything except the references VMID and REFADC. These may be powered down by setting PDWN. Setting PDWN will override all other powerdown control bits. It is recommended that the ADC and DACs are powered down before setting PDWN. ZERO DETECT The WM8569 has a zero detect circuit for each DAC channel that detects when 1024 consecutive zero samples have been input. The MUTE pin output may be programmed to output the zero detect signal which may then be used to control external muting circuits. A ‘1’ on MUTE indicates a zero detect. The zero detect may also be used to automatically enable DAC mute by setting IZD. SOFTWARE CONTROL INTERFACE OPERATION The WM8569 is controlled using a 3-wire serial interface in software mode or pin programmable in hardware mode. The control mode is selected by the state of the MODE pin. 3-WIRE (SPI COMPATIBLE) SERIAL CONTROL MODE SDIN/DM is used for the program data, SCLK/IWL is used to clock in the program data and CSB/IDF is used to latch the program data. SDIN/DM is sampled on the rising edge of SCLK/IWL. The 3-wire interface protocol is shown in Figure 20. Figure 20 3-Wire SPI Compatible Interface Notes: w 1. B[15:9] are Control Address Bits 2. B[8:0] are Control Data Bits 3. CSB/IDF is edge sensitive – the data is latched on the rising edge of CSB/IDF. PD Rev 4.0 June 2006 21 WM8569 Production Data REGISTER MAP The complete register map is shown below. The detailed description can be found in the relevant text of the device description. The WM8569 can be configured using the Control Interface. All unused bits should be set to ‘0’. REGISTER B15 B14 B13 B12 B11 B10 B9 R0(00h) 0 0 0 0 0 0 0 UPDATE LDA[7:0] 011111111 R1(01h) 0 0 0 0 0 0 1 UPDATE RDA[7:0] 011111111 R2(02h) 0 0 0 0 0 1 0 R3(03h) 0 0 0 0 0 1 1 0 R8(08h) 0 0 0 1 0 0 0 UPDATE R9(09h) 0 0 0 1 0 0 1 0 R10(0Ah) 0 0 0 1 0 1 0 R11(0Bh) 0 0 0 1 0 1 1 ADC OSR R12(0Ch) 0 0 0 1 1 0 0 0 R31(1Fh) 0 0 1 1 1 1 1 w B8 B7 B6 B5 PL[8:5] 0 B4 B3 IZD PHASE DACIWL[5:4] B2 ATC 0 DACBCP DACLRP B1 B0 0 0 DACFMT[1:0] MASTDA[7:0] 0 DEEMP DACRATE[8:6] 0 0 DACMS 0 PWRDNALL ADCRATE[7:5] ADCMS MPD ADCLRP ADCBCP RESET DMUTE 0 100100000 000000000 011111111 0 0 ADCIWL[3:2] ADCHP DEFAULT AMUTE ALL 0 ZCD 000000000 DACPD ADCPD 010000000 ADCFMT[1:0] 001000000 AMUTEL AMUTER 000000000 000000000 PD Rev 4.0 June 2006 22 WM8569 Production Data CONTROL INTERFACE REGISTERS ATTENUATOR CONTROL MODE Setting the ATC register bit causes the left channel attenuation settings to be applied to both the left and right channel of the DAC from the next audio input sample. No update to the attenuation registers is required for ATC to take effect. REGISTER ADDRESS BIT LABEL DEFAULT 0000010 DAC Channel Control 3 ATC 0 DESCRIPTION Attenuator Control Mode: 0: Right channel use right attenuations 1: Right channel use left attenuations INFINITE ZERO DETECT ENABLE Setting the IZD register bit will enable the internal infinite zero detect function: REGISTER ADDRESS BIT LABEL DEFAULT 0000010 DAC Channel Control 4 IZD 0 DESCRIPTION Infinite Zero Mute Enable 0 : Disable inifinite zero mute 1: Enable infinite zero mute With IZD enabled, applying 1024 consecutive zero input samples each stereo channel will cause that stereo channel outputs to be muted to VMID. Mute will be removed as soon as that stereo channel receives a non-zero input. DAC OUTPUT CONTROL The DAC output control word determines how the left and right input to the audio Interface are applied to the left and right DAC: w REGISTER ADDRESS BIT LABEL DEFAULT 0000010 DAC Control 8:5 PL[3:0] 1001 DESCRIPTION PL[3:0] Left Output Right Output 0000 Mute Mute 0001 Left Mute 0010 Right Mute 0011 (L+R)/2 Mute 0100 Mute Left 0101 Left Left 0110 Right Left 0111 (L+R)/2 Left 1000 Mute Right 1001 Left Right 1010 Right Right 1011 (L+R)/2 Right 1100 Mute (L+R)/2 1101 Left (L+R)/2 1110 Right (L+R)/2 1111 (L+R)/2 (L+R)/2 PD Rev 4.0 June 2006 23 WM8569 Production Data DAC DIGITAL AUDIO INTERFACE CONTROL REGISTER Interface format is selected via the DACFMT[1:0] register bits: REGISTER ADDRESS BIT LABEL DEFAULT 0000011 Interface Control 1:0 DACFMT [1:0] 00 DESCRIPTION Interface Format Select: 00 : Right justified mode 01: Left justified mode 10: I2S mode 11: DSP mode A orB In left justified, right justified or I2S modes, the DACLRP register bit controls the polarity of DACLRC. If this bit is set high, the expected polarity of DACLRC will be the opposite of that shown Figure 13, Figure 14 and Figure 15. Note that if this feature is used as a means of swapping the left and right channels, a 1 sample phase difference will be introduced. In DSP modes, the DACLRP register bit is used to select between modes A and B. REGISTER ADDRESS BIT LABEL DEFAULT 0000011 Interface Control 2 DACLRP 0 DESCRIPTION In left/right/I2S Modes: DACLRC Polarity (normal) 0 : Normal DACLRC polarity 1: Inverted DACLRC polarity In DSP Mode: 0 : Mode A 1: Mode B By default, DACLRC and DIN are sampled on the rising edge of DACBCLK and should ideally change on the falling edge. Data sources that change DACLRC and DIN on the rising edge of DACBCLK can be supported by setting the DACBCP register bit. Setting DACBCP to 1 inverts the polarity of DACBCLK to the inverse of that shown in Figure 13 to Figure 19. REGISTER ADDRESS BIT LABEL DEFAULT 0000011 Interface Control 3 DACBCP 0 DESCRIPTION DACBCLK Polarity (DSP Modes): 0: Normal BCLK polarity 1: Inverted BCLK polarity The DACIWL[1:0] bits are used to control the input word length. REGISTER ADDRESS BIT LABEL DEFAULT 0000011 Interface Control 5:4 DACIWL [1:0] 00 DESCRIPTION Input Word Length: 00 : 16 bit data 01: 20 bit data 10: 24 bit data 11: 32 bit data Note: 32-bit right justified mode is not supported. In all modes, the data is signed 2's complement. The digital filters always input 24-bit data. If the DAC is programmed to receive 16 or 20 bit data, the WM8569 pads the unused LSBs with zeros. If the DAC is programmed into 32 bit mode, the 8 LSBs are ignored. 2 Note: In 24 bit I S mode, any width of 24 bits or less is supported provided that LRC is high for a minimum of 24 BCLKs and low for a minimum of 24 BCLKs. A number of options are available to control how data from the Digital Audio Interface is applied to the DAC channels. w PD Rev 4.0 June 2006 24 WM8569 Production Data DAC OUTPUT PHASE The DAC Phase control word determines whether the output of the DAC is non-inverted or inverted REGISTER ADDRESS BIT LABEL DEFAULT 0000011 DAC Phase 6 PHASE 0 DESCRIPTION 0 = non-inverted 1 = inverted DIGITAL ZERO CROSS-DETECT The Digital volume control also incorporates a zero cross detect circuit which detects a transition through the zero point before updating the digital volume control with the new volume. This is enabled by control bit ZCD. REGISTER ADDRESS BIT LABEL DEFAULT 0001001 DAC Control 0 ZCD 0 DESCRIPTION DAC Digital Volume Zero Cross Disable: 0: Zero cross detect enabled 1: Zero cross detect disabled DAC MUTE MODES The WM8569 has a mute for the DAC channels. Setting MUTE will apply a ‘soft’ mute to the input of the digital filters. REGISTER ADDRESS 0001001 DAC Mute BIT 3 LABEL DMUTE DEFAULT DESCRIPTION DAC Soft Mute Select 0 = Not mute 1 = Mute 0 Refer to Figure 9 for the plot of application and release of soft mute. Note that all other means of muting the DAC channels: setting the PL[3:0] bits to 0, setting the PDWN bit or setting attenuation to 0 will cause much more abrupt muting of the output. ADC MUTE MODES Each ADC channel also has a mute control bit, which mutes the inputs to the ADC. REGISTER ADDRESS BIT LABEL DEFAULT 0001100 ADC Mute 0 AMUTER 0 ADC Mute Select: 0 : Normal operation 1: mute ADC right DESCRIPTION 1 AMUTEL 0 ADC Mute Select: 0 : Normal operation 1: mute ADC left 2 AMUTEALL 0 ADC Mute Select: 0 : Normal operation 1: mute both ADC channels DE-EMPHASIS MODE Each stereo DAC channel has an individual de-emphasis control bit: w REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION 0001001 DAC De-Emphahsis Control 6 DEEMPH 0 De-emphasis Channel Selection Select: 0 = Not de-emphasis 1 = De-emphasis PD Rev 4.0 June 2006 25 WM8569 Production Data POWERDOWN MODE AND ADC/DAC DISABLE The ADC and DAC may be powered down individually by setting the ADCPD and DACPD disable bits. Setting ADCPD will disable the ADC and select a low power mode. The ADC digital filters will be reset and will reinitialise when ADCPD is unset. Setting DACPD will disable the DAC and select a low power mode. REGISTER ADDRESS BIT LABEL DEFAULT 0001010 Powerdown Control 0 ADCPD 0 ADC Disable: 0: Active 1: Disable DESCRIPTION 1 DACPD 0 DAC Disable MASTER POWERDOWN This control bit powers down the references for the whole chip. Therefore for complete powerdown, both the ADC and DACs should be powered down first before setting this bit. REGISTER ADDRESS BIT LABEL DEFAULT 0001010 Interface Control 4 PWRDNALL 0 DESCRIPTION Master Power Down Bit: 0: Not powered down 1: Powered down DAC MASTER MODE SELECT Control bit DACMS selects between audio interface Master and Slave Modes. In Master mode, DACLRC and DACBCLK are outputs and are generated by the WM8569. In Slave mode DACLRC and DACBCLK are inputs to WM8569. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION 0001010 Interface Control 5 DACMS 0 DAC Audio Interface Master/Slave Mode Select: 0: Slave mode 1: Master mode MASTER MODE DACLRC FREQUENCY SELECT In Master mode the WM8569 generates DACLRC and DACBCLK. These clocks are derived from the master clock and the ratio of DACMCLK to DACLRC is set by DACRATE. w REGISTER ADDRESS BIT LABEL DEFAULT 0001010 Interface Control 8:6 DACRATE [2:0] 010 DESCRIPTION Master Mode MCLK:LRC Ratio Select: 000: 128fs (DAC only) 001: 192fs (DAC only) 010: 256fs 011: 384fs 100: 512fs 101: 768fs PD Rev 4.0 June 2006 26 WM8569 Production Data ADC DIGITAL AUDIO INTERFACE CONTROL REGISTER Interface format is selected via the ADCFMT[1:0] register bits: REGISTER ADDRESS BIT LABEL DEFAULT 0001011 Interface Control 1:0 ADCFMT[1:0] 00 DESCRIPTION Interface Format Select 00: Right justified mode 01: Left justified mode 10: I2S mode 11: DSP mode A or B The ADCIWL[1:0] bits are used to control the input word length. REGISTER ADDRESS BIT LABEL DEFAULT DESCRIPTION 0001011 Interface Control 3:2 ADCIWL[1:0] 00 Input Word Length 00: 16 bit data 01: 20 bit data 10: 24 bit data 11: 32 bit data Note: 32-bit right justified mode is not supported. In all modes, the data is signed 2's complement. ADC MASTER MODE SELECT Control bit ADCMS selects between audio interface Master and Slave Modes. In Master mode ADCLRC and ADCBCLK are outputs and are generated by the WM8569. In Slave mode ADCLRC and ADCBCLK are inputs to WM8569. REGISTER ADDRESS BIT LABEL DEFAULT 0001011 Interface Control 4 ADCMS 0 DESCRIPTION ADC Audio Interface Master/Slave Mode Select: 0: Slave mode 1: Master mode MASTER MODE ADCLRC FREQUENCY SELECT In Master mode the WM8569 generates ADCLRC and ADCBCLK. These clocks are derived from the master clock and the ratio of ADCMCLK to ADCLRC is set by ADCRATE. REGISTER ADDRESS BIT LABEL DEFAULT 0001011 ADCLRC and ADCBCLK Frequency Select 7:5 ADCRATE [2:0] 010 DESCRIPTION Master Mode ADCMCLK:ADCLRC Ratio Select: 010: 256fs 011: 384fs 100: 512fs 101: 768fs ADC OVERSAMPLING RATE SELECT For ADC operation at 96kHz it is recommended that the user set the ADCOSR bit. This changes the ADC signal processing oversampling rate to 64fs. The 64fs oversampling rate is only available in modes were a 96KHz rate is supported, i.e. 256fs or 384fs. In all other modes the ADC will stay in a 128fs oversampling rate irrespective of what this bit is set to. w REGISTER ADDRESS BIT LABEL DEFAULT 0001011 ADC Oversampling Rate 8 ADCOSR 0 DESCRIPTION ADC Oversampling Rate Select: 0: 128x oversampling 1: 64x oversampling PD Rev 4.0 June 2006 27 WM8569 Production Data ADC HIGHPASS FILTER DISABLE The ADC digital filters contain a digital highpass filter. This defaults to enabled and can be disabled using software control bit ADCHPD. REGISTER ADDRESS BIT LABEL DEFAULT 0001100 ADC Control 3 ADCHPD 0 DESCRIPTION ADC Highpass Filter Disable: 0: Highpass filter enabled 1: Highpass filter disabled 2 In left justified, right justified or I S modes, the ADCLRP register bit controls the polarity of ADCLRC. If this bit is set high, the expected polarity of ADCLRC will be the opposite of that shown in Figure 13, Figure 14 and Figure 15. Note that if this feature is used as a means of swapping the left and right channels, a 1 sample phase difference will be introduced. In DSP modes, the ADCLRP register bit is used to select between modes A and B. REGISTER ADDRESS BIT LABEL DEFAULT 0001100 Interface Control 4 ADCLRP 0 DESCRIPTION In Left/Right/I2S Modes: ADCLRC Polarity (normal) 0: normal DACLRC polarity 1: inverted DACLRC polarity In DSP Mode: 0: DSP mode A 1: DSP mode B By default, ADCLRC and DOUT are sampled on the rising edge of ADCBCLK and should ideally change on the falling edge. Data sources that change ADCLRC and DOUT on the rising edge of ADCBCLK can be supported by setting the ADCBCP register bit. Setting ADCBCP to 1 inverts the polarity of ADCBCLK to the inverse of that shown in Figure 13 to Figure 19 REGISTER ADDRESS BIT LABEL DEFAULT 0001100 Interface Control 5 ADCBCP 0 DESCRIPTION ADCBCLK Polarity (DSP Modes): 0: normal BCLK polarity 1: inverted BCLK polarity MUTE PIN DECODE The MUTE pin can either be used an output or an input. As an output it indicated 1024 consecutive zero samples to the DAC. By default selecting the MUTE to represent if the DAC has received more than 1024 midrail samples will cause the MUTE to be asserted as a softmute on the DAC. Disabling the decode block will cause any logical high on the MUTE pin to apply a softmute to the DAC. w REGISTER ADDRESS BIT LABEL DEFAULT 0001100 ADC Control 6 MPD 0 DESCRIPTION MUTE Pin Decode Disable: 0: MUTE pin decode enable 1: MUTE pin decode disable PD Rev 4.0 June 2006 28 WM8569 Production Data DAC DIGITAL VOLUME CONTROL The DAC volume may also be adjusted in the digital domain using independent digital attenuation control registers REGISTER ADDRESS BIT LABEL DEFAULT 0000000 Digital Attenuation DACL 7:0 LDA[7:0] 11111111 (0dB) 8 UPDATE Not latched 0000001 Digital Attenuation DACR 7:0 RDA[6:0] 11111111 (0dB) 8 UPDATE Not latched 0001000 Master Digital Attenuation (all channels) 7:0 MASTDA [7:0] 11111111 (0dB) 8 UPDATE Not latched DESCRIPTION Digital Attenuation data for Left channel DACL in 0.5dB steps. See Table 10 Controls simultaneous update of all Attenuation Latches 0: Store LDA in intermediate latch (no change to output) 1: Store LDA and update attenuation on all channels Digital Attenuation data for Right channel DACR in 0.5dB steps. See Table 10 Controls simultaneous update of all Attenuation Latches 0: Store RDA in intermediate latch (no change to output) 1: Store RDA and update attenuation on all channels. Digital Attenuation data for all DAC channels in 0.5dB steps. See Table 10 Controls simultaneous update of all Attenuation Latches 0: Store gain in intermediate latch (no change to output) 1: Store gain and update attenuation on all channels. L/RDAX[7:0] ATTENUATION LEVEL 00(hex) -∞ dB (mute) 01(hex) -127dB : : : : : : FE(hex) -0.5dB FF(hex) 0dB Table 10 Digital Volume Control Attenuation Levels SOFTWARE REGISTER RESET Writing to register 11111 will cause a register reset, resetting all register bits to their default values. The device will be held in this reset state until a subsequent register write to any address is completed. w PD Rev 4.0 June 2006 29 WM8569 Production Data DIGITAL FILTER CHARACTERISTICS PARAMETER TEST CONDITIONS MIN TYP MAX UNIT ADC Filter ±0.01 dB Passband 0 0.4535fs -6dB 0.5fs ±0.01 Passband ripple Stopband dB 0.5465fs Stopband Attenuation f > 0.5465fs -65 dB DAC Filter ±0.05 dB Passband 0.444fs -3dB 0.487fs ±0.05 Passband ripple Stopband dB 0.555fs Stopband Attenuation f > 0.555fs -60 dB Table 11 Digital Filter Characteristics DAC FILTER RESPONSES 0.2 0 0.15 -20 Response (dB) Response (dB) 0.1 -40 -60 0.05 0 -0.05 -80 -0.1 -100 -0.15 -120 -0.2 0 0.5 1 1.5 Frequency (Fs) 2 2.5 3 Figure 21 DAC Digital Filter Frequency Response – 44.1, 48 and 96kHz 0 0.05 0.1 0.15 0.2 0.25 0.3 Frequency (Fs) 0.35 0.4 0.45 0.5 Figure 22 DAC Digital Filter Ripple –44.1, 48 and 96kHz 0.2 0 0 -0.2 Response (dB) Response (dB) -20 -40 -0.4 -0.6 -60 -0.8 -80 -1 0 0.2 0.4 0.6 Frequency (Fs) 0.8 Figure 23 DAC Digital Filter Frequency Response – 192kHz w 1 0 0.05 0.1 0.15 0.2 0.25 0.3 Frequency (Fs) 0.35 0.4 0.45 0.5 Figure 24 DAC Digital Filter Ripple – 192kHz PD Rev 4.0 June 2006 30 WM8569 Production Data ADC FILTER RESPONSES 0.02 0 0.015 0.01 Response (dB) Response (dB) -20 -40 0.005 0 -0.005 -60 -0.01 -0.015 -80 -0.02 0 0.5 1 1.5 Frequency (Fs) 2 2.5 3 Figure 25 ADC Digital Filter Frequency Response 0 0.05 0.1 0.15 0.2 0.25 0.3 Frequency (Fs) 0.35 0.4 0.45 0.5 Figure 26 ADC Digital Filter Ripple ADC HIGH PASS FILTER The WM8569 has a selectable digital high pass filter to remove DC offsets. The filter response is characterised by the following polynomial. H ( z) = 1 − z −1 1 − 0.9995z −1 DIGITAL DE-EMPHASIS CHARACTERISTICS 0 1 0.5 -2 Response (dB) Response (dB) 0 -4 -6 -0.5 -1 -1.5 -2 -8 -2.5 -10 -3 0 2 4 6 8 10 Frequency (kHz) 12 14 Figure 27 De-Emphasis Frequency Response (32kHz) w 16 0 2 4 6 8 10 Frequency (kHz) 12 14 16 Figure 28 De-Emphasis Error (32kHz) PD Rev 4.0 June 2006 31 WM8569 Production Data 0 0.4 0.3 -2 Response (dB) Response (dB) 0.2 -4 -6 0.1 0 -0.1 -0.2 -8 -0.3 -10 -0.4 0 5 10 Frequency (kHz) 15 20 Figure 29 De-Emphasis Frequency Response (44.1kHz) 0 5 10 Frequency (kHz) 15 20 Figure 30 De-Emphasis Error (44.1kHz) 0 1 0.8 -2 0.6 Response (dB) Response (dB) 0.4 -4 -6 0.2 0 -0.2 -0.4 -8 -0.6 -0.8 -10 -1 0 5 10 15 Frequency (kHz) 20 Figure 31 De-Emphasis Frequency Response (48kHz) w 0 5 10 15 Frequency (kHz) 20 Figure 32 De-Emphasis Error (48kHz) PD Rev 4.0 June 2006 32 WM8569 Production Data APPLICATIONS INFORMATION RECOMMENDED EXTERNAL COMPONENTS Figure 33 Recommended External Components Diagram RECOMMENDED EXTERNAL COMPONENTS VALUES COMPONENT REFERENCE SUGGESTED VALUE DESCRIPTION De-coupling for DVDD and AVDD. C1 and C5 10µF C2 to C4 0.1µF C8 and C9 1µF C6 and C10 0.1µF C7 and C11 10µF C12 10µF Filtering for VREFP. Omit if AVDD low noise. R1 33Ω Filtering for VREP. Use 0Ω if AVDD low noise. De-coupling for DVDD and AVDD. Analogue input high pass filter capacitors Reference de-coupling capacitors for VMID and ADCREF pin. Table 12 Recommended External Components Description Note: Further details for filtering on reference pins are available in Wolfson Application Note WAN0144. w PD Rev 4.0 June 2006 33 WM8569 Production Data SUGGESTED ANALOGUE LOW PASS POST DAC FILTERS It is recommended that a lowpass filter be applied to the output from each DAC channel for Hi Fi applications. Typically a second order filter is suitable and provides sufficient attenuation of high frequency components (the unique low order, high bit count multi-bit sigma delta DAC structure used in WM8569 produces much less high frequency output noise than normal sigma delta DACs. This filter is typically also used to provide the 2x gain needed to provide the standard 2Vrms output level from most consumer equipment. Wolfson Application Note WAN0171 provides details of suitable post-DAC filter circuits. Figure 34 Recommended Post DAC Filter Circuit w PD Rev 4.0 June 2006 34 WM8569 Production Data PACKAGE DIMENSIONS DS: 28 PIN SSOP (10.2 x 5.3 x 1.75 mm) b DM007.E e 28 15 E1 1 D E GAUGE PLANE 14 c A A2 A1 Θ L 0.25 L1 -C0.10 C Dimensions (mm) NOM --------1.75 0.30 ----10.20 0.65 BSC 7.80 5.30 0.75 1.25 REF o 4 Symbols A A1 A2 b c D e E E1 L L1 θ REF: MIN ----0.05 1.65 0.22 0.09 9.90 7.40 5.00 0.55 o 0 SEATING PLANE MAX 2.0 0.25 1.85 0.38 0.25 10.50 8.20 5.60 0.95 o 8 JEDEC.95, MO-150 NOTES: A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS. B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE. C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.20MM. D. MEETS JEDEC.95 MO-150, VARIATION = AH. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS. w PD Rev 4.0 June 2006 35 WM8569 Pre-Production 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 United Kingdom Tel :: +44 (0)131 272 7000 Fax :: +44 (0)131 272 7001 Email :: [email protected] w PD Rev 4.0 June 2006 36