WM8580
w
Multichannel CODEC with S/PDIF Transceiver
DESCRIPTION
FEATURES
The WM8580 is a multi-channel audio CODEC with S/PDIF
transceiver. The WM8580 is ideal for DVD and surround
sound processing applications for home hi-fi, automotive
and other audiovisual equipment.
•
•
•
Two independent audio data interfaces support I2S, Left
Justified, Right Justified and DSP digital audio formats.
Each audio interface can operate in either Master Mode or
Slave Mode.
The S/PDIF transceiver is IEC-60958-3 compatible and
supports frame rates from 32k/s to 192k/s. It has four
multiplexed inputs and one output. Status and error
monitoring is built-in and results can reported over the serial
interface or via GPO pins. S/PDIF Channel Block
configuration is also supported.
The device has two PLLs that can be configured
independently to generate two system clocks for internal or
external use.
Device control and setup is via a 2-wire or 3-wire (SPI
compatible) serial interface. The serial interface provides
access to all features including channel selection, volume
controls, mutes, de-emphasis, S/PDIF control/status, and
power management facilities. Alternatively, the device has a
Hardware Control Mode where device features can be
enabled/disabled using selected pins.
Audio Performance
−
−
Integrated into the device is a stereo 24-bit multi-bit sigma
delta ADC with support for digital audio output word lengths
from 16-bit to 32-bit, and sampling rates from 8kHz to
192kHz.
Also included are three stereo 24-bit multi-bit sigma delta
DACs, each with a dedicated oversampling digital
interpolation filter. Digital audio input word lengths from 16bits to 32-bits and sampling rates from 8kHz to 192kHz are
supported. Each DAC channel has independent digital
volume and mute control.
Mutli-channel CODEC with 3 Stereo DACs and 1 Stereo
ADC
Integrated S/PDIF / IEC-60958-3 transceiver
•
103dB SNR (‘A’ weighted @ 48kHz) DAC
-90dB THD (48kHz) DAC
−
100dB SNR (‘A’ weighted @ 48kHz) ADC
−
-87dB THD (48kHz) ADC
DAC Sampling Frequency: 8kHz – 192kHz
•
•
•
ADC Sampling Frequency: 8kHz – 192kHz
Independent ADC and DAC Sample Rates
2 and 3-Wire Serial Control Interface with readback, or
Hardware Control Interface
•
•
GPO pins allow visibility of user selected status flags
Programmable Audio Data Interface Modes
−
•
•
•
•
•
I2S, Left, Right Justified or DSP
−
16/20/24/32 bit Word Lengths
Three Independent Stereo DAC Outputs with Digital
Volume Controls
Two Independent Master or Slave Audio Data Interfaces
Flexible Digital Interface Routing with Clock Selection
Control
2.7V to 5.5V Analogue, 2.7V to 3.6V Digital Supply
Operation
48-lead TQFP Package
APPLICATIONS
•
•
•
•
Digital TV
DVD Players and Receivers
Surround Sound AV Processors and Hi-Fi systems
Automotive Audio
The device is available in a 48-lead TQFP package.
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/
Production Data, February 2007, Rev 4.0
Copyright ©2007 Wolfson Microelectronics plc
WM8580
Production Data
BLOCK DIAGRAM
W
PD Rev 4.0 February 2007
2
WM8580
Production Data
TABLE OF CONTENTS
DESCRIPTION ..................................................................................................................................................................... 1
FEATURES .......................................................................................................................................................................... 1
APPLICATIONS ................................................................................................................................................................... 1
BLOCK DIAGRAM ............................................................................................................................................................... 2
TABLE OF CONTENTS........................................................................................................................................................ 3
PIN CONFIGURATION......................................................................................................................................................... 4
ORDERING INFORMATION................................................................................................................................................. 4
PIN DESCRIPTION .............................................................................................................................................................. 5
MULTI-FUNCTION PINS.................................................................................................................................................. 6
ABSOLUTE MAXIMUM RATINGS ....................................................................................................................................... 7
RECOMMENDED OPERATING CONDITIONS .................................................................................................................... 8
ELECTRICAL CHARACTERISTICS ..................................................................................................................................... 8
TERMINOLOGY............................................................................................................................................................. 10
MASTER CLOCK TIMING.............................................................................................................................................. 11
DIGITAL AUDIO INTERFACE – MASTER MODE.......................................................................................................... 12
DIGITAL AUDIO INTERFACE – SLAVE MODE ............................................................................................................. 13
CONTROL INTERFACE TIMING – 3-WIRE MODE ....................................................................................................... 14
CONTROL INTERFACE TIMING – 2-WIRE MODE ....................................................................................................... 15
DEVICE DESCRIPTION ..................................................................................................................................................... 16
INTRODUCTION ............................................................................................................................................................ 16
CONTROL INTERFACE OPERATION ........................................................................................................................... 17
DIGITAL AUDIO INTERFACES...................................................................................................................................... 21
AUDIO DATA FORMATS ............................................................................................................................................... 23
AUDIO INTERFACE CONTROL..................................................................................................................................... 27
DAC FEATURES............................................................................................................................................................ 29
ADC FEATURES............................................................................................................................................................ 36
DIGITAL ROUTING OPTIONS ....................................................................................................................................... 37
CLOCK SELECTION...................................................................................................................................................... 39
PHASE-LOCKED LOOPS AND S/PDIF CLOCKING (SOFTWARE MODE)................................................................... 45
PHASE-LOCKED LOOPS AND S/PDIF CLOCKING (HARDWARE MODE) .................................................................. 53
S/PDIF TRANSCEIVER ................................................................................................................................................. 53
POWERDOWN MODES ................................................................................................................................................ 65
INTERNAL POWER ON RESET CIRCUIT..................................................................................................................... 67
HARDWARE CONTROL MODE .................................................................................................................................... 69
REGISTER MAP ............................................................................................................................................................ 72
DIGITAL FILTER CHARACTERISTICS.............................................................................................................................. 86
DAC FILTER RESPONSES ........................................................................................................................................... 86
DIGITAL DE-EMPHASIS CHARACTERISTICS ............................................................................................................. 87
ADC FILTER RESPONSES ........................................................................................................................................... 88
ADC HIGH PASS FILTER .............................................................................................................................................. 88
RECOMMENDED EXTERNAL COMPONENTS................................................................................................................. 89
PACKAGE DIMENSIONS................................................................................................................................................... 91
IMPORTANT NOTICE ........................................................................................................................................................ 92
ADDRESS:..................................................................................................................................................................... 92
w
PD Rev 4.0 February 2007
3
WM8580
Production Data
PIN CONFIGURATION
ORDERING INFORMATION
DEVICE
TEMPERATURE
RANGE
PACKAGE
MOISTURE
SENSITIVITY LEVEL
PEAK
SOLDERING
TEMPERATURE
WM8580GEFT/V
-25 to +85oC
48-lead TQFP
(Pb-free)
MSL1
260°C
WM8580GEFT/RV
-25 to +85oC
48-lead TQFP
(Pb-free, tape and reel)
MSL1
260°C
Note:
Reel quantity = 2,200
W
PD Rev 4.0 February 2007
4
WM8580
Production Data
PIN DESCRIPTION
PIN
NAME
TYPE
1
PGND
Supply
2
PVDD
Supply
3
XTI
Digital Input
DESCRIPTION
PLL ground
PLL positive supply
Crystal or CMOS clock input
4
XTO
Digital Output
Crystal output
5
MFP10
Digital Output
Multi-Function Pin (MFP) 10. See Table 1 for details of all MFP pins.
6
MFP9
Digital Output
Multi-Function Pin (MFP) 9. See Table 1 for details of all MFP pins.
7
MFP8
Digital Input/Output
Multi-Function Pin (MFP) 8. See Table 1 for details of all MFP pins.
8
MFP7
Digital Input/Output
Multi-Function Pin (MFP) 7. See Table 1 for details of all MFP pins.
9
MFP6
Digital Input/Output
Multi-Function Pin (MFP) 6. See Table 1 for details of all MFP pins.
10
SPDIFOP
Digital Output
11
MFP5
Digital Input/Output
Multi-Function Pin (MFP) 5. See Table 1 for details of all MFP pins.
12
MFP4
Digital Input/Output
Multi-Function Pin (MFP) 4. See Table 1 for details of all MFP pins.
13
MFP3
Digital Input/Output
Multi-Function Pin (MFP) 3. See Table 1 for details of all MFP pins.
14
SPDIFIN1
Digital Input
15
CLKOUT
Digital Output
16
DVDD
Supply
Digital positive supply
17
DGND
Supply
Digital ground
18
MUTE
Digital Input/Output
19
DIN1
Digital Input
Primary Audio Interface (PAIF) receiver data input 1
20
DIN2
Digital Input
Primary Audio Interface (PAIF) receiver data input 2
21
DIN3
Digital Input
Primary Audio Interface (PAIF) receiver data input 3
22
PAIFRX_LRCLK
Digital Input/Output
Primary Audio Interface (PAIF) receiver left/right word clock
23
PAIFRX_BCLK
Digital Input/Output
Primary Audio Interface (PAIF) receiver bit clock
24
MCLK
Digital Input/Output
25
DOUT
Digital Output
26
PAIFTX_LRCLK
Digital Input/Output
Primary audio interface transmitter left/right word clock
27
MFP1
Digital Input/Output
Multi-Function Pin (MFP) 1. See Table 1 for details of all MFP pins.
28
MFP2
Digital Input/Output
Multi-Function Pin (MFP) 2. See Table 1 for details of all MFP pins.
29
HWMODE
Digital Input
30
SWMODE
Digital Input/Output
31
SDO
Digital Output
32
SDIN
Digital Input/Output
33
SCLK
Digital Input
Control interface clock
3-wire control interface latch signal / device address selection
S/PDIF transmitter output.
S/PDIF receiver input 1
PLL or crystal oscillator clock output
DAC mute-all Input / All-DAC Infinite Zero Detect (IZD) flag output
System Master clock; 256, 384, 512, 768, 1024 or 1152 fs
Primary Audio Interface (PAIF) transmitter data output
Configures control to be either Software Mode or Hardware Mode
Configures software interface to be either 2-wire or 3-wire. See note 2.
3-wire control interface data output. See note 3.
Control interface data input (and output under 2-wire control)
34
CSB
Digital Input
35
AINR
Analogue Input
ADC Right Channel Input
36
AINL
Analogue Input
ADC Left Channel Input
37
ADCREFP
Analogue Output
38
VMID
Analogue Output
39
AGND
Supply
Analogue ground
Analogue positive supply
ADC reference buffer decoupling pin; 10uF external decoupling
Midrail divider decoupling pin; 10uF external decoupling
40
AVDD
Supply
41
VOUT1L
Analogue Output
DAC channel 1 left output
42
VOUT1R
Analogue Output
DAC channel 1 right output
43
VOUT2L
Analogue Output
DAC channel 2 left output
44
VOUT2R
Analogue Output
DAC channel 2 right output
45
VREFP
Analogue Input
DAC and ADC positive reference
46
VREFN
Analogue Input
DAC and ADC ground reference
w
PD Rev 4.0 February 2007
5
WM8580
Production Data
PIN
NAME
TYPE
47
VOUT3L
Analogue Output
DAC channel 3 left output
DESCRIPTION
48
VOUT3R
Analogue Output
DAC channel 3 right output
Notes :
1.
Digital input pins have Schmitt trigger input buffers. Pins 32, 33, 34 are 5V tolerant.
2.
In hardware control mode, pin 30 is used for UNLOCK flag output.
3.
In hardware control mode, pin 31 is used for NON_AUDIO flag output.
MULTI-FUNCTION PINS
The WM8580 has 8 Multi-Function Input/Output pins (MFP1 etc.). The function and direction (input/output) of these pins
are configured using the HWMODE input pin and software register control as shown below. If HWMODE is set, the MFPs
have the function shown in column 1 of Table 1. If HWMODE is not set, and the register SAIF_EN is set, the MFPs have
the function shown in column 2. Otherwise, the GPOnOP registers determine the MFP function as shown in columns 3 and
4.
Y
HWMODE = 1
N
Y
SAIF_EN = 1
N
GPIOnOP
PIN NAME
HARDWARE
CONTROL MODE
FUNCTION
1
SECONDARY AUDIO
INTERFACE FUNCTION
2
S/PDIF INPUT &
INDEPENDENT
CLOCKING
3
GENERAL PURPOSE
OUTPUT FUNCTION
4
MFP1
PAIFTX_BCLK
n/a1
PAIFTX_BCLK2
GPO1
1
MFP2
ADCMCLK
n/a
ADCMCLK3
GPO2
MFP3
DR1
n/a1
SPDIFIN2
GPO3
MFP4
DR2
n/a
1
SPDIFIN3
GPO4
MFP5
DR3
n/a1
SPDIFIN4
GPO5
MFP6
DR4
SAIF_BCLK
GPO6
GPO6
MFP7
ALLPD
SAIF_LRCLK
GPO7
GPO7
MFP8
C
SAIF_DIN
GPO8
GPO8
MFP9
SFRM_CLK
SAIF_DOUT
GPO9
GPO9
MFP10
192BLK
n/a1
GPO10
GPO10
Table 1 Multi-Function Pin Configuration
Notes:
1.
These pins are not used as part of the Secondary Audio Interface, so their function is that of either Column 3 or
Column 4.
2.
MFP1 can by GPO1 only if ADC_CLKSEL and PAIFTXMST_CLKSEL (if in master mode) source MCLK.
3.
MFP2 can be GPO2 if neither ADC_CLKSEL, TX_CLKSEL or SAIFMST_CLKSEL (if in master mode) source
ADCMCLK.
W
PD Rev 4.0 February 2007
6
WM8580
Production Data
PIN FUNCTION
TYPE
DESCRIPTION
PAIFTX_BCLK
Digital Input/Output
Primary Audio Interface Transmitter (PAIFTX) Bit Clock
ADCMCLK
Digital Input
Master ADC clock; 256fs, 384fs, 512fs ,786fs, 1024fs or 1152fs
SAIF_DIN
Digital Input
Secondary Audio Interface (SAIF) Receiver data input
SAIF_DOUT
Digital Output
Secondary Audio Interface (SAIF) Transmitter data output
SAIF_BCLK
Digital Input/Output
Secondary Audio Interface (SAIF) Bit Clock
SAIF_LRCLK
Digital Input/Output
Secondary Audio Interface (SAIF) Left/Right Word Clock
SPDIFIN2/3/4
Digital Input
S/PDIF Receiver Input
GPO1 – GPO10
Digital Output
General Purpose Output
DR1/2/3/4
Digital Input
Internal Digital Routing Configuration in Hardware Mode
ALLPD
C
Digital Input
Digital Output
Chip Powerdown in Hardware Mode
Recovered channel-bit for current S/PDIF sub-frame
SFRM_CLK
Digital Output
Indicates current S/PDIF sub-frame:
1 = Sub-frame A
0 = Sub-frame B
192BCLK
Digital Output
Indicates start of S/PDIF 192-frame block. High for duration of frame 0.
Table 2 Multi-Function Pin Description
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.
The WM8580 has been classified as MSL1, which has an unlimited floor life at 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 77 Digital Filter Characteristics
DAC FILTER RESPONSES
0.2
0
0.15
-20
-40
Response (dB)
Response (dB)
0.1
-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 37 DAC 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 38 DAC Digital Filter Ripple –44.1, 48 and 96kHz
– 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 39 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 40 DAC Digital Filter Ripple – 192kHz
PD Rev 4.0 February 2007
86
WM8580
Production Data
DIGITAL DE-EMPHASIS CHARACTERISTICS
0
1
0.5
-2
Response (dB)
Response (dB)
0
-4
-6
-0.5
-1
-1.5
-2
-8
-2.5
-10
-3
0
2
4
6
8
10
Frequency (kHz)
12
14
16
Figure 41 De-Emphasis Frequency Response (32kHz)
0
2
4
6
8
10
Frequency (kHz)
12
14
16
Figure 42 De-Emphasis Error (32kHz)
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 43 De-Emphasis Frequency Response (44.1kHz)
0
5
10
Frequency (kHz)
15
20
Figure 44 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 45 De-Emphasis Frequency Response (48kHz)
w
0
5
10
15
Frequency (kHz)
20
Figure 46 De-Emphasis Error (48kHz)
PD Rev 4.0 February 2007
87
WM8580
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 47 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 48 ADC Digital Filter Ripple
ADC HIGH PASS FILTER
The WM8580 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
Response (dB)
0
-5
-10
-15
0
0.0005
0.001
Frequency (Fs)
0.0015
0.002
Figure 49 ADC Highpass Filter Response
W
PD Rev 4.0 February 2007
88
Production Data
WM8580
RECOMMENDED EXTERNAL COMPONENTS
Figure 50 Recommended External Components
w
PD Rev 4.0 February 2007
89
WM8580
Production Data
Figure 51 Recommended External Components
W
PD Rev 4.0 February 2007
90
WM8580
Production Data
PACKAGE DIMENSIONS
FT: 48 PIN TQFP (7 x 7 x 1.0 mm)
b
DM004.C
e
36
25
37
24
E1
48
E
13
1
12
Θ
D1
c
D
L
A A2
A1
-Cccc C
Symbols
A
A1
A2
b
c
D
D1
E
E1
e
L
Θ
ccc
REF:
SEATING PLANE
Dimensions
(mm)
MIN
NOM
MAX
--------1.20
0.05
----0.15
0.95
1.00
1.05
0.17
0.22
0.27
0.09
----0.20
9.00 BSC
7.00 BSC
9.00 BSC
7.00 BSC
0.50 BSC
0.45
0.60
0.75
o
o
o
3.5
7
0
Tolerances of Form and Position
0.08
JEDEC.95, MS-026
NOTES:
A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS.
B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.25MM.
D. MEETS JEDEC.95 MS-026, VARIATION = ABC. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PD Rev 4.0 February 2007
91
WM8580
Production 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
Westfield House
26 Westfield Road
Edinburgh
EH11 2QB
United Kingdom
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: sales@wolfsonmicro.com
W
PD Rev 4.0 February 2007
92