WOLFSON WM8788

w
WM8788
High Performance 24-bit Stereo ADC
DESCRIPTION
FEATURES
The WM8788 is a high performance 24-bit stereo ADC
designed for LCD televisions, DVD, Blu-Ray and set-top box
applications.
•
A stereo pair of analogue inputs is provided; external resistors
are used to configure the device for line level inputs at 1Vrms or
for higher input signal levels. The Hi-Fi ADCs output 16, 20 or
24-bit stereo data on the digital audio interface.
•
ADC sample rates from 8kHz to 192kHz are supported; Master
Clock (MCLK) ratios of 128fs up to 768fs are possible (fs =
sample rate).
The digital audio interface operates in Master or Slave modes,
and supports Right-justified, Left-justified and I2S modes,
selectable using hardware control pins.
The WM8788 is powered from a single 3.3V supply rail,
connected to the AVDD and REFVDD pins.
A power on reset (POR) circuit ensures correct start-up and
shut-down. The device is held in reset when MCLK is not
present, offering a low-power standby state.
The WM8788 is supplied in a 16-pin TSSOP package.
•
•
•
•
•
•
Hi-Fi audio ADC
- 106dB SNR (‘A’ weighted
- -91dB THD (-1dBFS output)
- Sample rates 8kHz to 192kHz
2 analogue audio inputs
- Support for line level inputs >1Vrms
Digital audio interface
- Master or Slave operation
- 16, 20 or 24-bit data format
- Right-justified, Left-justified, I2S modes
Wide range of master clock (MCLK) rates
- 128fs, 192fs, 256fs, 384fs, 512fs, 768fs support
Hardware configuration control
Integrated voltage reference circuits
Single 3.3V supply
16-pin TSSOP package
APPLICATIONS
•
•
•
LCD televisions
Set-top boxes (STB)
Blu-Ray / DVD players and recorders
BLOCK DIAGRAM
WM8788
INLFB
INL
ADC L
BCLK
Digital
Filters
INRFB
INR
AIF
LRCLK
ADCDAT
ADC R
MCLK
MASTER
Reference
Generator
Control
Interface
OSR
AIFMODE0
AIFMODE1
VMIDC
REFVDD
AVDD
AGND
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews
Preliminary Technical Data, December 2010, Rev 2.2
Copyright ©2010 Wolfson Microelectronics plc
WM8788
Preliminary Technical 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 ................................................................................................ 3
ABSOLUTE MAXIMUM RATINGS ......................................................................... 4
RECOMMENDED OPERATING CONDITIONS ..................................................... 4
THERMAL PERFORMANCE ................................................................................. 5
ELECTRICAL CHARACTERISTICS ...................................................................... 6
TERMINOLOGY ............................................................................................................. 7
SIGNAL TIMING REQUIREMENTS ....................................................................... 8
SYSTEM CLOCK TIMING .............................................................................................. 8
AUDIO INTERFACE TIMING ......................................................................................... 9
MASTER MODE .......................................................................................................................................... 9
SLAVE MODE ............................................................................................................................................. 9
DEVICE DESCRIPTION ....................................................................................... 10
INTRODUCTION.......................................................................................................... 10
INPUT SIGNAL PATH .................................................................................................. 10
ANALOGUE-TO-DIGITAL CONVERTER (ADC) .......................................................... 12
DIGITAL AUDIO INTERFACE ...................................................................................... 12
DIGITAL AUDIO INTERFACE CONTROL ................................................................................................. 13
MASTER AND SLAVE MODE OPERATION ............................................................................................. 14
AUDIO DATA FORMATS .......................................................................................................................... 14
DIGITAL FILTER CHARACTERISTICS ............................................................... 16
ADC FILTER RESPONSE............................................................................................ 16
APPLICATIONS INFORMATION ......................................................................... 18
RECOMMENDED EXTERNAL COMPONENTS........................................................... 18
AUDIO INPUT PATHS............................................................................................................................... 18
POWER SUPPLY DECOUPLING ............................................................................................................. 18
RECOMMENDED EXTERNAL COMPONENTS DIAGRAM ...................................................................... 19
PCB LAYOUT CONSIDERATIONS.............................................................................. 20
PACKAGE DIMENSIONS .................................................................................... 21
IMPORTANT NOTICE .......................................................................................... 22
ADDRESS: ................................................................................................................... 22
w
PTD, December 2010, Rev 2.2
2
WM8788
Preliminary Technical Data
PIN CONFIGURATION
The WM8788 is supplied in a 16-pin TSSOP format. The pin configuration is illustrated below,
showing the top-down view from above the chip.
VMIDC
1
16
AGND
INL
2
15
ADCDAT
INLFB
3
14
BCLK
INR
4
13
LRCLK
INRFB
5
12
MCLK
REFVDD
6
11
OSR
AVDD
7
10
MASTER
AIFMODE1
8
9
AIFMODE0
WM8788
(Top View)
ORDERING INFORMATION
ORDER CODE
TEMPERATURE
RANGE
PACKAGE
MOISTURE
SENSITIVITY LEVEL
PEAK SOLDERING
TEMPERATURE
WM8788GEDT
-40°C to +85°C
16-pin TSSOP
(Pb-free)
MSL1
260oC
WM8788GEDT/R
-40°C to +85°C
16-pin TSSOP
(Pb-free, tape and reel)
MSL1
260oC
Note:
Reel quantity = 2,000
PIN DESCRIPTION
PIN NO
NAME
1
VMIDC
TYPE
DESCRIPTION
Analogue Output
Midrail voltage decoupling capacitor
Analogue Input
Left channel analogue input
Analogue Output
Left channel feedback connection
2
INL
3
INLFB
4
INR
5
INRFB
6
REFVDD
Supply
ADC Reference Positive supply
7
AVDD
Supply
Analogue Positive supply
8
AIFMODE1
Digital Tri-state Input
Audio interface configuration pin 1
9
AIFMODE0
Digital Tri-state Input
Audio interface configuration pin 0
10
MASTER
Digital Tri-state Input
Audio interface Master / Slave select
11
OSR
Digital Tri-state Input
ADC oversample rate select
12
MCLK
Digital Input
Master clock
13
LRCLK
Digital Input / Output
Audio interface left / right clock
14
BCLK
Digital Input / Output
Audio interface bit clock
15
ADCDAT
16
AGND
w
Analogue Input
Right channel analogue input
Analogue Output
Right channel feedback connection
Digital Output
ADC digital audio data
Supply
Ground
PTD, December 2010, Rev 2.2
3
WM8788
Preliminary Technical Data
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously
operating at or beyond these limits. Device functional operating limits and guaranteed performance specifications are given
under Electrical Characteristics at the test conditions specified.
ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible
to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage
of this device.
Wolfson tests its package types according to IPC/JEDEC J-STD-020B for Moisture Sensitivity to determine acceptable storage
conditions prior to surface mount assembly. These levels are:
MSL1 = unlimited floor life at <30°C / 85% Relative Humidity. Not normally stored in moisture barrier bag.
MSL2 = out of bag storage for 1 year at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag.
MSL3 = out of bag storage for 168 hours at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag.
The Moisture Sensitivity Level for each package type is specified in Ordering Information.
MIN
MAX
Supply voltage (AVDD, REFVDD)
CONDITION
-0.3V
4.5V
Voltage range digital inputs
-0.7V
AVDD +0.7V
Voltage range analogue inputs
-0.7V
AVDD +0.7V
Operating temperature range, TA
-40ºC
+85ºC
Junction temperature, TJMAX
-40ºC
+150ºC
Storage temperature after soldering
-65ºC
+150ºC
RECOMMENDED OPERATING CONDITIONS
PARAMETER
Analogue and digital I/O supplies
range
Ground
SYMBOL
MIN
TYP
MAX
UNIT
AVDD, REFVDD
2.97
3.3
3.6
V
GND
0
V
Note:
1.
The AVDD and REFVDD pins must both be connected to the same external supply voltage.
w
PTD, December 2010, Rev 2.2
4
WM8788
Preliminary Technical Data
THERMAL PERFORMANCE
Thermal analysis should be performed in the intended application to prevent the WM8788 from
exceeding maximum junction temperature. Several contributing factors affect thermal performance
most notably the physical properties of the mechanical enclosure, location of the device on the PCB
in relation to surrounding components and the number of PCB layers. Connecting the GND pin
through thermal vias and into a large ground plane will aid heat extraction.
Three main heat transfer paths exist to surrounding air as illustrated below in Figure 1:
-
Package top to air (radiation).
-
Package bottom to PCB (radiation).
-
Package pins to PCB (conduction).
Figure 1 Heat Transfer Paths
The temperature rise TR is given by TR = PD * ӨJA
-
PD is the power dissipated in the device.
-
ӨJA is the thermal resistance from the junction of the die to the ambient temperature
and is therefore a measure of heat transfer from the die to surrounding air. ӨJA is
determined with reference to JEDEC standard JESD51-9.
The junction temperature TJ is given by TJ = TA +TR, where TA is the ambient temperature.
SYMBOL
MIN
MAX
UNIT
Operating temperature range
PARAMETER
TA
-40
85
°C
Operating junction temperature
TJ
-40
125
Thermal Resistance
ӨJA
TYP
95
°C
°C/W
Note:
1.
Junction temperature is a function of ambient temperature and of the device operating conditions. The ambient
temperature limits and junction temperature limits must both be observed.
w
PTD, December 2010, Rev 2.2
5
WM8788
Preliminary Technical Data
ELECTRICAL CHARACTERISTICS
Test Conditions
AVDD = REFVDD = 3.3V, AGND = 0V, TA = +25oC, 1kHz signal, fs = 48kHz, MCLK = 256fs unless otherwise stated.
Implemented recommended calibration start-up sequence as detailed in Calibrated Start-Up section.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue Inputs (INL, INR)
Maximum input signal
level
RIN = RFB = 2kΩ
AVDD/3.3
Vrms
20
pF
A-weighted, fs = 48kHz
106
dB
Unweighted, fs = 48kHz
103
A-weighted, fs = 96kHz
106
Unweighted, fs = 96kHz
103
-1dBFS input, Master Mode
-91
-1dBFS input, Slave Mode
-88
Dynamic range
-60dBFS input
106
dB
Channel separation
20Hz to 20kHz
100
dB
Input capacitance
ADC Input Path Performance (Analogue Input to ADC)
Signal to Noise Ratio
Total Harmonic
Distortion
SNR
THD
dB
Channel level matching
0.1
dB
Channel phase deviation
0.1
degree
50
dB
Power Supply Rejection
Ratio (with respect to
AVDD)
PSRR
1kHz 100mV pk-pk applied to
AVDD
Digital Inputs / Outputs
Input high level
0.7 x AVDD
V
Input low level
Output high level
IOL = 1mA
Output low level
IOH = -1mA
0.3 x AVDD
V
0.1 x AVDD
V
-1
1
μA
2.048
36.864
MHz
+4%
V
0.9 x AVDD
Input capacitance
V
5
Input leakage
pF
Clocking
MCLK frequency
Analogue Reference Levels
Midrail Reference
Voltage
VMID
VMID resistance to
Ground
RVMID
-4%
AVDD/2
35
kΩ
Quiescent
fs = 48kHz, MCLK = 256fs
84
mA
Quiescent
fs = 96kHz, MCLK = 256fs
88
Quiescent
No clocks applied
1
Current Consumption
AVDD current
consumption
w
IAVDD
PTD, December 2010, Rev 2.2
6
Preliminary Technical Data
WM8788
TERMINOLOGY
1.
Signal-to-Noise Ratio (dB) – SNR is the difference in level between a full scale output signal and the device output
noise with no signal applied, measured over a bandwidth of 20Hz to 20kHz. This ratio is also called idle channel
noise. (No Auto-zero or Mute function is employed).
2.
Total Harmonic Distortion (dB) – THD is the difference in level between a 1kHz reference sine wave output signal and
the first seven harmonics of the output signal. The amplitude of the fundamental frequency of the output signal is
compared to the RMS value of the next seven harmonics and expressed as a ratio.
Total Harmonic Distortion plus Noise (dB) – THD+N is the difference in level between a 1kHz reference sine wave
output signal and all noise and distortion products in the audio band. The amplitude of the fundamental reference
frequency of the output signal is compared to the RMS value of all other noise and distortion products and expressed
as a ratio.
Channel Separation (L/R) (dB) – is a measure of the coupling between left and right channels. A full scale signal is
applied to the left channel only, and the right channel amplitude is measured. Next, a full scale signal is applied to the
right channel only, and the left channel amplitude is measured. The worst case channel separation is quoted; this is
the difference in level between the full-scale output and the cross-channel output signal level, expressed as a ratio.
3.
4.
5.
Power Supply Rejection Ratio (dB) – PSRR is a measure of ripple attenuation between a power supply rail and a
signal output path. With the signal path idle, a small sine wave ripple is applied to power supply rail. The amplitude of
the supply ripple is compared to the amplitude of the output signal generated and is expressed as a ratio.
6.
All performance measurements are carried out with 20kHz AES17 low pass filter for distortion measurements, and an
A-weighted filter for noise measurement. 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.
w
PTD, December 2010, Rev 2.2
7
WM8788
Preliminary Technical Data
SIGNAL TIMING REQUIREMENTS
SYSTEM CLOCK TIMING
tMCLKY
MCLK
tMCLKL
tMCLKH
Figure 2 Master Clock Timing
Test Conditions
AVDD = REFVDD = 3.3V, AGND = 0V, TA = +25oC.
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNIT
2.048
36.864
MHz
60:40
40:60
Master Clock Timing
MCLK frequency
MCLK duty cycle
(= TMCLKH : TMCLKL)
w
1 / TMCLKY
PTD, December 2010, Rev 2.2
8
WM8788
Preliminary Technical Data
AUDIO INTERFACE TIMING
MASTER MODE
BCLK
(output)
LRCLK
(output)
tDL
ADCDAT
(output)
tDDA
Figure 3 Audio Interface Timing - Master Mode
Test Conditions
AVDD = REFVDD = 3.3V, AGND = 0V,
TA = +25oC, 1kHz signal, fs = 48kHz, 24-bit audio data unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Audio Interface Timing - Master Mode
LRCLK propagation delay from BCLK falling edge
tDL
20
ns
ADCDAT propagation delay from BCLK falling edge
tDDA
20
ns
MAX
UNIT
SLAVE MODE
Figure 4 Audio Interface Timing - Slave Mode
Test Conditions
AVDD = REFVDD = 3.3V, AGND = 0V,
TA = +25oC, 1kHz signal, fs = 48kHz, 24-bit audio data unless otherwise stated.
PARAMETER
SYMBOL
MIN
TYP
Audio Interface Timing - Slave Mode
BCLK cycle time
tBCY
50
ns
BCLK pulse width high
tBCH
20
ns
BCLK pulse width low
tBCL
20
ns
LRCLK set-up time to BCLK rising edge
tLRSU
20
ns
LRCLK hold time from BCLK rising edge
tLRH
20
ns
ADCDAT propagation delay from BCLK falling edge
tDD
w
20
ns
PTD, December 2010, Rev 2.2
9
WM8788
Preliminary Technical Data
DEVICE DESCRIPTION
INTRODUCTION
The WM8788 is a high-performance 24-bit stereo ADC designed for LCD televisions, DVD, Blu-Ray
and set-top box applications. It is packaged in a 16-pin TSSOP.
The device comprises two analogue input channels. External resistors are used to configure the
device for line level inputs at 1Vrms or for higher input signal levels.
The stereo hi-fi ADCs operate at sample rates from 8kHz to 192kHz. A high pass filter is provided in
the ADC path for removing DC offsets and suppressing low frequency noise.
The digital audio interface can operate in Master or Slave mode and supports the ADC output in
Right-justified, Left-justified or I2S format. The data word size is selectable between 16, 20 or 24 bits.
The device configuration is selected using hardware control inputs. The digital control inputs use tristate logic in order to support many different configuration selections.
The WM8788 incorporates an internal voltage reference and LDO regulator for power-efficient
operation from a single power supply. External clocking is required via the MCLK pin.
A power on reset (PoR) circuit ensures correct start-up and shut-down. The WM8788 is held in reset
when MCLK is not present, offering a low-power standby state.
CALIBRATED START-UP
The WM8788 chip has a phase calibration circuit that is active in slave mode. This circuit
detects incoming clock phase relationship and configures the device automatically to ensure
best performance of the device.
Phase calibration starts as soon as the device comes out of reset, and takes 64 BCLK
periods from Power on Reset to complete. Note that once the clock signals are calibrated
and in phase, no further calibration will take place until the device next comes out of reset.
For the phase calibration to work effectively, the calibration must take place when the MCLK
and the BCLK signals are stable with a fixed phase relationship and running at the frequency
which the device will eventually operate. There are three different sequences that allow the
system designer to ensure that this can happen:
1.
Ensure that MCLK and BCLK have a fixed phase relationship before LRCLK is
applied
2.
After power-up, pause LRCLK for a minimum of 1 period
3.
After power-up, stop MCLK for a minimum of 20 periods. Then re-start MCLK in a
fixed phase and frequency relationship to BCLK
In option (1), the device will be held in reset if no LRCLK is applied. MCLK and BLCK must
be in a fixed and final operation phase relationship and frequency before LRCLK is applied.
Options (2) and (3) both digitally reset the device, and can be used if the clock relationship
changes during operation to allow re-calibration to the new relationship.
If sample rate is changed, it is recommended that either Option 2 or Option 3 above is
carried out once the sample rate change is complete.
Note that phase calibration only takes place in Slave Mode. In Master Mode, the phase
calibration circuit is not required and is disabled.
w
PTD, December 2010, Rev 2.2
10
WM8788
Preliminary Technical Data
INPUT SIGNAL PATH
The WM8788 supports two analogue input channels. The recommended input circuit configuration
for the left input channel is illustrated in Figure 5. This is suitable for single-ended connection to line
level input signals.
Figure 5 Input Signal Path Configuration
The right input channel is identical to the left input channel. The feedback input pins INLFB and
INRFB are used to provide an adjustable gain in the input circuit, enabling input signals greater than
1Vrms to be supported.
The maximum analogue input signal level varies with AVDD and with the input circuit configuration,
as described in the following equation:
See “Applications Information” for details of the recommended external components.
w
PTD, December 2010, Rev 2.2
11
WM8788
Preliminary Technical Data
ANALOGUE-TO-DIGITAL CONVERTER (ADC)
The WM8788 uses two 24-bit sigma-delta ADCs. The use of multi-bit feedback and high
oversampling rates reduces the effects of jitter and high frequency noise. All common sample rates
from 8kHz to 192kHz are supported; these are selected as described in the “Digital Audio Interface”
section.
Digital filters are also incorporated on the ADC output signal path to remove DC offsets and other
unwanted noise. The cut-off frequency of the ADC high-pass filter varies with the ADC sample rate
(fs), but is typically 4Hz when fs = 48kHz.
Filter response plots for the ADC high-pass filter are shown in “Digital Filter Characteristics”.
DIGITAL AUDIO INTERFACE
The digital audio interface is used for outputting ADC data from the WM8788. It uses three pins:
•
ADCDAT - ADC data output
•
LRCLK - Left / Right data alignment clock
•
BCLK - Bit clock, for synchronisation
The configuration of the digital audio interface is determined by the logic levels on the following
hardware control pins:
•
MASTER - Master / Slave mode select
•
OSR - ADC Oversample rate select
•
AIFMODE0 - Audio Interface configuration select 0
•
AIFMODE1 - Audio Interface configuration select 1
The digital audio interface supports Right-justified, Left-justified and I2S formats. The data word size
can be 16, 20 or 24-bits.
Audio sample rates (fs) from 8kHz to 192kHz are supported. A master clock (MCLK) is required at
one of the typical clocking ratios 128fs, 192fs, 256fs, 384fs, 512fs and 768fs.
The WM8788 can operate in master mode or in slave mode. In master mode, LRCLK and BCLK are
generated by the WM8788. In slave mode, LRCLK and BCLK are inputs to the WM8788.
The digital audio interface is configured using the hardware control pins MASTER, OSR, AIFMODE0
and AIFMODE1. Note that these pins are tri-state digital inputs. The logic 1 and logic 0 voltage levels
are referenced to the AVDD power domain. A logic ‘Z’ is a high-impedance condition which is
selected when the pin is floating and not connected.
A description of the hardware control pins is provided in the “Digital Audio Interface Control” section
below.
The digital audio interface protocols are described in the “Master and Slave Mode Operation” and
“Audio Data Formats” sections.
w
PTD, December 2010, Rev 2.2
12
WM8788
Preliminary Technical Data
DIGITAL AUDIO INTERFACE CONTROL
The digital audio interface protocol is selected using the control pins AIFMODE0 and AIFMODE1, as
described in Table 1.
AIFMODE1
AIFMODE0
FORMAT
0
0
16-bit Right-justified
0
1
20-bit Right-justified
0
Z
24-bit Right-justified
1
0
16-bit Left-justified
1
1
20-bit Left-justified
1
Z
24-bit Left-justified
Z
0
16-bit I2S
Z
1
20-bit I2S
Z
Z
24-bit I2S
Table 1 Digital Audio Interface Mode Select
For Slave Mode, set MASTER = 0 and set OSR according to the applicable sample rate.
MASTER
OSR
SAMPLE RATE
0
0
8, 16, 32, 44.1, 48kHz
0
1
88.2, 96kHz
0
Z
176.4, 192kHz
Table 2 Slave Mode Configuration
In Slave Mode, the MCLK and LRCLK inputs must conform to a valid clocking ratio, as noted below.
The LRCLK frequency is the same as the sample rate, fs. MCLK frequencies of 128fs, 192fs, 256fs,
384fs, 512fs and 768fs can be supported, depending on the sample rate.
The BCLK signal is an input to the WM8788 in slave mode. A range of BCLK frequencies can be
supported, provided there are sufficient BCLK cycles for the selected data word length. The BCLK
frequency must not be higher than the MCLK frequency, and must not be higher than 12.288MHz.
SAMPLE RATE
MCLK FREQUENCY (MHz)
128fs
192fs
256fs
384fs
512fs
768fs
8kHz
n/a
n/a
2.048
3.072
4.096
6.144
16kHz
n/a
n/a
4.096
6.144
8.192
12.288
32kHz
n/a
n/a
8.192
12.288
16.384
24.576
44.1kHz
n/a
n/a
11.2896
16.9344
22.5792
33.8688
48kHz
n/a
n/a
12.288
18.432
24.576
36.864
88.2kHz
11.2896
16.9344
22.5792
33.8688
n/a
n/a
96kHz
12.288
18.432
24.576
36.864
n/a
n/a
176.4kHz
22.5792
33.8688
n/a
n/a
n/a
n/a
192kHz
24.576
36.864
n/a
n/a
n/a
n/a
Table 3 MCLK Frequency in Slave Mode
w
PTD, December 2010, Rev 2.2
13
WM8788
Preliminary Technical Data
For Master Mode, set MASTER and OSR according to the applicable sample rate and clocking ratio.
MASTER
OSR
CLOCKING RATIO
SAMPLE RATE
1
0
384fs
8, 16, 32, 44.1, 48kHz
1
1
384fs
88.2, 96kHz
Z
0
256fs
8, 16, 32, 44.1, 48kHz
Z
1
256fs
88.2, 96kHz
Table 4 Master Mode Configuration
In Master Mode, the sample rate (fs) is determined by the MCLK frequency and by the selected
clocking ratio. The LRCLK frequency is the same as the sample rate, and is output by the WM8788
in master mode.
The BCLK signal is output by the WM8788 in master mode. The BCLK frequency is LRCLK x 64.
MASTER AND SLAVE MODE OPERATION
The digital audio interface can be configured as a Master or a Slave interface, depending on the
state of the MASTER control pin described earlier. The two modes are illustrated in Figure 6 and
Figure 7.
Figure 6 Master Mode
Figure 7 Slave Mode
In Master mode, LRCLK and BCLK are configured as outputs, and the WM8788 controls the timing
of the data transfer on the ADCDAT pin.
In Master mode, the LRCLK frequency is determined automatically according to the MCLK frequency
and the selected clocking ratio. The BCLK frequency is LRCLK x 64.
In Slave mode, LRCLK and BCLK are configured as inputs, and the data timing is controlled by an
external master.
AUDIO DATA FORMATS
Three audio data formats are supported by the digital audio interface:
•
Right-justified
•
Left-justified
•
I 2S
All of these modes are MSB first, and are illustrated below. Refer to the “Signal Timing
Requirements” section for timing information.
In Right Justified mode, the LSB is available on the last rising edge of BCLK before a LRCLK
transition. All other bits are transmitted before (MSB first). Depending on word length, BCLK
frequency and sample rate, there may be unused BCLK cycles after each LRCLK transition.
w
PTD, December 2010, Rev 2.2
14
WM8788
Preliminary Technical Data
Figure 8 Right Justified Audio Interface (assuming n-bit word length)
In Left Justified mode, the MSB is available on the first rising edge of BCLK following a LRCLK
transition. The other bits up to the LSB are then transmitted in order. Depending on word length,
BCLK frequency and sample rate, there may be unused BCLK cycles before each LRCLK transition.
Figure 9 Left Justified Audio Interface (assuming n-bit word length)
In I2S mode, the MSB is available on the second rising edge of BCLK following a LRCLK transition.
The other bits up to the LSB are then transmitted in order. Depending on word length, BCLK
frequency and sample rate, there may be unused BCLK cycles between the LSB of one sample and
the MSB of the next.
2
Figure 10 I S Justified Audio Interface (assuming n-bit word length)
w
PTD, December 2010, Rev 2.2
15
WM8788
Preliminary Technical Data
DIGITAL FILTER CHARACTERISTICS
PARAMETER
TEST CONDITIONS
MIN
+/- 0.1dB
0
Passband
TYP
MAX
UNIT
0.454 fs
-6dB
0.5fs
Passband Ripple
+/- 0.1
Stopband
dB
0.546s
Stopband Attenuation
f > 0.546 fs
-60
Group Delay
dB
16.5 / fs
s
TERMINOLOGY
1.
Stop Band Attenuation (dB) – the degree to which the frequency spectrum is attenuated (outside audio band)
2.
Pass-band Ripple – any variation of the frequency response in the pass-band region
ADC FILTER RESPONSE
20
-2.2m
-20
-40.01
dB
-60.01
-80.01
-100
-120
-140
-160
-180
-200
0
17.64k
35.28k
52.92k
70.56k
88.2k
105.8k
123.5k
141.1k
158.8k
176.4k
MAGNITUDE(dB)
Figure 11 ADC Frequency Response up to 4 x fs (Sample rate, fs = 48kHz)
w
PTD, December 2010, Rev 2.2
16
WM8788
Preliminary Technical Data
34.07m
28.12m
22.18m
16.23m
10.28m
dB
4.333m
-1.614m
-7.561m
-13.51m
-19.46m
-25.4m
-31.35m
0
2k
3.999k
5.999k
7.999k
9.998k
12k
14k
16k
18k
20k
MAGNITUDE(dB)
Figure 12 ADC Pass Band Frequency Response up to fs/2 (Sample rate, fs = 48kHz)
0
-5
-10
-15
-20
-25
-30
0
5
10
15
20
Figure 13 ADC High Pass Filter Frequency Response (Sample rate, fs = 48kHz)
w
PTD, December 2010, Rev 2.2
17
WM8788
Preliminary Technical Data
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
AUDIO INPUT PATHS
The WM8788 provides 2 analogue audio inputs. The maximum analogue input signal level varies
with AVDD and with the input circuit configuration, as described in the following equation:
It is recommended that the resistors RIN and RFB should not exceed 10kΩ.
For 1Vrms (0dBV) maximum input signal level when AVDD = 3.3V, the recommended input
components are RIN = 2kΩ, RFB = 2kΩ.
For 2Vrms (6dBV) maximum input signal level when AVDD = 3.3V, the recommended input
components are RIN = 2kΩ, RFB = 1kΩ.
The input pins INL and INR are referenced to the internal DC reference, VMID. A DC blocking
capacitor is required for each input. The choice of capacitor is determined by the filter that is formed
between that capacitor and the input resistor, RIN. The circuit is illustrated in Figure 14.
Figure 14 Input Signal Path External Components
It is recommended that an input capacitor is selected such that the Fc cut-off frequency is less than
20Hz. It is recommended that a 4.7μF capacitance is used for all WM8788 input connections.
Tantalum electrolytic capacitors are particularly suitable as they offer high stability in a small package
size.
See Wolfson Applications Note WAN_0176 for further guidance on the choice of capacitor types.
POWER SUPPLY DECOUPLING
Electrical coupling exists particularly in digital logic systems where switching in one sub-system
causes fluctuations on the power supply. This effect occurs because the inductance of the power
supply acts in opposition to the changes in current flow that are caused by the logic switching. The
resultant variations (or ‘spikes’) in the power supply voltage can cause malfunctions and
unintentional behavior in other components. A decoupling (or ‘bypass’) capacitor can be used as an
energy storage component which will provide power to the decoupled circuit for the duration of these
power supply variations, protecting it from malfunctions that could otherwise arise.
w
PTD, December 2010, Rev 2.2
18
WM8788
Preliminary Technical Data
Coupling also occurs in a lower frequency form when ripple is present on the power supply rail
caused by changes in the load current or by limitations of the power supply regulation method. In
audio components such as the WM8788, these variations can alter the performance of the signal
path, leading to degradation in signal quality. A decoupling (or ‘bypass’) capacitor can be used to
filter these effects, by presenting the ripple voltage with a low impedance path that does not affect
the circuit to be decoupled.
These coupling effects are addressed by placing a capacitor between the supply rail and the
corresponding ground reference. In the case of systems comprising multiple power supply rails,
decoupling should be provided on each rail.
The recommended power supply decoupling capacitors for WM8788 are listed below in Table 5.
POWER SUPPLY
DECOUPLING CAPACITOR
AVDD
4.7μF ceramic
REFVDD
4.7μF ceramic
VMIDC
4.7μF ceramic
Table 5 Power Supply Decoupling Capacitors
All decoupling capacitors should be placed as close as possible to the WM8788 device.
The VMIDC capacitor is not, technically, a decoupling capacitor. However, it does serve a similar
purpose in filtering noise on the VMID reference. The connection between GND, the VMID
decoupling capacitor and the main system ground should be made at a single point as close as
possible to the GND pin of the WM8788.
Due to the wide tolerance of many types of ceramic capacitors, care must be taken to ensure that the
selected components provide the required capacitance across the required temperature and voltage
ranges in the intended application. For most application the use of ceramic capacitors with capacitor
dielectric X5R is recommended.
See Wolfson Applications Note WAN_0176 for further guidance on the choice of capacitor types.
RECOMMENDED EXTERNAL COMPONENTS DIAGRAM
Figure 15 provides a summary of recommended external components for WM8788. Note that the
actual requirements may differ according to the specific target application.
Figure 15 WM8788 Recommended External Components Diagram
w
PTD, December 2010, Rev 2.2
19
WM8788
Preliminary Technical Data
PCB LAYOUT CONSIDERATIONS
Poor PCB layout will degrade the performance and be a contributory factor in EMI, ground bounce
and resistive voltage losses. All external components should be placed as close to the WM8788
device as possible, with current loop areas kept as small as possible.
w
PTD, December 2010, Rev 2.2
20
WM8788
Preliminary Technical Data
PACKAGE DIMENSIONS
DT: 16 PIN TSSOP (5.0 x 4.4 x 1.0 mm)
b
DM013.B
e
16
9
E1
E
GAUGE
PLANE
1
D
θ
8
0.25
c
A A2
L
A1
-C0.1 C
Symbols
A
A1
A2
b
c
D
e
E
E1
L
θ
MIN
----0.05
0.80
0.19
0.09
4.90
4.30
0.45
0o
REF:
SEATING PLANE
Dimensions
(mm)
NOM
--------1.00
--------5.00
0.65 BSC
6.4 BSC
4.40
0.60
-----
MAX
1.20
0.15
1.05
0.30
0.20
5.10
4.50
0.75
8o
JEDEC.95, MO-153
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 MO-153, VARIATION = AB. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PTD, December 2010, Rev 2.2
21
WM8788
Preliminary Technical Data
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
26 Westfield Road
Edinburgh
EH11 2QB
United Kingdom
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: [email protected]
w
PTD, December 2010, Rev 2.2
22