WOLFSON WM8850

w
WM8850
Multi-Channel High Definition Audio CODEC
DESCRIPTION
FEATURES
The WM8850 is a high performance multi-channel audio
CODEC designed for high performance PC audio systems. The
device offers full compatibility with the Intel High Definition Audio
(HDA) specification revision 1.0, allowing seamless integration
with industry-standard HDA controllers.






The WM8850 has three high performance stereo DACs to
enable six channels of high definition audio, ideal for 5.1
channel applications. A high-performance ground-referenced
stereo headphone amplifier utilises advanced charge pump and
DC servo technology to minimise system cost and space without
compromise on audio quality. Line outputs provide a highquality differential connection to speaker amplifiers, enabling
common mode noise rejection when these traces are routed
across a PCB.
The WM8850 also has two high performance stereo ADCs to
provide Hi-Fi quality analogue line-in and microphone input
digitisation. A low noise microphone bias with programmable
output voltage is provided. Additionally, the CODEC contains a
digital microphone interface capable of supporting up to four
independent digital microphones. One differential stereo input is
provided for line level signals, while one pseudo-differential
stereo input with integrated microphone preamplifier is provided.
The WM8850 also contains a S/PDIF transceiver which is fully
compatible with IEC-60958-3. The S/PDIF receive and transmit
paths each contain a sample rate converter (SRC) to enable
asynchronous sample rate conversion between the S/PDIF
receive/transmit and HDA interface clock domains.
An
additional S/PDIF transmitter is provided to allow direct output of
a stereo stream from the HDA interface.
The WM8850 is supplied in a small 48-pin QFN package.
WOLFSON MICROELECTRONICS plc













Multi-channel High Definition Audio CODEC
Fully compatible with Intel High Definition Audio Revision 1.0
6-Channel DAC, 4-channel ADC
DAC sampling frequency 8kHz - 192kHz
ADC sampling frequency 8kHz - 96kHz
DAC Performance:
- SNR 108 dB (‘A’ weighted)
- SNR 105dB (non weighted)
- THD -96dB (at 0dBFS)
ADC Performance:
- SNR 105 dB (‘A’ weighted)
- SNR 102dB (non weighted)
- THD -95dB (at -1dBFS)
Ground-referenced stereo headphone driver
Differential line inputs/outputs
Stereo microphone interface with integrated pre-amp
Multi-channel digital microphone interface
IEC-60958-3 compatible S/PDIF transceiver
Additional IEC-60958-3 compatible S/PDIF transmitter
Jack detect and load impedance sensing
Beep generator
GPIO functionality
IEEE-754 Single precision 32-bit floating point support
Power supplies
- Digital core:
1.62V – 1.98V
- Digital buffer: 2.97V – 3.63V
- Analogue:
4.5V – 5.25V
- Charge pump: 4.5V – 5.25V
48-pin 7mm x 7mm QFN package
APPLICATIONS



High performance PC audio
All-in-one desktop PC
Notebook PC
Pre Production, April 2011, Rev 3.2
Copyright 2011 Wolfson Microelectronics plc
WM8850
Pre-Production
BLOCK DIAGRAM
w
PP, April 2011, Rev 3.2
2
WM8850
Pre-Production
TABLE OF CONTENTS
DESCRIPTION ....................................................................................................... 1 FEATURES ............................................................................................................ 1 APPLICATIONS..................................................................................................... 1 BLOCK DIAGRAM ................................................................................................ 2 TABLE OF CONTENTS ......................................................................................... 3 PIN CONFIGURATION .......................................................................................... 9 ORDERING INFORMATION .................................................................................. 9 PIN DESCRIPTION .............................................................................................. 10 ABSOLUTE MAXIMUM RATINGS ...................................................................... 11 RECOMMENDED OPERATING CONDITIONS ................................................... 11 THERMAL PERFORMANCE ............................................................................... 12 ELECTRICAL CHARACTERISTICS ................................................................... 13 TERMINOLOGY ............................................................................................................. 25 SIGNAL TIMING REQUIREMENTS .................................................................... 26 INTERNAL POWER ON RESET CIRCUIT .......................................................... 27 INTRODUCTION .................................................................................................. 28 WOLFSON INTERPRETATION OF HDA SPECIFICATION .......................................... 28 DOLBY AC3 (IEC-61937) ................................................................................................................................................ 28 FLOAT32 ......................................................................................................................................................................... 28 AUDIO WIDGETS CAPABILITIES PARAMETER: DIGITAL ........................................................................................... 29 LATENCY ........................................................................................................................................................................ 29 POWER STATES ............................................................................................................................................................ 29 STREAM START/STOP .................................................................................................................................................. 30 SDI STREAM ORDER ..................................................................................................................................................... 30 BANDWIDTH CONFLICTS .............................................................................................................................................. 31 SOFTWARE FORMATTED (RAW) S/PDIF ..................................................................................................................... 31 SOURCE SYNCHRONOUS INPUT - S/PDIF RX ............................................................................................................ 31 S/PDIF TX VALIDITY FLAG ............................................................................................................................................ 32 CHANNEL NUMBERING ................................................................................................................................................. 32 ILLEGAL REGISTER VALUES ........................................................................................................................................ 33 RESPONSE FIELD .......................................................................................................................................................... 33 CHIP HIERARCHY ......................................................................................................... 34 WIDGET DIAGRAM ......................................................................................................................................................... 34 NODE LIST ...................................................................................................................................................................... 35 NODE/VERB SUMMARY ................................................................................................................................................ 36 DEVICE DESCRIPTION ...................................................................................... 38 STEREO ANALOGUE LINE RECORD .......................................................................... 39 PORT-E (NID = 0CH) ...................................................................................................................................................... 39 PGA1 (NID = 0AH)........................................................................................................................................................... 40 ADC1 (NID = 02H) ........................................................................................................................................................... 41 STEREO ANALOGUE MICROPHONE RECORD.......................................................... 43 PORT-B (NID = 0DH) ...................................................................................................................................................... 43 PGA2 (NID = 0BH)........................................................................................................................................................... 45 MIC1 MUX (NID = 09H) ................................................................................................................................................... 46 MIC1 (NID = 03H) ............................................................................................................................................................ 46 DIGITAL MICROPHONE RECORD ............................................................................... 48 PORT-D (NID = 0EH) ...................................................................................................................................................... 49 PORT-H (NID = 16H) ....................................................................................................................................................... 49 MIC2 (NID = 15H) ............................................................................................................................................................ 50 DIGITAL MICROPHONE INTERFACE CLOCK RATES ................................................................................................. 50 w
PP, April 2011, Rev 3.2
3
WM8850
Pre-Production
STEREO HEADPHONE PLAYBACK ............................................................................. 51 DAC1 (NID = 06H) ........................................................................................................................................................... 51 PORT-A (NID = 11H) ....................................................................................................................................................... 53 STEREO LINE PLAYBACK ............................................................................................ 54 DAC2 (NID = 07H) AND DAC3 (NID = 08H).................................................................................................................... 54 PORT-G (NID = 12H) AND PORT-F (NID = 13H) ........................................................................................................... 56 S/PDIF RECEIVE ........................................................................................................... 57 S/PDIF IN (NID = 10H) .................................................................................................................................................... 57 S/PDIF RX (NID = 05H) ................................................................................................................................................... 60 S/PDIF RECEIVE USING SRC1 ..................................................................................................................................... 63 S/PDIF RECEIVE WITHOUT USING SRC1 .................................................................................................................... 63 S/PDIF RECEIVE TO DACS ........................................................................................................................................... 64 S/PDIF TRANSMIT ........................................................................................................ 65 S/PDIF TX 1 (NID = 04H) ................................................................................................................................................ 66 S/PDIF OUT (NID = 0FH) ................................................................................................................................................ 68 S/PDIF TRANSMIT USING SRC2 ................................................................................................................................... 69 S/PDIF TRANSMIT WITHOUT USING SRC2 ................................................................................................................. 70 S/PDIF TX 2 (NID = 17H) ................................................................................................................................................ 71 ANCILLARY FUNCTIONS.............................................................................................. 73 BEEP (NID = 14H) ........................................................................................................................................................... 73 AUDIO FUNCTION GROUP (NID = 01H)........................................................................................................................ 73 UNSOLICITED RESPONSES .............................................................................. 76 GENERATING UNSOLICITED RESPONSES ............................................................... 76 PRIORITY QUEUING ...................................................................................................................................................... 76 IN-QUEUE-UPDATE........................................................................................................................................................ 76 UNSOLICITED RESPONSE TYPES.............................................................................. 78 SF = UNSOLICITED RESPONSE STATUS FLAG ......................................................................................................... 78 UF = UNSOLICITED RESPONSE UPDATE FLAG ......................................................................................................... 78 EF = UNSOLICITED RESPONSE EVENT FLAG ............................................................................................................ 78 UNSOLICITED RESPONSE DEFINITIONS ................................................................... 79 DETAILED VERB DESCRIPTIONS ..................................................................... 85 ROOT NODE (NID = 00H) ............................................................................................. 85 AUDIO FUNCTION GROUP (NID = 01H) ...................................................................... 87 FUNCTION RESET VERB............................................................................................................................................... 87 GET PARAMETER VERB ............................................................................................................................................... 87 POWER STATE VERB .................................................................................................................................................... 89 UNSOLICITED RESPONSE VERB ................................................................................................................................. 89 GPIO DATA VERB .......................................................................................................................................................... 90 GPIO ENABLE MASK VERB ........................................................................................................................................... 90 GPIO DIRECTION VERB ................................................................................................................................................ 90 GPIO WAKE ENABLE MASK VERB ............................................................................................................................... 90 GPIO UNSOLICITED ENABLE MASK VERB ................................................................................................................. 91 GPIO STICKY MASK VERB ............................................................................................................................................ 91 IMPLEMENTATION ID / SUBSYSTEM ID VERB ............................................................................................................ 91 VMID CONTROL VERB (VENDOR SPECIFIC) .............................................................................................................. 92 GPIO AUTOMATIC CONTROL VERB (VENDOR-SPECIFIC) ........................................................................................ 92 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ........................................................ 92 ADC1 AUDIO INPUT CONVERTER WIDGET (NID = 02H)........................................... 93 STREAM FORMAT VERB ............................................................................................................................................... 93 GET PARAMETER VERB ............................................................................................................................................... 94 GET CONNECTION LIST ENTRY VERB ........................................................................................................................ 95 PROCESSING STATE VERB ......................................................................................................................................... 96 POWER STATE VERB .................................................................................................................................................... 96 CONVERTER STREAM, CHANNEL VERB .................................................................................................................... 96 UNSOLICITED RESPONSE VERB ................................................................................................................................. 97 w
PP, April 2011, Rev 3.2
4
Pre-Production
WM8850
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ........................................................ 97 CHANNEL COPY VERB (VENDOR-SPECIFIC) ............................................................................................................. 97 MIC1 AUDIO INPUT CONVERTER WIDGET (NID = 03H)............................................ 99 STREAM FORMAT VERB ............................................................................................................................................... 99 GET PARAMETER VERB ............................................................................................................................................. 100 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 101 PROCESSING STATE VERB ....................................................................................................................................... 102 POWER STATE VERB .................................................................................................................................................. 102 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 102 UNSOLICITED RESPONSE VERB ............................................................................................................................... 103 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 103 CHANNEL COPY VERB (VENDOR-SPECIFIC) ........................................................................................................... 103 S/PDIF TX 1 AUDIO OUTPUT CONVERTER WIDGET (NID = 04H) .......................... 105 STREAM FORMAT VERB ............................................................................................................................................. 105 GET PARAMETER VERB ............................................................................................................................................. 106 PROCESSING STATE VERB ....................................................................................................................................... 107 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 108 UNSOLICITED RESPONSE VERB ............................................................................................................................... 108 S/PDIF CONVERTER CONTROL VERB ...................................................................................................................... 109 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 110 S/PDIF VERB (VENDOR-SPECIFIC) ............................................................................................................................ 110 TX CHANNEL STATUS CONTROL VERB (VENDOR-SPECIFIC) ............................................................................... 111 CHANNEL STATUS DATA PACKING CONFIGURATION VERB (VENDOR-SPECIFIC) ............................................ 111 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 112 S/PDIF RX AUDIO INPUT CONVERTER WIDGET (NID = 05H) ................................. 113 STREAM FORMAT VERB ............................................................................................................................................. 113 GET PARAMETER VERB ............................................................................................................................................. 114 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 115 PROCESSING STATE VERB ....................................................................................................................................... 115 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 116 UNSOLICITED RESPONSE VERB ............................................................................................................................... 116 DIGITAL CONVERTER CONTROL VERB .................................................................................................................... 117 S/PDIF VERB (VENDOR-SPECIFIC) ............................................................................................................................ 117 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 118 GET CHANNEL STATUS VERB (VENDOR-SPECIFIC) ............................................................................................... 118 GET NON-AUDIO FLAG VERB (VENDOR-SPECIFIC) ................................................................................................ 118 OVERWRITE CONTROL VERB (VENDOR-SPECIFIC) ............................................................................................... 119 DAC1 AUDIO OUTPUT CONVERTER WIDGET (NID = 06H)..................................... 121 STREAM FORMAT VERB ............................................................................................................................................. 121 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 122 GET PARAMETER VERB ............................................................................................................................................. 123 POWER STATE VERB .................................................................................................................................................. 124 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 124 UNSOLICITED RESPONSE VERB ............................................................................................................................... 125 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 125 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 125 DAC2 AUDIO OUTPUT CONVERTER WIDGET (NID = 07H)..................................... 127 STREAM FORMAT VERB ............................................................................................................................................. 127 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 128 GET PARAMETER VERB ............................................................................................................................................. 129 POWER STATE VERB .................................................................................................................................................. 130 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 130 UNSOLICITED RESPONSE VERB ............................................................................................................................... 131 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 131 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 131 w
PP, April 2011, Rev 3.2
5
WM8850
Pre-Production
DAC3 AUDIO OUTPUT CONVERTER WIDGET (NID = 08H)..................................... 133 STREAM FORMAT VERB ............................................................................................................................................. 133 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 134 GET PARAMETER VERB ............................................................................................................................................. 135 POWER STATE VERB .................................................................................................................................................. 136 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 136 UNSOLICITED RESPONSE VERB ............................................................................................................................... 137 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 137 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 137 MIC1 MUX SELECTOR WIDGET (NID = 09H) ............................................................ 139 GET PARAMETER VERB ............................................................................................................................................. 139 CONNECTION SELECT CONTROL VERB .................................................................................................................. 139 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 140 PGA1 SELECTOR WIDGET (NID = 0AH) ................................................................... 141 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 141 GET PARAMETER VERB ............................................................................................................................................. 142 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 142 PGA CONTROL VERB (VENDOR-SPECIFIC) ............................................................................................................. 143 PGA2 SELECTOR WIDGET (NID = 0BH) ................................................................... 145 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 145 GET PARAMETER VERB ............................................................................................................................................. 146 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 146 PGA CONTROL VERB (VENDOR-SPECIFIC............................................................................................................... 147 PORT-E PIN COMPLEX WIDGET (NID = 0CH) .......................................................... 149 GET PARAMETER VERB ............................................................................................................................................. 149 PIN WIDGET CONTROL VERB .................................................................................................................................... 150 UNSOLICITED RESPONSE VERB ............................................................................................................................... 150 PIN SENSE VERB ......................................................................................................................................................... 150 EAPD/BTL VERB ........................................................................................................................................................... 150 CONFIGURATION DEFAULT VERB............................................................................................................................. 151 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 153 AUTO-MUTE CONTROL VERB (VENDOR-SPECIFIC) ................................................................................................ 153 PORT-B PIN COMPLEX WIDGET (NID = 0DH) .......................................................... 155 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 155 GET PARAMETER VERB ............................................................................................................................................. 156 PIN WIDGET CONTROL VERB .................................................................................................................................... 157 UNSOLICITED RESPONSE VERB ............................................................................................................................... 157 PIN SENSE VERB ......................................................................................................................................................... 157 EAPD/BTL VERB ........................................................................................................................................................... 158 CONFIGURATION DEFAULT VERB............................................................................................................................. 158 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 160 DIFFERENTIAL VERB (VENDOR-SPECIFIC) .............................................................................................................. 160 AUTO-MUTE CONTROL VERB (VENDOR-SPECIFIC) ................................................................................................ 160 PORT-D PIN COMPLEX WIDGET (NID = 0EH) .......................................................... 161 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 161 GET PARAMETER VERB ............................................................................................................................................. 162 PIN WIDGET CONTROL VERB .................................................................................................................................... 163 CONFIGURATION DEFAULT VERB............................................................................................................................. 163 S/PDIF OUT PIN COMPLEX WIDGET (NID = 0FH) .................................................... 167 GET PARAMETER VERB ............................................................................................................................................. 167 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 168 PIN WIDGET CONTROL VERB .................................................................................................................................... 168 UNSOLICITED RESPONSE VERB ............................................................................................................................... 168 PIN SENSE VERB ......................................................................................................................................................... 169 CONFIGURATION DEFAULT VERB............................................................................................................................. 169 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 171 w
PP, April 2011, Rev 3.2
6
Pre-Production
WM8850
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 171 S/PDIF IN PIN COMPLEX WIDGET (NID = 10H) ........................................................ 173 GET PARAMETER VERB ............................................................................................................................................. 173 PIN WIDGET CONTROL VERB .................................................................................................................................... 174 UNSOLICITED RESPONSE VERB ............................................................................................................................... 174 PIN SENSE VERB ......................................................................................................................................................... 174 CONFIGURATION DEFAULT VERB............................................................................................................................. 175 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 177 GET S/PDIF IN STATUS VERB (VENDOR-SPECIFIC) ................................................................................................ 177 S/PDIF IN CONTROL VERB (VENDOR-SPECIFIC) ..................................................................................................... 178 PORT-A PIN COMPLEX WIDGET (NID = 11H) ........................................................... 179 GET PARAMETER VERB ............................................................................................................................................. 179 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 180 PIN WIDGET CONTROL VERB .................................................................................................................................... 180 UNSOLICITED RESPONSE VERB ............................................................................................................................... 180 PIN SENSE VERB ......................................................................................................................................................... 181 CONFIGURATION DEFAULT VERB............................................................................................................................. 181 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 183 PORT-G PIN COMPLEX WIDGET (NID = 12H) .......................................................... 185 GET PARAMETER VERB ............................................................................................................................................. 185 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 186 PIN WIDGET CONTROL VERB .................................................................................................................................... 186 UNSOLICITED RESPONSE VERB ............................................................................................................................... 186 PIN SENSE VERB ......................................................................................................................................................... 186 CONFIGURATION DEFAULT VERB............................................................................................................................. 187 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 189 PORT-F PIN COMPLEX WIDGET (NID = 13H) ........................................................... 191 GET PARAMETER VERB ............................................................................................................................................. 191 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 192 PIN WIDGET CONTROL VERB .................................................................................................................................... 192 UNSOLICITED RESPONSE VERB ............................................................................................................................... 192 PIN SENSE VERB ......................................................................................................................................................... 192 CONFIGURATION DEFAULT VERB............................................................................................................................. 193 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 195 BEEP GENERATOR WIDGET (NID = 14H)................................................................. 197 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 197 GET PARAMETER VERB ............................................................................................................................................. 198 BEEP GENERATION VERB .......................................................................................................................................... 198 BEEP MASK SELECTION VERB (VENDOR SPECIFIC) ............................................................................................. 199 MIC2 AUDIO INPUT CONVERTER WIDGET (NID = 15H).......................................... 201 STREAM FORMAT VERB ............................................................................................................................................. 201 GET PARAMETER VERB ............................................................................................................................................. 202 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 203 PROCESSING STATE VERB ....................................................................................................................................... 203 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 204 UNSOLICITED RESPONSE VERB ............................................................................................................................... 204 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 204 CHANNEL COPY VERB (VENDOR-SPECIFIC) ........................................................................................................... 205 PORT-H PIN COMPLEX WIDGET (NID = 16H)........................................................... 207 AMPLIFIER GAIN/MUTE VERB .................................................................................................................................... 207 GET PARAMETER VERB ............................................................................................................................................. 208 GET CONNECTION LIST ENTRY VERB ...................................................................................................................... 209 PIN WIDGET CONTROL VERB .................................................................................................................................... 209 CONFIGURATION DEFAULT VERB............................................................................................................................. 210 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 212 w
PP, April 2011, Rev 3.2
7
WM8850
Pre-Production
S/PDIF TX 2 AUDIO OUTPUT CONVERTER WIDGET (NID = 17H) .......................... 213 STREAM FORMAT VERB ............................................................................................................................................. 213 GET PARAMETER VERB ............................................................................................................................................. 214 CONVERTER STREAM, CHANNEL VERB .................................................................................................................. 215 UNSOLICITED RESPONSE VERB ............................................................................................................................... 215 S/PDIF CONVERTER CONTROL VERB ...................................................................................................................... 216 INTERNAL PATH VERB (VENDOR-SPECIFIC) ........................................................................................................... 217 TX CHANNEL STATUS CONTROL VERB (VENDOR-SPECIFIC) ............................................................................... 217 CHANNEL STATUS DATA PACKING CONFIGURATION VERB (VENDOR-SPECIFIC) ............................................ 218 UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC) ...................................................... 218 APPLICATIONS INFORMATION ...................................................................... 219 RECOMMENDED EXTERNAL COMPONENTS .......................................................... 219 REQUIRED JACK DETECT COMPONENTS .............................................................. 220 PACKAGE DIMENSIONS .................................................................................. 221 IMPORTANT NOTICE ....................................................................................... 222 ADDRESS: ................................................................................................................... 222 REVISION HISTORY ......................................................................................... 223 w
PP, April 2011, Rev 3.2
8
WM8850
Pre-Production
PIN CONFIGURATION
ORDERING INFORMATION
ORDER CODE
TEMPERATURE RANGE
PACKAGE
MOISTURE
SENSITIVITY LEVEL
PEAK SOLDERING
TEMPERATURE
WM8850GEFL/V
-40C to +85C
48-pin QFN
(Pb-free)
MSL3
260C
WM8850GEFL/RV
-40C to +85C
48-pin QFN
(Pb-free, tape and reel)
MSL3
260C
Note:
Reel quantity = 2200
w
PP, April 2011, Rev 3.2
9
WM8850
Pre-Production
PIN DESCRIPTION
PIN NO
NAME
TYPE
1
VIN1LP
Analogue input
Left channel 1 positive input
DESCRIPTION
2
VIN1LN
Analogue input
Left channel 1 negative input
3
VIN1RP
Analogue input
Right channel 1 positive input
4
VIN1RN
Analogue input
Right channel 1 negative input
5
VIN2LP
Analogue input
Left channel 2 positive input
6
VIN2LN
Analogue input
Left channel 2 negative input
7
VIN2RP
Analogue input
Right channel 2 positive input
8
VIN2RN
Analogue input
Right channel 2 negative input
9
MICBIAS
Analogue output
Microphone bias output
10
GPIO1
Digital input / output
General purpose digital input/output 1
11
GPIO2
Digital input / output
General purpose digital input/output 2
12
SPDIFIN
Digital input
S/PDIF Input
13
/RESET
Digital input
Global reset (active low)
14
SYNC
Digital input
HDA frame sync, 48kHz
15
SDO
Digital input
Serial data output from HDA controller
16
BCLK
Digital input
HDA Link bit clock, 24MHz
17
SDI
18
Digital input / output
Serial data input to HDA controller
SPDIFOUT1
Digital output
S/PDIF output 1
19
DBVDD
Supply input
Digital buffer supply input
20
DGND
Supply input
Digital ground (return for DBVDD and DCVDD)
21
DCVDD
Supply input
Digital core supply input
22
DMICCLK
Digital output
Digital microphone clock output
23
DMICDAT1
Digital input
Digital microphone data input 1
24
DMICDAT2/
SPDIFOUT2
Digital input / output
Digital microphone data input 2 /
S/PDIF output 2
25
VOUT3RN
Analogue output
Right channel 3 negative output
26
VOUT3RP
Analogue output
Right channel 3 positive output
27
VOUT3LN
Analogue output
Left channel 3 negative output
28
VOUT3LP
Analogue output
Left channel 3 positive output
29
VOUT2RN
Analogue output
Right channel 2 negative output
30
VOUT2RP
Analogue output
Right channel 2 positive output
31
VOUT2LN
Analogue output
Left channel 2 negative output
32
VOUT2LP
Analogue output
Left channel 2 positive output
33
VOUT1R
Analogue output
Right channel 1 output
34
VOUT1L
Analogue output
Left channel 1 output
35
HPVSS
Supply output
Charge pump negative supply decoupling point
36
HPVDD
Supply output
Charge pump positive supply decoupling point
37
CFB2
38
HPGND
39
CFB1
Analogue output
Charge pump flyback capacitor pin 2
Supply input
Charge pump ground (return path for HPVDD and HPVSS)
Analogue output
Charge pump flyback capacitor pin 1
40
CPCAP
Supply output
Internally generated regulated charge pump supply decoupling point
41
CPVDD
Supply input
Charge pump supply input
42
AGND
Supply input
Analogue ground (return path for AVDD and CPVDD)
43
AVDD
Supply input
Analogue supply input
44
VREFP
Analogue output
Analogue positive reference decoupling point
45
VMID
Analogue output
Midrail voltage decoupling point
46
VREFN
Analogue output
Analogue negative reference decoupling point
47
JACKDET1
Analogue output
Jack detect sense 1
48
JACKDET2
Analogue output
Jack detect sense 2
w
PP, April 2011, Rev 3.2
10
WM8850
Pre-Production
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
Analogue supply voltage (AVDD)
CONDITION
-0.3V
+7V
Charge pump supply voltage (CPVDD)
-0.3V
+7V
Digital core supply voltage (DCVDD)
-0.3V
+2.5V
Digtial buffer supply voltage (DBVDD)
-0.3V
+7V
Voltage range digital inputs
DGND -0.3V
DBVDD +0.3V
Voltage range analogue inputs
AGND -0.3V
AVDD +0.3V
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
SYMBOL
MIN
TYP
MAX
UNIT
CODEC Power Supplies
Digital core supply range
DCVDD
1.62
1.8
1.98
V
Digital buffer supply range
DBVDD
2.97
3.3
3.63
V
AVDD
4.5
5.0
5.25
V
CPVDD
4.5
5.0
5.25
V
Analogue supply range
Charge pump supply range
Ground
DGND, AGND, HPGND
0
V
Notes:
1.
Analogue and digital grounds must always be within 0.3V of each other.
2.
All digital and analogue supplies are completely independent from each other (i.e. not internally connected).
w
PP, April 2011, Rev 3.2
11
WM8850
Pre-Production
THERMAL PERFORMANCE
Thermal analysis should be performed in the intended application to prevent the WM8850 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 paddle
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 leads & paddle 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
Operating temperature range
PARAMETER
TA
-40
85
°C
Operating junction temperature
TJ
-40
125
°C
Thermal Resistance
ӨJA
w
TYP
29
MAX
UNIT
°C/W
PP, April 2011, Rev 3.2
12
WM8850
Pre-Production
ELECTRICAL CHARACTERISTICS
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue Input 1 (VIN1LP, VIN1LN, VIN1RP, VIN1RN)
VRMS
Maximum Differential
Input Signal Level
VINDIFF(max)
0dB gain
2.25 x
AVDD/5
Maximum Single-ended
Input Signal Level
VINSE(max)
0dB gain
1.6 x
AVDD/5
VRMS
-12dB gain
42
kΩ
0dB gain
27
kΩ
+12dB
gain
9
kΩ
20Hz to
20kHz
55
dB
Minimum PGA Gain
Setting
-12
dB
Maximum PGA Gain
Setting
+12
dB
0.5
dB
Input impedance
Common Mode Rejection
Ratio
PGA Gain Step Size
w
ZIN
CMRR
Guaranteed monotonic
PP, April 2011, Rev 3.2
13
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue Input 2 (VIN2LP, VIN2LN, VIN2RP, VIN2RN)
Maximum Differential
Input Signal Level
VINDIFF(max)
0dB gain
2.25 x
AVDD/5
VRMS
Maximum Single-ended
Input Signal Level
VINSE(max)
0dB gain
1.1 x
AVDD/5
VRMS
Singleended or
Differential
(Inverting)
10
kΩ
Differential
(Noninverting)
120
kΩ
20Hz to
20kHz
65
dB
Input impedance
Common Mode Rejection
Ratio
ZIN
CMRR
0
10
Microphone Preamp Gain
Options
dB
20
30
Minimum PGA Gain
Setting
-12
dB
Maximum PGA Gain
Setting
+12
dB
0.5
dB
PGA Gain Step Size
w
Guaranteed monotonic
PP, April 2011, Rev 3.2
14
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
ADC1 Performance
Unweighted
Signal to Noise Ratio
SNR
A-weighted
100
A-weighted
fs=96kHz
Dynamic Range
DNR
Total Harmonic Distortion
THD
A-weighted
-60dBFS
102
dB
105
dB
105
dB
105
dB
-1dBFS
-95
-90
dB
-1dBFS
fs=96kHz
-95
dB
1kHz
86
dB
20Hz to 20kHz
86
dB
0dBFS
0.1
dB
0.01
°
1kHz, 100mVpp on AVDD
90
dB
20Hz to 20kHz, 100mVpp on AVDD
70
dB
Channel Separation
Channel Level Matching
Channel Phase Deviation
Power Supply Rejection
Ratio
w
PSRR
PP, April 2011, Rev 3.2
15
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
ADC2 Performance
Unweighted
Signal to Noise Ratio
SNR
A-weighted
95
A-weighted
fs=96kHz
Dynamic Range
DNR
Total Harmonic Distortion
THD
A-weighted
-60dBFS
-1dBFS
100
dB
103
dB
103
dB
103
dB
-95
-90
dB
1kHz
87
dB
20Hz to 20kHz
84
dB
0dBFS
0.1
dB
0.01
°
1kHz, 100mVpp on AVDD
90
dB
20Hz to 20kHz, 100mVpp on AVDD
70
dB
Channel Separation
Channel Level Matching
Channel Phase Deviation
Power Supply Rejection
Ratio
PSRR
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Microphone Bias Generator
VRefEn[2:0] = 001
0.5x
AVDD
V
VRefEn[2:0] = 100
0.8x
AVDD
V
Output Voltage
Current Source Capability
Power Supply Rejection
Ratio
w
2.5
mA
1kHz, 100mVpp on AVDD
100
dB
20Hz to 20kHz, 100mVpp on AVDD
88
dB
PSRR
PP, April 2011, Rev 3.2
16
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Digital Microphone Interface
1.024
1.4112
Digital Microphone Clock
Frequencies
2.048
MHz
2.8224
3.072
Signal to Noise Ratio
96
dB
Minimum Digital Gain
Setting
-12
dB
Maximum Digital Gain
Setting
+32
dB
Digital Gain Step Size
0.5
dB
w
SNR
PP, April 2011, Rev 3.2
17
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue Output 1 (VOUT1L, VOUT1R)
RL = 1kΩ
to 47kΩ
Full Scale Output Signal
Level
VOUT
H-Phn
Enable = 0
RL = 16Ω
to 1kΩ
H-Phn
Enable = 1
Maximum Rated Output
Power
POUT(max)
Load Impedance
RL
Load Capacitance
CL
VRMS
0.8 x
AVDD/5
VRMS
RL = 16Ω
16
Measured between VOUT1L/R and AGND with
path fully enabled but no signal playing
DC Offset
2x
AVDD/5
-1
0
40
mW
47k
Ω
1
nF
+1
mV
Analogue Output 2 (VOUT2L, VOUT2LN, VOUT2RP, VOUT2RN)
Differential Full Scale
Output Signal Level
VOUT
RL = 5kΩ
to 47kΩ
2x
AVDD/5
VRMS
Single-ended Full Scale
Output Signal Level
VOUT
RL = 5kΩ
to 47kΩ
1x
AVDD/5
VRMS
Load Impedance
RL
Load Capacitance
CL
5
47
kΩ
1
nF
Analogue Output 3 (VOUT3L, VOUT3LN, VOUT3RP, VOUT3RN)
Differential Full Scale
Output Signal Level
VOUT
RL = 5kΩ
to 47kΩ
2x
AVDD/5
VRMS
Single-ended Full Scale
Output Signal Level
VOUT
RL = 5kΩ
to 47kΩ
1x
AVDD/5
VRMS
Load Impedance
RL
Load Capacitance
CL
w
5
47
kΩ
1
nF
PP, April 2011, Rev 3.2
18
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
DAC1 Path Performance (VOUT1L and VOUT1R into 10kΩ Line Load)
105
dB
108
dB
A-weighted
fs=96kHz
108
dB
Fs >
11.025kHz
80
dB
Fs <=
11.025kHz
75
dB
108
dB
Unweighted
Signal to Noise Ratio
Out of Band Signal to
Noise Ratio (0.6fs to
150kHz)
SNR
OBSNR
Dynamic Range
DNR
Total Harmonic Distortion
THD
A-weighted
100
A-weighted
-60dBFS
0dBFS
-96
-85
dB
0dBFS
fs=96kHz
-96
-85
dB
1kHz
115
dB
20Hz to 20kHz
110
dB
0dBFS
0.1
dB
0.01
°
1kHz, 100mVpp on AVDD
51
dB
20Hz to 20kHz, 100mVpp on AVDD
50
dB
1kHz, 100mVpp on CPVDD
86
dB
20Hz to 20kHz, 100mVpp on CPVDD
75
dB
Channel Separation
Channel Level Matching
Channel Phase Deviation
AVDD Power Supply
Rejection Ratio
CPVDD Power Supply
Rejection Ratio
w
AVDD
PSRR
CPVDD
PSRR
PP, April 2011, Rev 3.2
19
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
--80
-73
dB
DAC1 Path Performance (VOUT1L and VOUT1R into 16Ω Headphone Load)
POUT = 30mW
RL = 16Ω
Total Harmonic Distortion
RL = 300Ω
90
RL = 16Ω
A-weighted
RL = 16Ω
Channel Separation
1kHz
RL = 16Ω
20Hz to 20kHz
w
%
-80
dB
0.01
%
98
dBV
12.26
μVrms
85
dB
72
dB
THD
POUT = 10mW
Idle Channel Noise
0.01
PP, April 2011, Rev 3.2
20
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
DAC2 Path Performance (VOUT2LP, VOUT2LN, VOUT2RP and VOUT2N into 10kΩ Line Load)
DAC3 Path Performance (VOUT3LP, VOUT3LN, VOUT3RP and VOUT3N into 10kΩ Line Load)
103
dB
106
dB
A-weighted
fs=96kHz
106
dB
Fs >
11.025kHz
80
dB
Fs <=
11.025kHz
75
dB
106
dB
0dBFS
-92
dB
0dBFS
fs=96kHz
-92
dB
20Hz to 20kHz
102
dB
0dBFS
0.1
dB
0.01
°
75
dB
Unweighted
Signal to Noise Ratio
Out of Band Signal to
Noise Ratio (0.6fs to
150kHz)
SNR
OBSNR
Dynamic Range
DNR
Total Harmonic Distortion
THD
Channel Separation
Channel Level Matching
A-weighted
100
A-weighted
-60dBFS
Channel Phase Deviation
1kHz, 100mVpp on AVDD
AVDD Power Supply
Rejection Ratio
AVDD
PSRR
20Hz to 20kHz, 100mVpp on AVDD
w
55
dB
PP, April 2011, Rev 3.2
21
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
IEC-60958 Compatible Input Mode
200
500
Normal CMOS Compatible Input Mode
0.7 *
DBVDD
Low-Amplitude CMOS Compatible Input Mode
0.4 *
DBVDD
MAX
UNIT
S/PDIF Receiver Specification
Input Signal Level
Input Signal Logic High
V
VIH(S/PDIF)
Normal CMOS Compatible Input Mode
Input Signal Logic Low
VIL(S/PDIF)
Input Pin Bias Voltage
Input Hysteresis
Input Sample Rate Lock
Tolerance
V
0.3 *
DBVDD
V
x 0.2
0.5 *
DCVDD
IEC-60958 Compatible Input Mode
V
V
IEC-60958 Compatible Input Mode
7.5
kΩ
Normal CMOS Compatible Input Mode
100
kΩ
ZIN
IEC-60958 Compatible Input Mode
50
mV
Normal CMOS Compatible Input Mode
300
mV
Low-Amplitude CMOS Compatible Input Mode
150
mV
10000
ppm
+1
%
Includes maximum reference clock error of
±0.025% as allowed by HDA Specification
-1
Lock Delay
S/PDIF Stream Jitter
Tolerance
1.8
DBVDD
Low-Amplitude CMOS Compatible Input Mode
Input Impedance
mVp-p
192
Frame
Blocks
3
UI = 1/fs(in)
10
UI
32
Input Sample Rate
Support
44.1
48
kHz
88.2
96
w
PP, April 2011, Rev 3.2
22
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
S/PDIF Transmitter Specification
Output Signal Logic High
VOH(S/PDIF)
Output Signal Logic Low
VOL(S/PDIF)
0.9 *
DBVDD
V
0.1 *
DBVDD
V
DBVDD = 1.8V
7
mA
DBVDD = 3.63V
15
mA
Output Current
Source/Sink Capability
Output Sample Rate
Tolerance
1000
ppm
+0.1
%
Includes maximum reference clock error of
±0.025% as allowed by HDA Specification
-0.1
32
44.1
Output Sample Rate
Support
48
88.2
kHz
96
176.4
192
w
PP, April 2011, Rev 3.2
23
WM8850
Pre-Production
Test Conditions
o
AVDD = CPVDD = 5V, DBVDD = 3.3V, DCVDD = 1.8V, TA = +25 C, 1kHz signal, fs = 48kHz, 24-bit data unless otherwise stated.
PARAMETER
SYMBOL
TEST CONDITIONS
MIN
TYP
MAX
UNIT
Analogue References
Positive Voltage
Reference
VREFP
0.9 *
AVDD
V
Negative Voltage
Reference
VREFN
0.1 *
AVDD
V
Midrail Voltage Reference
VMID
0.5 *
AVDD
V
Charge Pump Cap Level
CPCAP
3.15
V
12.5
kΩ
75
kΩ
37.5
kΩ
375
kΩ
AVDD to VMID or VMID to AGND
VMID_SEL[1:0]=00
AVDD to VMID or VMID to AGND
Midrail Voltage
Resistance
RVMID
VMID_SEL[1:0]=01
AVDD to VMID or VMID to AGND
VMID_SEL[1:0]=10
AVDD to VMID or VMID to AGND
VMID_SEL[1:0]=11
Digital Input / Output
Input High Level
VIH
Input Low Level
VIL
Output High Level
VOH
Output Low Level
VOL
0.65 *
DBVDD
0.35 *
DBVDD
0.9 *
DBVDD
Input Capacitance
Input Leakage
w
V
-0.1
V
V
0.1 *
DBVDD
V
7.5
pF
+0.1
µA
PP, April 2011, Rev 3.2
24
Pre-Production
WM8850
TERMINOLOGY
1.
Signal-to-Noise Ratio (dB) – SNR is a measure of the difference in level between the full scale output signal and the
output with no input signal applied.
2.
Total Harmonic Distortion (dB) – THD is the level of the rms value of the sum of harmonic distortion products relative
to the amplitude of the applied input signal.
3.
Total Harmonic Distortion plus Noise (dB) – THD+N is the level of the rms value of the sum of harmonic distortion
products plus noise in the specified bandwidth relative to the amplitude of the applied input signal.
4.
Crosstalk (L/R) (dB) – left-to-right and right-to-left channel crosstalk is the measured signal level in the idle channel at
the test signal frequency relative to the signal level at the output of the active channel. The active channel is
configured and supplied with an appropriate input signal to drive a full scale output, with signal measured at the output
of the associated idle channel. For example, measured signal level on the output of the idle right channel with a full
scale signal level at the output of the active left channel.
5.
Multi-Path Channel Separation (dB) – is the measured signal level in the idle path at the test signal frequency relative
to the signal level at the output of the active path. The active path is configured and supplied with an appropriate input
signal to drive a full scale output, with signal measured at the output of the specified idle path.
6.
All performance measurements carried out with 20kHz low pass filter, and where noted an A-weighted filter. Failure to
use such a filter will result in higher THD and lower SNR 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.
7.
Mute Attenuation – This is a measure of the difference in level between the full scale output signal and the output with
mute applied.
8.
Channel Level Matching (dB) – the difference in output level between channels in a stereo pair.
9.
Channel Phase Deviation (Degrees) – the difference in phase between channels in a stereo pair.
10. Idle Channel Noise (dBV) – absolute rms measurement of the noise floor over the 20Hz to 20kHz band.
w
PP, April 2011, Rev 3.2
25
WM8850
Pre-Production
SIGNAL TIMING REQUIREMENTS
Signal timing requirements are as defined in the High Definition Audio Specification Revision 1.0,
section 6.2.3.1. This section of the specification is repeated here for completeness.
Test Conditions
DBVDD=3.3V, AVDD=CPVDD=5V, DCVDD=1.8V, TA=+25°C
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
Period of BCLK including jitter
T_cyc
41.163
41.67
42.171
ns
High phase of BCLK
T_high
17.5
ns
Low phase of BCLK
T_low
17.5
ns
Time after rising edge of BCLK that SDI becomes valid
T_tco
3
Setup for SDO at both rising and falling edge of BCLK
T_su
5
ns
Hold for SDO at both rising and falling edge of BCLK
T_h
5
ns
BCLK jitter
150
500
ps
11
ns
Table 1 High Definition Audio Link I/O Signal Timing
Notes:
1.
Measurement points are as defined in the High Definition Audio Specification Revision 1.0 at either 0.35*DBVDD, 0.5*DBVDD
or 0.65*DBVDD as appropriate
2.
Period specification for BCLK is the long term average frequency measured over 1ms. BCLK has a 100ppm tolerance in the
High Definition Audio Architecture
3.
42/58% is the worst case BCLK duty cycle at the WM8850
4.
The WM8850 meets the timing requirements with the slew rate of the inputs in the range of 1V/ns to 3V/ns
w
PP, April 2011, Rev 3.2
26
WM8850
Pre-Production
INTERNAL POWER ON RESET CIRCUIT
Figure 2 Internal Power on Reset Circuit Schematic
The WM8850 includes an internal Power-On-Reset Circuit, as shown in Figure 2, which is used to
reset the digital logic into a default state after power up. The POR circuit is both powered from and
monitors DCVDD. It asserts the internal RESET
¯¯¯¯¯¯ low if DCVDD is below a minimum threshold.
Figure 3 Typical Power up Sequence
Figure 3 shows a typical power-up sequence. The RESET
¯¯¯¯¯¯ signal is undefined until DCVDD has
exceeded the minimum threshold, Vpor_active. Once this threshold has been exceeded, RESET
¯¯¯¯¯¯ is
asserted low and the chip is held in reset. In this condition, all stimulus to the WM8850 is ignored.
Once DCVDD has reached Vpor_on, RESET
¯¯¯¯¯¯ is released high, all registers are in their default state and
access to the WM8850 via the HDA Interface may take place.
On power down, RESET
¯¯¯¯¯¯ is asserted low whenever DCVDD drops below the minimum threshold
Vpor_off.
Typical Power-On Reset parameters for the WM8850 are defined in Table 2.
SYMBOL
MIN
TYP
MAX
UNIT
Vpor_active
0.1
V
Vpor_on
1.23
V
Vpor_off
1.16
V
Table 2 Typical Power-On Reset parameters
w
PP, April 2011, Rev 3.2
27
WM8850
Pre-Production
INTRODUCTION
The WM8850 is a high performance multi-channel audio CODEC designed for high performance PC
audio systems. The device offers full compatibility with the Intel High Definition Audio (HDA)
specification revision 1.0, allowing seamless integration with industry-standard HDA controllers.
The WM8850 has three high performance stereo DACs to enable six channels of high definition
audio, ideal for 5.1 channel applications. A high-performance ground-referenced stereo headphone
amplifier utilises advanced charge pump and DC servo technology to minimise system cost and
space without compromise on audio quality. Two stereo pairs of line outputs are also provided.
These line outputs may be used at the output of the PC to enable connection to a 5.1 speaker
system, or may be used connected to external speaker drivers in a notebook or netbook application.
The WM8850 also has two high performance stereo ADCs to provide Hi-Fi quality analogue line-in
and microphone input digitisation. A low noise microphone bias with programmable output voltage is
provided, ideally suited as a bias current source for ECM microphones. Additionally, the CODEC
contains a digital microphone interface capable of supporting up to four independent digital
microphones, allowing high quality microphone array implementations to be realised. One differential
stereo input is provided for line level signals, while one pseudo-differential stereo input with integrated
microphone preamplifier is provided.
The WM8850 also contains a S/PDIF transceiver which is fully compatible with IEC-60958-3. The
S/PDIF receive and transmit paths each contain a sample rate converter (SRC) to enable
asynchronous sample rate conversion between the S/PDIF receive/transmit and HDA interface clock
domains. An additional S/PDIF transmitter is provided to allow direct output of a stereo stream from
the HDA interface.
The WM8850 includes an integrated beep generator allowing system beeps to be played back
through the output paths.
This datasheet assumes familiarity with the High Definition Audio Specification Revision 1.0, available
from http://www.intel.com/standards/hdaudio/. For those verbs implemented in the WM8850 which
are as defined in the High Definition Audio Specification Revision 1.0 there is no detailed text
describing their use in this datasheet. However, detailed text describing the function of of vendorspecific verbs is provided. Additionally, a full list of each node and each verb implemented in the
WM8850 is provided at the rear of the document.
WOLFSON INTERPRETATION OF HDA SPECIFICATION
DOLBY AC3 (IEC-61937)
The AFG node and Converter Widget nodes have a parameter called AC3 within the Supported
Stream Formats Parameter. The Intel High Definition Audio specification states that AC3 should be
set to 1 if the node supports Dolby AC3 (IEC-61937) encoded data.
There is some ambiguity as to what is meant by “supports Dolby AC3 (IEC-61937)”. The WM8850
does not support processing of Dolby AC3 (IEC-61937) encoded data but it does support the passing
of AC3 data through the S/PDIF Converter Widgets.
Wolfson interpret the Intel specification to mean that the AC3 parameter should be set if a node
supports the encoding/decoding of AC3 data, and so we set the WM8850 AC3 parameters to 0.
When the S/PDIF Converters are passing AC3 (IEC-61937) data, the Stream Format Verb for the
widget node should have Bits = 1 (for 16-bit formatting) and Type = 1 to indicate that non-PCM data is
being passed. Note that setting Type is for controller purposes only, and the WM8850 performs the
same operation regardless of what Type is set to.
The user should ensure that Sample Rate Converters (SRCs) are bypassed when S/PDIF contains
AC3 data.
FLOAT32
The WM8850 performs a Fixed-point/Floating-point conversion. Fixed point format is <1,23>, while
floating point format is IEEE-754, single precision 32-bit, full scale between -1.0 and 1.0 with silence
at 0.0.
w
PP, April 2011, Rev 3.2
28
WM8850
Pre-Production
Floating point conversion is implemented in all Converter widgets. The conversion is enabled when
the Stream Format Verb for the widget node has Bits set to 4 (for 32-bit formatting).
AUDIO WIDGETS CAPABILITIES PARAMETER: DIGITAL
The MIC1 audio path can begin at either Port-B (Analogue Microphone) or Port-D (Digital
Microphone). This leads to some confusion when setting the Widget Capability Parameter. Bit [9] of
this parameter is called Digital and is used to indicate if the widget acts on an analogue stream or on
a digital stream.
In the cases of the MIC1 Converter (NID = 03h) and the MIC1 Mux (NID = 09h), these can act on both
analogue or digital streams, depending on which microphone interface is being used. For these two
nodes, Digital = 0 to indicate that the nodes act on analogue data, but the user should be aware that
these nodes can also act on digital data when the digital microphone is being used.
The Port-D node has its Digital parameter set to 1 to indicate that it acts on digital data.
LATENCY
The group delay or latency for an audio path varies based on sample rate and processing steps (e.g.
SRC). As variable reporting is not supported as part of the Intel HDA Specification, the Delay
parameter in the Audio Widgets Capabilities Parameter is set to 0 to indicate that latency is not
reported.
POWER STATES
Within the AFG, all power states are supported. These are interpreted as follows:

D0: Fully on

D1: Link active, Jack detection logic on, analogue references enabled, but converters and
DSP logic still disabled.

D2: Link active, Jack detection logic on, register read/write access possible but all modules
in an audio path are disabled.

D3: Link disabled (i.e. BCLK stopped), responses not possible but Jack detection logic on
and capable of issuing a wake.

D4: Power applied, and settings maintained. Jack detection logic off, and wake disabled.
The AFG node supports the Power State verb. Widget nodes also offer power control, but their
settings are restricted to select only power states below that of the AFG power state setting. For
example, if the AFG node is set at D1, widget nodes can be set to D1, D2, D3, but not D0.
The default power state of the AFG is D2 so as to allow the PLLs to lock during CODEC initialisation.
The default power state of the widget nodes is D3 so as to minimise power consumption. Widget
nodes do not support D4 as the D3 state is identical to D4 at the widget node level.
Power state transitions are done in sequence. For example, if a node is in power state D3, and the
power state is set to D0, the transitions steps are D3-D2-D1-D0. If a Get Power State command is
issued during the state transitions, the actual power state returned, will be the power state at the end
of the frame that the Power State command was issued in.
It is possible that the actual power state returned is D3, D2 or D0 while the set power state returned is
D0.
For low power operation, the link should be in the Link Reset state and the WM8850 AFG should be
in D3 or D4. If the link is in the Link Reset state, and the WM8850 AFG was left in states D0, D1 or
D2, the WM8850 cannot issue a power state changes request (i.e. wake).
The only settings that can be changed in the D4 state is the AFG Power State or AFG reset settings –
any other changes will be ignored.
w
PP, April 2011, Rev 3.2
29
WM8850
Pre-Production
In D3, BCLK may be stopped after the WM8850 asserts the PS-ClkStopOK register in the AFG’s
Power State verb. The PS-ClkStopOK bit will remain asserted in power state D3 until the power state
is modified to D0, D1 or D2. If the power state is changed to D4 while in power state D3 when the
PS-ClkStopOK bit is set, software must poll the AFG PS-Act bits to determine when the WM8850
reports transition to power state D4 complete (and hence reports PS-Act as D4) before stopping the
BCLK.
In D3, if the link is not in the Link Reset state and BCLK is running, the WM8850 will issue an
unsolicited response rather than a wake.
In D3 (with the link is the Link Reset state), the WM8850 is capable of generating a wake (i.e. a power
state change request). The Controller will respond to the wake by putting the WM8850 through an
initialisation sequence. The initialisation sequence will not change the register settings, so the
WM8850 will still report a power state of D3 but the WM8850 will be able to send responses, including
any unsolicited response(s) that caused a wake to be issued.
As register settings are maintained in the D3/D4 states, the user should be aware that if the WM8850
is brought from D3/D4 to D0 and stream IDs had been previously assigned, data rendering and
capture will commence. If this behaviour is not desired, the user should bring the WM8850 to state
D3 and set the stream IDs to 0, or ensure that stream IDs are set to 0 prior to entering the D3/D4
state.
STREAM START/STOP
Sections 4.5.3 and 4.5.4 of the Intel HD Audio specification describe the starting and stopping of
streams. While the descriptions are sufficient from a controller perspective, there are ambiguities from
a CODEC perspective.
For each stream that goes through the HDA Link, there is a ‘Stream Manager’ module within the
WM8850 whose function is to assemble/disassemble the stream packets within the link frame. The
Stream Manager is disabled while the Stream value in the Converter Stream, Channel Verb is set to
0h. When disabled, the captured data will not be sent on the link, and data from the link will not be
decoded for rendering.
For audio path configuration, it is assumed that the Stream ID is the last register to be set in the
configuration sequence. When Stream ID is set to a non-zero value it has the effect of starting the
stream. On starting the stream, Stream Managers associated with input converters begin transmitting
data on the link, and Stream Managers associated with output converters begin to decode data with
the corresponding stream tag.
Note: Audio paths with mute capabilities may have ‘un-mute’ as the final configuration step. For
these paths, the stream will have started but the audio data will be zeroed until mute has been
disabled.
There are test paths within the WM8850 that do not use the HDA Link. These paths can still be used
when the Stream Manager is disabled.
The Stream Manager is also disabled when the associated converter widget is in power state D1, D2
or D3. Digital converters (i.e. S/PDIF) have a DigEn register bit. When this is set to 0, the associated
stream manager is disabled.
It is assumed that the settings of the Stream Format Verb and Converter Stream, Channel Verb will
not change when a stream is active (with the exception of changing the Stream ID to 0 to terminate
the stream). Changing stream settings while a stream is active is an erroneous action, and may
result in audio corruption.
SDI STREAM ORDER
The order of stream transmission on the SDI link is governed by the CODEC. The WM8850 will
transmit streams with the lowest stream ID value first.
If a stream is started with a stream ID lower than an existing stream, then the new stream is
transmitted earlier in the frame than the existing stream (i.e. the WM8850 auto-shuffles the stream
placement within the frame). This moves the existing stream to further on in the frame than it was
prior to the starting of the new stream. It is assumed that moving streams within a frame is
acceptable to the Controller.
w
PP, April 2011, Rev 3.2
30
WM8850
Pre-Production
BANDWIDTH CONFLICTS
Sections 5.3.2.2 and 5.3.3.3 of the HD Audio spec describe the scenario of over-subscription of SDO
and SDI bandwidths. It indicates that the final stream on the link is terminated prior to completion, and
further behaviour is undefined.
SDO
It is possible that the SDO line could be oversubscribed, if all streams are active at their maximum
sample rate, and word length. It is the responsibility of the Controller to handle this situation, and
determine what is put on the SDO line during oversubscription. The WM8850 will produce unsolicited
responses from the converter nodes that have not received the stream packets that they have been
configured for.
SDI
The WM8850 invokes a protection mechanism, should a bandwidth over-subscription situation arise.
The mechanism monitors the sample rate, and sample-size settings of a stream to detect
oversubscription.
If the SDI line is over-subscribed, due to software configuration or configuration from the recovered
S/PDIF sample-rate, the stream (or streams) assigned the highest Stream ID tag value, will be
dropped, and an unsolicited response issued from the stream converter whose stream has been
dropped.
A stream will be restarted on a re-issue of a non-zero stream ID. However, should the bandwidth
problem still be present, the stream won’t start and an unsolicited response will be re-sent.
Although there is a protection mechanism in the WM8850, it is the responsibility of the user to identify
and rectify bandwidth problems.
SOFTWARE FORMATTED (RAW) S/PDIF
An S/PDIF sub-frame consists of a preamble, 24-bits of audio data, and four control bits. In Software
Formatted (Raw) S/PDIF mode, all 24-bits of the audio data, plus the 4 bits of control information,
plus a 4-bit encoding of the preamble (taking the last 4-bits of the 8-bit bi-phase encoded preamble)
are transported across the link. Software Formatted S/PDIF mode is selected by setting the Bits
register in the Stream Format Verb to 4h (i.e. 32-bits) and setting the Type register to 1.
SOURCE SYNCHRONOUS INPUT - S/PDIF RX
Extra Bandwidth
Section 5.4.3 of the HDA specification describes how source synchronous inputs should be handled.
Note: Source synchronous handling is only required when SRC1 is bypassed.
When the incoming sampling rate is slightly higher that the nominal stream sampling rate extra data
transmission is required. The HDA specification states “the CODEC may insert one or more
additional complete sample blocks on the link, either within its normal allocated stream packet
(making it larger than the nominal allocated size) or by creating a second stream packet within the
frame.”
The WM8850 implements the first option, and will insert additional samples (in left/right pairs) within
the stream packet. The Data Length field within the Stream tag will be updated to show that the
stream packet contains additional samples.
If additional samples cannot be accommodated on SDI due to bandwidth problems, the additional
samples are dropped, and an unsolicited response is issued from the S/PDIF Rx Converter Node with
EF_STREAM_DROP set to 01h.
w
PP, April 2011, Rev 3.2
31
WM8850
Pre-Production
Loss of Lock
Should the S/PDIF Rx lose lock, an unsolicited response will be triggered to indicate the change in
lock status. The data in the link sample blocks will be set to 0, and the stream will continue to run at
the previously recovered sample rate. There may be several samples of data before the unsolicited
response can be sent, but the data will be zeroed immediately.
If the S/PDIF Rx is in Software Formatted S/PDIF mode, and the loss of lock event occurs, all 32-bits
of the data are zeroed.
Change in Sample Rate
Once a stream has started, stream parameters such as sample-size, number of channels, and
sample rates should not be changed. For the S/PDIF Rx audio path, it is expected that any change of
S/PDIF sample rate will cause the S/PDIF Rx to lose lock.
Once the S/PDIF Rx has gained lock to the new sample rate (or regained lock at the existing sample
rate), the controller will be sent an unsolicited response.
The S/PDIF Rx audio path has two methods of handling the relock condition:
1.
Push Method: where upon lock, the stream (assuming SRC1 is bypassed) immediately
changes sample rate to the new recovered rate, and data is no longer overwritten with
zeros.
2.
Controlled Method: where zeroed data continues to be transmitted at the old sample rate,
until the stream ID is set to 0. Upon re-assignment of the Stream ID, non-zeroed stream
data is transmitted at the newly recovered sample rate.
These methods are selected using the Unlock Ctrl register in the SPDIF_IN Control Verb.
S/PDIF TX VALIDITY FLAG
The validity flag is bit [28] of an S/PDIF sub-frame. It is configured using V-bit in the Digital Converter
Control Verb.
When the V-bit is set to 1, the validity flag for both sub-frames is set to 1.
When the V-bit is set to 0, the validity flag for both sub-frames is set to 0, unless an invalid sample is
being transmitted for that sub-frame - in which case the validity flag is set to 1 for that sub-frame.
An invalid sample may occur under the following conditions:

The Stream ID is set to 0

SRC2 is enabled but is unlocked

There has been a FIFO overrun/under-run condition in the S/PDIF Tx Stream Manager (i.e.
a Stream Error).
Note: A Stream Error problem would only be present due to a problem upstream of the WM8850. A
Stream Error triggers an unsolicited response with the EF_STREAM_ERR flag set. If an invalid
sample is detected, it will be overwritten with all-zeros if VCFG in the Digital Converter Control Verb is
set to 1.
CHANNEL NUMBERING
Multi-Channel Streams
Channels 0, 2, 4, etc will be assigned to the Left Channel of a stereo converter. Channels 1, 3, 5, etc
will be assigned to the Right Channel of a stereo converter.
Channel synchronisation between channels is only guaranteed where stream packets are received by
the WM8850 after all converters in a multi-channel stream have had their stream ID assigned.
w
PP, April 2011, Rev 3.2
32
WM8850
Pre-Production
Mono Streams
All converters are stereo. Where an input converter (ADC, S/PDIF Rx) is associated with a mono
stream, only the left channel (channel 0) will be sent on the HDA Link.
In mono mode, right channel modules in the ADC will be disabled to save power.
Where an output converter (DAC, S/PDIF Tx) is associated with a mono stream, both left and right
channels render the same samples. If both left and right DAC outputs are not desired, the unwanted
channel can be muted.
A stream is assumed to be mono when its Chan control in the Stream Format Verb is set to 0. The
Channel control in the Converter Stream, Channel Verb should be set to 0, although any setting of
this register gives the same behaviour in mono mode.
ILLEGAL REGISTER VALUES
Should the user set verb registers to illegal, unsupported or reserved values, WM8850 behaviour is
undefined.
Writing to Reserved registers has no effect.
RESPONSE FIELD
Valid Bit
Bit [35] of the Response Field is defined as the Valid Bit. Section 7.3.1 of the HDA specification
states: “A 1 in the Valid bit position indicates the Response Filed contains a valid response, which the
controller will place in the RIRB; a 0 indicates there is no response.”
The WM8850 will set the Valid Bit for all responses, except null responses.
We define a null response as a response to a command that contains an invalid verb (a command
where NID=0h, and Verb=0h), or a response to a command with a CODEC address (CAd) that does
not match the WM8850 CAd. Either of these commands can be considered as a null command.
We define a non-defined command as a command that has no meaning (i.e. a NID that is not within
the WM8850, or a Verb ID that is not supported for the given node). The WM8850 will set the Valid
Bit for non-defined commands.
w
PP, April 2011, Rev 3.2
33
WM8850
Pre-Production
CHIP HIERARCHY
WIDGET DIAGRAM
Figure 4 below shows the widgets for the WM8850 CODEC, showing available audio routing options.
The Node ID (NID) values are shown in the top right corner of each widget. Dotted lines indicate
paths that are controlled by vendor-specific verbs.
0Ah
02h
PGA1
ADC1
0Bh
03h
MIC1
09h
PGA2
0Ch
Port-E
0Dh
Port-B
MIC1 Mux
VIN1LP
VIN1LN
VIN1RP
VIN1RN
VIN2LP
VIN2LN
VIN2RP
VIN2RN
MICBIAS
0Eh
17h
Port-D
S/PDIF
TX 2
DMICDAT1
DMICCLK
15h
16h
MIC2
DMICDAT2/
SPDIFOUT2
Port-H
SDO
SDI
RESET
SYNC
BCLK
04h
S/PDIF
Tx 1
0Fh
S/PDIF
Out
05h
SPDIFOUT1
10h
S/PDIF
In
S/PDIF Rx
06h
SPDIFIN
11h
DAC1
Port-A
07h
VOUT1R
12h
DAC2
Port-G
08h
13h
DAC3
Port-F
14h
VOUT1L
VOUT2LP
VOUT2LN
VOUT2RP
VOUT2RN
VOUT3LP
VOUT3LN
VOUT3RP
VOUT3RN
Beep
Figure 4 Widget Diagram Showing Valid Audio Paths
w
PP, April 2011, Rev 3.2
34
WM8850
Pre-Production
NODE LIST
A summary of the capabilities of each node is given in Table 3 below:
NID
NAME
WIDGET TYPE
DESCRIPTION
00h
Root
Root
Provides Vendor ID, Device ID, and NID of the AFG.
01h
AFG
Audio Function Group
Provides the number of Widget Nodes, and NID of first
Widget Node. Describes CODEC Audio capabilities.
02h
ADC1
Audio Input Converter
Supports sample rates from 8kHz to 96kHz, and sample
sizes from 16-bits to 24-bits.
03h
MIC1
Audio Input Converter
Supports sample rates from 8kHz to 48kHz, and sample
sizes from 16-bits to 24-bits.
04h
S/PDIF Tx 1
Audio Output Converter
Supports sample rates from 32kHz to 192kHz, and
sample sizes from 16-bits to 32-bits. Includes a fully
asynchronous SRC.
05h
S/PDIF Rx
Audio Input Converter
As S/PDIF Tx 1, plus error detection.
06h
DAC1
Audio Output Converter
Supports sample rates from 8kHz to 192kHz, and
sample sizes from 16-bits to 24-bits. Supports digital
attenuation from 0dB to -63.5 dB in 0.5 dB steps.
07h
DAC2
Audio Output Converter
As DAC1.
08h
DAC3
Audio Output Converter
As DAC1.
09h
MIC1 Mux
Audio Selector
Selects between Digital Mic (Port-D), and Analogue Mic
(Port-B).
0Ah
PGA1
Audio Selector
Supports a gain range of -12dB to +12 dB in 0.5dB
steps.
0Bh
PGA2
Selector
As PGA1.
0Ch
Port-E
Pin Complex
Line Input (VIN1) with presence detection.
0Dh
Port-B
Pin Complex
Analogue Mic Input (VIN2) with pre-amplifier (0dB,
+10dB, +20dB, +30dB), configurable VREF, presence
detection and custom impedance sensing scheme.
0Eh
Port-D
Pin Complex
Digital Mic Input (DMIC1) with gain (-12dB to +32dB in
0.5dB steps).
0Fh
S/PDIF Out
Pin Complex
S/PDIF Output with presence detection.
10h
S/PDIF In
Pin Complex
S/PDIF Input with presence detection
rate detection.
11h
Port-A
Pin Complex
Ground-referenced headphone/line out (VOUT1) with
presence detection.
12h
Port-G
Pin Complex
Differential line out (VOUT2) with presence detection.
13h
Port-F
Pin Complex
Differential line out (VOUT3) with presence detection.
14h
Beep
Beep Generator
Generates a configurable tone that can be muxed into
DAC audio paths. Supports a gain range 0dB to -24dB in
6dB steps.
15h
MIC2
Audio Input Converter
Supports sample rates from 8kHz to 48kHz, and sample
sizes from 16-bits to 24-bits.
16h
Port-H
Pin Complex
Digital Mic Input (DMIC2) with gain (-12 dB to 32dB in
0.5 dB steps). Output port for S/PDIF Tx 2.
17h
S/PDIF Tx 2
Audio Output Converter
Supports sample rates from 32kHz to 192kHz, and
sample sizes from 16-bits to 32-bits.
(Note 1)
plus lock and
Table 3 Node List
Notes:
1.
The Pin Sense Verb in the SPDIF_IN node does not convey presence detect information, and is used to convey the
status of the SPDIF Rx Lock flag.
2.
All Widget Nodes are as defined in the HDA specification; there are no vendor defined widgets.
w
PP, April 2011, Rev 3.2
35
WM8850
Pre-Production
NODE/VERB SUMMARY
S/PDIF Out
S/PDIF In
Port-A
Port-G
Port-F
Beep
MIC2
Port-H
S/PDIF Tx 2
10h
11h
12h
13h
14h
15h
16h
17h
X
X
X
X
X
X
X
X
Port-D
Port-B
0Fh
Port-E
0Dh
X
X
0Eh
PGA2
0Ch
X
PGA1
0Bh
X
X
DAC3
08h
X
DAC2
07h
MIC1 Mux
DAC1
06h
09h
S/PDIF Rx
05h
0Ah
S/PDIF Tx 1
04h
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Channel Status Data Packing Configuration
Get: F85h
Set: 785h
w
X
X
X
Set: 780h
Tx Channel Status Control
Get: F81h
Set: 781h, 782h, 783h, 784h
1
X
X
Internal Path
Get: F73h
Set: 773h
GPIO Automatic Control
Get: F86h
Set: 786h
X
X
X
X
Beep Mask Selection
Get: F72h
Set: 772h
S/PDIF
Get: F80h
X
X
X
2
X
X
2
X
X
X
2
X
X
X
4
X
X
X
2
X
X
X
X
X
X
X
X
2
3
X
X
X
X
X
VMID Control
Get: F71h
Set: 771h
X
Configuration Default
Get: F1Ch Set: 71Ch, 71Dh, 71Eh, 71Fh
Implementation Identification/Subsystem ID
Get: F20h
Set: 720h, 721h, 722h, 723h
X
GPIO Sticky Mask
Get: F1Ah Set: 71Ah
X
GPIO Unsolicited Enable Mask
Get: F19h
Set: 719h
X
GPIO Wake Enable
Get: F18h
Set: 718h
X
GPIO Direction
Get: F17h
Set: 717h
X
Digital Converter Control
Get: F0Dh Set: 70Dh, 70Eh
X
EAPD/BTL Enable
Get: F0Ch Set: 70Ch
Set: 715h
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Execute: 709h
Beep Generation
Get: F0Ah Set: 70Ah
GPIO Enable
Get: F16h
Set: 716h
X
1
X
X
X
X
X
X
Pin Widget Control
Get: F07h
Set: 707h
GPIO Data
Get: F15h
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Converter Stream, Channel Verb
Get: F06h
Set: 706h
X
X
X
X
X
X
X
X
X
Processing State
Get: F03h
Set: 703h
X
X
Get Connection List Entry
Get: F02h
Set: –
Pin Sense
Get: F09h
X
MIC1
03h
X
X
Connection Select Control
Get: F01h
Set: 701h
Unsolicited Response
Get: F08h
Set: 708h
X
ADC1
02h
X
X
Amplifier Gain/Mute
Get: Bh
Set: 3h
Power State
Get: F05h
Set: 705h
X
AFG Node
01h
Execute: 7FFh
Stream Format
Get: Ah
Set: 2h
Get Parameter
Get: F00h
Set: –
X
Root Node
00h
X
X
Reset
Get: –
X
Table 4 gives a summary of the verbs available for each node in the WM8850. Shaded cells show
vendor-specific verbs:
PP, April 2011, Rev 3.2
36
WM8850
Port-A
Port-G
Port-F
Beep
MIC2
Port-H
S/PDIF Tx 2
12h
13h
14h
15h
16h
17h
X
X
X
X
S/PDIF In
11h
X
X
S/PDIF Out
10h
Port-D
X
Sample Overwrite Control
Get: F93h
Set: 793h
X
Get S/PDIF In Status
Get: FA0h Set: –
X
S/PDIF In Control
Get: FA1h Set: 7A1h
X
Differential
Get: FA3h Set: 7A3h
X
Auto-Mute Control
Get: FB0h Set: 7B0h
PGA Control
Get: FB2h Set: 7B2h, 7B3h
X
Port-B
0Eh
X
Get Non-Audio Flag
Get: F92h
Set: –
Channel Copy
Get: FB1h Set: 7B1h
0Fh
Port-E
0Dh
X
X
PGA2
0Ch
X
X
PGA1
0Bh
X
DAC3
X
MIC1 Mux
DAC2
08h
X
09h
DAC1
07h
X
0Ah
S/PDIF Rx
06h
X
X
Get Channel Status
Get: F91h
Set: –
X
S/PDIF Tx 1
05h
MIC1
X
04h
ADC1
03h
X
X
AFG Node
02h
X
X
Root Node
01h
Unsolicited Response Priority Control
Get: F8Eh Set: 78Eh
X
00h
Pre-Production
Table 4 Node/Verb Summary
Note:
1.
Set Verbs are not supported in these cases.
2.
Execute Verbs are not supported in these cases.
3.
Set Verb 70Eh is not supported by this node.
4.
The Pin Sense Verb in the SPDIF_IN node does not convey presence detect information, and is used to convey the
status of the SPDIF Rx Lock flag.
w
PP, April 2011, Rev 3.2
37
WM8850
Pre-Production
DEVICE DESCRIPTION
This section of the datasheet provides detailed information on all the major paths through the device,
along with the nodes used and the vendor-specific verbs. For those verbs implemented in the
WM8850 which are as defined in the High Definition Audio Specification Revision 1.0 there is no
detailed text describing their use in this datasheet.
The functions covered in this section of the datasheet, and the WM8850 nodes associated with each,
are listed in Table 5.
FUNCTION
Stereo Analogue Line Record
Stereo Analogue Microphone Record
Digital Microphone Record
Stereo Headphone Playback
Stereo Line Playback
S/PDIF Receive
S/PDIF Transmit
NODE NAME
NODE ID (NID)
Port-E
0Ch
PGA1
0Ah
ADC1
02h
Port-B
0Dh
PGA2
0Bh
MIC1 Mux
09h
MIC1
03h
Port-D
0Eh
MIC1 Mux
09h
MIC1
03h
Port-H
16h
MIC2
15h
DAC1
06h
Port-A
11h
DAC2
07h
Port-G
12h
DAC3
08h
Port-F
13h
S/PDIF In
10h
S/PDIF Rx
05h
S/PDIF Tx 1
04h
S/PDIF Out
0Fh
S/PDIF Tx 2
17h
Port-H
16h
Ancillary Functions
Beep
14h
(Beep generator,
VMID control,
GPIO2 automatic control mode,
Unsolicited response priority control)
AFG
01h
Table 5 WM8850 Device Functions
w
PP, April 2011, Rev 3.2
38
WM8850
Pre-Production
STEREO ANALOGUE LINE RECORD
Stereo analogue line input is supported using the VIN1LP, VIN1LN, VIN1RP and VIN1RN pins; these
are available for high-quality stereo digitisation through the ADC1 node.
HDA Interface
The WM8850 nodes associated with this function are shown in Figure 5.
Figure 5 Stereo Analogue Line Record Path
This section provides a summary of the Port-E, PGA1 and ADC1 nodes, and describes the vendorspecific verb functions associated with each.
PORT-E (NID = 0CH)
Table 6 gives a summary of the Port-E node:
NODE SUMMARY INFORMATION
NID
0Ch
Widget Type
Pin Complex
Supported Get Verbs
F00h, F07h, F08h, F09h, F0Ch, F1Ch, F8Eh, FB0h
Supported Set Verbs
707h, 708h, 70Ch, 71Ch, 71Dh, 71Eh, 71Fh, 78Eh, 7B0h
Unsolicited Responses
Presence Detect Status Change
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FB0h, 7B0h : Auto-Mute Control Verb
Table 6 Port-E Node Summary Information
Port-E supports two different input configurations, controlled by the EAPD/BTL Verb.
SET VERB
70Ch
BIT
0
BITFIELD
NAME
BTL
DEFAULT
1h
DESCRIPTION
Controls the configuration of the input pins on
Port-E:
0 = Single-ended mode
1 = BTL (balanced) mode
In single-ended input mode, VIN1LP and VIN1RP are used as the Port-E input pins VIN1LN and
VIN1RN must be left floating in this mode. Note that the full-scale input signal level is reduced in
single-ended mode, as shown in the “Electrical Characteristics” section.
In differential input mode, VIN1LP, VIN1LN, VIN1RP and VIN1RN are used as the Port-E input pins.
See Figure 6 for examples of the external connections required in each of the supported input
configurations.
w
PP, April 2011, Rev 3.2
39
WM8850
Pre-Production
Figure 6 Single Ended (Left) and Differential (Right) External Connections
Port-E supports presence detect. This can be read directly from the Pin Sense Verb.
If nothing is plugged into Port-E it is possible to use an automute function which will automatically
replace the samples in the stream with zeros, thus avoiding any noise being transmitted when there is
no input. This function can be enabled using the vendor-specific Auto-Mute Control Verb.
SET VERB
7B0h
BIT
0
BITFIELD
NAME
PD_
DEFAULT
0h
AUTOMUTE
DESCRIPTION
Auto-Mute Control:
0 = Automute disabled
1 = Automute enabled
Note: When PD_AUTOMUTE=1 and
Presence Detect (bit 31 in verb F09h)=1 the
WM8850 will replace the samples in the
stream with zeros
PGA1 (NID = 0Ah)
Table 7 gives a summary of the PGA1 node:
NODE SUMMARY INFORMATION
NID
0Ch
Widget Type
Audio Selector
Supported Get Verbs
Bh, F00h, F02h, FB2h
Supported Set Verbs
3h, 7B2h, 7B3h
Unsolicited Responses
None
Vendor-Specific Verbs
FB2h, 7B2h, 7B3h : PGA Control
Table 7 PGA1 Node Summary Information
PGA1 provides analogue gain for the inputs to Port-E, allowing the signal level to be adjusted by up to
+/-12dB in 0.5dB steps. Gain can be applied to left and right channels independently if required.
Additionally, a mute function is available – again this can be applied to separate channels as required.
The gain of PGA1 is controlled using the Amplifier Gain/Mute Verb.
Note: When Port-E is configured in single-ended mode the actual gain settings applied to the signal
will be adjusted by a further −3.0dB. This changes the effective gain range to −15dB to +9dB.
w
PP, April 2011, Rev 3.2
40
WM8850
Pre-Production
PGA1 uses an internal zero cross detect circuit to ensure that all gain changes occur while the signal
passes through the zero point. This function eliminates any potential DC steps that can occur if gain
changes are applied at other times, and therefore the potential for zipper noise is removed. If no zero
cross occurs within a specified time after the gain change is requested via a register write a timeout
period will elapse and the gain will be changed regardless. This timeout period can be changed using
the vendor-specific PGA Control Verb:
SET VERB
7B2h
BIT
13:0
7B3h
BITFIELD
NAME
Terminal
Count
DEFAULT
1FFFh
DESCRIPTION
Set the period of the zero detect timeout clock:
0000h = Timeout disabled
0001h to 03FFh = Reserved
0400h = 1025 x 20.833µs (21.3ms)
0401h = 1026 x 20.833µs (21.4ms)
…
1FFFh = 8192 × 20.833µs (171ms)
…
3FFFh = 16384 × 20.833µs (341ms)
Note: The timeout clock uses the SYNC signal
from the HDA interface, so the absolute value
of the timeout period will depend on the
absolute accuracy of the SYNC signal.
ADC1 (NID = 02h)
Table 8 gives a summary of the ADC1 node:
NODE SUMMARY INFORMATION
NID
02h
Widget Type
Audio Input Converter
Supported Get Verbs
Ah, F00h, F02h, F03h, F05h, F06h, F08h, F8Eh, FB1h
Supported Set Verbs
2h, 703h, 705h, 706h, 708h, 78Eh, 7B1h
Unsolicited Responses
Stream Drop
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FB1h, 7B1h : Channel Copy Verb
Table 8 ADC1 Node Summary Information
w
PP, April 2011, Rev 3.2
41
WM8850
Pre-Production
ADC1 supports all common sample rates from 8kHz to 96kHz and data widths of 16, 20, 24 and 32bit (Float-32).
The sample rate and word length of the data captured by the ADC1 node is set using the Stream
Format Verb. Table 9 below shows the required settings for Base, Mult and Div as part of the Stream
Format Verb to obtain the required sample rate.
SAMPLE RATE
BASE
MULT
DIV
8kHz
0h
0h
5h
11.025kHz
1h
0h
3h
16kHz
0h
0h
2h
22.05kHz
1h
0h
1h
24kHz
0h
0h
1h
32kHz
0h
1h
2h
44.1kHz
1h
0h
0h
48kHz
0h
0h
0h
88.2kHz
1h
1h
0h
96kHz
0h
1h
0h
Table 9 ADC1 Supported Sample Rate Settings
Note: Other settings of Base, Mult and Div are reserved and should not be set.
The ADC1 output data is by default set to provide the captured waveform from the left channel in
Channel 0, and the right channel in Channel 1. It is possible to adjust this mapping using the vendorspecific Channel Copy Verb.
SET VERB
7B1h
BIT
1
BITFIELD
NAME
CHAN1_
DEFAULT
1
SEL
DESCRIPTION
Channel 1 (right) Mapping Control:
0 = Channel 1 takes data from left audio
channel
1 = Channel 1 takes data from right audio
channel
0
CHAN0_
SEL
0
Channel 0 (left) Mapping Control:
0 = Channel 0 takes data from left audio
channel
1 = Channel 0 takes data from right audio
channel
w
PP, April 2011, Rev 3.2
42
WM8850
Pre-Production
STEREO ANALOGUE MICROPHONE RECORD
Stereo analogue microphone input is supported using the VIN2LP, VIN2LN, VIN2RP and VIN2RN
pins; these are available for analogue microphone digitisation through the MIC1 node. The MICBIAS
output, controlled via the Port-B node, provides a low noise voltage output suitable for use as a power
supply for analogue or digital microphones.
The WM8850 nodes associated with this function are shown in Figure 7.
HDA Interface
03h
09h
MIC1
0Bh
MIC1 Mux
0Dh
PGA2
Port-B
VIN2LP
VIN2LN
VIN2RP
VIN2RN
MICBIAS
from Port-D
Figure 7 Stereo Analogue Microphone Record Path
This section provides a summary of the Port-B, PGA2, MIC1 Mux and MIC1 nodes, and describes the
vendor-specific functions associated with each.
PORT-B (NID = 0DH)
Table 10 gives a summary of the Port-B node:
NODE SUMMARY INFORMATION
NID
0Dh
Widget Type
Pin Complex
Supported Get Verbs
Bh, F00h, F07h, F08h, F09h, F0Ch, F1Ch, F8Eh, FA3h, FB0h
Supported Set Verbs
3h, 707h, 708h, 70Ch, 71Ch, 71Dh, 71Eh, 71Fh, 78Eh, 7A3h,
7B0h
Unsolicited Responses
Presence Detect Status Change
Impedance Measurement Ready
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FA3h, 7A3h : Differential Verb
FB0h, 7B0h : Auto-Mute Control Verb
Table 10 Port-B Node Summary Information
Port-B supports three different input configurations, controlled by the EAPD/BTL Verb and the vendorspecific Differential Verb.
SET VERB
70Ch
BIT
0
BITFIELD
NAME
BTL
DEFAULT
1h
DESCRIPTION
Controls the configuration of the input pins on
Port-E:
0 = Single-ended mode
1 = BTL (balanced) mode
7A3h
0
Differential
Mode
0h
Differential mode:
0 = Differential (microphone)
1 = Pseudo-differential
w
PP, April 2011, Rev 3.2
43
WM8850
Pre-Production
The supported input configurations are described in Table 11 below:
BTL
DIFFERENTIAL
MODE
MODE
0
X
Single Ended
ACTIVE PINS
NOTES
VIN2LP
Input impedance varies with
gain setting – minimum 10kΩ
VIN2RP
Suitable for microphone or
line level signals
1
0
Differential
(Microphone)
VIN2LP
VIN2LN
VIN2RP
VIN2RN
1
1
Pseudo-Differential
VIN2LP
VIN2LN
VIN2RP
VIN2RN
Input impedance does not
vary with gain setting –
typically 120kΩ
Suitable for microphone (lowlevel) signals only
Input impedance varies with
gain setting – minimum 10kΩ
Suitable for microphone or
line level signals
Table 11 Port-B Configuration Options
See Figure 8 for examples of the external connections required in each of the supported input
configurations.
Figure 8 Port-B Example External Connections (one channel shown)
A microphone pre-amplifier is available as part of the Port-B node. This amplifier can be used to
boost microphone inputs by +10dB, +20dB or +30dB. Alternatively, the gain of the pre-amplifier can
be set to 0dB. It is not possible to use different gain settings for the left and right channels, and the
pre-amplifier does not support mute. The microphone pre-amplfier is controlled by the Amplifier
Gain/Mute Verb.
w
PP, April 2011, Rev 3.2
44
WM8850
Pre-Production
A low-noise microphone bias generator is provided as part of Port-B, which is suitable for use as a
bias supply for analogue microphones. The control of the microphone bias level is via the Pin Widget
Control Verb.
Port-B supports impedance sensing when using the microphone bias generator; this can be read
directly from the Pin Sense Verb. Port-B also supports presence detect, using the Pin Sense Verb.
If nothing is plugged into Port-B it is possible to use an automute function which will automatically
replace the samples in the stream with zeros, thus avoiding any noise being transmitted when there is
no input device connected. This function can be enabled using the vendor-specific Auto-Mute Control
Verb.
SET VERB
7B0h
BIT
0
BITFIELD
NAME
PD_
DEFAULT
0h
AUTOMUTE
DESCRIPTION
Auto-Mute Control:
0 = Automute disabled
1 = Automute enabled
Note: When PD_AUTOMUTE=1 and
Presence Detect (bit 31 in verb F09h)=1 the
WM8850 will replace the samples in the
stream with zeros
PGA2 (NID = 0Bh)
Table 12 gives a summary of the PGA2 node:
NODE SUMMARY INFORMATION
NID
0Ch
Widget Type
Audio Selector
Supported Get Verbs
Bh, F00h, F02h, FB2h
Supported Set Verbs
3h, 7B2h, 7B3h
Unsolicited Responses
None
Vendor-Specific Verbs
FB2h, 7B2h, 7B3h : PGA Control Verb
Table 12 PGA2 Node Summary Information
PGA2 provides analogue gain for the inputs to Port-B, allowing the signal level to be adjusted by up to
+/-12dB in 0.5dB steps. Gain can be applied to left and right channels independently if required.
Additionally, a mute function is available – again this can be applied to separate channels as required.
The gain of PGA2 is controlled using the Amplifier Gain/Mute Verb.
PGA2 uses an internal zero cross detect circuit to ensure that all gain changes occur while the signal
passes through the zero point. This function eliminates any potential DC steps that can occur if gain
changes are applied at other times, and therefore the potential for zipper noise is removed. If no zero
cross occurs within a specified time after the gain change is requested via a register write a timeout
period will elapse and the gain will be changed regardless. This timeout period can be changed using
the vendor-specific PGA Control Verb:
w
PP, April 2011, Rev 3.2
45
WM8850
Pre-Production
SET VERB
7B2h
BIT
13:0
7B3h
BITFIELD
NAME
Terminal
Count
DEFAULT
1FFFh
DESCRIPTION
Set the period of the zero detect timeout clock:
0000h = Timeout disabled
0001h to 03FFh = Reserved
0400h = 1025 x 20.833µs (21.3ms)
0401h = 1026 x 20.833µs (21.4ms)
…
1FFFh = 8192 × 20.833µs (171ms)
…
3FFFh = 16384 × 20.833µs (341ms)
Note: The timeout clock uses the SYNC signal
from the HDA interface, so the absolute value
of the timeout period will depend on the
absolute accuracy of the SYNC signal.
MIC1 MUX (NID = 09h)
Table 13 gives a summary of the MIC1 Mux node:
NODE SUMMARY INFORMATION
NID
09h
Widget Type
Audio Selector
Supported Get Verbs
F00h, F01h, F02h
Supported Set Verbs
701h
Unsolicited Responses
None
Table 13 MIC1 Mux Node Summary Information
MIC1 Mux is used to select the source of the input to the MIC1 node. This can be either from the
analogue microphone input path (from PGA2), or from the digital microphone path (from Port-D).
When the MIC1 Mux is selecting the digital microphone input (Port-D) the WM8850 is automatically
configured to bypass the analogue to digital converter part of the MIC1 node (NID = 03h).
There are no vendor-specific verbs associated with the MIC1 Mux node.
MIC1 (NID = 03H)
Table 14 gives a summary of the MIC1 node:
NODE SUMMARY INFORMATION
NID
02h
Widget Type
Audio Input Converter
Supported Get Verbs
Ah, F00h, F02h, F03h, F05h, F06h, F08h, F8Eh, FB1h
Supported Set Verbs
2h, 703h, 705h, 706h, 708h, 78Eh, 7B1h
Unsolicited Responses
Stream Drop
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FB1h, 7B1h : Channel Copy Verb
Table 14 MIC1 Node Summary Information
MIC1 contains a high performance stereo ADC intended for capture of microphone inputs to the
WM8850. MIC1 supports all common sample rates from 8kHz to 48kHz and data widths of 16, 20, 24
and 32-bit (Float-32). The actual processing used by this node is dependant on the type of input
received from the MIC1 Mux (NID = 09h), as the input to MIC1 may come from either an analogue or
digital microphone.
w
PP, April 2011, Rev 3.2
46
WM8850
Pre-Production
Regardless of the type of input, the sample rate and word length of the data captured by the MIC1
node is set using the Stream Format Verb. Table 15 below shows the required settings for Base, Mult
and Div as part of the Stream Format Verb to obtain the required sample rate.
When a digital microphone is being used, the DMICCLK output frequency will be set according to the
Stream Format Verb. See “Digital Microphone Record” for details of the DMICCLK frequency.
SAMPLE RATE
BASE
MULT[2:0]
DIV[2:0]
8kHz
0h
0h
5h
11.025kHz
1h
0h
3h
16kHz
0h
0h
2h
22.05kHz
1h
0h
1h
32kHz
0h
1h
2h
44.1kHz
1h
0h
0h
48kHz
0h
0h
0h
Table 15 MIC1 Supported Sample Rate Settings
Note: Other settings of Base, Mult and Div are reserved and should not be set.
The MIC1 output data is by default set to provide the captured waveform from the left channel in
Channel 0, and the right channel in Channel 1. It is possible to adjust this mapping using the vendorspecific Channel Copy Verb.
SET VERB
7B1h
BIT
1
BITFIELD
NAME
CHAN1_
DEFAULT
1
SEL
DESCRIPTION
Channel 1 (right) Mapping Control:
0 = Channel 1 takes data from left audio
channel
1 = Channel 1 takes data from right audio
channel
0
CHAN0_
SEL
0
Channel 0 (left) Mapping Control:
0 = Channel 0 takes data from left audio
channel
1 = Channel 0 takes data from right audio
channel
w
PP, April 2011, Rev 3.2
47
WM8850
Pre-Production
DIGITAL MICROPHONE RECORD
Digital microphone input is supported using the DMICDAT1, DMICDAT2 and DMICCLK pins; these
allow up to four independent digital microphones to be connected through the MIC1 and MIC2 nodes.
The digital microphone interface accepts unfiltered PDM on the DMICDAT1 and DMICDAT2 pins and
can recover data from both the high and low periods of the DMICCLK. Two microphone channels are
interleaved on DMICDAT1; another two channels are interleaved on DMICDAT2. The timing is
illustrated in Figure 9. Each microphone must tri-state its data output when the other microphone is
transmitting.
Note that the DMICDAT2 pin also supports the SPDIFOUT2 function, which is described in the
“S/PDIF Transmit” section.
Figure 9 Digital Microphone Interface Protocol for One (left) or Four (right) Microphones
The WM8850 nodes associated with this function are shown in Figure 10.
from PGA2
03h
MIC1 Mux
HDA Interface
MIC1
09h
0Eh
Port-D
DMICDAT1
DMICCLK
from S/PDIF Tx 2
15h
16h
MIC2
Port-H
DMICDAT2/
SPDIFOUT2
from S/PDIF In
Figure 10 Digital Microphone Record Path
This section provides a summary of the Port-D, Port-H and MIC2 nodes, and describes the vendorspecific verb functions associated with each.
The MIC1 Mux and MIC1 nodes are described in the “Stereo Analogue Microphone Record” section.
w
PP, April 2011, Rev 3.2
48
WM8850
Pre-Production
PORT-D (NID = 0Eh)
Table 16 gives a summary of the Port-D node:
NODE SUMMARY INFORMATION
NID
0Eh
Widget Type
Pin Complex
Supported Get Verbs
Bh, F00h, F07h, F1Ch
Supported Set Verbs
3h, 707h, 71Ch, 71Dh, 71Eh, 71Fh
Unsolicited Responses
None
Table 16 Port-D Node Summary Information
Port-D provides digital gain for the microphone(s) connected to DMICDAT1, allowing the signal level
to be adjusted by up to +32dB to −12dB in 0.5dB steps. Gain can be applied to left and right
channels independently if required. Additionally, a mute function is available – again this can be
applied to separate channels as required. The gain is controlled using the Amplifier Gain/Mute Verb.
There are no vendor-specific verbs associated with the Port-D node.
PORT-H (NID = 16H)
Table 17 gives a summary of the Port-H node:
NODE SUMMARY INFORMATION
NID
16h
Widget Type
Pin Complex
Supported Get Verbs
Bh, F00h, F02h, F07h, F1Ch, F73h
Supported Set Verbs
3h, 707h, 71Ch, 71Dh, 71Eh, 71Fh, 773h
Unsolicited Responses
None
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
Table 17 Port-H Node Summary Information
Port-H provides digital gain for the microphone(s) connected to DMICDAT2, allowing the signal level
to be adjusted by up to +32dB to −12dB in 0.5dB steps. Gain can be applied to left and right
channels independently if required. Additionally, a mute function is available – again this can be
applied to separate channels as required. The gain is controlled using the Amplifier Gain/Mute Verb.
Note that Port-H can also be used to provide a S/PDIF output. For details of the use of the node as a
S/PDIF output, see the “S/PDIF Transmit” section.
When Port-H is configured for S/PDIF output, it is possible to select either S/PDIF In or S/PDIF Tx 2
as the data source. The signal path is selected using vendor-specific Internal Path Verb.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
17h
DESCRIPTION
Selects the source of the Port-H node:
10h = S/PDIF In
17h = S/PDIF Tx2
w
PP, April 2011, Rev 3.2
49
WM8850
Pre-Production
MIC2 (NID = 15h)
Table 18 gives a summary of the MIC2 node:
NODE SUMMARY INFORMATION
NID
15h
Widget Type
Audio Input Converter
Supported Get Verbs
Ah, F00h, F02h, F03h, F06h, F08h, F8Eh, FB1h
Supported Set Verbs
703h, 706h, 708h, 78Eh, 7B1h
Unsolicited Responses
Stream Drop
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FB1h, 7B1h : Channel Copy Verb
Table 18 MIC2 Node Summary Information
The MIC2 node supports digital audio input at all common sample rates from 8kHz to 48kHz.
Note that the Stream Format Verb in the MIC2 widget (NID = 15h) is read-only; the associated
parameters will echo the values set in the same verb in the MIC1 widget.
The MIC2 output data is by default set to provide the captured waveform from the left channel in
Channel 0, and the right channel in Channel 1. It is possible to adjust this mapping using the vendorspecific Channel Copy Verb:
SET VERB
7B1h
BIT
1
BITFIELD
NAME
DEFAULT
CHAN1_
1
SEL
DESCRIPTION
Channel 1 (right) Mapping Control:
0 = Channel 1 takes data from left audio
channel
1 = Channel 1 takes data from right audio
channel
0
CHAN0_
0
SEL
Channel 0 (left) Mapping Control:
0 = Channel 0 takes data from left audio
channel
1 = Channel 0 takes data from right audio
channel
DIGITAL MICROPHONE INTERFACE CLOCK RATES
The sample rate of data captured by the digital microphone interface is controlled by the Stream
Format Verb in the MIC1 widget (NID = 03h). Note that the Stream Format Verb in the MIC2 widget
(NID = 15h) will echo the values set in the same verb in the MIC1 widget. This is necessary as
DMICCLK is shared between the DMICDAT1 and DMICDAT2 pins.
The DMICCLK frequency will output at the rates shown in Table 19, which also contains the required
settings for Base, Mult and Div as part of the Stream Format Verb of the MIC1 widget to obtain the
required sample rate:
SAMPLE RATE
BASE
MULT[2:0]
DIV[2:0]
DMICCLK
PROCESSING
FREQUENCY
RATE
8kHz
0h
0h
5h
1.024MHz
128fs
11.025kHz
1h
0h
3h
1.4112MHz
128fs
16kHz
0h
0h
2h
1.024MHz
64fs
22.05kHz
1h
0h
1h
1.4112MHz
64fs
32kHz
0h
1h
2h
2.048MHz
64fs
44.1kHz
1h
0h
0h
2.8224MHz
64fs
48kHz
0h
0h
0h
3.072MHz
64fs
Table 19 MIC1 Supported Sample Rate Settings for Digital Microphone Interface
Note: Other settings of Base, Mult and Div are reserved and should not be set.
w
PP, April 2011, Rev 3.2
50
WM8850
Pre-Production
STEREO HEADPHONE PLAYBACK
Stereo headphone playback is supported using the VOUT1L and VOUT1R pins; these provide a
ground-referenced stereo output through the DAC1 node. This output is intended for headphones,
but can be used as a single-ended line output if required. This path can provide two channels of a
multi-channel playback system, operating alongside the other two DAC paths.
It is possible to configure the stereo headphone outputs to select the S/PDIF Rx node as the data
source. This signal path is enabled using a vendor-specific verb, and is illustrated by the dotted line in
Figure 11.
The WM8850 nodes associated with this function are shown in Figure 11.
from S/PDIF Rx
06h
DAC1
11h
VOUT1L
Port-A
VOUT1R
Figure 11 Stereo Headphone Playback Path
This section provides a summary of the DAC1 and Port-A, and describes the vendor-specific verb
functions associated with each.
DAC1 (NID = 06H)
Table 20 gives a summary of the DAC1 node:
NODE SUMMARY INFORMATION
NID
06h
Widget Type
Audio Converter
Supported Get Verbs
Ah, Bh, F00h, F05h, F06h, F08h, F73h, F8Eh
Supported Set Verbs
2h, 3h, 705h, 706h, 708h, 773h, 78Eh
Unsolicited Responses
Stream Error
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 20 DAC1 Node Summary Information
DAC1 is a high performance stereo DAC that supports all common sample rates from 8kHz to
192kHz and data widths of 16, 20, 24 and 32-bit (Float-32).
The sample rate and word length of the data played back by the DAC1 node is set using the Stream
Format Verb. Table 9 below shows the required settings for Base, Mult and Div as part of the Stream
Format Verb to obtain the required sample rate.
w
PP, April 2011, Rev 3.2
51
WM8850
Pre-Production
SAMPLE RATE
BASE
MULT
DIV
8kHz
0h
0h
5h
11.025kHz
1h
0h
3h
2h
16kHz
0h
0h
22.05kHz
1h
0h
1h
24kHz
0h
0h
1h
2h
32kHz
0h
1h
44.1kHz
1h
0h
0h
48kHz
0h
0h
0h
88.2kHz
1h
1h
0h
96kHz
0h
1h
0h
176.4kHz
1h
3h
0h
192kHz
0h
3h
0h
Table 21 DAC1 Supported Sample Rate Settings
Note: Other settings of Base, Mult and Div are reserved and should not be set.
DAC1 provides digital gain, allowing the signal level to be adjusted between 0dB and −63.5dB in
0.5dB steps. Gain can be applied to left and right channels independently if required. Additionally, a
digital softmute function is available – again this can be applied to separate channels as required.
The gain of DAC1 is controlled using the Amplifier Gain/Mute Verb.
Note: When Port-A is configured to drive headphones (H-Phn Enable = 1) the actual gain settings
applied will be adjusted by a further −8.0dB. This changes the effective gain range to −71.5dB to
−8.0dB.
Under default conditions, the DAC1 node will process data received from the HDA interface. It is also
possible to select S/PDIF Rx as the data source, using the vendor-specific Internal Path Verb.
Note that, when the S/PDIF Rx node is selected as the input to any of DAC1, DAC2 or DAC3, the
Internal Path Verbs in all the other DAC nodes are updated to use the S/PDIF Rx node also. It is not
possible to route the HDA Link to any DAC at the same time as routing the S/PDIF Rx node to
another DAC.
When the S/PDIF Rx node is selected as the input to the DAC nodes, the Stream Format Verb for
each DAC node becomes read-only and is set according to the settings in the S/PDIF Rx node.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
00h
DESCRIPTION
Selects source of DAC1 node:
00h = DAC1 takes data from HDA Link
05h = DAC1 takes data from S/PDIF Rx
All other values of Path Sel are reserved.
Note: When using the Internal Path Verb to use S/PDIF Rx as the data source of DAC1 it is
recommended that the S/PDIF Rx node (NID=05h) is enabled after setting Path Sel=05h. Failure to
do so may result in a one sample delay between left and right channels.
w
PP, April 2011, Rev 3.2
52
WM8850
Pre-Production
PORT-A (NID = 11H)
Table 22 gives a summary of the Port-A node:
NODE SUMMARY INFORMATION
NID
11h
Widget Type
Pin Complex
Supported Get Verbs
F00h, F02h, F07h, F08h, F09h, F1Ch, F8Eh
Supported Set Verbs
707h, 708h, 709h, 71Ch, 71Dh, 71Eh, 71Fh, 78Eh
Unsolicited Responses
Presence Detect
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 22 Port-A Node Summary Information
Port-A contains a ground-referenced headphone driver which negates the requirement for large ACcoupling capacitors commonly required for headphone applications. The headphone driver is
powered by an on-board charge pump which generates the required positive and negative supply
voltages. Configuration of this block is handled automatically by the WM8850, and the required
external components to enable optimum performance of the charge pump are given in the
“Applications Information” section.
w
PP, April 2011, Rev 3.2
53
WM8850
Pre-Production
STEREO LINE PLAYBACK
Stereo line playback is supported using the VOUT2LP, VOUT2LN, VOUT2RP and VOUT2RN pins;
these provide a differential stereo output through the DAC2 node. These outputs are intended for
line-level loads; the differential configuration provides noise rejection, particularly in the case of
lengthy signal tracks. An external differential to single-ended converter should be used for connection
to an external stereo jack. This path can provide two channels of a multi-channel playback system,
operating alongside the other two DAC paths.
Stereo line playback is also supported using the VOUT3LP, VOUT3LN, VOUT3RP and VOUT3RN
pins; these provide a differential stereo output through the DAC3 node. This path is identical in
function to the DAC2 path, so both paths are described together here. Note, however, that they are
completely independent paths and must be setup separately.
It is possible to configure either of the stereo line outputs to select the S/PDIF Rx node as the data
source. These signal paths are enabled using vendor-specific verbs, and are illustrated by the dotted
line in Figure 12.
HDA Interface
The WM8850 nodes associated with this function are shown in Figure 12.
Figure 12 Stereo Differential Line Playback Paths
This section provides a summary of the DAC2, Port-G, DAC3 and Port-F nodes, and describes the
vendor-specific verb functions associated with each.
DAC2 (NID = 07h) AND DAC3 (NID = 08h)
Table 23 gives a summary of the DAC2 and DAC3 nodes:
NODE SUMMARY INFORMATION
NID
07h / 08h
Widget Type
Audio Converter
Supported Get Verbs
Ah, Bh, F00h, F05h, F06h, F08h, F73h, F8Eh
Supported Set Verbs
2h, 3h, 705h, 706h, 708h, 773h, 78Eh
Unsolicited Responses
Stream Error
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 23 DAC2 and DAC3 Nodes Summary Information
w
PP, April 2011, Rev 3.2
54
WM8850
Pre-Production
DAC2 and DAC3 are a high performance stereo DACs that supports all common sample rates from
8kHz to 192kHz and data widths of 16, 20, 24 and 32-bit (Float-32).
The sample rate and word length of the data played back by the DAC2 or DAC3 nodes is set using
the Stream Format Verb. Table 24 below shows the required settings for Base, Mult and Div as part
of the Stream Format Verb to obtain the required sample rate.
SAMPLE RATE
BASE
MULT
DIV
8kHz
0h
0h
5h
11.025kHz
1h
0h
3h
2h
16kHz
0h
0h
22.05kHz
1h
0h
1h
24kHz
0h
0h
1h
2h
32kHz
0h
1h
44.1kHz
1h
0h
0h
48kHz
0h
0h
0h
88.2kHz
1h
1h
0h
96kHz
0h
1h
0h
176.4kHz
1h
3h
0h
192kHz
0h
3h
0h
Table 24 DAC2 and DAC3 Supported Sample Rate Settings
Note: Other settings of Base, Mult and Div are reserved and should not be set.
DAC2 and DAC3 provide digital gain, allowing the signal level to be adjusted between 0dB and
−63.5dB in 0.5dB steps. Gain can be applied to left and right channels independently if required.
Additionally, a digital softmute function is available – again this can be applied to separate channels
as required. The gain of each DAC is controlled using the Amplifier Gain/Mute Verb in the required
node.
Under default conditions, the DAC2 and DAC3 nodes will process data received from the HDA
interface. It is also possible to select S/PDIF Rx as the data source, using the vendor-specific Internal
Path Verb.
Note that, when the S/PDIF Rx node is selected as the input to any of DAC1, DAC2 or DAC3, the
Internal Path Verbs in all the other DAC nodes are updated to use the S/PDIF Rx node also. It is not
possible to route the HDA Link to any DAC at the same time as routing the S/PDIF Rx node to
another DAC.
When the S/PDIF Rx node is selected as the input to the DAC nodes, the Stream Format Verb for
each DAC node becomes read-only and is set according to the settings in the S/PDIF Rx node.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
00h
DESCRIPTION
Selects source of DAC2 or DAC3 node:
00h = DAC takes data from HDA Link
05h = DAC takes data from S/PDIF Rx
All other values of Path Sel are reserved.
Note: When using the Internal Path Verb to use S/PDIF Rx as the data source of DAC2 or DAC3 it is
recommended that the S/PDIF Rx node (NID=05h) is enabled after setting Path Sel=05h. Failure to
do so may result in a one sample delay between left and right channels.
w
PP, April 2011, Rev 3.2
55
WM8850
Pre-Production
PORT-G (NID = 12h) AND PORT-F (NID = 13h)
Table 25 gives a summary of the Port-G and Port-F nodes:
NODE SUMMARY INFORMATION
NID
12h / 13h
Widget Type
Pin Complex
Supported Get Verbs
F00h, F02h, F07h, F08h, F09h, F1Ch, F8Eh
Supported Set Verbs
707h, 708h, 709h, 71Ch, 71Dh, 71Eh, 71Fh, 78Eh
Unsolicited Responses
Presence Detect
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 25 Port-G and Port-F Nodes Summary Information
Port-G and Port-F each contain a VMID-referenced differential line driver which requires AC-coupling
if driving outputs directly. It is possible to use the output in a single-ended configuration if required;
note that this will result in a drop in signal level of 6dB.
If a single-ended output is required, VOUT2LP (VOUT3LP) and VOUT2RP (VOUT3RP) should be
used to connect to the load, and VOUT2LN (VOUT3LN) and VOUT2RN (VOUT3RN) should be left
unconnected. There is no requirement to change register settings or provide any additional external
components to compensate for the unconnected output pins.
w
PP, April 2011, Rev 3.2
56
WM8850
Pre-Production
S/PDIF RECEIVE
S/PDIF Receive functionality is supported using the SPDIFIN pin; this provides an IEC-60958-3
compatible S/PDIF input through the S/PDIF Rx node.
The S/PDIF receiver accepts all common audio sample frequencies from 32kHz to 96kHz, and an onchip fully-asynchronous sample rate coverter (SRC) provides the flexibility to interface any supported
incoming S/PDIF rate to the HDA interface without loss of quality. The S/PDIF receiver supports
readback of all 40-bits of the S/PDIF channel status information, but does not decode the user
channel data.
HDA Interface
The WM8850 nodes associated with this function are shown in Figure 13:
Figure 13 S/PDIF Receive Path
This section provides a summary of the S/PDIF In and S/PDIF Rx nodes, and describes the vendorspecific verb functions associated with each.
S/PDIF IN (NID = 10h)
Table 26 gives a summary of the S/PDIF In node:
NODE SUMMARY INFORMATION
NID
10h
Widget Type
Pin Complex
Supported Get Verbs
F00h, F07h, F08h, F09h, F1Ch, F8Eh, FA0h, FA1h
Supported Set Verbs
707h, 708h, 71Ch, 71Dh, 71Eh, 71Fh, 78Eh, 7A1h
Unsolicited Responses
Presence Detect
Lock Status
Recovered Rate Change
Vendor-Specific Verbs
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
FA0h : Get S/PDIF In Status Verb
FA1h, 7Ah : S/PDIF In Control Verb
Table 26 S/PDIF In Node Summary Information
The S/PDIF In node provides control over the physical connection of the input to the S/PDIF receiver.
The node also provides basic status information from the S/PDIF receiver circuitry, such as lock
status and recovered sample rate.
The S/PDIF input circuitry accepts signal levels as described in IEC-60958-3, as well as CMOS
compatible and low-amplitude CMOS compatible signals. This allows for a wide range of external
connectivity to the WM8850 depending on the application, which may range from direct connection of
electrical signals from a coaxial cable through a matching network or from another CMOS device like
an optical receiver or DSP.
w
PP, April 2011, Rev 3.2
57
WM8850
Pre-Production
The input configuration for the SPDIFIN pin is controlled by two register bits in the vendor-specific Get
S/PDIF In Control Verb.
SET VERB
7A1h
BIT
1
BITFIELD
NAME
CMOS
Thres
DEFAULT
0
DESCRIPTION
Selects the logic threshold levels when in
CMOS Mode:
0 = 30% / 70% thresholds
1 = 20% / 40% thresholds
0
Pin Mode
Sel
0
Selects the SPDIFIN Pin mode:
0 = CMOS Mode
1 = Comparator Mode
See Figure 14 for examples of the external connections required in each of the supported S/PDIF
input modes:
Figure 14 SPDIFIN Example External Connections
The vendor-specific S/PDIF In Status Verb can be used to see the current physical status of the
S/PDIF receiver. This verb indicates whether the S/PDIF Receiver circuitry is locked, and the sample
rate of the incoming S/PDIF stream.
GET VERB
FA0h
BIT
3:1
BITFIELD
NAME
RATE
DEFAULT
7h
DESCRIPTION
Recovered sample rate:
0h = Reserved
1h = Reserved
2h = 96 kHz
3h = 88.2 kHz
4h = 48 kHz
5h = 44.1 kHz
6h = 32 kHz
7h = Sample rate not detected
0
LOCK
0
S/PDIF Rx lock flag:
0 = Unlocked
1 = Locked
Note: The RATE value is measured directly from the incoming S/PDIF stream, using the BCLK on the
HDA link as a reference clock. The reported sample rate in the channel status of the S/PDIF stream
is not used to provide this value, so in a situation where the two differ the RATE value in the will
reflect the actual sample rate of the S/PDIF input signal. This assumes that the speed of the BCLK
on the HDA link is within the acceptable tolerance as defined in the HDA Specification.
w
PP, April 2011, Rev 3.2
58
WM8850
Pre-Production
If the S/PDIF receiver unlocks and the relocks once a stream is setup, for example as a result of a
change in the rate of the S/PDIF signal applied to SPDIFIN pin, then the WM8850 can be configured
to behave in two ways:
Push Method
As soon as the S/PDIF Rx loses lock the stream is overwritten with zeros at the previously received
sample rate. Once the S/PDIF Rx achieves lock again the zeros will be removed and the recovered
samples will be output at the new sample rate. This is the default behaviour for the WM8850.
When configured for the push method it is still possible for the controller to terminate the stream while
the S/PDIF Rx is unlocked by setting the Stream ID to 0. The stream will then not be restarted until
the Stream ID has been assigned a new (non-zero) number and the S/PDIF Rx has achieved lock
again.
Controlled Method
As soon as the S/PDIF Rx loses lock the stream is overwritten with zeros at the previous received
sample rate. This will continue until the stream is terminated by the controller by setting the Stream
ID to 0, even if the S/PDIF Rx regains lock. The stream will not be restarted until the Stream ID has
been assigned a new (non-zero) number and the S/PDIF Rx has achieved lock again.
The controlled method protects against a change in the stream sample rate while the stream is active.
The S/PDIF receiver unlock behaviour is selected using the S/PDIF In Control Verb.
SET VERB
7A1h
BIT
3
BITFIELD
NAME
Unlock Ctrl
DEFAULT
0
DESCRIPTION
S/PDIF In unlock control:
0 = Push method
1 = Controlled method
As the S/PDIF In node does not support presence detect as defined in the HDA specification, by
default it will report Presence Detect Capable=0 in the Pin Capabilities Parameter. However, it is
possible to use the lock status of the S/PDIF Rx to indicate that something is plugged into S/PDIF In
using the vendor-specific S/PDIF In Control Verb. If this feature is enabled the S/PDIF In node will
report Presence Detect Capable=1 in the Pin Capabilities Parameter, will support the Pin Sense Verb
and be able to generate an unsolicited response based on the presence detect value in the Pin Sense
Verb if this functionality is set in the Unsolicited Response Verb.
SET VERB
7A1h
BIT
2
BITFIELD
NAME
PD Config
DEFAULT
0
DESCRIPTION
Configures the Presence Detect Capable
parameter:
0 = Do not use lock status as presence detect
1 = Use lock status as presence detect
w
PP, April 2011, Rev 3.2
59
WM8850
Pre-Production
S/PDIF RX (NID = 05h)
Table 27 gives a summary of the S/PDIF Rx node:
NODE SUMMARY INFORMATION
NID
05h
Widget Type
Audio Input
Supported Get Verbs
Ah, F00h, F02h, F03h, F06h, F08h, F0Dh, F80h, F8Eh, F91h,
F92h, F93h
Supported Set Verbs
2h, 703h, 706h, 708h, 70Dh, 78Eh, 793h
Unsolicited Responses
Stream Drop
Sample Drop
SRC1 Lock Status Change
Digital Converter Register Update
Validity Flag Status Change
Channel Status Update
Non-Audio Flag Status Change
Data Receive Error
Vendor-Specific Verbs
F80h : S/PDIF Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
F91h : Get Channel Status Verb
F92h : Get Non-Audio Flag Verb
F93h, 793h : Sample Overwrite Control Verb
Table 27 S/PDIF Rx Node Summary Information
The S/PDIF Rx node provides control over the S/PDIF receiver circuitry and the optional SRC1
processing stage. The S/PDIF receiver measures the actual sample rate of the incoming S/PDIF
signal, recovers the payload data and decodes channel status information. The recovered data can
then be passed through SRC1 (Sample Rate Converter) if necessary to interface to the HDA link
domain.
The Digital Converter Verb is supported by the S/PDIF Rx node, allowing readback of selected
channel status information as defined in the HDA Specification. It is also possible to readback all 40bits of the channel status data as defined in IEC-60958-3, using the vendor-specific Get Channel
Status Verb.
w
PP, April 2011, Rev 3.2
60
WM8850
Pre-Production
GET VERB
F91h
BIT
BITFIELD
NAME
DEFAULT
DESCRIPTION
39:36
Original
Sampling
Frequency
N/A
Original Sampling Frequency
35:33
Sample
Word Length
N/A
Sample Word Length
32
Max Word
Length
N/A
Max Word Length
31:28
Clock
Accuracy
N/A
Clock Accuracy
27:24
Sampling
Frequency
N/A
Sampling Frequency
23:20
Channel
Number
N/A
Channel Number
19:16
Source
Number
N/A
Source Number
15:8
Category
Code
N/A
Category Code
7:6
Channel
Status Mode
N/A
Channel Status Mode
5:4
Additional
Deemphasis
Information
N/A
Additional De-emphasis Information
3
PRE
N/A
Pre-emphasis
2
/COPY
N/A
Copyright
1
/AUDIO
N/A
Non Audio
0
PRO
N/A
Professional/Consumer
Notes:
1.
[31:0] are returned when Payload[7:0] = 00h, [39:32] are returned when Payload[7:0] = 01h
2.
See IEC-60958-3 for full definitions of the channel status bits
The /AUDIO flag in the channel status for the S/PDIF stream is set by the source of the S/PDIF data
to indicate that the data samples within the S/PDIF stream are not audio PCM samples. In addition,
IEC-61937 specifies a non-audio sync code which can be detected by the WM8850. The WM8850
provides a Non Audio Flag to indicate if the non-audio code has been detected. The Non Audio Flag
can be readback using the vendor-specific Get Non-Audio Flag Verb.
GET VERB
F92h
BIT
0
BITFIELD
NAME
Non Audio
Flag
DEFAULT
0
DESCRIPTION
Indicates the presence of the Non Audio Flag:
0 = Non Audio Flag not asserted
1 = Non Audio Flag asserted
w
PP, April 2011, Rev 3.2
61
WM8850
Pre-Production
The generation of the Non Audio Flag is controllable in one of two ways:

The non-audio code (as defined in IEC-61937) is received by the WM8850. The value of the
/AUDIO channel status bit is ignored. The Non Audio Flag will clear after 4096 consecutive
S/PDIF frames have been received without the non-audio code being present.

The non-audio code (as defined in IEC-61937) is received by the WM8850 and the /AUDIO
channel status bit is set to 1. The Non Audio Flag will clear after 4096 consecutive S/PDIF
frames have been received without the non-audio code being present, or it will clear
immediately if the /AUDIO channel status bit is cleared.
The required function of the Non Audio Flag is set by the NA_CNTRL field as part of the Overwrite
Control Verb.
SET VERB
793h
BIT
BITFIELD
NAME
DEFAULT
2
NA_CNTRL
1
DESCRIPTION
Controls the generation of the Non-Audio Flag:
0 = Asserted when the non-audio code (as
defined in IEC-61937) is detected
1 = Asserted when the non-audio code (as
defined in IEC-61937) is detected and the
/AUDIO channel status bit is set
When the Non Audio Flag is asserted, the WM8850 can be configured to overwrite the recovered
data samples with zeros using the vendor-specific Overwrite Control Verb.
SET VERB
793h
BIT
1
BITFIELD
NAME
DEFAULT
NA_OVWR_
0
EN
DESCRIPTION
Enables data overwrite when the Non Audio
Flag is asserted:
0 = Do not overwrite
1 = Overwrite data with zeros
Notes:
1.
When in Software Formatted S/PDIF Mode, only the 24-bit payload can be overwritten
2.
When SRC1 is being used NA_OVWR_EN is set to 1 automatically by the WM8850 and
becomes read-only
The WM8850 can detect a S/PDIF received data error. A received data error can be the result of a
parity error, a bi-phase encoding error or by receiving out of sequence pre-ambles. Using the vendorspecific Overwrite Control Verb it is possible to configure with WM8850 to automatically overwrite
erroneous samples with zeros when a data error is detected and therefore the received sample is
erroneous:
SET VERB
793h
BIT
0
BITFIELD
NAME
DEFAULT
DE_OVWR_
1
EN
DESCRIPTION
Enables data overwrite when a data error is
detected:
0 = Do not overwrite erroneous sample
1 = Overwrite erroneous sample with zeros
Note: When in Software Formatted S/PDIF Mode, all 32-bits of the stream sample are overwritten
Note that the vendor-specific S/PDIF Verb supported by the S/PDIF Rx node is described in the
“S/PDIF Receive using SRC1” section below.
w
PP, April 2011, Rev 3.2
62
WM8850
Pre-Production
S/PDIF RECEIVE USING SRC1
The WM8850 provides a full-range sample rate converter, SRC1, to interface between the S/PDIF
receiver domain and the HDA link domain. SRC1 is implemented as a processing function within the
S/PDIF Rx node, and so is enabled by the Processing State Verb as defined in the HDA
Specification.
When SRC1 is enabled, it is configured automatically by the WM8850, using the recovered sample
rate for the S/PDIF stream for the input sample rate, and the Stream Format Verb for the output
sample rate. Figure 15 shows a simplified diagram to demonstrate this.
Figure 15 S/PDIF Receive using SRC1
When SRC1 is enabled, the lock status is reported using the vendor-specific S/PDIF Verb supported
by the S/PDIF Rx node (NID = 05h).
GET VERB
F80h
BIT
BITFIELD
NAME
DEFAULT
8
SRC_LOCK
0
DESCRIPTION
SRC1 lock flag:
0 = SRC1 unlocked
1 = SRC1 locked
When SRC1 is unlocked, it will output zero samples at the rate programmed by the Stream Format
Verb. When SRC1 gains lock, transmission of valid samples will begin.
S/PDIF RECEIVE WITHOUT USING SRC1
When SRC1 is not enabled, the Stream Format Verb becomes read-only, and is set according to the
recovered sample rate. Figure 16 shows a simplified diagram of this configuration.
Figure 16 S/PDIF Receive without SRC1
w
PP, April 2011, Rev 3.2
63
WM8850
Pre-Production
S/PDIF RECEIVE TO DACS
It is possible to select S/PDIF Rx as the data source for the DACs on the WM8850, as described in
the “Stereo Headphone Playback” and “Stereo Line Playback” sections.
In this mode, SRC1 is bypassed, the Stream Format Verb in each of the DAC nodes becomes readonly and are set according to the recovered sample rate. Figure 17 shows a simplified diagram of this
configuration.
Figure 17 S/PDIF Receive to DACs
w
PP, April 2011, Rev 3.2
64
WM8850
Pre-Production
S/PDIF TRANSMIT
S/PDIF Transmit functionality is supported using the SPDIFOUT1 pin; this provides an IEC-60958-3
compatible S/PDIF output through the S/PDIF Tx 1 node. An on-chip, fully-asynchronous sample rate
coverter (SRC2) provides the flexibility to generate any supported outgoing S/PDIF rate from any
supported HDA link rate if required.
S/PDIF Transmit functionality is also supported using the SPDIFOUT2 pin; this provides an IEC60958-3 compatible S/PDIF output through the S/PDIF Tx 2 node. Note that there is no SRC
associated with S/PDIF Tx 2.
It is possible to configure either of the S/PDIF outputs to select the ADC1, MIC1, MIC2 or S/PDIF In
nodes as the data source. These signal paths are enabled using vendor-specific verbs, and are
illustrated by dotted lines in Figure 18.
Both S/PDIF transmitters allow control over the channel status information.
Note that the SPDIFOUT2 pin also supports the DMICDAT2 function, which is described in the
“Digital Microphone Record” section.
HDA Interface
The WM8850 nodes associated with this function are shown in Figure 18.
Figure 18 S/PDIF Transmit Paths
This section provides a summary of the S/PDIF Tx 1, S/PDIF Tx 2 and S/PDIF Out nodes, and
describes the vendor-specific verb functions associated with each.
The Port-H node is described in the “Digital Microphone Record” section.
w
PP, April 2011, Rev 3.2
65
WM8850
Pre-Production
S/PDIF TX 1 (NID = 04h)
Table 26 gives a summary of the S/PDIF Tx 1 node:
NODE SUMMARY INFORMATION
NID
04h
Widget Type
Audio Output
Supported Get Verbs
Ah, F00h, F03h, F06h, F08h, F0Dh, F73h, F80h, F81h, F85h,
F8Eh
Supported Set Verbs
2h, 703h, 706h, 708h, 70Dh, 70Eh, 773h, 780h, 781h, 782h, 783h,
784h, 785h, 78Eh
Unsolicited Responses
SRC2 Lock Status
Stream Error
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
F80h, 780h : S/PDIF Verb
F81h, 781h, 782h, 783h, 784h : Tx Channel Status Control Verb
F85h, 785h : Channel Status Data Packing Configuration Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 28 S/PDIF Tx 1 Node Summary Information
The S/PDIF Tx 1 node controls the formatting of the IEC-60958-3 compatible S/PDIF output stream
and also the optional Sample Rate Conversion processing stage (SRC2).
Under default conditions, the S/PDIF Tx 1 node will process data received from the HDA interface. It
is also possible to select ADC1, MIC1 or MIC2 as the data source, using the vendor-specific Internal
Path Verb.
When ADC1, MIC1 or MIC2 is selected as the input to the S/PDIF Tx 1 node, the SRC2 is bypassed,
the Mult / Base / Div fields in the Stream Format Verb become read-only and are set according to the
selected source node.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
00h
DESCRIPTION
Selects the source of the S/PDIF Tx 1 node:
00h = HDA Link
02h = ADC1
03h = MIC1
15h = MIC2
w
PP, April 2011, Rev 3.2
66
WM8850
Pre-Production
The Digital Converter Verb is supported by the S/PDIF Tx 1 node, allowing selected channel status
information as defined in the HDA Specification to be set. It is also possible to set the remaining bits
of channel status data as defined in IEC-60958-3, using the vendor-specific Tx Channel Status
Control Verb.
SET VERB
784h
BIT
782h
781h
DEFAULT
DESCRIPTION
7:4
Channel
Status
[39:36]
0h
Original Sampling Frequency
3:1
Channel
Status
[35:33]
5h
Sample Word Length
Channel
Status [32]
1
Max Word Length
7:6
Channel
Status
[31:30]
0h
Channel Status [31:30]
5:4
Channel
Status
[29:28]
0h
Clock Accuracy
3:0
Channel
Status
[27:24]
1h
Sampling Frequency
7:4
Channel
Status
[23:20]
0h
Channel Number for Sub-Frame B
3:0
Channel
Status
[23:20]
0h
Channel Number for Sub-Frame A
7:4
Channel
Status
[19:16]
0h
Source Number
3:2
Channel
Status [7:6]
0h
Channel Status Mode
1:0
Channel
Status [5:4]
0h
Additional De-emphasis information
0
783h
BITFIELD
NAME
Notes:
w
1.
See IEC-60958-3 for full definitions of the channel status bits
2.
The channel number of Sub-Frame B is uniquely configuration – all other channel status bits in
Sub-Frame B have the same value as Sub-Frame A
3.
Remaining channel status bits are set using the Digital Converter Verb as per the HDA
Specification
PP, April 2011, Rev 3.2
67
WM8850
Pre-Production
Under default conditions, the WM8850 will pack the S/PDIF Tx Channel Status Data with the correct
values of Sampling Frequency and Sample Word Length automatically, taking into account the
various routing options through the chip. This means the Channel Status Data always reflects the
same rate as the physical S/PDIF stream.
If required, this behaviour can be disabled using the vendor-specific Channel Status Data Packing
Configuration Verb. When CSD_MODE is set to 0, the S/PDIF Tx Channel Status Data is completely
defined using the vendor-specifc Tx Channel Status Control Verb.
SET VERB
785h
BIT
BITFIELD
NAME
DEFAULT
0
CSD_MODE
1
DESCRIPTION
S/PDIF Transmitter Channel Status Data
Packing Mode:
0 = Manual mode: sample rate and data width
channel status data packed from data sourced
from the Tx Channel Status Control Verb
1 = Automatic mode: sample rate and data
width channel status data packed from data
sourced from the Stream Verb, S/PDIF Verb or
S/PDIF Rx Rate Detector (depending on
routing through device)
Note that the vendor-specific S/PDIF Verb supported by the S/PDIF Tx node is described in the
“S/PDIF Transmit using SRC2” section below.
S/PDIF OUT (NID = 0Fh)
Table 30 gives a summary of the S/PDIF Out node:
NODE SUMMARY INFORMATION
NID
0Fh
Widget Type
Pin Complex
Supported Get Verbs
F00h, F02h, F07h, F08h, F09h, F1Ch, F73h, F8Eh
Supported Set Verbs
707h, 708h, 71Ch, 71Dh, 71Eh, 71Fh, 773h, 78Eh
Unsolicited Responses
Presence Detect
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 29 S/PDIF Out Node Summary Information
The S/PDIF Out node controls the physical output to the SPDIFOUT1 pin.
Under default conditions, the S/PDIF Out node will output data from the S/PDIF Tx 1 node. It is also
possible to select S/PDIF In as the data source, using the vendor-specific Internal Path Verb.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
04h
DESCRIPTION
Selects the source of the S/PDIF Out node:
04h = S/PDIF Tx 1
10h = S/PDIF In
All other values of Path Sel are reserved.
Note: This verb will override the path indicated by the Get Connection List Entry Verb.
w
PP, April 2011, Rev 3.2
68
WM8850
Pre-Production
S/PDIF TRANSMIT USING SRC2
The WM8850 provides a full-range sample rate converter, SRC2, to interface between the HDA link
domain and the S/PDIF transmitter (S/PDIF Tx 1) domain. SRC2 is implemented as a processing
function within the S/PDIF Tx 1 node, and so is enabled by the Processing State Verb as defined in
the HDA Specification.
When SRC2 is enabled, it is configured automatically by the WM8850, using the Stream Format Verb
for the input sample rate, and the vendor-specific S/PDIF Verb for the output. Figure 19 shows a
simplified diagram to demonstrate this:
Figure 19 S/PDIF Transmit using SRC2
Note that the SRC2 Sample Rate Converter is associated with the S/PDIF Tx 1 node only; there is no
SRC associated with S/PDIF Tx 2.
Note that, when SRC2 is enabled, the output S/PDIF stream will always contain 24-bit data.
The vendor-specific S/PDIF Verb implemented in the S/PDIF Tx 1 node is described below.
When SRC2 is enabled, the lock status is reported using the SRC_LOCK bit. When SRC2 is
unlocked, it will output zero samples at the rate programmed by the Stream Format Verb. When
SRC2 gains lock, transmission of valid samples will begin.
The LINKED_MODE bit provides the option to synchronise the S/PDIF Tx 1 output with the S/PDIF
Rx input stream. Further details of this function are provided below.
GET VERB
F80h
BIT
BITFIELD
NAME
DEFAULT
8
SRC_LOCK
0
DESCRIPTION
SRC2 lock flag:
0 = SRC2 unlocked
1 = SRC2 locked
7
SRC_BASE
0
Used to set the base rate frequency:
0 = 48 kHz
1 = 44.1 kHz
6:4
SRC_MULT
0h
Used to set the base rate multiplication factor:
0h = x1 (48 kHz, 44.1 kHz or less)
1h = x2 (96 kHz, 88.2 kHz, 32 kHz)
2h = Reserved
3h = x4 (192 kHz, 176.4 kHz)
4h-7h = Reserved
3:1
SRC_DIV
0h
Used to set the base rate division factor:
0h = divide by 1 (48 kHz, 44.1 kHz)
1h = Reserved
2h = divide by 3 (32 kHz)
3h-7h= Reserved
0
LINKED_
MODE
0
Linked mode control:
0 = Linked mode disabled
1 – Linked mode enabled
w
PP, April 2011, Rev 3.2
69
WM8850
Pre-Production
When the LINKED_MODE bit is set in the S/PDIF Verb, the S/PDIF Tx 1 output is synchronised to the
S/PDIF Rx input stream. In this mode, the SRC_BASE register field should be set to match the base
rate frequency of the Input Sample Rate. The SRC_MULT and SRC_DIV fields can be used to select
a range of S/PDIF Tx1 output sample rates which are synchronous to the received S/PDIF Rx sample
rate. Figure 20 shows a simplified diagram:
Figure 20 S/PDIF Transmit - Linked Mode
S/PDIF TRANSMIT WITHOUT USING SRC2
When SRC2 is not enabled, the output sample rate of the S/PDIF stream is controlled directly from
Stream Format Verb. Figure 21 shows a simplified diagram:
Figure 21 S/PDIF Transmit without SRC2
w
PP, April 2011, Rev 3.2
70
WM8850
Pre-Production
S/PDIF TX 2 (NID = 17h)
Table 30 gives a summary of the S/PDIF Tx 2 node:
NODE SUMMARY INFORMATION
NID
17h
Widget Type
Audio Output
Supported Get Verbs
Ah, F00h, F06h, F08h, F0Dh, F73h, F81h, F85h, F8Eh
Supported Set Verbs
2h, 706h, 708h, 70Dh, 70Eh, 773h, 781h, 782h, 783h, 784h, 785h,
78Eh
Unsolicited Responses
Stream Error
Vendor-Specific Verbs
F73h, 773h : Internal Path Verb
F81h, 781h, 782h, 783h, 784h : Tx Channel Status Control Verb
F85h, 785h : Channel Status Data Packing Configuration Verb
F8Eh, 78Eh ; Unsolicited Response Priority Control Verb
Table 30 S/PDIF Tx 2 Node Summary Information
The S/PDIF Tx 2 node controls the formatting of the IEC-60958-3 compatible S/PDIF output stream.
Under default conditions, the S/PDIF Tx 2 node will process data received from the HDA interface. It
is also possible to select ADC1, MIC1 or MIC2 as the data source, using the vendor-specific Internal
Path Verb.
When ADC1, MIC1 or MIC2 is selected as the input to the S/PDIF Tx 2 node, the Mult / Base / Div
fields in the Stream Format Verb become read-only and are set according to the selected source
node.
SET VERB
773h
BIT
7:0
BITFIELD
NAME
Path Sel
DEFAULT
00h
DESCRIPTION
Selects the source of the S/PDIF Tx 2 node:
00h = HDA Link
02h = ADC1
03h = MIC1
15h = MIC2
The Digital Converter Verb is supported by the S/PDIF Tx 2 node, allowing selected channel status
information as defined in the HDA Specification to be set. It is also possible to set the remaining bits
of channel status data as defined in IEC-60958-3, using the vendor-specific Tx Channel Status
Control Verb.
SET VERB
784h
BIT
w
DEFAULT
DESCRIPTION
7:4
Channel
Status
[39:36]
0h
Original Sampling Frequency
3:1
Channel
Status
[35:33]
5h
Sample Word Length
Channel
Status [32]
1
Max Word Length
7:6
Channel
Status
[31:30]
0h
Channel Status [31:30]
5:4
Channel
Status
[29:28]
0h
Clock Accuracy
3:0
Channel
Status
[27:24]
1h
Sampling Frequency
0
783h
BITFIELD
NAME
PP, April 2011, Rev 3.2
71
WM8850
Pre-Production
782h
781h
7:4
Channel
Status
[23:20]
0h
Channel Number for Sub-Frame B
3:0
Channel
Status
[23:20]
0h
Channel Number for Sub-Frame A
7:4
Channel
Status
[19:16]
0h
Source Number
3:2
Channel
Status [7:6]
0h
Channel Status Mode
1:0
Channel
Status [5:4]
0h
Additional De-emphasis information
Notes:
1.
See IEC-60958-3 for full definitions of the channel status bits
2.
The channel number ofr Sub-Frame B is uniquely configuration – all other channel status bits in
Sub-Frame B have the same value as Sub-Frame A
3.
Remaining channel status bits are set using the Digital Converter Verb as per the HDA
Specification
Under default conditions, the WM8850 will pack the S/PDIF Tx Channel Status Data with the correct
values of Sampling Frequency and Sample Word Length automatically, taking into account the
various routing options through the chip. This means the Channel Status Data always reflects the
same rate as the physical S/PDIF stream.
If required, this behaviour can be disabled using the vendor-specific Channel Status Data Packing
Configuration Verb. When CSD_MODE is set to 0, the S/PDIF Tx Channel Status Data is completely
defined using the vendor-specifc Tx Channel Status Control Verb.
SET VERB
785h
BIT
BITFIELD
NAME
DEFAULT
0
CSD_MODE
1
DESCRIPTION
S/PDIF Transmitter Channel Status Data
Packing Mode:
0 = Manual mode: sample rate and data width
channel status data packed from data sourced
from the Tx Channel Status Control Verb
1 = Automatic mode: sample rate and data
width channel status data packed from data
sourced from the Stream Verb, S/PDIF Verb or
S/PDIF Rx Rate Detector (depending on
routing through device)
w
PP, April 2011, Rev 3.2
72
WM8850
Pre-Production
ANCILLARY FUNCTIONS
The WM8850 contains a beep widget suitable for the playback of system beeps to the analogue
output widgets.
BEEP (NID = 14h)
Table 31 gives a summary of the Beep node:
NODE SUMMARY INFORMATION
NID
14h
Widget Type
Beep Generator
Supported Get Verbs
Bh, F00h, F0Ah, F72h
Supported Set Verbs
3h, 70Ah, 772h
Unsolicited Responses
Not supported
Vendor-Specific Verbs
F72h, 772h : Beep Mask Selection Verb
Table 31 Beep Node Summary Information
The Beep node controls the system beep sound created by the WM8850. The volume of the beep
signal is controlled using the Amplifier Gain/Mute Verb. The frequency of the beep signal is controlled
using the Beep Generation Verb.
The beep signal overrides any sound currently being reproduced in the output path. Under default
conditions, the beep is applied to all active outputs simultaneously. It is possible to mask the beep
generator output to appear only at specific output nodes using the vendor-specific Beep Mask
Selection Verb.
SET VERB
772h
BIT
BITFIELD
NAME
DEFAULT
2
Port-A Beep
Mask
0h
Port-G Beep
Mask
0h
Port-F Beep
Mask
0h
DESCRIPTION
Beep mask enable for Port-A (DAC1)
0h = Beep produced on Port-A
1h = Beep not produced on Port-A
1
Beep mask enable for Port-G (DAC2)
0h = Beep produced on Port-G
1h = Beep not produced on Port-G
0
Beep mask enable for Port-F (DAC3)
0h = Beep produced on Port-F
1h = Beep not produced on Port-F
AUDIO FUNCTION GROUP (NID = 01h)
Table 32 gives a summary of the Audio Function Group node:
NODE SUMMARY INFORMATION
NID
01h
Widget Type
Audio Function Group
Supported Get Verbs
F00h, F05h, F08h, F15h, F16h, F17h, F18h, F19h, F1Ah, F20h,
F71h, F86h, F8Eh
Supported Set Verbs
7FFh, 705h, 708h, 715h, 716h, 717h, 718h, 719h, 71Ah, 720h,
721h, 722h, 723h, 771h, 786h, 78Eh
Unsolicited Responses
GPIO status change
Vendor-Specific Verbs
F71h, 771h : VMID Control Verb
F86h, 786h : GPIO Automatic Control Verb
F8Eh, 78Eh : Unsolicited Response Priority Control Verb
Table 32 Audio Function Group Node Summary Information
w
PP, April 2011, Rev 3.2
73
WM8850
Pre-Production
VMID Voltage Reference Control
The analogue circuits in the WM8850 require a mid-rail analogue reference voltage, VMID. This
reference is generated from AVDD via a programmable resistor chain. Together with the external
VMID decoupling capacitor, the programmable resistor chain determines the charging rate on VMID.
The resistor chain is selected using VMID_SEL, and can be used to optimise the reference for normal
operation, low power standby or for fast start-up.
The VMID charge rate is controlled by VMID_SEL and the external VMID capacitor. The VMID_RATE
field can be used to control the WM8850 power state according to the appropriate VMID conditions. In
start-up from power state D4, the WM8850 will not indicate the D3 power state until the time set by
VMID_RATE has elapsed.
The VMID_SEL and VMID_RATE fields are part of the VMID Control Verb.
SET VERB
771h
BIT
BITFIELD
NAME
DEFAULT
4:2
VMID_RATE
2h
DESCRIPTION
Time allocated to charge VMID:
0h = 1024ms
1h = 512ms
2h = 256ms
3h = 128ms
4h = 64ms
5h = 32ms
6h = 16ms
7h = 8ms
1:0
VMID_SEL
2h
VMID String Source Impedance Select:
0h = 12.5k
1h = 75
2h = 37.5k
3h = 375k
Note: These figures give the value of the
resistor from AVDD to VMID and from VMID to
GND.
GPIO2 Automatic Control Mode
The GPIO Automatic Control Verb controls the behaviour of the GPIO2 pin.
In a system where external speaker amplifiers are connected to the WM8850 the GPIO2 pin may be
used to control the enable pin(s) of these amplifiers. For this application, it is possible to
automatically configure the GPIO2 pin as an output and to control its logic level as a function of the
AFG power state. This function is enabled by setting GPIO2_AUTO=1 in the vendor-specifc GPIO
Automatic Control Verb:
SET VERB
786h
BIT
0
BITFIELD
NAME
GPIO2_
AUTO
DEFAULT
1
DESCRIPTION
GPIO2 Control Mode:
0 = GPIO2 Manual Mode
1 = GPIO Automatic Control Mode
The behaviour of GPIO2 when GPIO2_AUTO=1 is summarised in Table 33 below.
GPIO2_AUTO=0 the behaviour of GPIO2 is as per the standard GPIO verbs.
w
When
PP, April 2011, Rev 3.2
74
WM8850
Pre-Production
AFG PS-Act
GPIO2 Output
0
Logic 1
1
Logic 1
2
Logic 0
3
Logic 0
4
Logic 0
Table 33 GPIO2 Automatic Control Mode Summary
Unsolicited Response Priority Control Verb
The Unsolicited Response Priority Control Verb is supported by multiple nodes within the WM8850,
including the Audio Function Group (AFG) node. This verb allows the Unsolicited Responses
associated with each node to be prioritised relative to the other nodes.
The priority level for each node is set using the Priority field within the Unsolicited Response Priority
Control Verb. When more than one Unsolicited Response is awaiting transmission, the node with the
lowest Priority is placed at the front of the queue. Nodes that have the same Priority setting are
queued on a ‘first to trigger’ basis.
Note that the lowest value of Priority represents the highest position in the queue.
The Unsolicited Response Priority Control Verb is defined as follows.
SET VERB
78Eh
BIT
4:0
BITFIELD
NAME
Priority
DEFAULT
DESCRIPTION
00h
Assigns a priority setting for queued
Unsolicited Responses. Nodes with the lowest
value have the highest priority, and so go to
the front of the Unsolicited Response queue.
Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority.
w
PP, April 2011, Rev 3.2
75
WM8850
Pre-Production
UNSOLICITED RESPONSES
The High Definition Audio Specification provides support for software interrupts to be generated by
the CODEC independent of verb commands sent to the CODEC: these are known as Unsolicited
Responses. This section defines how the WM8850 creates Unsolicited Responses, explains some of
the novel features in the WM8850 to manage them, and what each Unsolicited Response from each
node represents. This section assumes familiarity with the High Definition Audio Specification.
GENERATING UNSOLICITED RESPONSES
Unsolicited Responses can only be sent wherever a null response would normally be sent.
Unsolicited Responses are queued on a frame-basis. That is, if an Unsolicited Response is issued in
the current frame, it is sent on the next frame containing a null response.
PRIORITY QUEUING
Where more than one Unsolicited Response is awaiting transmission, they are queued such that the
Unsolicited Response with the lowest Priority value (set using the Unsolicited Response Priority
Control Verb) is at the front of the queue. Nodes that have the same Priority setting are queued on a
‘first-to-trigger’ basis.
The Unsolicited Response Priority Control Verb is described in the “Ancillary Functions” section
describing the Audio Function Group node.
IN-QUEUE-UPDATE
The WM8850 stores all flags that trigger an Unsolicited Response. If a node triggers an Unsolicited
Response, the Unsolicited Response is queued as described above. Should the same node trigger a
second Unsolicited Response (from a different flag within that node) while the first is being queued,
the Unsolicited Response is updated to show both flags. This is known as an ‘In-Queue-Update’.
Should the same node trigger a second Unsolicited Response (from the same flag within the node)
while the first is being queued, only one Unsolicited Response is sent for both events.
w
PP, April 2011, Rev 3.2
76
WM8850
Pre-Production
The concepts of Priority Queuing and In-Queue-Update are illustrated with the example in Figure 22.
Figure 22 Priority Queuing and In-Queue Updates
w
a)
STREAM_ERR flag asserts from DAC1 Node (NID = 06h), and an Unsolicited Response
(Tag ID = 06h) is queued awaiting a null response slot. STREAM_ERR rescinds at the end
of the HDA frame.
b)
GPIO1 input changes to a 1 so the GPIO1 flag (from AFG NID = 01h) asserts and queues
an Unsolicited Response (Tag ID = 01h). This Unsolicited Response goes to the front of
the queue as its Priority value is lower (indicating higher priority) than the Priority setting of
the Unsolicited Response presently at the front of the queue.
c)
GPIO2 input changes to a 1 so the GPIO2 flag asserts. The GPIO2_UPD flag is from the
AFG (NID = 01h), and as there is already an Unsolicited Response from this node in the
queue, the queued Unsolicited Response is updated to show both events (as highlighted
with the yellow box). This is known as an ‘In-Queue-Update’.
d)
A slot becomes available for sending an Unsolicited Response, so the AFG Unsolicited
Response is transmitted as it is at the front of the queue.
e)
STREAM_ERR asserts from DAC1 Node (NID = 06h). As there is already an Unsolicited
Response in the queue from this node, the Unsolicited Response is simply updated (as
shown in the purple box). However, the queued Unsolicited Response already shows that
there has been a STREAM_ERR flag so the In-Queue-Update does not actually change the
Unsolicited Response value.
f)
A slot becomes available for sending an Unsolicited Response, so the Unsolicited
Response (Tag ID = 06h) is transmitted.
PP, April 2011, Rev 3.2
77
WM8850
Pre-Production
UNSOLICITED RESPONSE TYPES
There are three types of flags that are returned by the WM8850, prefixed in the register map as
follows:
SF = UNSOLICITED RESPONSE STATUS FLAG
Unsolicited Response Status Flags (SF) are used to indicate that there has been a change in flag
state, and (where possible) convey what the new state is. A change in state is typically something
that will persist for a number of HDA frames. A state change will trigger an Unsolicited Response, but
it is possible that a state change can occur more than once while an Unsolicited Response is being
queued.
To indicate this, Unsolicited Response Status Flags are 2-bits wide and are encoded as follows:
0h = Flag did not trigger Unsolicited Response.
1h = Rising edge of flag triggered Unsolicited Response.
2h = Falling edge of flag triggered Unsolicited Response.
3h = Rising and falling edges of the flag have been detected while the Unsolicited Response has
been queued
When the Unsolicited Response Status Flag is reported as 0h, the user is informed that there has
been no change in status. When the Unsolicited Response Status Flag is reported as 1h or 2h, the
user is informed that there has been a change in status and what the new status value is. When the
Unsolicited Response Status Flag is reported as 3h, the user is informed of a multiple change in
status, and the user should read the associated flag’s status register to get the current status value of
the flag.
UF = UNSOLICITED RESPONSE UPDATE FLAG
Unsolicited Response Update Flags (UF) are used to indicate that there has been one or more
changes to the value of some status registers. The status register should be read (through the issue
of the appropriate Get command), to see the current register value.
EF = UNSOLICITED RESPONSE EVENT FLAG
Unsolicited Response Event Flags (EF) are used to indicate that an event has occurred during an
HDA Frame. The occurrence of an event will trigger an Unsolicited Response.
w
PP, April 2011, Rev 3.2
78
WM8850
Pre-Production
UNSOLICITED RESPONSE DEFINITIONS
Table 34 gives a summary of the definitions of the Unsolicited Responses from each node in the
WM8850. Note that these responses are generated only when the node is set to generate them,
using the Unsolicited Reponse Verb as defined in the HDA specification.
NID
01h
NODE
UNSOLICITED RESPONSE
NAME
BIT
AFG
[31:26]
FLAG NAME
DESCRIPTION
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:4]
Rsvd
Reserved
[3:2]
SF_GPIO2
Indicates that the value on GPIO2 (configured as an input) has
changed, and reports new status value.
When the AFG is in power state D0, D1 or D2, a change in GPIO
status triggers an Unsolicited Response.
When the AFG is in power state D3, a change in GPIO status
triggers a power state change request.
Note that the status value is also accessible through the Get GPIO
Data Verb.
[1:0]
SF_GPIO1
Indicates that the value on GPIO1 (configured as an input) has
changed, and reports new status value.
When the AFG is in power state D0, D1 or D2, a change in GPIO
status triggers an Unsolicited Response.
When the AFG is in power state D3, a change in GPIO status
triggers a power state change request.
Note that the status value is also accessible through the Get GPIO
Data Verb.
02h
ADC1
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_DROP
Indicates that the stream associated with the ADC1 node has been
dropped due to the bandwidth of the SDI line being
oversubscribed.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared when the Stream ID is written to.
03h
MIC1
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_DROP
Indicates that the stream associated with the MIC1 node has been
dropped due to the bandwidth of the SDI line being
oversubscribed.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared when the Stream ID is written to.
w
PP, April 2011, Rev 3.2
79
WM8850
NID
Pre-Production
NODE
NAME
UNSOLICITED RESPONSE
BIT
04h S/PDIF TX 1 [31:26]
[25:3]
[2]
FLAG NAME
Tag
DESCRIPTION
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_ERR
Indicates that an error has occurred in the transfer of data from the
HDA Link to the Stream Manager.
Assertion of the flag triggers an Unsolicited Response.
The flag rescinds at the end of the present HDA frame.
[1:0]
SF_SRC2
Indicates that the lock status of SRC2 has changed, and reports
the new lock status.
A change in status triggers an Unsolicited Response.
The status value is also accessible through the Get SRC Verb.
05h
S/PDIF Rx
[31:26]
[25:11]
[10]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_DROP
Indicates that the stream associated with the S/PDIF Rx node has
been dropped due to the bandwidth of the SDI line being
oversubscribed.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared when the Stream ID is written to.
[9]
EF_SAMPLE_DROP
Indicates that additional samples (due to the recovered S/PDIF
rate being faster than the nominal rate) have been dropped due to
the bandwidth of the SDI line being oversubscribed.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
[8:7]
SF_SRC1
Indicates that the lock status of SRC1 has changed, and reports
the new lock status.
A change in status triggers an Unsolicited Response.
The status value is also accessible through the Get SRC Verb.
[6]
UF_CSUD_DC
Indicates that there has been a change to one of the bits in the
Digital Converter register.
A change in status triggers an Unsolicited Response.
The status values are accessible through the Get Digital Converter
Verb.
[5:4]
SF_V_DC
Indicates that the validity bit has changed value.
A change in status triggers an Unsolicited Response.
The status value is also accessible through the Get Digital
Converter Verb.
w
PP, April 2011, Rev 3.2
80
WM8850
Pre-Production
NID
NODE
NAME
UNSOLICITED RESPONSE
BIT
[3]
FLAG NAME
UF_CSUD_CON
DESCRIPTION
Indicates that one (or more) of the first 40-bits of the channel
status frame has changed.
A change in status triggers an Unsolicited Response.
The status values are accessible through the Get Channel Status
Verb.
[2:1]
SF_NAF
Indicates that the non-audio flag (defined in IEC-61937) has
changed value.
A change in status triggers an Unsolicited Response.
The status value is also accessible through the Get Non-Audio
Flag Verb.
[0]
EF_DATA_ERR
Indicates there has been a parity error, bi-phase encoding error or
that preambles have been recovered out of sequence in the
received S/PDIF stream.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
06h
DAC1
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_ERR
Indicates that an error has occurred in the transfer of data from the
HDA Link to the Stream Manager.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
07h
DAC2
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_ERR
Indicates that an error has occurred in the transfer of data from the
HDA Link to the Stream Manager.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
08h
DAC3
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_ERR
Indicates that an error has occurred in the transfer of data from the
HDA Link to the Stream Manager.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
w
PP, April 2011, Rev 3.2
81
WM8850
NID
0Ch
Pre-Production
NODE
UNSOLICITED RESPONSE
NAME
BIT
Port-E
[31:26]
FLAG NAME
DESCRIPTION
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:2]
Rsvd
Reserved
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
0Dh
Port-B
[31:26]
[25:3]
[2]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_IMP
Indicates that the Impedance Sense value is ready.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared on an issue of a Get Pin Sense Verb.
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
0Fh
S/PDIF Out
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:2]
Rsvd
Reserved
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
[31:26]
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
w
PP, April 2011, Rev 3.2
82
WM8850
Pre-Production
NID
10h
NODE
UNSOLICITED RESPONSE
NAME
BIT
S/PDIF In
[31:26]
[25:5]
[4]
FLAG NAME
DESCRIPTION
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
UF_RATE
Indicates that the recovered sample rate of the S/PDIF receiver
has changed.
A change in status triggers an Unsolicited Response.
The status value is accessible through the Get S/PDIF In Status
Verb.
[3:2]
SF_SPDIN
Indicates that the Lock status of the in the S/PDIF Receiver.
A change in status triggers an Unsolicited Response.
The status value is also accessible through the Get S/PDIF In
Status Verb.
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
11h
Port-A
[31:26]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:2]
Rsvd
Reserved
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
12h
Port-G
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:2]
Rsvd
Reserved
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
[31:26]
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
w
PP, April 2011, Rev 3.2
83
WM8850
NID
13h
Pre-Production
NODE
UNSOLICITED RESPONSE
NAME
BIT
Port-F
[31:26]
FLAG NAME
DESCRIPTION
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
[25:2]
Rsvd
Reserved
[1:0]
SF_PD
Indicates that the Presence Detect value (in the Pin Sense Verb)
has changed.
A change in status triggers an Unsolicited Response (when the
AFG is in power state D0, D1, D2) or it triggers a power state
change request (when the AFG is in power state D3).
The status value is also accessible through the Get Pin Sense
Verb.
15h
MIC2
[31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_DROP
Indicates that the stream associated with the MIC2 node has been
dropped due to the bandwidth of the SDI line being
oversubscribed.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared when the Stream ID is written to.
17h
S/PDIF Tx 2 [31:26]
[25:1]
[0]
Tag
A software programmable tag value. The default value is equal to
the Node ID. Other values can be configured using the Unsolicited
Response Verb.
Rsvd
Reserved
EF_STREAM_ERR
Indicates that an error has occurred in the transfer of data from the
HDA Link to the Stream Manager.
Assertion of the flag triggers an Unsolicited Response.
The flag is cleared at the end of the present HDA frame.
Table 34 Unsolicited Response Summary
w
PP, April 2011, Rev 3.2
84
WM8850
Pre-Production
DETAILED VERB DESCRIPTIONS
00h
This section provides full verb information on each node in the WM8850. For verbs defined as part of
the High Definition Audio Specification Revision 1.0 this is the only information provided. For vendorspecific verbs, more detailed explanation of the function is provided in the main text of the datasheet
above.
ROOT NODE (NID = 00H)
Get
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Bitfield Name
02h
03h
Verb ID
04h
Vendor ID Response Format (PID = 00h)
Bit
01h
RW
Default
Description
[31:16]
Vendor ID
R
1AECh
Vendor ID
[15:0]
Device ID
R
8800h
Device ID = WM8800
05h
06h
07h
Revision ID Response Format (PID = 02h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
Reserved
[23:20]
MajRev
R
1h
Major revision number (left of the decimal) of the HDA Specification to
which the WM8850 is fully compliant
[19:16]
MinRev
R
0h
Minor revision number (right of the decimal) of the HDA Specification to
which the WM8850 is fully compliant
[15:8]
Revision ID
R
-
Wolfson’s revision number for this device
[7:0]
Stepping ID
R
-
Optional stepping number within the Revision ID
08h
09h
0Ah
0Bh
Subordinate Node Count Response Format (PID = 04h)
Bit
Bitfield Name
[31:24]
Rsvd
RW
Default
R
00h
[23:16]
Starting NID
R
01h
Starting NID of the first function group
[15:8]
Rsvd
R
00h
Reserved
[7:0]
Total Nodes
R
1h
Total number of function group nodes
0Ch
Description
Reserved
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
85
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
86
WM8850
Pre-Production
00h
AUDIO FUNCTION GROUP (NID = 01H)
FUNCTION RESET VERB
Execute
01h
Verb ID
Payload [7:0]
Response[31:0]
7FFh
00h
00000000h
Bit
Bitfield Name
[7:0]
Reset
RW
Default
W
00h
02h
Description
03h
AFG reset.
00h = AFG and all widget nodes associated with the AFG will reset to
default values. The WM8850 will issue a response and then be ready to
accept commands in the frame following the valid response.
Note: The Implementation ID/Subsystem ID Verb and the Configuration
Default Verb will not be reset using this verb.
07h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
08h
Subordinate Node Count Response Format (PID = 04h)
Bit
Bitfield Name
RW
Default
09h
Description
[31:24]
Rsvd
R
00h
Reserved
[23:16]
Starting NID
R
02h
Starting NID of the first widget in the AFG
[15:8]
Rsvd
R
00h
Reserved
[7:0]
Total Nodes
R
16h
Total number of widget nodes within the AFG
0Ah
0Bh
Function Group Type Response Format (PID = 05h)
Bit
Bitfield Name
RW
Default
[31:9]
Rsvd
R
000000h
[8]
Unsol
R
1
[7:0]
Node Type
R
01h
0Ch
Description
Reserved
0Dh
The AFG Node is capable of generating Unsolicited Responses
Node Type is Audio Function Group
0Eh
Audio Function Group Capabilities Response Format (PID = 08h)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
Beep Gen
R
1
[15:12]
Rsvd
R
00h
0Fh
Description
Reserved
10h
Beep Generator Widget present
Reserved
[11:8]
Input Delay
R
8h
Number of samples of input delay
[7:4]
Rsvd
R
00h
Reserved
[3:0]
Output Delay
R
8h
Number of samples of output delay
11h
12h
Input Amplifier Capabilities Response Format (PID = 0Dh)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
0
[30:23]
Rsvd
R
00h
[22:16]
Step Size
R
27h
[15]
Rsvd
R
0
05h
06h
GET PARAMETER VERB
Get
04h
13h
Description
Microphone preamplifers are not capable of muting
14h
Reserved
Gain step size is 10dB
15h
Reserved
[14:8]
Num Steps
R
03h
[7]
Rsvd
R
0
Reserved
Number of steps in gain range is 4 (0dB to +30dB)
[6:0]
Offset
R
0h
The step number that 0dB corresponds to is 0
16h
17h
w
PP, April 2011, Rev 3.2
87
WM8850
Pre-Production
Output Amplifier Capabilities Response Format (PID = 12h)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
1
[30:23]
Rsvd
R
0000h
[22:16]
Step Size
R
01h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
7Fh
[7]
Rsvd
R
0
[6:0]
Offset
R
7Fh
Description
DAC Volume control is capable of muting
Reserved
Gain step size is 0.5dB
Reserved
Number of steps in gain range is 128 (0dB to -63.5dB)
Reserved
The step number that 0dB corresponds to is 7Fh
Supported Power States Response Format (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31]
EPSS
R
0
Description
EPSS not supported
[30]
CLKSTOP
R
1
Indicates that the link BCLK can be stopped when the WM8850 is in power
state D3. The WM8850 will still perform jack detection and issue a wake
the Presence Detect value of a node (in its Pin Sense Verb) has changed.
Note: The Power State Verb for the AFG should be queried before actually
stopping BCLK to ensure it is acceptable to do so
[29:5]
Rsvd
R
0000000h
[4]
D4Sup
R
1
Reserved
D4 Power State supported
[3]
D3Sup
R
1
D3 Power State supported
[2]
D2Sup
R
1
D2 Power State supported
[1]
D1sup
R
1
D1 Power State supported
[0]
D0Sup
R
1
D0 Power State supported
GPI/O Count Response Format (PID = 11h)
Bit
Bitfield Name
RW
Default
[31]
GPIO Wake
R
1
Indicates that a GPIO configured as an input can cause a wake (i.e.
generate a Status Change event on the HDA Link)
[30]
GPIO Unsol
R
1
Indicates that a GPIO configured as an input can cause an Unsolicited
Response to be generated
[29:24]
Rsvd
R
00h
Reserved
[23:16]
Num GPIs
R
00h
Device does not support any GPI pins
[15:8]
Num GPOs
R
00h
Device does not support any GPO pins
[7:0]
Num GPIOs
R
02h
Device supports 2 GPIO pins
w
Description
PP, April 2011, Rev 3.2
88
WM8850
Pre-Production
00h
POWER STATE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F05h
00h
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:10]
[9]
01h
02h
RW
Default
Description
Rsvd
R
000000h
Reserved
PS-ClkStopOK
R
0
03h
Applicable when the AFG is in power state D3:
0 = BCLK must be kept running
04h
1 = It is OK to stop BCLK
[8]
Rsvd
R
0
[7:4]
PS-Act
R
2h
Reserved
05h
Indicates the actual power state of the AFG node:
0h = D0
1h = D1
06h
2h = D2
3h = D3
07h
4h = D4
08h
The power state of the AFG is controlled by PS-Set below. For the AFG,
PS-Act will equal PS-Set (offset by the time required to execute a power
state transition).
[3:0]
PS-Set
RW
2h
09h
Sets the power state of the AFG node:
0h = D0
0Ah
1h = D1
2h = D2
3h = D3
0Bh
4h = D4
Note: If the Link is operational, but the AFG is in power state D4, only Get Commands, Set Power State or AFG Reset
commands are executed – all other commands are ignored. In this scenario, the SDI line is inactive and does not transmit
responses, tags or data.
0Ch
0Dh
UNSOLICITED RESPONSE VERB
0Eh
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
0Fh
10h
0 = Unsolicited Responses disabled for this node
11h
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
01h
Reserved
12h
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
13h
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
89
WM8850
Pre-Production
GPIO DATA VERB
Verb ID
Payload [7:0]
Get
F15h
00h
Bits [31:0] in the table below
Set
715h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
[0]
Response[31:0]
RW
Default
R
00000000h
Description
Data[1]
RW
0
Sets and returns data associated with the GPIO2 pin
Data[0]
RW
0
Sets and returns data associated with the GPIO1 pin
Reserved
GPIO ENABLE MASK VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F16h
00h
Bits [31:0] in the table below
Set
716h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
RW
Default
R
00000000h
[1]
[0]
Description
Enable[1]
RW
0
0 = GPIO2 pin disabled (Hi-Z)
Enable[0]
RW
0
0 = GPIO1 pin disabled (Hi-Z)
Reserved
1 = GPIO2 pin enabled
1 = GPIO1 pin enabled
GPIO DIRECTION VERB
Verb ID
Payload [7:0]
Get
F17h
00h
Bits [31:0] in the table below
Set
717h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
Control[1]
Response[31:0]
RW
Default
R
00000000h
RW
0
Description
Reserved
0 = GPIO2 pin is an input
1 = GPIO2 pin is an output
[0]
Control[0]
RW
0
0 = GPIO1 pin is an input
1 = GPIO1 pin is an output
GPIO WAKE ENABLE MASK VERB
Verb ID
Payload [7:0]
Get
F18h
00h
Bits [31:0] in the table below
Set
718h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
Wake[1]
Response[31:0]
RW
Default
R
00000000h
RW
0
Description
Reserved
0 = GPIO2 wake disabled
1 = GPIO2 wake enabled
Note: Applies only if GPIO2 is configured as an input
[0]
Wake[0]
RW
0
0 = GPIO1 wake disabled
1 = GPIO1 wake enabled
Note: Applies only if GPIO1 is configured as an input
w
PP, April 2011, Rev 3.2
90
WM8850
Pre-Production
00h
GPIO UNSOLICITED ENABLE MASK VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F19h
00h
Bits [31:0] in the table below
Set
719h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
UnsolEnable[1]
01h
02h
RW
Default
R
00000000h
RW
0
Description
Reserved
03h
0 = GPIO2 cannot generate an Unsolicited Response
1 = GPIO2 can generate an Unsolicited Response
04h
Note: Applies only if GPIO2 is configured as an input
[0]
UnsolEnable[0]
RW
0
05h
0 = GPIO1 cannot generate an Unsolicited Response
1 = GPIO1 can generate an Unsolicited Response
06h
Note: Applies only if GPIO1 is configured as an input
07h
GPIO STICKY MASK VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F1Ah
00h
Bits [31:0] in the table below
Set
71Ah
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
Data[1]
RW
Default
R
00000000h
RW
0
08h
09h
Description
0Ah
Reserved
0 = GPIO2 is non-sticky (level sensitive)
1 = GPIO2 is sticky (edge-sensitive)
0Bh
Note: Applies only if GPIO2 is configured as an input
[0]
Data[0]
RW
0
0Ch
0 = GPIO1 is non-sticky (level sensitive)
1 = GPIO1 is sticky (edge-sensitive)
0Dh
Note: Applies only if GPIO1 is configured as an input
0Eh
IMPLEMENTATION ID / SUBSYSTEM ID VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F20h
00h
Bits [31:0] in the table below
Set1
720h
Implementation ID[7:0]
00h
Set2
721h
Implementation ID[15:8]
00h
Set3
722h
Implementation ID[23:16]
00h
Set4
723h
Implementation ID[31:24]
00h
Bit
Bitfield Name
RW
Default
[31:0]
Implementation
ID
RW
00000100h
0Fh
10h
11h
Description
12h
Implementation ID
13h
Note: The Implementation ID / Subsystem ID Verb is not reset to its default value during a reset from any source. The settings
are only lost when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore
14h
the settings.
15h
16h
17h
w
PP, April 2011, Rev 3.2
91
WM8850
Pre-Production
VMID CONTROL VERB (VENDOR SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F71h
00h
Bits [31:0] in the table below
Set
771h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:6]
Rsvd
R
RW
[4:2]
VMID_RATE
RW
Default
0000000h
2h
Description
Reserved
Time allocated to charge VMID:
0h = 1024ms
1h = 512ms
2h = 256ms
3h = 128ms
4h = 64ms
5h = 32ms
6h = 16ms
7h = 8ms
[1:0]
VMID_SEL
RW
2h
VMID String Source Impedance Select:
0h = 12.5k
1h = 75k
2h = 37.5k
3h = 375k
Note: These figures give the value of the resistor from AVDD to VMID
and from VMID to GND.
GPIO AUTOMATIC CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F86h
00h
Bits [31:0] in the table below
Set
786h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
GPIO2_AUTO
RW
Default
R
0000000h
RW
1
Description
Reserved
GPIO2 Control Mode:
0 = GPIO2 Manual Mode
GPIO2 is controlled manually via the standard AFG verbs
1 = GPIO Automatic Control Mode
GPIO2 is always an output and forced high when PS-Act of AFG is D1 or
D0. GPIO2 is forced low when PS-Act of AFG is D2, D3 or D4.
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority.
w
PP, April 2011, Rev 3.2
92
WM8850
Pre-Production
00h
ADC1 AUDIO INPUT CONVERTER WIDGET (NID = 02H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Response[31:0]
02h
03h
Description
[31:16]
Rsvd
R
0000h
[15]
Type
R
0
Reserved
Indicates the widget supports only PCM streams
[14]
Base
RW
0
Used to set the base rate frequency:
04h
0 = 48 kHz
05h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
06h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
07h
2h-7h = Reserved
[10:8]
Div
RW
0h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
08h
1h = divide by 2 (22.05kHz)
2h = divide by 3 (16kHz, 32kHz)
09h
3h = divide by 4 (11.025kHz)
4h = Reserved
0Ah
5h = divide by 6 (8kHz)
6h = Reserved
7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
3h
Bits per Sample:
0Bh
0Ch
0h = Reserved
1h = 16 bits
0Dh
2h = 20 bits
3h = 24 bits
4h = 32 bits (Float 32)
0Eh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
0Fh
0h = 1 channel
1h = 2 channels
10h
2h-Fh = reserved
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
93
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
1h
Indicates that this is an Audio Input Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
1
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
Reserved
[6]
ProcWidget
R
1
Widget has processing capabilities (i.e high pass filter)
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
ADC1 supports 32-bit audio format
[19]
B24
R
1
ADC1 supports 24-bit audio format
[18]
B20
R
1
ADC1 supports 20-bit audio format
[17]
B16
R
1
ADC1 supports 16-bit audio format
[16]
B8
R
0
ADC1 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
ADC1 does not support 384 kHz sample rate
[10]
R11
R
0
ADC1 does not support 192 kHz sample rate
[9]
R10
R
0
ADC1 does not support 176.4 kHz sample rate
[8]
R9
R
1
ADC1 supports 96 kHz sample rate
[7]
R8
R
1
ADC1 supports 88.2 kHz sample rate
[6]
R7
R
1
ADC1 supports 48 kHz sample rate
[5]
R6
R
1
ADC1 supports 44.1 kHz sample rate
[4]
R5
R
1
ADC1 supports 32 kHz sample rate
[3]
R4
R
1
ADC1 supports 22.05 kHz sample rate
[2]
R3
R
1
ADC1 supports 16 kHz sample rate
[1]
R2
R
1
ADC1 supports 11.025 kHz sample rate
[0]
R1
R
1
ADC1 supports 8 kHz sample rate
w
Reserved
PP, April 2011, Rev 3.2
94
WM8850
Pre-Production
00h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
Description
[2]
AC3
R
0
[1]
Float32
R
1
ADC1 supports Float32 formatted data
[0]
PCM
R
1
ADC1 supports PCM formatted data
01h
Reserved
ADC1 does not support Dolby AC3 formatted data
02h
03h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
04h
05h
06h
Supported Power States Parameter (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31:4]
Rsvd
R
0000000h
[3]
D3Sup
R
1
D3 power state supported
[2]
D2Sup
R
1
D2 power state supported
[1]
D1sup
R
1
D1 power state supported
[0]
D0Sup
R
1
D0 power state supported
07h
Description
Reserved
08h
09h
0Ah
Processing Capabilities Parameter (PID = 10h)
Bit
Bitfield Name
[31:16]
Rsvd
RW
Default
R
0000h
Description
[15:8]
NumCoeff
R
00h
This widget does not support loadable coefficients
[7:1]
Rsvd
R
00h
Reserved
[0]
Benign
R
0
0Bh
Reserved
0Ch
The “Processing Benign State” is not supported
0Dh
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:24]
[23:16]
0Eh
0Fh
RW
Default
Description
Conn List Entry 3
R
00h
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
0Ah
Indicates that the ADC1 widget node connects to the PGA1 widget node
(NID = 0Ah)
Unused connection list entry
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
95
WM8850
Pre-Production
PROCESSING STATE VERB
Verb ID
Payload [7:0]
Get
F03h
00h
Bits [31:0] in the table below
Set
703h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Processing State
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
01h
The processing block is the high-pass filter (HPF). The processing state
is controlled as follows:
00h = Processing Off: HPF disabled
01h = Processing On: HPF enabled
02h = Processing Off: HPF disabled (benign not supported)
03h-7Fh = Reserved
80h-FFh = Vendor Specific – not used
POWER STATE VERB
Verb ID
Payload [7:0]
Get
F05h
00h
Response[31:0]
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7:4]
PS-Act
R
3h
Indicates the actual power state of the ADC1 widget node:
0h = D0
1h = D1
2h = D2
3h = D3
Note: The power state of the ADC1 widget node is controlled by PS-Set
below, however the control may be superseded by the PS-Set of the AFG
widget node.
[3:0]
PS-Set
RW
3h
Sets the power state of the ADC1 widget node:
0h = D0
1h = D1
2h = D2
3h = D3
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:4]
[3:0]
Response[31:0]
RW
Default
Description
R
000000h
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0.
Channel
RW
0h
Lowest channel number used by this widget.
Note: as this widget does not support multi-channel capture, only a setting
of 0h is applicable.
w
PP, April 2011, Rev 3.2
96
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
01h
02h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
03h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
02h
04h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
05h
The default for Tag is equal to the Node ID.
06h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
07h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
08h
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
09h
Description
0Ah
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
0Bh
0Ch
00h = Highest priority
…
0Dh
1Fh = Lowest priority
CHANNEL COPY VERB (VENDOR-SPECIFIC)
0Eh
Verb ID
Payload [7:0]
Response[31:0]
Get
FB1h
00h
Bits [31:0] in the table below
Set
7B1h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
CHAN1_SEL
RW
Default
R
00000000h
RW
1
0Fh
10h
Description
Reserved
11h
Channel 1 (right) Mapping Control:
0 = Channel 1 takes data from left audio channel
1 = Channel 1 takes data from right audio channel
[0]
CHAN0_SEL
RW
0
12h
Channel 0 (left) Mapping Control:
0 = Channel 0 takes data from left audio channel
13h
1 = Channel 0 takes data from right audio channel
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
97
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
98
WM8850
Pre-Production
00h
MIC1 AUDIO INPUT CONVERTER WIDGET (NID = 03H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Response[31:0]
02h
03h
Description
[31:16]
Rsvd
R
0000h
[15]
Type
R
0
Reserved
Indicates the widget supports only PCM streams
[14]
Base
RW
0
Used to set the base rate frequency:
04h
0 = 48 kHz
05h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
06h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (32kHz)
07h
2h-7h = Reserved
[10:8]
Div
RW
0h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
08h
1h = divide by 2 (24kHz, 22.05kHz)
2h = divide by 3 (16kHz, 32kHz)
09h
3h = divide by 4 (11.025kHz)
4h = Reserved
0Ah
5h = divide by 6 (8kHz)
6h = Reserved
7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
3h
Bits per Sample:
0Bh
0Ch
0h = Reserved
1h = 16 bits
0Dh
2h = 20 bits
3h = 24 bits
4h = 32 bits (Float 32)
0Eh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
0Fh
0h = 1 channel
1h = 2 channels
10h
2h = 3 channels
3h = 4 channels
4h-Fh = reserved
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
99
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
1h
Indicates that this is an Audio Input widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
1
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
Reserved
[6]
ProcWidget
R
1
Widget has processing capabilities (i.e high pass filter)
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
MIC1 supports 32-bit audio format
[19]
B24
R
1
MIC1 supports 24-bit audio format
[18]
B20
R
1
MIC1 supports 20-bit audio format
[17]
B16
R
1
MIC1 supports 16-bit audio format
[16]
B8
R
0
MIC1 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
MIC1 does not support 384 kHz sample rate
[10]
R11
R
0
MIC1 does not support 192 kHz sample rate
[9]
R10
R
0
MIC1 does not support 176.4 kHz sample rate
[8]
R9
R
0
MIC1 does not support 96 kHz sample rate
[7]
R8
R
0
MIC1 does not support 88.2 kHz sample rate
[6]
R7
R
1
MIC1 supports 48 kHz sample rate
[5]
R6
R
1
MIC1 supports 44.1 kHz sample rate
[4]
R5
R
1
MIC1 supports 32 kHz sample rate
[3]
R4
R
1
MIC1 supports 22.05 kHz sample rate
[2]
R3
R
1
MIC1 supports 16 kHz sample rate
[1]
R2
R
1
MIC1 supports11.025 kHz sample rate
[0]
R1
R
1
MIC1 supports 8 kHz sample rate
w
Reserved
PP, April 2011, Rev 3.2
100
WM8850
Pre-Production
00h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
Description
[2]
AC3
R
0
[1]
Float32
R
1
MIC1 supports Float32 formatted data
[0]
PCM
R
1
MIC1 supports PCM formatted data
01h
Reserved
MIC1 does not support Dolby AC3 formatted data
02h
03h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
04h
05h
06h
Supported Power States Parameter (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31:4]
Rsvd
R
0000000h
[3]
D3Sup
R
1
D3 power state supported
[2]
D2Sup
R
1
D2 power state supported
[1]
D1sup
R
1
D1 power state supported
[0]
D0Sup
R
1
D0 power state supported
07h
Description
Reserved
08h
09h
0Ah
Processing Capabilities Parameter (PID = 10h)
Bit
Bitfield Name
[31:16]
Rsvd
RW
Default
R
0000h
Description
[15:8]
NumCoeff
R
00h
This widget does not support loadable coefficients
[7:1]
Rsvd
R
00h
Reserved
[0]
Benign
R
0
0Bh
Reserved
0Ch
The “Processing Benign State” is not supported
0Dh
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:24]
[23:16]
0Eh
0Fh
RW
Default
Description
Conn List Entry 3
R
00h
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
09h
Indicates that the MIC1 Widget connects to the MIC1 Mux Widget (NID =
09h)
Unused connection list entry
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
101
WM8850
Pre-Production
PROCESSING STATE VERB
Verb ID
Payload [7:0]
Get
F03h
00h
Bits [31:0] in the table below
Set
703h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Processing State
RW
Default
R
000000h
RW
01h
Response[31:0]
Description
Reserved
The processing node is the high-pass filter (HPF). The processing state
is controlled as follows:
00h = Processing Off: HPF disabled
01h = Processing On: HPF enabled
02h = Processing Off: HPF disabled (benign not supported)
03h-7Fh = Reserved
80h-FFh = Vendor Specific – not used
POWER STATE VERB
Verb ID
Payload [7:0]
Get
F05h
00h
Response[31:0]
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7:4]
PS-Act
R
3h
Indicates the actual power state of the MIC1 widget node:
0h = D0
1h = D1
2h = D2
3h = D3
The power state of the MIC1 widget is controlled by PS-Set below, however
the control may be superseded by the PS-Set of the AFG node.
[3:0]
PS-Set
RW
3h
Sets the power state of the MIC1 widget node:
0h = D0
1h = D1
2h = D2
3h = D3
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:4]
Stream
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to
indicate an unused stream, and converters will not transfer/receive link
data for streams with an ID of 0h.
For multi-channel capture on MIC1 and MIC2, the Stream value should be
the same for both.
[3:0]
Channel
RW
0h
Lowest channel number used by this widget.
Note: When MIC1 and MIC2 are setup for multi-channel capture, only a
setting of 0h and 2h are applicable. However, the values are mutually
exclusive, in that if Channel has been set to 0h for the MIC1 node, it must
be set to 2h for the MIC2 node. Both nodes should have Channel set to 0h
w
PP, April 2011, Rev 3.2
102
WM8850
Pre-Production
00h
when not in multi-channel capture mode.
UNSOLICITED RESPONSE VERB
01h
Verb ID
Payload [7:0]
Get
F08h
00h
Response[31:0]
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
02h
03h
04h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
03h
05h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
06h
The default for Tag is equal to the Node ID.
07h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
08h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
09h
0Ah
RW
Default
R
0000000h
RW
00h
Description
Reserved
0Bh
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
0Ch
00h = Highest priority
0Dh
…
1Fh = Lowest priority
0Eh
CHANNEL COPY VERB (VENDOR-SPECIFIC)
0Fh
Verb ID
Payload [7:0]
Response[31:0]
Get
FB1h
00h
Bits [31:0] in the table below
Set
7B1h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:2]
Rsvd
[1]
CHAN1_SEL
RW
Default
R
00000000h
RW
1
10h
Description
11h
Reserved
Channel 1 (right) Mapping Control:
12h
0 = Channel 1 takes data from left audio channel
1 = Channel 1 takes data from right audio channel
[0]
CHAN0_SEL
RW
0
13h
Channel 0 (left) Mapping Control:
0 = Channel 0 takes data from left audio channel
1 = Channel 0 takes data from right audio channel
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
103
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
104
WM8850
Pre-Production
00h
S/PDIF TX 1 AUDIO OUTPUT CONVERTER WIDGET (NID = 04H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:16]
Rsvd
R
0000h
[15]
Type
RW
0
Response[31:0]
02h
03h
Description
Reserved
04h
Used to set the format of the stream:
0 = PCM
1 = Non-PCM (i.e. AC3 or Software Formatted S/PDIF)
[14]
Base
RW
0
05h
Used to set the base rate frequency:
0h = 48 kHz
06h
1h = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
07h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
2h = Reserved
08h
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
09h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
0Ah
1h =Reserved
2h = divide by 3 (32kHz)
3h-7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
4h
Bits per Sample:
0Bh
0Ch
0h = Reserved
1h = 16 bits
0Dh
2h = 20 bits
3h = 24 bits
4h = 32 bits (Software Formatted or Float 32)
0Eh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
0Fh
0h = 1 channel
1h = 2 channels
10h
2h-Fh = reserved
Notes:
1.
11h
When the internal path (of ADC1 or MIC1 or MIC2) to S/PDIF TX 1 is active, Mult, Base & Div become read only and are
programmed by the WM8850 to match the sourced node settings.
2.
When Software Formatted S/PDIF is selected, and the S/PDIF TX 1 is sourcing the HDA Link, the S/PDIF output is
12h
driven low until stream ID is assigned.
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
105
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
0h
Indicates that this is an Audio Output Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
1
Widget has processing capabilities (i.e SRC2)
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Float32 and Software Formatted S/PDIF is supported.
[19]
B24
R
1
S/PDIF Tx 1 supports 24-bit audio format
[18]
B20
R
1
S/PDIF Tx 1 supports 20-bit audio format
[17]
B16
R
1
S/PDIF Tx 1 supports 16-bit audio format
[16]
B8
R
0
S/PDIF Tx 1 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
S/PDIF Tx 1 does not support 384 kHz sample rate
[10]
R11
R
1
S/PDIF Tx 1 supports 192 kHz sample rate
[9]
R10
R
1
S/PDIF Tx 1 supports 176.4 kHz sample rate
[8]
R9
R
1
S/PDIF Tx 1 supports 96 kHz sample rate
[7]
R8
R
1
S/PDIF Tx 1 supports 88.2 kHz sample rate
[6]
R7
R
1
S/PDIF Tx 1 supports 48 kHz sample rate
[5]
R6
R
1
S/PDIF Tx 1 supports 44.1 kHz sample rate
[4]
R5
R
1
S/PDIF Tx 1 supports 32 kHz sample rate
[3]
R4
R
0
S/PDIF Tx 1 does not support 22.05 kHz sample rate
[2]
R3
R
0
S/PDIF Tx 1 does not support 16 kHz sample rate
[1]
R2
R
0
S/PDIF Tx 1 does not support 11.025 kHz sample rate
[0]
R1
R
0
S/PDIF Tx 1 does not support 8 kHz sample rate
w
Reserved
PP, April 2011, Rev 3.2
106
WM8850
Pre-Production
00h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
Description
[2]
AC3
R
0
[1]
Float32
R
1
S/PDIF Tx 1 supports Float32 formatted data
[0]
PCM
R
1
S/PDIF Tx 1 supports PCM formatted data
01h
Reserved
S/PDIF Tx 1 does not support Dolby AC3 format
02h
03h
Processing Capabilities Parameter (PID = 10h)
Bit
Bitfield Name
RW
Default
R
0000h
Description
[31:16]
Rsvd
[15:8]
NumCoeff
R
00h
This widget does not support loadable coefficients
[7:1]
Rsvd
R
00h
Reserved
[0]
Benign
R
0
04h
Reserved
05h
The “Processing Benign State” is not supported
06h
PROCESSING STATE VERB
07h
Verb ID
Payload [7:0]
Response[31:0]
Get
F03h
00h
Bits [31:0] in the table below
Set
703h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Processing State
RW
Default
Description
R
000000h
Reserved
RW
00h
08h
09h
The processing block for the S/PDIF Tx 1 widget node is SRC2. The
processing state is controlled as follows:
0Ah
00h = Processing Off: SRC2 bypassed
0Bh
01h = Processing On: SRC2 used
02h = Processing Off: SRC2 bypassed (benign not supported)
03h-7Fh = Reserved
0Ch
80h-FFh = Vendor Specific – not used
Notes:
1.
When the S/PDIF transmitter is linked to the S/PDIF receiver (i.e. in Linked Mode), SRC2 is automatically enabled by the
CODEC, and the processing state register is read only.
2.
When Software Formatted S/PDIF is selected, SRC2 is automatically bypassed, and the processing state register is read only.
3.
When the internal path (of ADC1 or MIC1 or MIC2) to S/PDIF Tx 1 is active, SRC2 is automatically bypassed
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
107
WM8850
Pre-Production
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:4]
[3:0]
Response[31:0]
RW
Default
Description
R
000000h
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0.
Channel
RW
0h
Lowest channel number used by this widget.
Note: As this widget does not support multi-channel capture, only a setting
of 0 is applicable.
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Response[31:0]
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
04h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
w
PP, April 2011, Rev 3.2
108
WM8850
Pre-Production
00h
S/PDIF CONVERTER CONTROL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F0Dh
0000h
Bits [31:0] in the table below
Set1
70Dh
Bits [7:0] in the table below
00000000h
Set2
70Eh
Bits [15:8] in the table below
00000000h
Bit
Bitfield Name
[31:15]
Rsvd
RW
Default
Description
R
00000h
Reserved
[14:8]
[7]
CC
RW
00h
L
RW
0
[6]
PRO
RW
0
01h
02h
03h
Category Code. Channel Status bits [14:8] – see IEC 60958-3 for details.
Generation Level, Channel Status bit [15] - see IEC 60958-3 for details.
Professional, Channel Status bit[0]:
04h
05h
0 = Consumer Channel Status (40-bits)
1 = Professional Channel Status (192-bits )
[5]
/AUDIO
RW
0
Non-Audio, Channel Status bit[1]:
06h
0 = PCM formatted data
1 = non-PCM formatted data
[4]
COPY
RW
0
07h
Copyright, Channel Status bit[2]:
0 = indicates copyright asserted (i.e. S/PDIF Channel Status bit[2] set to
1)
1 = indicates no copyright asserted (i.e. S/PDIF Channel Status bit[2] set
to 0)
Note: The HDA specifiction, and the IEC 60958-3 specification are the
inverse of each other. To comply with both, the WM8850 inverts the
written value.
[3]
PRE
RW
0
Pre-emphasis, Channel Status bit[3]:
0Bh
1 = 50/15 us pre-emphasis
VCFG
RW
0
09h
0Ah
0 = no pre-emphasis
[2]
08h
Validity Configuration Control - determines what happens to the audio
data, should an invalid sample occur (invalid samples occur when SRC2
is in use but not locked, EF_STREAM_ERR is asserted, or the stream ID
is 0).
0Ch
0Dh
0 = pass data as received by the S/PDIF Tx 1.
0Eh
1 = overwrite invalid data with all zeros (for the invalid sub frame only).
[1]
V
RW
0
Validity:
0 = Indicates valid data
0Fh
1 = Indicates invalid data
10h
If V=1, the transmitted validity flag is set to 1.
If V=0, the transmitted validity flag is set to 1 if there is an invalid sample
being transmitted. Invalid samples may occur when SRC2 is in use but
not locked, EF_STREAM_ERR is asserted, or the stream ID is 0.
[0]
DigEn
RW
0
Digital Enable:
11h
12h
0 = S/PDIF audio path disabled
13h
1 = S/PDIF audio path enabled
Note: When Software Formatted S/PDIF is selected, verb settings for channel status and validity are not used
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
109
WM8850
Pre-Production
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set1
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
RW
Default
R
0000000h
RW
00h
Description
Reserved
Selects source of S/PDIF TX 1 node:
00h = HDA Link
02h = ADC1
03h = MIC1
15h = MIC2
All other values of Path Sel are reserved.
Note: When the internal path (of ADC1 or MIC1 or MIC2) to S/PDIF TX 1 is active, SRC2 is automatically bypassed and Mult,
Base & Div (in the Stream Format Verb) become read only and are programmed by the WM8850 to match the sourced node
settings.
S/PDIF VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F80h
00h
Bits [31:0] in the table below
Set
780h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:9]
Rsvd
R
00000000h
[8]
SRC_LOCK
R
0
Description
Reserved
SRC2 Lock Flag:
0 = Unlocked
1 = Locked
[7]
SRC_BASE
RW
0
Used to set the base rate frequency:
0 = 48 kHz
1 = 44.1 kHz
[6:4]
SRC_MULT
RW
0h
Used to set the base rate multiplication factor:
0h = x1 (48 kHz, 44.1 kHz or less)
1h = x2 (96 kHz, 88.2 kHz, 32 kHz)
2h = Reserved
3h = x4 (192 kHz, 176.4 kHz)
4h-7h = Reserved
[3:1]
SRC_DIV
RW
0h
Used to set the base rate division factor:
0h = divide by 1 (48 kHz, 44.1 kHz)
1h = Reserved
2h = divide by 3 (32 kHz)
3h-7h= Reserved
[0]
LINKED_MODE
RW
0
Linked Mode Control:
0 = Linked Mode disabled. S/PDIF Tx 1 and S/PDIF Rx are not linked
and can operate at independent sample rates. The S/PDIF Tx 1 sample
rate is determined by the Stream Format Verb, or, in the case where
SRC2 is enabled, the sample rate is determined by Base, Mult and Div
above.
1 = Link Mode enabled. S/PDIF Tx 1 is linked to S/PDIF Rx, and
operates at a rate (configured by SRC_MULT and SRC_DIV above) that
is synchronous with the recovered sample rate.
w
PP, April 2011, Rev 3.2
110
WM8850
Pre-Production
00h
TX CHANNEL STATUS CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F81h
00h
Bits [31:0] in the table below
Set1
781h
Bits [7:0] in the table below
00000000h
Set2
782h
Bits [15:8] in the table below
00000000h
Set3
783h
Bits [23:16] in the table below
00000000h
Set4
784h
Bits [31:24] in the table below
00000000h
01h
02h
03h
The bits in the table below are defined in the IEC-60958-3 Specification:
04h
Bit
Bitfield Name
RW
Default
[31:28]
Channel Status
[39:36]
RW
0h
Description
Original Sampling Frequency
05h
[27:25]
Channel Status
[35:33]
RW
5h
Sample Word Length
06h
[24]
Channel Status
[32]
RW
1
Max Word Length
[23:22]
Channel Status
[31:30]
RW
0h
Channel Status [31:30]
[21:20]
Channel Status
[29:28]
RW
0h
Clock Accuracy
[19:16]
Channel Status
[27:24]
RW
1h
Sampling Frequency
09h
[15:12]
Channel Status
B [23:20]
RW
0h
Channel Number for Sub-Frame B
0Ah
[11:8]
Channel Status
[23:20]
RW
0h
Channel Number for Sub-Frame A
[7:4]
Channel Status
[19:16]
RW
0h
Source Number
[3:2]
Channel Status
[7:6]
RW
0h
Channel Status Mode
[1:0]
Channel Status
[5:4]
RW
0h
Additional De-emphasis Information
07h
08h
0Bh
0Ch
0Dh
Notes:
1.
When Software Formatted S/PDIF is selected, verb settings for channel status and validity are not used.
2.
The Channel Number for Sub-frame B is uniquely configurable – all other Channel status bits have the same value as
0Eh
0Fh
Sub-frame A.
CHANNEL STATUS DATA PACKING CONFIGURATION VERB (VENDORSPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F85h
00h
Bits [31:0] in the table below
Set
785h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
CSD_MODE
RW
Default
R
0000000h
RW
1
10h
11h
12h
Description
13h
Reserved
S/PDIF Transmitter Channel Status Data Packing Mode:
0 = Manual mode: sample rate and data width channel status data
packed from data sourced from the Tx Channel Status Control Verb
14h
1 = Automatic mode: sample rate and data width channel status data
packed from data sourced from the Stream Verb, S/PDIF Verb or S/PDIF
Rx Rate Detector (depending on routing through device)
15h
16h
17h
w
PP, April 2011, Rev 3.2
111
WM8850
Pre-Production
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority
w
PP, April 2011, Rev 3.2
112
WM8850
Pre-Production
00h
S/PDIF RX AUDIO INPUT CONVERTER WIDGET (NID = 05H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:16]
Rsvd
R
0000h
[15]
Type
RW
0
Response[31:0]
02h
03h
Description
Reserved
04h
Used to set the format of the stream:
0 = PCM
1 = Non-PCM (i.e. AC3 or Software Formatted S/PDIF)
[14]
Base
RW
0
05h
Used to set the base rate frequency:
0 = 48 kHz
06h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
07h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
2h = Reserved
08h
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
09h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
0Ah
1h =Reserved
2h = divide by 3 (32kHz)
3h-7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
4h
Bits per Sample:
0Bh
0Ch
0h = Reserved
1h = 16 bits
0Dh
2h = 20 bits
3h = 24 bits
4h = 32 bits (Software Formatted or Float 32)
0Eh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
0Fh
0h = 1 channel
1h = 2 channels
10h
2h-Fh = reserved
Notes:
1.
11h
When SRC1 is disabled, registers Base, Mult, and Div are read only, and are determined by the recovered S/PDIF rate.
When SRC1 is enabled, registers Base, Mult, and Div have read-write access, and are used to program the sample rate
for the link and for the output side of SRC1.
2.
12h
When Software Formatted S/PDIF is selected, SRC1 is automatically bypassed.
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
113
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
1h
Indicates that this is an Audio Input Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
1
Widget has processing capabilities (i.e SRC1)
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
Float32 and Software Formatted S/PDIF is supported.
[19]
B24
R
1
S/PDIF Rx supports 24-bit audio format
[18]
B20
R
1
S/PDIF Rx supports 20-bit audio format
[17]
B16
R
1
S/PDIF Rx supports 16-bit audio format
[16]
B8
R
0
S/PDIF Rx does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
S/PDIF Rx does not support 384 kHz sample rate
[10]
R11
R
0
S/PDIF Rx does not support 192 kHz sample rate
[9]
R10
R
0
S/PDIF Rx does not support 176.4 kHz sample rate
[8]
R9
R
1
S/PDIF Rx supports 96 kHz sample rate
[7]
R8
R
1
S/PDIF Rx supports 88.2 kHz sample rate
[6]
R7
R
1
S/PDIF Rx supports 48 kHz sample rate
[5]
R6
R
1
S/PDIF Rx supports 44.1 kHz sample rate
[4]
R5
R
1
S/PDIF Rx supports 32 kHz sample rate
[3]
R4
R
0
S/PDIF Rx does not support 22.05 kHz sample rate
[2]
R3
R
0
S/PDIF Rx does not support 16 kHz sample rate
[1]
R2
R
0
S/PDIF Rx does not support 11.025 kHz sample rate
[0]
R1
R
0
S/PDIF Rx does not support 8 kHz sample rate
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
S/PDIF Rx supports Float32 formatted data
[0]
PCM
R
1
S/PDIF Rx supports PCM formatted data
w
Description
Reserved
S/PDIF Rx does not support Dolby AC3 format
PP, April 2011, Rev 3.2
114
WM8850
Pre-Production
00h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
01h
02h
03h
Processing Capabilities Parameter (PID = 10h)
Bit
Bitfield Name
[31:16]
Rsvd
RW
Default
R
0000h
Description
[15:8]
NumCoeff
R
00h
This widget does not support loadable coefficients
[7:1]
Rsvd
R
00h
Reserved
[0]
Benign
R
0
04h
Reserved
05h
The “Processing Benign State” is not supported
06h
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:24]
[23:16]
07h
08h
RW
Default
Description
Conn List Entry 3
R
00h
Unused connection list entry
Conn List Entry 2
R
00h
Unused connection list entry
09h
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
10h
Indicates that the S/PDIF Rx Input Widget node connects to the
SPDIF_IN Pin Widget (NID = 10h)
0Ah
0Bh
PROCESSING STATE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F03h
00h
Bits [31:0] in the table below
Set
703h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Processing State
RW
Default
Description
R
000000h
Reserved
RW
00h
0Ch
0Dh
0Eh
The processing block for the S/PDIF Rx widget node is SRC1. The
processing state is controlled as follows:
0Fh
00h = Processing Off: SRC1 bypassed
01h = Processing On: SRC1 used
10h
02h = Processing Off: SRC1 bypassed (benign not supported)
03h-7Fh = Reserved
11h
80h-FFh = Vendor Specific – not used
Note:
The Processing State Verb should be set to 00h (SRC1 bypassed) when Software Formatted S/PDIF is selected or when any
12h
S/PDIF Rx to DAC internal path is enabled. This is not done automatically.
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
115
WM8850
Pre-Production
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Response[31:0]
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:4]
[3:0]
RW
Default
Description
R
000000h
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0 is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0.
Channel
RW
0h
Lowest channel number used by this widget.
Note: As this widget does not support multi-channel capture, only a setting
of 0 is applicable.
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Response[31:0]
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
05h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
w
PP, April 2011, Rev 3.2
116
WM8850
Pre-Production
00h
DIGITAL CONVERTER CONTROL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F0Dh
0000h
Bits [31:0] in the table below
Set
70Dh
Bit [0] in the table below
00000000h
Bit
Bitfield Name
01h
02h
RW
Default
Description
Reserved
[31:15]
Rsvd
R
00000h
[14:8]
CC
R
00h
[7]
L
R
0
Generation Level, Channel Status bit [15] - see IEC 60958-3 for details.
[6]
PRO
R
0
Professional, Channel Status bit[0]:
Category Code. Channel Status bits [14:8] – see IEC 60958-3 for details.
0 = Consumer Channel Status (40-bits)
/AUDIO
R
0
Non-Audio, Channel Status bit[1]:
0 = PCM formatted data
06h
1 = non-PCM formatted data
[4]
COPY
R
0
Copyright, Channel Status bit[2]:
07h
0 = indicates copyright asserted
1 = indicates no copyright asserted
08h
Note: The HDA specifiction and the IEC 60958-3 specification are the
inverse of each other. To comply with both, the WM8850 inverts the
recovered value.
[3]
PRE
R
0
04h
05h
1 = Professional Channel Status (192-bits )
[5]
03h
09h
Pre-emphasis, Channel Status bit[3]:
0Ah
0 = no pre-emphasis
1 = 50/15 us pre-emphasis
[2]
Rsvd
R
0
Reserved
[1]
V
R
0
Validity:
0Bh
0 = Indicates valid data
0Ch
1 = Indicates invalid data
[0]
DigEn
RW
0
Digital Enable:
0Dh
0 = S/PDIF audio path disabled
1 = S/PDIF audio path enabled
0Eh
S/PDIF VERB (VENDOR-SPECIFIC)
0Fh
Verb ID
Payload [7:0]
Response[31:0]
Get
F80h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:9]
[8]
RW
Default
Rsvd
R
00000000h
SRC_LOCK
R
0
10h
Description
Reserved
11h
SRC1 Lock Flag:
0 = Unlocked
12h
1 = Locked
[7:0]
Rsvd
R
00h
Reserved
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
117
WM8850
Pre-Production
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority
GET CHANNEL STATUS VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F91h
00h
Bits [31:0] in the table below
Get
F91h
01h
Bits [39:32] in the table below
The bits in the table below are defined in the IEC-60958-3 Specification:
Bit
Bitfield Name
RW
Default
[39:36]
Original
Sampling
Frequency
R
N/A
Description
Original Sampling Frequency
[35:33]
Sample Word
Length
R
N/A
Sample Word Length
[32]
Max Word
Length
R
N/A
Max Word Length
[31:28]
Clock Accuracy
R
N/A
Clock Accuracy
[27:24]
Sampling
Frequency
R
N/A
Sampling Frequency
[23:20]
Channel Number
R
N/A
Channel Number
[19:16]
Source Number
R
N/A
Source Number
[15:8]
Category Code
R
N/A
Category Code
[7:6]
Channel Status
Mode
R
N/A
Channel Status Mode
[5:4]
Additional Deemphasis
Information
R
N/A
Additional De-emphasis Information
[3]
PRE
R
N/A
Pre-emphasis
[2]
/COPY
R
N/A
Copyright
[1]
/AUDIO
R
N/A
Non Audio
[0]
PRO
R
N/A
Professional/Consumer
GET NON-AUDIO FLAG VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F92h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:1]
Rsvd
R
00000000h
[0]
Non Audio Flag
R
0
Description
Reserved
Indicates the presence of the non-audio flag:
0 = non-audio flag not asserted
1 = non-audio flag asserted
w
PP, April 2011, Rev 3.2
118
WM8850
Pre-Production
00h
OVERWRITE CONTROL VERB (VENDOR-SPECIFIC)
01h
Verb ID
Payload [7:0]
Response[31:0]
Get
F93h
00h
Bits [31:0] in the table below
Set
793h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:3]
Rsvd
[2]
NA_CNTRL
RW
Default
R
0000000h
RW
1
02h
Description
03h
Reserved
Controls the conditions under which the non audio flag is asserted:
04h
0 = non-audio flag asserted when the non-audio code (defined in IEC61937) is detected. Non-audio flag rescinds after 4096 S/PDIF frames
without non-audio code being present.
05h
1 = as above, but Channel Status Bit [1] (/AUDIO) must also be set to 1
for the non-audio flag to assert. Non-audio flag rescinds in the same way
as above, and in addition the flag will rescind immediately if /AUDIO were
to go low.
[1]
NA_OVWR_EN
RW
0
If a Non-Audio Flag is asserted then sample data is overwritten with zeros
when this bit is set:
0 = no overwrite
Note: When in Software Formatted S/PDIF Mode, only the 24-bit payload
can be overwritten.
Note: When SRC1 is used (i.e. Processing State is 01h), NA_OVWR_EN
is set to 1 by the WM8850
DE_OVWR_EN
RW
1
07h
08h
09h
1 = overwrite samples with zeros
[0]
06h
If a DATA_ERR is detected, the sample is overwritten with zeros when
this bit is set:
0Ah
0Bh
0Ch
0Dh
0 = Let erroneous sample pass
1 = overwrite erroneous sample with zeros
0Eh
Note: When in Software Formatted S/PDIF Mode, all 32-bits of the
stream sample are overwritten.
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
119
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
120
WM8850
Pre-Production
00h
DAC1 AUDIO OUTPUT CONVERTER WIDGET (NID = 06H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Response[31:0]
02h
03h
Description
[31:16]
Rsvd
R
0000h
[15]
Type
R
0h
Reserved
Indicates the widget supports only PCM streams
[14]
Base
RW
0
Used to set the base rate frequency:
04h
0 = 48 kHz
05h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
06h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
07h
2h = Reserved
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
08h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
09h
1h = divide by 2 (24kHz, 22.05kHz)
2h = divide by 3 (16kHz, 32kHz)
0Ah
3h = divide by 4 (11.025kHz)
4h = Reserved
5h = divide by 6 (8kHz)
0Bh
6h = Reserved
7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
3h
Bits per Sample:
0Ch
0Dh
0h = Reserved
1h = 16 bits
2h = 20 bits
0Eh
3h = 24 bits
4h = 32 bits (Float 32)
0Fh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
10h
0h = 1 channel
1h = 2 channels
2h = 3 channels
11h
3h = 4 channels
4h = 5 channels
12h
5h = 6 channels
6h-Fh = reserved
13h
Note: When the internal path between the S/PDIF Rx node to the DAC1, DAC2 and DAC3 nodes is active, Mult, Base & Div
become read only and are programmed by the SPDIF_IN node to match the incoming sample rate.
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
121
WM8850
Pre-Production
AMPLIFIER GAIN/MUTE VERB
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
1
Shows the amplifier mute status of the selected channel:
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
7Fh
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter in the AFG, and is shown below for convenience:
00h = −63.5dB
01h = −63.0dB
… 0.5dB steps
7Eh = −0.5dB
7Fh = 0dB
Note: If the H-Phn Enable register in the Port-A (NID=11h) Pin Widget
Control Verb is set to 1, the actual gain setting applied has an offset of
−8dB from the setting configured by the Gain register.
Set Table:
Bit
Bitfield Name
RW
Default
[15]
Set Output Amp
W
1
Description
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
1
0 = Normal operation
[6:0]
Gain
W
7Fh
1 = Mute
w
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
PP, April 2011, Rev 3.2
122
WM8850
Pre-Production
00h
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
01h
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
Reserved
[23:20]
Type
R
0h
Indicates that this is an Audio Output Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
1
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
03h
04h
05h
06h
07h
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
The AFG amplifier parameters are used for this widget
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
08h
09h
0Ah
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
0Bh
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
DAC1 supports 32-bit audio format
[19]
B24
R
1
DAC1 supports 24-bit audio format
[18]
B20
R
1
DAC1 supports 20-bit audio format
[17]
B16
R
1
DAC1 supports 16-bit audio format
[16]
B8
R
0
DAC1 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
DAC1 does not support 384 kHz sample rate
[10]
R11
R
1
DAC1 supports 192 kHz sample rate
[9]
R10
R
1
DAC1 supports 176.4 kHz sample rate
[8]
R9
R
1
DAC1 supports 96 kHz sample rate
[7]
R8
R
1
DAC1 supports 88.2 kHz sample rate
[6]
R7
R
1
DAC1 supports 48 kHz sample rate
[5]
R6
R
1
DAC1 supports 44.1 kHz sample rate
[4]
R5
R
1
DAC1 supports 32 kHz sample rate
[3]
R4
R
1
DAC1 supports 22.05 kHz sample rate
[2]
R3
R
1
DAC1 supports 16 kHz sample rate
[1]
R2
R
1
DAC1 supports 11.025 kHz sample rate
[0]
R1
R
1
DAC1 supports 8 kHz sample rate
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
DAC1 supports Float32 formatted data
[0]
PCM
R
1
DAC1 supports PCM formatted data
w
15h
Description
Reserved
16h
DAC1 does not support Dolby AC3 formatted data
17h
PP, April 2011, Rev 3.2
123
WM8850
Pre-Production
Supported Power States Parameter (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31:4]
Rsvd
R
0000000h
Description
[3]
D3Sup
R
1
[2]
D2Sup
R
1
D2 power state supported
[1]
D1sup
R
1
D1 power state supported
[0]
D0Sup
R
1
D0 power state supported
Reserved
D3 power state supported
POWER STATE VERB
Verb ID
Payload [7:0]
Get
F05h
00h
Response[31:0]
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:8]
Rsvd
R
000000h
[7:4]
PS-Act
R
3h
Description
Reserved
Indicates the actual power state of the DAC1 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
Note: The power state of the DAC1 node is controlled by PS-Set below,
however the control may be superseded by the PS-Set of the AFG node.
[3:0]
PS-Set
RW
3h
Sets the power state of the DAC1 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
[7:4]
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0h.
[3:0]
Channel
RW
0h
Lowest channel number used by this widget.
w
PP, April 2011, Rev 3.2
124
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
01h
02h
RW
Default
Description
R
000000h
Reserved
RW
0
03h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
06h
Reserved
04h
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
05h
The default for Tag is equal to the Node ID.
06h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
07h
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
RW
Default
R
00000000h
RW
00h
08h
09h
Description
0Ah
Reserved
Selects source of DAC1 node:
0h = Channel takes data from HDA Link
0Bh
5h = Channel takes data from S/PDIF Rx
All other values of Path Sel are reserved.
Note: When the internal path of S/PDIF Rx to DAC1 is selected, the
Internal Path verbs in the other DAC nodes are also updated to select the
S/PDIF Rx as their data source.
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
0Ch
0Dh
0Eh
0Fh
10h
Description
Reserved
11h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
12h
00h = Highest priority
…
13h
1Fh = Lowest priority
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
125
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
126
WM8850
Pre-Production
00h
DAC2 AUDIO OUTPUT CONVERTER WIDGET (NID = 07H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Response[31:0]
02h
03h
Description
[31:16]
Rsvd
R
0000h
[15]
Type
R
0
Reserved
Indicates the widget supports only PCM streams
[14]
Base
RW
0
Used to set the base rate frequency:
04h
0 = 48 kHz
05h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
06h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
07h
2h = Reserved
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
08h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
09h
1h = divide by 2 (24kHz, 22.05kHz)
2h = divide by 3 (16kHz, 32kHz)
0Ah
3h = divide by 4 (11.025kHz)
4h = Reserved
5h = divide by 6 (8kHz)
0Bh
6h = Reserved
7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
3h
Bits per Sample:
0Ch
0Dh
0h = Reserved
1h = 16 bits
2h = 20 bits
0Eh
3h = 24 bits
4h = 32 bits (Float 32)
0Fh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
10h
0h = 1 channel
1h = 2 channels
2h = 3 channels
11h
3h = 4 channels
4h = 5 channels
12h
5h = 6 channels
6h-Fh = reserved
13h
Note: When the internal path between the S/PDIF Rx node to the DAC1, DAC2 and DAC3 nodes is active, Mult, Base & Div
become read only and are programmed by the SPDIF_IN node to match the incoming sample rate.
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
127
WM8850
Pre-Production
AMPLIFIER GAIN/MUTE VERB
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
1
Shows the amplifier mute status of the selected channel:
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
7Fh
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter in the AFG (NID = 01h), and is shown below for
convenience:
00h = −63.5dB
01h = −63.0dB
… 0.5dB steps
7Eh = −0.5dB
7Fh = 0dB
Set Table:
Bit
Bitfield Name
RW
Default
[15]
Set Output Amp
W
1
Description
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
1
0 = Normal operation
1 = Mute
[6:0]
Gain
w
W
7Fh
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
PP, April 2011, Rev 3.2
128
WM8850
Pre-Production
00h
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
01h
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
Reserved
[23:20]
Type
R
0h
Indicates that this is an Audio Output Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
1
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
03h
04h
05h
06h
07h
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
The AFG amplifier parameters are used for this widget
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
08h
09h
0Ah
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
0Bh
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
DAC2 supports 32-bit audio format
[19]
B24
R
1
DAC2 supports 24-bit audio format
[18]
B20
R
1
DAC2 supports 20-bit audio format
[17]
B16
R
1
DAC2 supports 16-bit audio format
[16]
B8
R
0
DAC2 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
DAC2 does not support 384 kHz sample rate
[10]
R11
R
1
DAC2 supports 192 kHz sample rate
[9]
R10
R
1
DAC2 supports 176.4 kHz sample rate
[8]
R9
R
1
DAC2 supports 96 kHz sample rate
[7]
R8
R
1
DAC2 supports 88.2 kHz sample rate
[6]
R7
R
1
DAC2 supports 48 kHz sample rate
[5]
R6
R
1
DAC2 supports 44.1 kHz sample rate
[4]
R5
R
1
DAC2 supports 32 kHz sample rate
[3]
R4
R
1
DAC2 supports 22.05 kHz sample rate
[2]
R3
R
1
DAC2 supports 16 kHz sample rate
[1]
R2
R
1
DAC2 supports 11.025 kHz sample rate
[0]
R1
R
1
DAC2 supports 8 kHz sample rate
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
DAC2 supports Float32 formatted data
[0]
PCM
R
1
DAC2 supports PCM formatted data
w
15h
Description
Reserved
16h
DAC2 does not support Dolby AC3 formatted data
17h
PP, April 2011, Rev 3.2
129
WM8850
Pre-Production
Supported Power States Parameter (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31:4]
Rsvd
R
0000000h
Description
[3]
D3Sup
R
1
[2]
D2Sup
R
1
D2 power state supported
[1]
D1sup
R
1
D1 power state supported
[0]
D0Sup
R
1
D0 power state supported
Reserved
D3 power state supported
POWER STATE VERB
Verb ID
Payload [7:0]
Get
F05h
00h
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:8]
Rsvd
R
000000h
[7:4]
PS-Act
R
3h
Response[31:0]
Description
Reserved
Indicates the actual power state of the DAC2 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
The power state of the DAC2 node is controlled by PS-Set below, however
the control may be superseded by the PS-Set of the AFG node.
[3:0]
PS-Set
RW
3h
Sets the power state of the DAC2 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
[7:4]
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to
indicate an unused stream, and converters will not transfer/receive link
data for streams with an ID of 0h.
[3:0]
Channel
RW
0h
Lowest channel number used by this widget.
w
PP, April 2011, Rev 3.2
130
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
01h
02h
RW
Default
Description
R
000000h
Reserved
RW
0
03h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
07h
Reserved
04h
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
05h
The default for Tag is equal to the Node ID.
06h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
07h
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
RW
Default
R
00000000h
RW
00h
08h
09h
Description
0Ah
Reserved
Selects source of DAC2 node:
0h = Channel takes data from HDA Link
0Bh
5h = Channel takes data from S/PDIF Rx
Note: When the internal path of S/PDIF Rx to DAC2 is selected, the
Internal Path verbs in the other DAC nodes are also updated to select the
S/PDIF Rx as their data source.
0Dh
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
0Ch
0Eh
0Fh
Description
Reserved
10h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
11h
00h = Highest priority
12h
…
1Fh = Lowest priority
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
131
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
132
WM8850
Pre-Production
00h
DAC3 AUDIO OUTPUT CONVERTER WIDGET (NID = 08H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Response[31:0]
02h
03h
Description
[31:16]
Rsvd
R
0000h
[15]
Type
R
0h
Reserved
Indicates the widget supports only PCM streams
[14]
Base
RW
0
Used to set the base rate frequency:
04h
0 = 48 kHz
05h
1 = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
06h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
07h
2h = Reserved
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
08h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
09h
1h = divide by 2 (24kHz, 22.05kHz)
2h = divide by 3 (16kHz, 32kHz)
0Ah
3h = divide by 4 (11.025kHz)
4h = Reserved
5h = divide by 6 (8kHz)
0Bh
6h = Reserved
7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
3h
Bits per Sample:
0Ch
0Dh
0h = Reserved
1h = 16 bits
2h = 20 bits
0Eh
3h = 24 bits
4h = 32 bits (Float 32)
0Fh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
10h
0h = 1 channel
1h = 2 channels
2h = 3 channels
11h
3h = 4 channels
4h = 5 channels
12h
5h = 6 channels
6h-Fh = reserved
13h
Note: When the internal path between the S/PDIF Rx node to the DAC1, DAC2 and DAC3 nodes is active, Mult, Base & Div
become read only and are programmed by the S/PDIF In node to match the incoming sample rate.
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
133
WM8850
Pre-Production
AMPLIFIER GAIN/MUTE VERB
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
1
Shows the amplifier mute status of the selected channel:
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
7Fh
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter in the AFG (NID = 01h), and is shown below for
convenience:
00h = −63.5dB
01h = −63.0dB
… 0.5dB steps
7Eh = −0.5dB
7Fh = 0dB
Set Table:
Bit
Bitfield Name
RW
Default
[15]
Set Output Amp
W
1
Description
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
[12]
Set Right Amp
W
1
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Left channel amplifier accepts the values in the Mute and Gain fields
1 = Right channel amplifier accepts the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
1
0 = Normal operation
[6:0]
Gain
W
7Fh
1 = Mute
w
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
PP, April 2011, Rev 3.2
134
WM8850
Pre-Production
00h
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
01h
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
Reserved
[23:20]
Type
R
0h
Indicates that this is an Audio Output Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
1
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
03h
04h
05h
06h
07h
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
The AFG amplifier parameters are used for this widget
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
08h
09h
0Ah
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
0Bh
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
DAC3 supports 32-bit audio format
[19]
B24
R
1
DAC3 supports 24-bit audio format
[18]
B20
R
1
DAC3 supports 20-bit audio format
[17]
B16
R
1
DAC3 supports 16-bit audio format
[16]
B8
R
0
DAC3 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
DAC3 does not support 384 kHz sample rate
[10]
R11
R
1
DAC3 supports 192 kHz sample rate
[9]
R10
R
1
DAC3 supports 176.4 kHz sample rate
[8]
R9
R
1
DAC3 supports 96 kHz sample rate
[7]
R8
R
1
DAC3 supports 88.2 kHz sample rate
[6]
R7
R
1
DAC3 supports 48 kHz sample rate
[5]
R6
R
1
DAC3 supports 44.1 kHz sample rate
[4]
R5
R
1
DAC3 supports 32 kHz sample rate
[3]
R4
R
1
DAC3 supports 22.05 kHz sample rate
[2]
R3
R
1
DAC3 supports 16 kHz sample rate
[1]
R2
R
1
DAC3 supports 11.025 kHz sample rate
[0]
R1
R
1
DAC3 supports 8 kHz sample rate
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
DAC3 supports Float32 formatted data
[0]
PCM
R
1
DAC3 supports PCM formatted data
w
15h
Description
Reserved
16h
DAC3 does not support Dolby AC3 formatted data
17h
PP, April 2011, Rev 3.2
135
WM8850
Pre-Production
Supported Power States Parameter (PID = 0Fh)
Bit
Bitfield Name
RW
Default
[31:4]
Rsvd
R
0000000h
Description
[3]
D3Sup
R
1
[2]
D2Sup
R
1
D2 power state supported
[1]
D1sup
R
1
D1 power state supported
[0]
D0Sup
R
1
D0 power state supported
Reserved
D3 power state supported
POWER STATE VERB
Verb ID
Payload [7:0]
Get
F05h
00h
Bits [31:0] in the table below
Set
705h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:8]
Rsvd
R
000000h
[7:4]
PS-Act
R
3h
Response[31:0]
Description
Reserved
Indicates the actual power state of the DAC3 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
The power state of the DAC3 node is controlled by PS-Set below, however
the control may be superseded by the PS-Set of the AFG node.
[3:0]
PS-Set
RW
3h
Sets the power state of the DAC3 node:
0h = D0
1h = D1
2h = D2
3h = D3
4h-Fh = Reserved
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
[7:4]
Reserved
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to
indicate an unused stream, and converters will not transfer/receive link
data for streams with an ID of 0h.
[3:0]
Channel
RW
0h
Lowest channel number used by this widget.
w
PP, April 2011, Rev 3.2
136
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
01h
02h
RW
Default
Description
R
000000h
Reserved
RW
0
03h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
08h
Reserved
04h
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
05h
The default for Tag is equal to the Node ID.
06h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
07h
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
RW
Default
R
00000000h
RW
00h
08h
09h
Description
0Ah
Reserved
Selects source of DAC3 node:
0h = Channel takes data from HDA Link
0Bh
5h = Channel takes data from S/PDIF Rx
Note: When the internal path of S/PDIF Rx to DAC3 is selected, the
Internal Path verbs in the other DAC nodes are also updated to select the
S/PDIF Rx as their data source.
0Dh
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
0Ch
0Eh
0Fh
Description
Reserved
10h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
11h
00h = Highest priority
12h
…
1Fh = Lowest priority
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
137
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
138
WM8850
Pre-Production
00h
MIC1 MUX SELECTOR WIDGET (NID = 09H)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
3h
Indicates that this is an Audio Selector Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
0
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier is not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
Reserved
0Ch
[31:8]
Rsvd
R
000000h
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
02h
Indicates that there is 2 NID entries in the connection list
0Dh
0Eh
CONNECTION SELECT CONTROL VERB
0Fh
Verb ID
Payload [7:0]
Response[31:0]
Get
F01h
00h
Bits [31:0] in the table below
Set
701h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Connection
Index
RW
Default
Description
R
000000h
Reserved
RW
00h
10h
11h
Connection index currently set:
12h
00h = Connection list entry 0
01h = Connection list entry 1
13h
02h-FFh = Reserved
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
139
WM8850
Pre-Production
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
0Eh
Indicates that the MIC1 Mux Widget connects to the Port-D Pin Widget
(NID = 0Eh)
Unused connection list entry
Note: When the MIC1 Widget (NID=03h) is in power state D0, and the
MIC1 Mux Widget sources Port-D (Digital Microphone), the analogue
circuitry for the ADC, PGA, and MICBIAS is disabled to save power.
Also, the DMICCLK is automatically enabled and runs at a rate
determined by the MIC1 Stream Format verb.
[7:0]
Conn List Entry 0
w
R
0Bh
Indicates that the MIC1 Mux Selector Widget connects to the PGA2
Widget (NID = 0Bh)
PP, April 2011, Rev 3.2
140
WM8850
Pre-Production
00h
PGA1 SELECTOR WIDGET (NID = 0AH)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
1
05h
Shows the amplifier mute status of the selected channel:
06h
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
18h
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter, and is shown below for convenience:
00h = −12dB
07h
08h
01h = −11.5dB
09h
… 0.5dB steps
2Fh = +11.5dB
30h = +12dB
0Ah
Note: If the BTL register in the Port-E Pin Widget (NID=0Ch) EAPD/BTL
Verb is set to 0, the input is single-ended and the actual gain setting
applied has an offset of −3dB from the setting configured by the Gain
register.
Set Table:
Bit
Bitfield Name
[15]
0Bh
0Ch
0Dh
RW
Default
Set Output Amp
W
1
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
0Fh
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
10h
[12]
Set Right Amp
W
1
Description
0Eh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
1
0 = Normal operation
[6:0]
Gain
W
18h
11h
12h
1 = Mute
13h
Note: When mute is applied to a channel, the data value is overwritten
with all zeros.
14h
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
15h
16h
17h
w
PP, April 2011, Rev 3.2
141
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
3h
Indicates that this is an Audio Selector Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
0
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
1
The AFG amplifier parameters are overridden for this node
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
Reserved
[31:8]
Rsvd
R
000000h
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entries in the connection list
Output Amplifier Capabilities Response Format (PID = 12h)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
1
[30:23]
Rsvd
R
0000h
[22:16]
Step Size
R
01h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
30h
[7]
Rsvd
R
0
[6:0]
Offset
R
18h
Description
PGA1 is capable of muting
Reserved
Gain step size is 0.5dB
Reserved
Number of steps in gain range is 49 (−12dB to +12dB)
Reserved
The step number that 0dB corresponds to is 18h
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
Unused connection list entry
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
0Ch
Indicates that the PGA1 Widget connects to the Port-E Pin Widget (NID =
0Ch)
w
PP, April 2011, Rev 3.2
142
WM8850
Pre-Production
00h
PGA CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
FB2h
00h
Bits [31:0] in the table below
Set1
7B2h
Bits [7:0] in the table below
00000000h
Set2
7B3h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
[31:14]
Rsvd
[13:0]
Terminal Count
RW
Default
Description
R
00000h
Reserved
RW
1FFFh
01h
02h
03h
Set the period of the zero detect timeout clock:
04h
0000h = Timeout disabled
0001h to 03FFh = Reserved
05h
0400h = 1025 x 20.833µs (21.3ms)
0401h = 1026 x 20.833µs (21.4ms)
…
06h
1FFFh = 8192 × 20.833µs (171ms)
…
07h
3FFFh = 16384 × 20.833µs (341ms)
Note: The timeout clock uses the SYNC signal from the HDA interface,
so the absolute value of the timeout period will depend on the absolute
accuracy of the SYNC signal.
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
143
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
144
WM8850
Pre-Production
00h
PGA2 SELECTOR WIDGET (NID = 0BH)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
1
05h
Shows the amplifier mute status of the selected channel:
06h
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
18h
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter, and is shown below for convenience:
00h = −12dB
07h
08h
01h = −11.5dB
09h
… 0.5dB steps
2Fh = +11.5dB
30h = +12dB
0Ah
Set Table:
Bit
Bitfield Name
[15]
0Bh
RW
Default
Set Output Amp
W
1
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
[12]
Set Right Amp
W
1
Description
0Ch
0Dh
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
0Eh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
0Fh
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
1
0 = Normal operation
[6:0]
Gain
W
18h
10h
1 = Mute
11h
Note: When mute is applied to a channel, the data value is overwritten
with all zeros.
12h
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
145
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
3h
Indicates that this is an Audio Selector Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
0
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
1
The AFG amplifier parameters are overridden for this node
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
Reserved
[31:8]
Rsvd
R
000000h
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
Output Amplifier Capabilities Response Format (PID = 12h)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
1
[30:23]
Rsvd
R
0000h
[22:16]
Step Size
R
01h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
30h
[7]
Rsvd
R
0
[6:0]
Offset
R
18h
Description
PGA2 is capable of muting
Reserved
Gain step size is 0.5dB
Reserved
Number of steps in gain range is 49 (−12dB to +12dB)
Reserved
The step number that 0dB corresponds to is 18h
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
Unused connection list entry
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
0Dh
Indicates that the PGA2 Widget connects to the Port-B Pin Widget (NID =
0Dh)
w
PP, April 2011, Rev 3.2
146
WM8850
Pre-Production
00h
PGA CONTROL VERB (VENDOR-SPECIFIC
Verb ID
Payload [7:0]
Response[31:0]
Get
FB2h
00h
Bits [31:0] in the table below
Set1
7B2h
Bits [7:0] in the table below
00000000h
Set2
7B3h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
[31:14]
Rsvd
[13:0]
Terminal Count
RW
Default
Description
R
00000h
Reserved
RW
1FFFh
01h
02h
03h
Set the period of the zero detect timeout clock:
04h
0000h = Timeout disabled
0001h to 03FFh = Reserved
05h
0400h = 1025 x 20.833µs (21.3ms)
0401h = 1026 x 20.833µs (21.4ms)
…
06h
1FFFh = 8192 × 20.833µs (171ms)
…
07h
3FFFh = 16384 × 20.833µs (341ms)
Note: The timeout clock uses the SYNC signal from the HDA interface,
so the absolute value of the timeout period will depend on the absolute
accuracy of the SYNC signal.
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
147
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
148
WM8850
Pre-Production
00h
PORT-E PIN COMPLEX WIDGET (NID = 0CH)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output Amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
0Ch
Description
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
Reserved
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
[6]
Balanced I/O
Pins
R
1
Indicates that this widget has balanced pins
[5]
Input Capable
R
1
Indicates that this widget is input capable
0Dh
Widget does not support an EAPD pin
VRef not supported
0Eh
0Fh
[4]
Output Capable
R
0
Indicates that this widget is not output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
10h
[2]
Presence Detect
Capable
R
1
Indicates that this widget can perform presence detection via the Pin Sense
Verb
11h
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
149
WM8850
Pre-Production
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Response[31:0]
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
H-Phn Enable
R
0
[6]
Out Enable
R
0
Not applicable as this in an input port
[5]
In Enable
RW
1
Controls the input path:
Not applicable as this in an input port
0 = Input path is disabled
1 = Input path is enabled
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
0Ch
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31]
Presence Detect
R
0
[30:0]
Impedance
Sense
R
00000000h
Description
0 = nothing plugged into Port-E
1 = something plugged into Port-E
Impedance sense not supported
EAPD/BTL VERB
Verb ID
Payload [7:0]
Get
F0Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set
70Ch
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:1]
Rsvd
R
000000h
Reserved
[0]
BTL
RW
1
Controls the configuration of the input pins on Port-E:
0 = Single-ended mode
1 = BTL (balanced) mode
w
PP, April 2011, Rev 3.2
150
WM8850
Pre-Production
00h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Get
F1Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
01h
02h
03h
Description
04h
Indicates the external connectivity:
0h = Jack
05h
1h = No physical connection
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
06h
Gross physical location of the device connected to Port-E:
0h = External on primary chassis
07h
1h = Internal
2h = Separate chassis
08h
3h = Other
[27:24]
Location[3:0]
RW
1h
Geometric location of the device connected to Port-E:
0h = Not applicable
09h
1h = Rear
2h = Front
0Ah
3h = Left
4h = Right
0Bh
5h = Top
6h = Bottom
7h = Special
0Ch
8h = Special
9h = Special
0Dh
Ah-Fh = Reserved
[23:20]
Default Device
RW
8h
Indicates the intended use of Port-E:
0Eh
0h = Line out
1h = Speaker
2h = Headphone out
0Fh
3h = CD
4h = S/PDIF out
10h
5h = Digital other out
6h = Modem line side
7h = Modem handset side
11h
8h = Line in
9h = AUX
12h
Ah = Mic in
Bh = Telephony
13h
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
14h
Fh = Other
15h
16h
17h
w
PP, April 2011, Rev 3.2
151
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[19:16]
Connection Type
RW
1h
Description
Indicates the type of physical interface on Port-E:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
3h
Indicates the colour of the physical jack on Port-E:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0h = Presence detection indicated by Pin Capabilities Parameter
1h = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
[7:4]
Default
Association
RW
Fh
Association number:
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
All values (0h-Fh) are available for use. Use a value of 0h for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
w
PP, April 2011, Rev 3.2
152
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
01h
02h
RW
Default
R
0000000h
RW
00h
Description
Reserved
03h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
04h
00h = Highest priority
05h
…
1Fh = Lowest priority
06h
AUTO-MUTE CONTROL VERB (VENDOR-SPECIFIC)
07h
Verb ID
Payload [7:0]
Response[31:0]
Get
FB0h
00h
Bits [31:0] in the table below
Set
7B0h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
PD_AUTOMUTE
RW
Default
R
0000000h
RW
0
08h
09h
Description
Reserved
Controls the WM8850 automute behavior when there is nothing plugged
into Port-E:
0Ah
0 = Automute disabled
1 = Automute enabled
0Bh
Note: When PD_AUTOMUTE=1 and Presence Detect (bit 31 in verb
F09h)=1 the WM8850 will replace the samples in the stream with zeros
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
153
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
154
WM8850
Pre-Production
00h
PORT-B PIN COMPLEX WIDGET (NID = 0DH)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
2000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
0000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
0
[6:0]
Amplifier Gain
R
00h
05h
Mute not supported
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Input Amplifier Capabilities
Parameter in the AFG (NID = 01h), and is shown below for convenience:
00h = 0dB
01h = +10dB
06h
07h
08h
02h = +20dB
03h = +30dB
09h
Set Table:
0Ah
Bit
Bitfield Name
RW
Default
[15]
Set Output Amp
R
0
Description
Not applicable to this widget
[14]
Set Input Amp
W
1
Indicates that the programming refers to the input amplifier on this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
0Ch
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0Bh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
0Dh
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
0Eh
[11:8]
Index
R
0h
Not applicable to this widget
[7]
Mute
R
0
Mute not supported
[6:0]
Gain
W
0h
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
0Fh
Note: Port-B amplifier implements Mic-Boost. The gain setting is always
applied to both left and right channels when either (or both) the Set Left
Amp or Set Right Amp registers are set. Dedicated boost settings for
each channel are not supported.
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
155
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
The AFG amplifier parameters are used for this widget
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
1
Input amplifier is present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
[15:8]
VRef Control
R
17h
Description
Reserved
Widget does not support an EAPD pin
Indicates that the MICBIAS pin supports the following voltage levels:

Hi-Z

Ground

AVDD1 * 50%

AVDD1 * 80%
[7]
Rsvd
R
0
Reserved
[6]
Balanced I/O
Pins
R
1
Indicates that this widget has balanced pins
[5]
Input Capable
R
1
Indicates that this widget is input capable
[4]
Output Capable
R
0
Indicates that this widget is not output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
[2]
Presence Detect
Capable
R
1
Indicates that this Widget can perform presence detection
[1]
Trigger Required
R
1
Indicates that impedance measurement uses the Execute command that is
part of the Pin Sense Verb
[0]
Impedance
Sense Capable
R
1
Impedance measurement supported
w
PP, April 2011, Rev 3.2
156
WM8850
Pre-Production
00h
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
01h
02h
RW
Default
Description
Reserved
[31:8]
Rsvd
R
000000h
[7]
H-Phn Enable
R
0
[6]
Out Enable
[5]
In Enable
03h
Not applicable as this in an input port
R
0
Not applicable as this in an input port
RW
1
Controls the input path:
04h
0 = Input path is disabled
05h
1 = Input path is enabled
[4:3]
Rsvd
[2:0]
VRefEn
R
0
Reserved
RW
0h
MICBIAS control:
06h
0h = Hi-Z
1h = AVDD1 * 50%
07h
2h = Ground (0V)
3h = Reserved
08h
4h = AVDD1 * 80%
5h-7h = Reserved
Note: If VRefEn is set to a reserved value, the value programmed will be
0h (Hi-Z) to avoid any potential damage to external components
09h
0Ah
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
[6]
[5:0]
0Bh
0Ch
RW
Default
Description
Reserved
R
000000h
RW
0
0 = Unsolicited Responses disabled for this node
Rsvd
R
0
Reserved
Tag
RW
0Dh
0Dh
1 = Unsolicited Responses enabled for this node
0Eh
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
0Fh
The default for Tag is equal to the Node ID.
10h
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
11h
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Execute
709h
00h
00000000h
Bit
Bitfield Name
[31]
Presence Detect
RW
Default
R
0
12h
13h
Description
14h
0 = nothing plugged into Port-B
1 = something plugged into Port-B
[30:0]
Impedance
Sense
R
7FFFFFFFh
15h
Impedance sense value:
7FFFFFFFh = measurement not ready
16h
17h
w
PP, April 2011, Rev 3.2
157
WM8850
Pre-Production
EAPD/BTL VERB
Verb ID
Payload [7:0]
Get
F0Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set
70Ch
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:1]
Rsvd
R
000000h
Reserved
[0]
BTL
RW
1
Controls the configuration of the input pins on Port-B:
0 = Single-ended mode
1 = BTL (balanced) mode
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Get
F1Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
Description
Indicates the external connectivity:
0h = Jack
1h = No physical connection
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
Gross physical location of the device connected to Port-B:
0h = External on primary chassis
1h = Internal
2h = Separate chassis
3h = Other
[27:24]
Location[3:0]
RW
2h
Geometric location of the device connected to Port-B:
0h = Not applicable
1h = Rear
2h = Front
3h = Left
4h = Right
5h = Top
6h = Bottom
7h = Special
8h = Special
9h = Special
Ah-Fh = Reserved
w
PP, April 2011, Rev 3.2
158
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[23:20]
Default Device
RW
Ah
00h
Description
Indicates the intended use of Port-B:
01h
0h = Line out
1h = Speaker
2h = Headphone out
02h
3h = CD
4h = S/PDIF out
03h
5h = Digital other out
6h = Modem line side
04h
7h = Modem handset side
8h = Line in
9h = AUX
05h
Ah = Mic in
Bh = Telephony
06h
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
07h
Fh = Other
[19:16]
Connection Type
RW
1h
Indicates the type of physical interface on Port-B:
08h
0h = Unknown
1h = 3.5mm stereo/mono jack
09h
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
0Ah
5h = Optical
6h = Other digital
0Bh
7h = Other analogue
8h = Multi-channel analogue (DIN)
0Ch
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
0Dh
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
9h
0Eh
Indicates the colour of the physical jack on Port-B:
0h = Unknown
0Fh
1h = Black
2h = Grey
3h = Blue
10h
4h = Green
5h = Red
11h
6h = Orange
7h = Yellow
12h
8h = Purple
9h = Pink
Ah-Dh = Reserved
13h
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
14h
0 = Presence detection indicated by Pin Capabilities Parameter
15h
1 = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
16h
17h
All other values are reserved
w
PP, April 2011, Rev 3.2
159
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[7:4]
Default
Association
RW
Fh
Description
Association number:
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
All values (0h-Fh) are available for use. Use a value of 0h for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority
DIFFERENTIAL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
FA3h
00h
Bits [31:0] in the table below
Set
7A3h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
Differential Mode
RW
Default
R
0000000h
RW
1
Description
Reserved
Differential mode:
0 = Differential (Microphone)
1 = Pseudo-differential
AUTO-MUTE CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
FB0h
00h
Bits [31:0] in the table below
Set
7B0h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
PD_AUTOMUTE
RW
Default
R
0000000h
RW
0
Description
Reserved
Controls the WM8850 automute behavior when there is nothing plugged
into Port-B:
0 = Automute disabled
1 = Automute enabled
Note: When PD_AUTOMUTE=1 and Presence Detect=1 the WM8850 will
replace the samples in the stream with zeros
w
PP, April 2011, Rev 3.2
160
WM8850
Pre-Production
00h
PORT-D PIN COMPLEX WIDGET (NID = 0EH)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
2000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
0000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
0
05h
Shows the amplifier mute status of the selected channel:
06h
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
18h
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Input Amplifier Capabilities
Parameter, and is shown below for convenience:
00h = −12dB
07h
08h
01h = −11.5dB
09h
… 0.5dB steps
18h = 0dB
… 0.5dB steps
0Ah
57h = +31.5dB
58h = +32dB
0Bh
Set Table:
Bit
Bitfield Name
[15]
0Ch
RW
Default
Description
Set Output Amp
W
0
Not applicable to this widget
[14]
Set Input Amp
W
1
Indicates that the programming refers to the input amplifier on this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
0Eh
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0Fh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
0
0 = Normal operation
0Dh
10h
11h
1 = Mute
12h
Note: When mute is applied to a channel, the data value is overwritten
with all zeros.
[6:0]
Gain
W
18h
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
161
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
0
Widget does not support Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
1
The AFG amplifier parameters are overridden for this widget node
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
1
Input amplifier is present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
Description
Reserved
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for Digital Inputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
1
Indicates that this widget is input capable
[4]
Output Capable
R
0
Indicates that this widget is not output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
[2]
Presence Detect
Capable
R
0
Presence detection not supported
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
Input Amplifier Capabilities Response Format (PID = 0Dh)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
1
[30:23]
Rsvd
R
0000h
[22:16]
Step Size
R
01h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
58h
[7]
Rsvd
R
0
[6:0]
Offset
R
18h
w
Description
DMIC amplifiers are capable of hard-mute
Reserved
Gain step size is 0.5dB
Reserved
Number of steps in gain range is 89 (−12dB to +32dB)
Reserved
The step number that 0dB corresponds to is 18h
PP, April 2011, Rev 3.2
162
WM8850
Pre-Production
00h
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Response[31:0]
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
Reserved
[31:8]
Rsvd
R
000000h
[7]
H-Phn Enable
R
0
[6]
Out Enable
[5]
In Enable
01h
02h
03h
Not applicable as this in an input port
R
0
Not applicable as this in an input port
RW
1
Controls the input path:
04h
0 = Input path is disabled
05h
1 = Input path is enabled
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
06h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
07h
Response[31:0]
Get
F1Ch
00h
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
08h
09h
0Ah
Description
Indicates the external connectivity:
0Bh
0h = Jack
1h = No physical connection
0Ch
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
1h
0Dh
Gross physical location of the device connected to Port-D:
0h = External on primary chassis
1h = Internal
0Eh
2h = Separate chassis
3h = Other
[27:24]
Location[3:0]
RW
0h
0Fh
Geometric location of the device connected to Port-D:
0h = Not applicable
10h
1h = Rear
2h = Front
3h = Left
11h
4h = Right
5h = Top
12h
6h = Bottom
7h = Special
13h
8h = Special
9h = Special
Ah-Fh = Reserved
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
163
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[23:20]
Default Device
RW
Ah
Description
Indicates the intended use of Port-D:
0h = Line out
1h = Speaker
2h = Headphone out
3h = CD
4h = S/PDIF out
5h = Digital other out
6h = Modem line side
7h = Modem handset side
8h = Line in
9h = AUX
Ah = Mic in
Bh = Telephony
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
Fh = Other
[19:16]
Connection Type
RW
6h
Indicates the type of physical interface on Port-D:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
0h
Indicates the colour of the physical jack on Port-D:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0h = Presence detection indicated by Pin Capabilities Parameter
1h = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
w
PP, April 2011, Rev 3.2
164
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[7:4]
Default
Association
RW
Fh
00h
Description
Association number:
01h
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
02h
03h
All values (0h-Fh) are available for use. Use a value of 0 for Single Pin
Widget.
04h
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
165
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
166
WM8850
Pre-Production
00h
S/PDIF OUT PIN COMPLEX WIDGET (NID = 0FH)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier is present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
0Ch
Description
Reserved
0Dh
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital outputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
0
Indicates that this widget is not input capable
0Eh
0Fh
[4]
Output Capable
R
1
Indicates that this widget is output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
10h
[2]
Presence Detect
Capable
R
1
Indicates that this widget can perform presence detection
11h
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
167
WM8850
Pre-Production
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
04h
Indicates that the S/PDIF Out Pin Widget connects to the S/PDIF Tx 1
Widget (NID = 04h)
Unused connection list entry
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
H-Phn Enable
[6]
Out Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
R
0
Not applicable for S/PDIF Out
RW
1
Controls the output path:
0 = Output path is disabled
1 = Output path is enabled
Note: If S/PDIF Out sources the S/PDIF Tx 1 Widget and OutEnable=0,
the S/PDIF signal is still transmitted, but the payload of the S/PDIF signal
is filled with zeros. In this way, the OutEnable register acts as a S/PDIF
Mute. When sourcing the S/PDIF TX 1 Widget, the user can have the
S/PDIF Out pin drive 0 by setting DigEn (in the S/PDIF TX 1 Widget) to 0.
Note: If S/PDIF Out sources the S/PDIF In widget and OutEnable=0, the
S/PDIF Out pin drives zero. The Digen register has no context in this
configuration, and is ignored.
[5]
In Enable
R
0
Not applicable for S/PDIF Out
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
RW
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
0Fh
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
w
PP, April 2011, Rev 3.2
168
WM8850
Pre-Production
00h
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31]
[30:0]
RW
Default
Presence Detect
R
0
Impedance
Sense
R
00000000h
01h
02h
Description
0 = nothing plugged into S/PDIF Out
03h
1 = something plugged into S/PDIF Out
Impedance sense not supported
04h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
05h
Response[31:0]
Get
F1Ch
00h
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
06h
07h
08h
Description
Indicates the external connectivity:
09h
0h = Jack
1h = No physical connection
0Ah
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
0Bh
Gross physical location of the device connected to S/PDIF Out:
0h = External on primary chassis
1h = Internal
0Ch
2h = Separate chassis
3h = Other
[27:24]
Location[3:0]
RW
1h
0Dh
Geometric location of the device connected to S/PDIF Out:
0h = Not applicable
0Eh
1h = Rear
2h = Front
3h = Left
0Fh
4h = Right
5h = Top
10h
6h = Bottom
7h = Special
11h
8h = Special
9h = Special
Ah-Fh = Reserved
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
169
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[23:20]
Default Device
RW
4h
Description
Indicates the intended use of S/PDIF Out:
0h = Line out
1h = Speaker
2h = Headphone out
3h = CD
4h = S/PDIF out
5h = Digital other out
6h = Modem line side
7h = Modem handset side
8h = Line in
9h = AUX
Ah = Mic in
Bh = Telephony
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
Fh = Other
[19:16]
Connection Type
RW
5h
Indicates the type of physical interface on S/PDIF Out:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
9h
Indicates the colour of the physical jack on S/PDIF Out:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
1h
Presence detection override:
0 = Presence detection indicated by Pin Capabilities Parameter
1 = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
w
PP, April 2011, Rev 3.2
170
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[7:4]
Default
Association
RW
Fh
00h
Description
Association number:
01h
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
02h
03h
All values (0h-Fh) are available for use. Use a value of 0 for Single Pin
Widget.
04h
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
05h
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[7:0]
Path Sel
RW
Default
R
0000000h
RW
4h
06h
07h
Description
08h
Reserved
Selects source of S/PDIF Out node:
04h = S/PDIF Tx 1
09h
10h = S/PDIF In
Note: This verb can overwrite the path setup by the connection list
0Ah
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
0Bh
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
0Ch
0Dh
Description
Reserved
0Eh
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
0Fh
00h = Highest priority
10h
…
1Fh = Lowest priority
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
171
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
172
WM8850
Pre-Production
00h
S/PDIF IN PIN COMPLEX WIDGET (NID = 10H)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier is present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
0Ch
Description
Reserved
0Dh
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital outputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
1
Indicates that this widget is input capable
0Eh
0Fh
[4]
Output Capable
R
0
Indicates that this widget is not output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
10h
[2]
Presence Detect
Capable
R
0
Indicates if this widget can perform presence detection
11h
Note: Value is set based on PD Config register in S/PDIF In Control Verb
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
173
WM8850
Pre-Production
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Response[31:0]
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
H-Phn Enable
R
0
[6]
Out Enable
R
0
Not applicable for S/PDIF In
[5]
In Enable
RW
1
Controls the input path:
Not applicable for S/PDIF In
0 = Input path is disabled
1 = Input path is enabled
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
10h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
PIN SENSE VERB
Verb ID
Payload [7:0]
Get
F09h
00h
Bits [31:0] in the table below
Execute
709h
00h
00000000h
Bit
Bitfield Name
[31]
Presence Detect
Response[31:0]
RW
Default
R
0
Description
The value reported here relflects the lock status of the S/PDIF receiver:
0 = S/PDIF Rx is unlocked
1 = S/PDIF Rx is locked
[30:0]
Impedance
Sense
w
R
00000000h
Impedance sense not supported
PP, April 2011, Rev 3.2
174
WM8850
Pre-Production
00h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F1Ch
00h
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
01h
02h
03h
Description
04h
Indicates the external connectivity:
0h = Jack
05h
1h = No physical connection
2h = A fixed function device
06h
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
Gross physical location of the device connected to SPDIF_IN:
0h = External on primary chassis
07h
1h = Internal
2h = Separate chassis
08h
3h = Other
[27:24]
Location[3:0]
RW
1h
Geometric location of the device connected to SPDIF_IN:
09h
0h = Not applicable
1h = Rear
2h = Front
0Ah
3h = Left
4h = Right
0Bh
5h = Top
6h = Bottom
0Ch
7h = Special
8h = Special
9h = Special
0Dh
Ah-Fh = Reserved
[23:20]
Default Device
RW
Ch
Indicates the intended use of SPDIF_IN:
0Eh
0h = Line out
1h = Speaker
0Fh
2h = Headphone out
3h = CD
4h = S/PDIF out
10h
5h = Digital other out
6h = Modem line side
11h
7h = Modem handset side
8h = Line in
12h
9h = AUX
Ah = Mic in
Bh = Telephony
13h
Ch = S/PDIF in
Dh = Digital other in
14h
Eh = Reserved
Fh = Other
15h
16h
17h
w
PP, April 2011, Rev 3.2
175
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[19:16]
Connection Type
RW
5h
Description
Indicates the type of physical interface on SPDIF_IN:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
2h
Indicates the colour of the physical jack on SPDIF_IN:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0 = Presence detection indicated by Pin Capabilities Parameter
1 = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
[7:4]
Default
Association
RW
Fh
Association number:
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
All values (0h-Fh) are available for use. Use a value of 0h for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
w
PP, April 2011, Rev 3.2
176
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
01h
02h
RW
Default
R
0000000h
RW
00h
Description
Reserved
03h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
04h
00h = Highest priority
05h
…
1Fh = Lowest priority
06h
GET S/PDIF IN STATUS VERB (VENDOR-SPECIFIC)
07h
Verb ID
Payload [7:0]
Response[31:0]
Get
FA0h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
08h
RW
Default
[31:4]
Rsvd
R
0000000h
[3:1]
RATE
R
7h
Description
Reserved
09h
Recovered sample rate:
0h = Reserved
0Ah
1h = Reserved
2h = 96 kHz
0Bh
3h = 88.2 kHz
4h = 48 kHz
5h = 44.1 kHz
0Ch
6h = 32 kHz
7h = Sample rate not detected
[0]
LOCK
R
0
0Dh
S/PDIF Rx lock flag:
0 = Unlocked
0Eh
1 = Locked
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
177
WM8850
Pre-Production
S/PDIF IN CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
FA1h
00h
Bits [31:0] in the table below
Set
7A1h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:4]
Rsvd
[3]
Unlock Ctrl
RW
Default
R
0000000
RW
0
Description
Reserved
Configures how the SPDIF Rx audio path handles an unlock/relock
condition:
0 = push method, where recovered sample rate is updated immediately
and a re-write of the stream ID is not required to re-start data transmission
1 = controlled method, where the recovered sample rate is updated after
the stream ID has been set to 0. R e-writing the stream ID to a non-zero
value re-starts data transmission.
[2]
PD Config
RW
0
Configures the Presence Detect Capable parameter:
0 = parameter set to 0
1 = parameter set to 1
When set to 0, Presence Detect reporting via the Pin Sense Verb is
disabled, as is Unsolicited Response generation from the SF_PD flag from
the S/PDIF In node.
[1]
CMOS Thres
RW
0
Selects the logic threshold levels when in CMOS Mode:
0 = 30% / 70% thresholds
1 = 20% / 40% thresholds
[0]
Pin Mode Sel
RW
0
The SPDIF_IN pin supports both CMOS-compatible inputs and Comparator
Inputs compatible with 500mVpp AC coupled consumer S/PDIF signals as
defined in IEC60958-3. Pin Mode Sel selects between these options:
0 = CMOS Mode
1 = Comparator Mode
w
PP, April 2011, Rev 3.2
178
WM8850
Pre-Production
00h
PORT-A PIN COMPLEX WIDGET (NID = 11H)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
0Ch
Description
Reserved
0Dh
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital outputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
0
Indicates that this widget is not input capable
0Eh
0Fh
[4]
Output Capable
R
1
Indicates that this widget is output capable
[3]
Headphone
Drive Capable
R
1
Indicates that this widget has a headphone driver
10h
[2]
Presence Detect
Capable
R
1
Indicates that this widget can perform presence detection
11h
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
179
WM8850
Pre-Production
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
06h
Indicates that the Port-A Pin Widget connects to the DAC1 Widget (NID =
06h)
Unused connection list entry
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
H-Phn Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0h
Headphone amplifier enable:
0 = Disable
1 = Enable
Note: If the H-Phn Enable register is set to 1, the actual gain setting
applied has an offset of −8dB from the setting configured by the Gain
register in the DAC1 Amplifier Gain/Mute Verb.
[6]
Out Enable
RW
1
Controls the output path:
0 = Output path is disabled
1 = Output path is enabled
[5]
In Enable
R
0
Not applicable for Port-A
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
11h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
w
PP, April 2011, Rev 3.2
180
WM8850
Pre-Production
00h
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31]
Presence Detect
R
0
[30:0]
Impedance
Sense
R
00000000h
01h
02h
Description
0 = nothing plugged into Port-A
1 = something plugged into Port-A
03h
Impedance sense not supported
04h
CONFIGURATION DEFAULT VERB
05h
Verb ID
Payload [7:0]
Response[31:0]
Get
F1Ch
00h
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
06h
07h
08h
Description
Indicates the external connectivity:
09h
0h = Jack
1h = No physical connection
2h = A fixed function device
0Ah
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
Gross physical location of the device connected to Port-A:
0Bh
0h = External on primary chassis
1h = Internal
0Ch
2h = Separate chassis
3h = Other
[27:24]
Location[3:0]
RW
1h
Geometric location of the device connected to Port-A:
0Dh
0h = Not applicable
1h = Rear
0Eh
2h = Front
3h = Left
0Fh
4h = Right
5h = Top
6h = Bottom
10h
7h = Special
8h = Special
11h
9h = Special
Ah-Fh = Reserved
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
181
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[23:20]
Default Device
RW
0h
Description
Indicates the intended use of Port-A:
0h = Line out
1h = Speaker
2h = Headphone out
3h = CD
4h = S/PDIF out
5h = Digital other out
6h = Modem line side
7h = Modem handset side
8h = Line in
9h = AUX
Ah = Mic in
Bh = Telephony
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
Fh = Other
[19:16]
Connection Type
RW
1h
Indicates the type of physical interface on Port-A:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
4h
Indicates the colour of the physical jack on Port-A:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0 = Presence detection indicated by Pin Capabilities Parameter
1 = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
w
PP, April 2011, Rev 3.2
182
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[7:4]
Default
Association
RW
2h
00h
Description
Association number:
01h
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
02h
03h
All values (0h-Fh) are available for use. Use a value of 0 for Single Pin
Widget.
04h
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
05h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
06h
07h
Description
Reserved
08h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
09h
00h = Highest priority
0Ah
…
1Fh = Lowest priority
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
183
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
184
WM8850
Pre-Production
00h
PORT-G PIN COMPLEX WIDGET (NID = 12H)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
0Ch
Description
Reserved
0Dh
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital outputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
0
Indicates that this widget is not input capable
0Eh
0Fh
[4]
Output Capable
R
1
Indicates that this widget is output capable
[3]
Headphone
Drive Capable
R
0
Indicates that this widget does not have a headphone driver
10h
[2]
Presence Detect
Capable
R
1
Indicates that this widget can perform presence detection
11h
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
185
WM8850
Pre-Production
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
07h
Indicates that the Port-G Pin Widget connects to the DAC2 Widget (NID =
07h)
Unused connection list entry
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
H-Phn Enable
[6]
Out Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
R
0
Not applicable for Port-G
RW
1
Controls the output path:
0 = Output path is disabled
1 = Output path is enabled
[5]
In Enable
R
0
Not applicable for Port-G
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
12h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31]
Presence Detect
R
0
[30:0]
Impedance
Sense
R
00000000h
Description
0 = nothing plugged into Port-G
1 = something plugged into Port-G
w
Impedance sense not supported
PP, April 2011, Rev 3.2
186
WM8850
Pre-Production
00h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Get
F1Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
01h
02h
03h
Description
04h
Indicates the external connectivity:
0h = Jack
05h
1h = No physical connection
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
06h
Gross physical location of the device connected to Port-G:
0h = External on primary chassis
07h
1h = Internal
2h = Separate chassis
08h
3h = Other
[27:24]
Location[3:0]
RW
1h
Geometric location of the device connected to Port-G:
0h = Not applicable
09h
1h = Rear
2h = Front
0Ah
3h = Left
4h = Right
0Bh
5h = Top
6h = Bottom
7h = Special
0Ch
8h = Special
9h = Special
0Dh
Ah-Fh = Reserved
[23:20]
Default Device
RW
0h
Indicates the intended use of Port-G:
0Eh
0h = Line out
1h = Speaker
2h = Headphone out
0Fh
3h = CD
4h = S/PDIF out
10h
5h = Digital other out
6h = Modem line side
7h = Modem handset side
11h
8h = Line in
9h = AUX
12h
Ah = Mic in
Bh = Telephony
13h
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
14h
Fh = Other
15h
16h
17h
w
PP, April 2011, Rev 3.2
187
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[19:16]
Connection Type
RW
1h
Description
Indicates the type of physical interface on Port-G:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
6h
Indicates the colour of the physical jack on Port-G:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0 = Presence detection indicated by Pin Capabilities Parameter
1 = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
All other values are reserved
[7:4]
Default
Association
RW
2h
Association number:
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
1h
Sequence number used to define individual channel pairs within a stream.
All values (0h-Fh) are available for use. Use a value of 0h for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
w
PP, April 2011, Rev 3.2
188
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
01h
02h
RW
Default
R
0000000h
RW
00h
Description
Reserved
03h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
04h
00h = Highest priority
05h
…
1Fh = Lowest priority
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
189
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
190
WM8850
Pre-Production
00h
PORT-F PIN COMPLEX WIDGET (NID = 13H)
GET PARAMETER VERB
Get
01h
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
02h
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
[31:24]
03h
RW
Default
Description
Rsvd
R
00h
Reserved
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
0
Indicates that this widget is translating analogue data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
04h
05h
06h
07h
08h
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
09h
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
0Ah
[0]
Stereo
R
1
Indicates that this is a stereo widget
0Bh
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
0Ch
Description
Reserved
0Dh
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital outputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
0
Indicates that this widget is not input capable
0Eh
0Fh
[4]
Output Capable
R
1
Indicates that this widget is output capable
[3]
Headphone
Drive Capable
R
0
Indicates that this widget does not have a headphone driver
10h
[2]
Presence Detect
Capable
R
1
Indicates that this widget can perform presence detection
11h
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
12h
13h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
191
WM8850
Pre-Production
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
08h
Indicates that the Port-F Pin Widget connects to the DAC3 Widget (NID =
08h)
Unused connection list entry
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
H-Phn Enable
[6]
Out Enable
Response[31:0]
RW
Default
Description
R
000000h
Reserved
R
0
Not applicable for Port-F
RW
1
Controls the output path:
0 = Output path is disabled
1 = Output path is enabled
[5]
In Enable
R
0
Not applicable for Port-F
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
13h
Reserved
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
PIN SENSE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F09h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
RW
Default
[31]
Presence Detect
R
0
[30:0]
Impedance
Sense
R
00000000h
Description
0 = nothing plugged into Port-F
1 = something plugged into Port-F
w
Impedance sense not supported
PP, April 2011, Rev 3.2
192
WM8850
Pre-Production
00h
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Get
F1Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
01h
02h
03h
Description
04h
Indicates the external connectivity:
0h = Jack
05h
1h = No physical connection
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
0h
06h
Gross physical location of the device connected to Port-F:
0h = External on primary chassis
07h
1h = Internal
2h = Separate chassis
08h
3h = Other
[27:24]
Location[3:0]
RW
1h
Geometric location of the device connected to Port-F:
0h = Not applicable
09h
1h = Rear
2h = Front
0Ah
3h = Left
4h = Right
0Bh
5h = Top
6h = Bottom
7h = Special
0Ch
8h = Special
9h = Special
0Dh
Ah-Fh = Reserved
[23:20]
Default Device
RW
0h
Indicates the intended use of Port-F:
0Eh
0h = Line out
1h = Speaker
2h = Headphone out
0Fh
3h = CD
4h = S/PDIF out
10h
5h = Digital other out
6h = Modem line side
7h= Modem handset side
11h
8h = Line in
9h = AUX
12h
Ah = Mic in
Bh = Telephony
13h
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
14h
Fh = Other
15h
16h
17h
w
PP, April 2011, Rev 3.2
193
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[19:16]
Connection Type
RW
1h
Description
Indicates the type of physical interface on Port-F:
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
5h = Optical
6h = Other digital
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
Ah = RJ-11 (modem)
Bh = Combination
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
1h
Indicates the colour of the physical jack on Port-F:
0h = Unknown
1h = Black
2h = Grey
3h = Blue
4h = Green
5h = Red
6h = Orange
7h = Yellow
8h = Purple
9h = Pink
Ah-Dh = Reserved
Eh = White
Fh = Other
[11:8]
Misc
RW
0h
Presence detection override:
0 = Presence detection indicated by Pin Capabilities Parameter (0Ch)
1 = Presence detection not supported. If the Pin Capabilities Parameter
(0Ch) indicates that that presence detection is supported by the node, then
this bit is used to override it to indicate the external circuitry is not capable
of supporting presence detect
All other values are reserved
[7:4]
Default
Association
RW
2h
Association number:
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
2h
Sequence number used to define individual channel pairs within a stream.
All values (0h-Fh) are available for use. Use a value of 0h for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
w
PP, April 2011, Rev 3.2
194
WM8850
Pre-Production
00h
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
01h
02h
RW
Default
R
0000000h
RW
00h
Description
Reserved
03h
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
04h
00h = Highest priority
05h
…
1Fh = Lowest priority
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
195
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
196
WM8850
Pre-Production
00h
BEEP GENERATOR WIDGET (NID = 14H)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
A000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
8000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [15:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:7]
Rsvd
R
000000h
Reserved
[6:0]
Amplifier Gain
R
04h
05h
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Output Amplifier
Capabilities Parameter, and is shown below for convenience:
06h
00h = −24dB
07h
01h = −18dB
02h = −12dB
08h
03h = −6dB
04h = 0dB
09h
Set Table:
0Ah
Bit
Bitfield Name
RW
Default
[15]
Set Output Amp
W
1
Description
Indicates that the programming refers to the output amplifier on this
widget
[14]
Set Input Amp
W
0
Not applicable to this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
0Bh
0Ch
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0Dh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
0Eh
0Fh
[11:8]
Index
W
0
Not applicable to this widget
[7]
Mute
R
1
Mute not supported
[6:0]
Gain
W
4h
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
197
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
7h
[19:4]
Rsvd
R
0000h
[3]
Amp Parameter
Override
R
1
[2]
Out Amp Present
R
1
Output amplifier is present in this widget
[1:0]
Rsvd
R
0h
Reserved
Reserved
Indicates that this is a Beep Generator Widget
Reserved
The AFG amplifier parameters are overridden for this node
Output Amplifier Capabilities Response Format (PID = 12h)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
0
[30:23]
Rsvd
R
0000h
[22:16]
Step Size
R
17h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
04h
[7]
Rsvd
R
0
[6:0]
Offset
R
04h
Description
Beep amplifier does not support mute
Reserved
Gain step size is 6dB
Reserved
Number of steps in gain range is 5 (0dB to −24dB)
Reserved
The step number that 0dB corresponds to is 04h
BEEP GENERATION VERB
Verb ID
Payload [15:0]
Response[31:0]
Get
F0Ah
0000h
Bits [31:0] in the table below
Set
70Ah
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Terminal Count
RW
Default
R
0000000h
RW
00h
Description
Reserved
Sets tone divider value. The frequency of the beep tone is given by
f = 48kHz / (4 * Divider):
00h = Beep Generator disabled
01h = 12kHz
02h = 6 kHz
…. ….
FFh = 47.06 Hz
Note: for a beep to be generated, the AFG must be in state D0
w
PP, April 2011, Rev 3.2
198
WM8850
Pre-Production
00h
BEEP MASK SELECTION VERB (VENDOR SPECIFIC)
Verb ID
Payload [15:0]
Response[31:0]
Get
F72h
0000h
Bits [31:0] in the table below
Set
772h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
01h
02h
[31:3]
Rsvd
[2]
Port-A Beep
Mask
RW
Default
R
0000000h
RW
0
Description
Reserved
03h
Beep mask enable for Port-A (DAC1):
0 = Beep tone unmasked from output
04h
1 = Beep tone masked from output
[1]
Port-G Beep
Mask
RW
0
Beep mask enable for Port-G (DAC2):
05h
0 = Beep tone unmasked from output
1 = Beep tone masked from output
[0]
Port-F Beep
Mask
RW
0
Beep mask enable for Port-F (DAC3):
06h
0 = Beep tone unmasked from output
1 = Beep tone masked from output
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
199
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
200
WM8850
Pre-Production
00h
MIC2 AUDIO INPUT CONVERTER WIDGET (NID = 15H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Ah
0000h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:16]
Rsvd
RW
Default
R
0000h
02h
Description
03h
Reserved
[15]
Type
R
0
Indicates the widget supports only PCM streams
[14]
Base
R
0
Used to set the base rate frequency:
04h
0 = 48 kHz
1 = 44.1 kHz
[13:11]
Mult
R
0h
05h
Used to set the base rate multiplication factor:
0h = x1 (48kHz, 44.1kHz or less)
06h
1h = x2 (32kHz)
2h-7h = Reserved
[10:8]
Div
R
0h
07h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
1h = divide by 2 (24kHz, 22.05kHz)
08h
2h = divide by 3 (16kHz, 32kHz)
3h = divide by 4 (11.025kHz)
09h
4h = Reserved
5h = divide by 6 (8kHz)
0Ah
6h = Reserved
7h = Reserved
[7]
Rsvd
R
0
Reserved
[6:4]
Bits
R
3h
Bits per Sample:
0Bh
0h = Reserved
0Ch
1h = 16 bits
2h = 20 bits
0Dh
3h = 24 bits
4h = 32 bits (Float 32)
5h-7h = Reserved
[3:0]
Chan
R
1h
0Eh
Number of Channels in each frame of the stream:
0h = 1 channel
0Fh
1h = 2 channels
2h = 3 channels
10h
3h = 4 channels
4h-Fh = reserved
11h
Note: Register values are read-only. As MIC2 and MIC1 share the DMICLK, the MIC1 Stream Format Verb is used to
configure the sample rate for both converters.
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
201
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
1h
Indicates that this is an Audio Input Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
Reserved
[6]
ProcWidget
R
1
Widget has processing capabilities (i.e high pass filter)
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not applicable for this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
MIC1 supports 32-bit audio format
[19]
B24
R
1
MIC1 supports 24-bit audio format
[18]
B20
R
1
MIC1 supports 20-bit audio format
[17]
B16
R
1
MIC1 supports 16-bit audio format
[16]
B8
R
0
MIC1 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
MIC1 does not support 384 kHz sample rate
[10]
R11
R
0
MIC1 does not support 192 kHz sample rate
[9]
R10
R
0
MIC1 does not support 176.4 kHz sample rate
[8]
R9
R
0
MIC1 does not support 96 kHz sample rate
[7]
R8
R
0
MIC1 does not support 88.2 kHz sample rate
[6]
R7
R
1
MIC1 supports 48 kHz sample rate
[5]
R6
R
1
MIC1 supports 44.1 kHz sample rate
[4]
R5
R
1
MIC1 supports 32 kHz sample rate
[3]
R4
R
1
MIC1 supports 22.05 kHz sample rate
[2]
R3
R
1
MIC1 supports 16 kHz sample rate
[1]
R2
R
1
MIC1 supports 11.025 kHz sample rate
[0]
R1
R
1
MIC1 supports 8 kHz sample rate
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
MIC2 supports Float32 formatted data
[0]
PCM
R
1
MIC2 supports PCM formatted data
w
Description
Reserved
MIC2 does not support Dolby AC3 formatted data
PP, April 2011, Rev 3.2
202
WM8850
Pre-Production
00h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
01h
02h
03h
Processing Capabilities Parameter (PID = 10h)
Bit
Bitfield Name
[31:16]
Rsvd
RW
Default
R
0000h
Description
[15:8]
NumCoeff
R
00h
This widget does not support loadable coefficients
[7:1]
Rsvd
R
00h
Reserved
[0]
Benign
R
0
04h
Reserved
05h
The “Processing Benign State” is not supported
06h
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
Bit
Bitfield Name
[31:24]
[23:16]
07h
08h
RW
Default
Description
Conn List Entry 3
R
00h
Unused connection list entry
Conn List Entry 2
R
00h
Unused connection list entry
09h
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
16h
Indicates that the MIC2 Widget connects to the Port-H Pin Widget (NID =
16h)
0Bh
PROCESSING STATE VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F03h
00h
Bits [31:0] in the table below
Set
703h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Processing State
RW
Default
Description
R
000000h
Reserved
RW
01h
0Ah
0Ch
0Dh
0Eh
The processing block is the high-pass filter (HPF). The processing state
is controlled as follows:
00h = Processing Off: HPF disabled
01h = Processing On: HPF enabled
0Fh
10h
02h = Processing Off: HPF disabled (benign not supported)
03h-7Fh = Reserved
11h
80h-FFh = Vendor Specific – not used
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
203
WM8850
Pre-Production
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:4]
Stream
Response[31:0]
RW
Default
Description
R
000000h
Reserved
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0h.
For multi-channel capture on MIC1 and MIC2, the Stream value should be
the same for both.
[3:0]
Channel
RW
2h
Lowest channel number used by this widget.
Note: When MIC1 and MIC2 are setup for multi-channel capture, only a
setting of 0h and 2h are applicable. However, the values are mutually
exclusive, in that if Channel has been set to 0h for the MIC1 node, it must
be set to 2h for the MIC2 node. Both nodes should have Channel set to 0h
when not in multi-channel capture mode.
UNSOLICITED RESPONSE VERB
Verb ID
Payload [7:0]
Get
F08h
00h
Response[31:0]
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0h
0 = Unsolicited Responses disabled for this node
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0h
Reserved
[5:0]
Tag
RW
15h
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority
w
PP, April 2011, Rev 3.2
204
WM8850
Pre-Production
00h
CHANNEL COPY VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
FB1h
00h
Bits [31:0] in the table below
Set
7B1h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
01h
02h
[31:2]
Rsvd
[1]
CHAN1_SEL
RW
Default
R
00000000h
RW
1
Description
Reserved
03h
Channel 1 (right) Mapping Control:
0 = Channel takes data from left channel
04h
1 = Channel takes data from right channel
[0]
CHAN0_SEL
RW
0
Channel 0 (left) Mapping Control:
05h
0 = Channel takes data from left channel
1 = Channel takes data from right channel
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
205
WM8850
w
Pre-Production
PP, April 2011, Rev 3.2
206
WM8850
Pre-Production
00h
PORT-H PIN COMPLEX WIDGET (NID = 16H)
AMPLIFIER GAIN/MUTE VERB
01h
Verb ID
Payload [15:0]
Response[31:0]
Get
Bh
2000h
Bits [31:0] in the response table below –
applies to the left channel only
Get
Bh
0000h
Bits [31:0] in the response table below –
applies to the right channel only
Set
3h
Bits [7:0] in the set table below
00000000h
02h
03h
04h
Response Table:
Bit
Bitfield Name
RW
Default
Description
[31:8]
Rsvd
R
000000h
Reserved
[7]
Amplifier Mute
R
0
05h
Shows the amplifier mute status of the selected channel:
06h
0 = Normal
1 = Muted
[6:0]
Amplifier Gain
R
18h
Shows the amplifier gain setting (step number) for the selected channel.
The actual gain applied is determined by the Input Amplifier Capabilities
Parameter in the AFG (NID = 01h), and is shown below for convenience:
00h = −12dB
07h
08h
01h = −11.5dB
09h
… −0.5dB steps
57h = +31.5dB
58h = +32dB
0Ah
Set Table:
Bit
Bitfield Name
[15]
0Bh
RW
Default
Description
Set Output Amp
W
0
Not applicable to this widget
[14]
Set Input Amp
W
1
Indicates that the programming refers to the input amplifier on this widget
[13]
Set Left Amp
W
1
0 = Left channel amplifier does not accept the values in Mute or Gain
fields
0Dh
1 = Left channel amplifier does accept the values in the Mute and Gain
fields
[12]
Set Right Amp
W
1
0Ch
0Eh
0 = Right channel amplifier does not accept the values in Mute or Gain
fields
1 = Right channel amplifier does accept the values in the Mute and Gain
fields
0Fh
10h
[11:8]
Index
W
0h
Not applicable to this widget
[7]
Mute
W
0
0 = Normal operation
[6:0]
Gain
W
18h
1 = Mute
Step number of the gain – see Amplifier Gain in response table above for
details of actual gain values
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
207
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
4h
Indicates that this is a Pin Complex Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is not supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
1
Indicates that a connection list is present
[7]
Unsol Capable
R
0
Widget does not support Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
0
Widget does not override the format defined for the AFG
[3]
Amp Parameter
Override
R
1
The AFG amplifier parameters are overridden for this node
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
1
Input amplifier is present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Pin Capabilities Parameter (PID = 0Ch)
Bit
Bitfield Name
RW
Default
[31:17]
Rsvd
R
0000h
[16]
EAPD Capable
R
0
Description
Reserved
Widget does not support an EAPD pin
[15:8]
VRef Control
R
00h
[7]
Rsvd
R
0
Reserved
VRef not supported for digital inputs
[6]
Balanced I/O
Pins
R
0
Indicates that this widget does not have balanced pins
[5]
Input Capable
R
1
Indicates that this widget is input capable
[4]
Output Capable
R
1
Indicates that this widget is output capable
[3]
Headphone
Drive Capable
R
0
Not applicable as this in an input port
[2]
Presence Detect
Capable
R
0
Presence detection not supported
[1]
Trigger Required
R
0
Impedance measurement not supported
[0]
Impedance
Sense Capable
R
0
Impedance measurement not supported
Input Amplifier Capabilities Response Format (PID = 0Dh)
Bit
Bitfield Name
RW
Default
[31]
Mute Capable
R
1
[30:23]
Rsvd
R
00h
[22:16]
Step Size
R
01h
[15]
Rsvd
R
0
[14:8]
Num Steps
R
58h
[7]
Rsvd
R
0
[6:0]
Offset
R
18h
w
Description
DMIC Amplifiers are capable of hard-mute
Reserved
Gain step size is 0.5dB
Reserved
Number of steps in gain range is 89 (−12dB to +32dB)
Reserved
The step number that 0dB corresponds to is 18h
PP, April 2011, Rev 3.2
208
WM8850
Pre-Production
00h
Connection List Length Parameter (PID = 0Eh)
Bit
Bitfield Name
[31:8]
Rsvd
RW
Default
Description
R
000000h
Reserved
[7]
Long Form
R
0
Indicates that the connection list items are in short form
[6:0]
Connection List
Length
R
01h
Indicates that there is 1 NID entry in the connection list
01h
02h
03h
GET CONNECTION LIST ENTRY VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F02h
00h
Bits [31:0] in the table below
04h
05h
Bit
Bitfield Name
RW
Default
[31:24]
Conn List Entry 3
R
00h
Description
Unused connection list entry
[23:16]
Conn List Entry 2
R
00h
Unused connection list entry
[15:8]
Conn List Entry 1
R
00h
Unused connection list entry
[7:0]
Conn List Entry 0
R
17h
Indicates that the Port-H Pin Widget connects to the S/PDIF Tx 2 Widget
(NID = 17h)
06h
07h
08h
PIN WIDGET CONTROL VERB
Verb ID
Payload [7:0]
Response[31:0]
Get
F07h
00h
Bits [31:0] in the table below
Set
707h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
09h
0Ah
RW
Default
Description
Reserved
[31:8]
Rsvd
R
000000h
[7]
H-Phn Enable
R
0
Not applicable as this in an input port
[6]
Out Enable
RW
0
Controls the output path:
0Bh
0Ch
0 = Output path is disabled
1 = Output path is enabled
[5]
In Enable
RW
1
0Dh
Controls the input path:
0 = Input path is disabled
1 = Input path is enabled
[4:3]
Rsvd
R
0h
Reserved
[2:0]
VRefEn
R
0h
Selectable VRef not supported
0Eh
0Fh
Note: It is erroneous behaviour for both the Out Enable and In Enable registers to be set high simultaneously. If both registers
are set, Port-H defaults to an input.
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
209
WM8850
Pre-Production
CONFIGURATION DEFAULT VERB
Verb ID
Payload [7:0]
Get
F1Ch
00h
Response[31:0]
Bits [31:0] in the table below
Set1
71Ch
Bits [7:0] in the table below
00000000h
Set2
71Dh
Bits [15:8] in the table below
00000000h
Set3
71Eh
Bits [23:16] in the table below
00000000h
Set4
71Fh
Bits [31:24] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:30]
Port Connectivity
RW
0h
Description
Indicates the external connectivity:
0h = Jack
1h = No physical connection
2h = A fixed function device
3h = both a jack and an internal device are connected
[29:28]
Location[5:4]
RW
1h
Gross physical location of the device connected to Port-H:
0h = External on primary chassis
1h = Internal
2h = Separate chassis
3h = Other
[27:24]
Location[3:0]
RW
0h
Geometric location of the device connected to Port-H:
0h = Not applicable
1h = Rear
2h = Front
3h = Left
4h = Right
5h = Top
6h = Bottom
7h = Special
8h = Special
9h = Special
Ah-Fh = Reserved
[23:20]
Default Device
RW
Ah
Indicates the intended use of Port-H:
0h = Line out
1h = Speaker
2h = Headphone out
3h = CD
4h = S/PDIF out
5h = Digital other out
6h = Modem line side
7h = Modem handset side
8h = Line in
9h = AUX
Ah = Mic in
Bh = Telephony
Ch = S/PDIF in
Dh = Digital other in
Eh = Reserved
Fh = Other
w
PP, April 2011, Rev 3.2
210
WM8850
Pre-Production
Bit
Bitfield Name
RW
Default
[19:16]
Connection Type
RW
6h
00h
Description
Indicates the type of physical interface on Port-H:
01h
0h = Unknown
1h = 3.5mm stereo/mono jack
2h = ¼” stereo/mono jack
02h
3h = ATAPI internal
4h = RCA jack (for analogue audio or coaxial S/PDIF)
03h
5h = Optical
6h = Other digital
04h
7h = Other analogue
8h = Multi-channel analogue (DIN)
9h = XLR/Professional
05h
Ah = RJ-11 (modem)
Bh = Combination
06h
Ch-Eh = Reserved
Fh = Other
[15:12]
Colour
RW
0h
Indicates the colour of the physical jack on Port-H:
07h
0h = Unknown
1h = Black
08h
2h = Grey
3h = Blue
09h
4h = Green
5h = Red
6h = Orange
0Ah
7h = Yellow
8h = Purple
0Bh
9h = Pink
Ah-Dh = Reserved
0Ch
Eh = White
Fh = Other
[11:8]
Misc
RW
1h
Presence detection override:
0Dh
0h = Presence detection indicated by Pin Capabilities Parameter
1h = Presence detection not supported. If the Pin Capabilities Parameter
indicates that that presence detection is supported by the node, then this
bit is used to override it to indicate the external circuitry is not capable of
supporting presence detect
Default
Association
RW
Fh
0Fh
10h
All other values are reserved
[7:4]
0Eh
Association number:
11h
0h = Reserved
1h-Eh = Multi Channel or Single Pin Widget
Fh = Single Pin Widget Only
[3:0]
Sequence
RW
0h
Sequence number used to define individual channel pairs within a stream.
12h
13h
All values (0h-Fh) are available for use. Use a value of 0 for Single Pin
Widget.
Note: The Configuration Default Verb is not reset to its default value during a reset from any source. The settings are only lost
14h
when digital power is removed from the WM8850. When digital power is restored, the System BIOS must restore the settings.
15h
16h
17h
w
PP, April 2011, Rev 3.2
211
WM8850
Pre-Production
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
RW
Default
R
00000000h
RW
17h
Description
Reserved
Selects source of Port-H node:
10h = Use data from SPDIF_IN (NID=10h)
17h = Use data from S/PDIF Tx2 (NID=17h)
w
PP, April 2011, Rev 3.2
212
WM8850
Pre-Production
00h
S/PDIF TX 2 AUDIO OUTPUT CONVERTER WIDGET (NID = 17H)
STREAM FORMAT VERB
01h
Verb ID
Payload [15:0]
Get
Ah
0000h
Bits [31:0] in the table below
Set
2h
Bits [15:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
[31:16]
Rsvd
R
0000h
[15]
Type
RW
0
Response[31:0]
02h
03h
Description
Reserved
04h
Used to set the format of the stream:
0 = PCM
1 = Non-PCM (i.e. AC3 or Software Formatted S/PDIF)
[14]
Base
RW
0
05h
Used to set the base rate frequency:
0h = 48 kHz
06h
1h = 44.1 kHz
[13:11]
Mult
RW
0h
Used to set the base rate multiplication factor:
07h
0h = x1 (48kHz, 44.1kHz or less)
1h = x2 (96kHz, 88.2kHz, 32kHz)
2h = Reserved
08h
3h = x4 (192kHz, 176.4kHz)
4h-7h = Reserved
[10:8]
Div
RW
0h
09h
Used to set the base rate division factor:
0h = divide by 1 (48kHz, 44.1kHz)
0Ah
1h = Reserved
2h = divide by 3 (32kHz)
3h-7h = Reserved
[7]
Rsvd
[6:4]
Bits
R
0
Reserved
RW
4h
Bits per Sample:
0Bh
0Ch
0h = Reserved
1h = 16 bits
0Dh
2h = 20 bits
3h = 24 bits
4h = 32 bits (Software Formatted or Float 32)
0Eh
5h-7h = Reserved
[3:0]
Chan
RW
1h
Number of Channels in each frame of the stream:
0Fh
0h = 1 channel
1h = 2 channels
10h
2h-Fh = reserved
Notes:
1.
When Software Formatted S/PDIF is selected, verb settings for channel status and validity are not used.
2.
When Software Formatted S/PDIF is selected, the S/PDIF output is driven low until Stream ID is assigned.
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
213
WM8850
Pre-Production
GET PARAMETER VERB
Get
Verb ID
Payload [7:0]
Response[31:0]
F00h
Parameter ID (PID)
Parameter Value
Audio Widget Capabilities Parameter (PID = 09h)
Bit
Bitfield Name
RW
Default
[31:24]
Rsvd
R
00h
Description
[23:20]
Type
R
0h
Indicates that this is an Audio Output Widget
[19:16]
Delay
R
0h
Latency not reported
[15:12]
Rsvd
R
0h
Reserved
[11]
L-R Swap
R
0
Left/Right swap capability not supported
[10]
PowerCntrl
R
0
Indicates that the Power State Verb is supported in this widget
[9]
Digital
R
1
Indicates that this widget is translating digital data
[8]
Conn List
R
0
Indicates that a connection list is not present
[7]
Unsol Capable
R
1
Widget supports Unsolicited Responses
[6]
ProcWidget
R
0
Widget does not have processing capabilities
[5]
Stripe
R
0
Widget does not support striping
[4]
Format Override
R
1
Widget has a subset of the supported rates defined for the AFG
[3]
Amp Parameter
Override
R
0
Not applicable as this widget does not have amplifier capabilities
[2]
Out Amp Present
R
0
Output amplifier not present in this widget
[1]
In Amp Present
R
0
Input amplifier not present in this widget
[0]
Stereo
R
1
Indicates that this is a stereo widget
Reserved
Supported Rates Parameter (PID = 0Ah)
Bit
Bitfield Name
RW
Default
Description
[31:21]
Rsvd
R
000h
[20]
B32
R
1
Reserved
Float32 and Software Formatted S/PDIFis supported.
[19]
B24
R
1
S/PDIF Tx 2 supports 24-bit audio format
[18]
B20
R
1
S/PDIF Tx 2 supports 20-bit audio format
[17]
B16
R
1
S/PDIF Tx 2 supports 16-bit audio format
[16]
B8
R
0
S/PDIF Tx 2 does not support 8-bit audio format
[15:12]
Rsvd
R
0h
Reserved
[11]
R12
R
0
S/PDIF Tx 2 does not support 384 kHz sample rate
[10]
R11
R
1
S/PDIF Tx 2 supports 192 kHz sample rate
[9]
R10
R
1
S/PDIF Tx 2 supports 176.4 kHz sample rate
[8]
R9
R
1
S/PDIF Tx 2 supports 96 kHz sample rate
[7]
R8
R
1
S/PDIF Tx 2 supports 88.2 kHz sample rate
[6]
R7
R
1
S/PDIF Tx 2 supports 48 kHz sample rate
[5]
R6
R
1
S/PDIF Tx 2 supports 44.1 kHz sample rate
[4]
R5
R
1
S/PDIF Tx 2 supports 32 kHz sample rate
[3]
R4
R
0
S/PDIF Tx 2 does not support 22.05 kHz sample rate
[2]
R3
R
0
S/PDIF Tx 2 does not support 16 kHz sample rate
[1]
R2
R
0
S/PDIF Tx 2 does not support 11.025 kHz sample rate
[0]
R1
R
0
S/PDIF Tx 2 does not support 8 kHz sample rate
Supported Stream Formats Parameter (PID = 0Bh)
Bit
Bitfield Name
RW
Default
[31:3]
Rsvd
R
00000000h
[2]
AC3
R
0
[1]
Float32
R
1
S/PDIF Tx 2 supports Float32 formatted data
[0]
PCM
R
1
S/PDIF Tx 2 PCM formatted data
w
Description
Reserved
S/PDIF Tx 2 does not support Dolby AC3 format
PP, April 2011, Rev 3.2
214
WM8850
Pre-Production
00h
CONVERTER STREAM, CHANNEL VERB
Verb ID
Payload [7:0]
Get
F06h
00h
Response[31:0]
Bits [31:0] in the table below
Set
706h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
RW
Default
Description
Reserved
01h
02h
[31:8]
Rsvd
R
000000h
[7:4]
Stream
RW
0h
Stream ID used by this widget. Note that Stream ID = 0h is used to indicate
an unused stream, and converters will not transfer/receive link data for
streams with an ID of 0h.
[3:0]
Channel
RW
0h
Lowest channel number used by this widget.
Note: As this widget does not support multi-channel capture, only a setting
of 0 is applicable.
03h
04h
05h
06h
UNSOLICITED RESPONSE VERB
07h
Verb ID
Payload [7:0]
Response[31:0]
Get
F08h
00h
Bits [31:0] in the table below
Set
708h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7]
Enable
RW
Default
Description
R
000000h
Reserved
RW
0
08h
09h
0 = Unsolicited Responses disabled for this node
0Ah
1 = Unsolicited Responses enabled for this node
[6]
Rsvd
R
0
[5:0]
Tag
RW
17h
Reserved
0Bh
A software programmable tag value that is returned in the top six bits
(31:26) of every Unsolicited Response from this node.
0Ch
The default for Tag is equal to the Node ID.
Note: The Unsolicited Response for the AFG node is defined in the “Unsolicited Responses” section.
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
w
PP, April 2011, Rev 3.2
215
WM8850
Pre-Production
S/PDIF CONVERTER CONTROL VERB
Verb ID
Payload [7:0]
Get
F0Dh
0000h
Bits [31:0] in the table below
Set1
70Dh
Bits [7:0] in the table below
00000000h
Set2
70Eh
Bits [15:8] in the table below
00000000h
Bit
Bitfield Name
[31:15]
Rsvd
[14:8]
Response[31:0]
RW
Default
R
00000h
CC
RW
00h
[7]
L
RW
0
[6]
PRO
RW
0
Description
Reserved
Category Code. Channel Status bits [14:8] – see IEC 60958-3 for details.
Generation Level, Channel Status bit [15] - see IEC 60958-3 for details.
Professional, Channel Status bit[0]:
0 = Consumer Channel Status (40-bits)
1 = Professional Channel Status (192-bits )
[5]
/AUDIO
RW
0
Non-Audio, Channel Status bit[1]:
0 = PCM formatted data
1 = non-PCM formatted data
[4]
COPY
RW
0
Copyright, Channel Status bit[2]:
0 = indicates copyright asserted(i.e. S/PDIF Channel Status bit[2] set to
1)
1 = indicates no copyright asserted (.e. S/PDIF Channel Status bit[2] set
to 0)
Note, that the HDA spec, and the IEC 60958-3 spec are the inverse of
each other. To comply with both, the CODEC inverts the written value.
[3]
PRE
RW
0
Pre-emphasis, Channel Status bit[3]:
0 = no pre-emphasis
1 = 50/15 us pre-emphasis
[2]
VCFG
RW
0
Validity Configuration Control - determines what happens to the audio
data, should an invalid sample occur (invalid samples occur when SRC2
is in use but not locked, EF_STREAM_ERR is asserted, or the stream ID
is 0).
0 = pass data as received by the S/PDIF Tx 2.
1 = overwrite invalid data with all zeros (for the invalid sub frame only).
[1]
V
RW
0
Validity:
0 = Indicates valid data
1 = Indicates invalid data
If V=1, the transmitted validity flag is set to 1.
If V=0, the transmitted validity flag is set to 1 if there is an invalid sample
being transmitted. Invalid samples may occur when SRC2 is in use but
not locked, EF_STREAM_ERR is asserted, or the stream ID is 0.
[0]
DigEn
RW
0
Digital Enable:
0 = S/PDIF audio path disabled
1 = S/PDIF audio path enabled
Note: When Software Formatted S/PDIF is selected, verb settings for channel status and validity are not used
w
PP, April 2011, Rev 3.2
216
WM8850
Pre-Production
00h
INTERNAL PATH VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F73h
00h
Bits [31:0] in the table below
Set1
773h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:8]
Rsvd
[7:0]
Path Sel
01h
02h
RW
Default
R
0000000h
RW
00h
Description
Reserved
03h
Selects source of S/PDIF TX 2 node:
00h = HDA Link
04h
02h = ADC1
03h = MIC1
05h
15h = MIC2
All other values of Path Sel are reserved.
06h
TX CHANNEL STATUS CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F81h
00h
Bits [31:0] in the table below
Set1
781h
Bits [7:0] in the table below
00000000h
Set2
782h
Bits [15:8] in the table below
00000000h
Set3
783h
Bits [23:16] in the table below
00000000h
Set4
784h
Bits [31:24] in the table below
00000000h
07h
08h
09h
0Ah
The bits in the table below are defined in the IEC-60958-3 Specification:
Bit
Bitfield Name
RW
Default
[31:28]
Channel Status
[39:36]
RW
0h
Description
Original Sampling Frequency
[27:25]
Channel Status
[35:33]
RW
5h
Sample Word Length
0Ch
[24]
Channel Status
[32]
RW
1
Max Word Length
0Dh
[23:22]
Channel Status
[31:30]
RW
0h
Channel Status [31:30]
[21:20]
Channel Status
[29:28]
RW
0h
Clock Accuracy
[19:16]
Channel Status
[27:24]
RW
1h
Sampling Frequency
[15:12]
Channel Status
B [23:20]
RW
0h
Channel Number for Sub-Frame B
10h
[11:8]
Channel Status
[23:20]
RW
0h
Channel Number for Sub-Frame A
11h
[7:4]
Channel Status
[19:16]
RW
0h
Source Number
[3:2]
Channel Status
[7:6]
RW
0h
Channel Status Mode
[1:0]
Channel Status
[5:4]
RW
0h
Additional De-emphasis Information
0Bh
0Eh
0Fh
12h
13h
14h
Notes:
1.
When Software Formatted S/PDIF is selected, verb settings for channel status and validity are not used.
2.
The Channel Number for Sub-frame B is uniquely configurable – all other Channel status bits have the same value as
15h
Sub-frame A.
16h
17h
w
PP, April 2011, Rev 3.2
217
WM8850
Pre-Production
CHANNEL STATUS DATA PACKING CONFIGURATION VERB (VENDORSPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F85h
00h
Bits [31:0] in the table below
Set
785h
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:1]
Rsvd
[0]
CSD_MODE
RW
Default
R
0000000h
RW
1
Description
Reserved
S/PDIF Transmitter Channel Status Data Packing Mode:
0 = Manual mode: sample rate and data width channel status data
packed from data sourced from the Tx Channel Status Control Verb
1 = Automatic mode: sample rate and data width channel status data
packed from data sourced from the Stream Verb, S/PDIF Verb or S/PDIF
Rx Rate Detector (depending on routing through device)
UNSOLICITED RESPONSE PRIORITY CONTROL VERB (VENDOR-SPECIFIC)
Verb ID
Payload [7:0]
Response[31:0]
Get
F8Eh
00h
Bits [31:0] in the table below
Set
78Eh
Bits [7:0] in the table below
00000000h
Bit
Bitfield Name
[31:5]
Rsvd
[4:0]
Priority
RW
Default
R
0000000h
RW
00h
Description
Reserved
Assigns a priority setting for queued Unsolicited Responses. Nodes with
the lowest value have the highest priority, and so go to the front of the
Unsolicited Response queue. Nodes with the same value for priority are
queued on first-to-trigger basis.
00h = Highest priority
…
1Fh = Lowest priority
w
PP, April 2011, Rev 3.2
218
Pre-Production
WM8850
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
Figure 23 Recommended External Components
Notes:
1.
AC-coupling capacitors for inputs may depend on circuitry used prior to WM8850. Typical values between 1µF and
10µF are common – consult any documentation for the exact circuit used
2.
AC-coupling capacitors for outputs may depend in circuitry used after WM8850. Typical values between 1µF and 10µF
are common – consult any documentation for the exact circuit used
3.
A single-ended mono microphone input is shown, but other configurations are equally valid.
microphone bias resistor will vary with the microphone used – a typical value is 2.2kΩ
4.
The capacitor between CFB1 and CFB2 must be placed as close as possible to the device pins
5.
The decoupling capacitor on CPCAP must also be placed as close as possible to the device pins
6.
The decoupling capacitor on CPVDD is next important – it too should be placed as close as possible to the device pins
7.
The decoupling capacitors on VREFP, VREFN and VMID are next important, in that order
8.
All remaining decoupling capacitors should then be placed as close as possible
w
The value of the
PP, April 2011, Rev 3.2
219
WM8850
Pre-Production
VIN2
VOUT3
VOUT2
VOUT1
SPDIFOUT
VIN1
REQUIRED JACK DETECT COMPONENTS
Figure 24 Required Jack Detect Components
The WM8850 supports jack detect on all analogue input and output ports, as well as on the S/PDIF output. This is
implemented as per the High Definition Audio Specification Revision 1.0, section 7.4.2 and as such requires the resistor
values shown in Figure 24 above. Note that, as per the High Definition Audio Specification, it is a requirement that the
tolerance on these resistors is 1% or better.
w
PP, April 2011, Rev 3.2
220
WM8850
Pre-Production
PACKAGE DIMENSIONS
DM079.A
FL: 48 PIN QFN PLASTIC PACKAGE 7 X 7 X 0.75 mm BODY, 0.50 mm LEAD PITCH
PIN 1
D2
D
D2/2
48
37
L
INDEX AREA
(D/2 X E/2)
1
36
EXPOSED
6
GND
PADDLE
E2/2
E2
E
12
25
24
b
aaa C
2X
13
aaa C
2X
e
(A3)
TOP VIEW
ccc C
A2
A
A1
C
SEATING PLANE
bbb C
Symbols
A
A1
A2
A3
b
D
D2
E
E2
e
L
aaa
bbb
ccc
REF
MIN
0.7
0
0.20
5.55
5.55
0.35
Dimensions (mm)
NOM
MAX
0.75
0.8
0.05
0.035
0.55
0.57
0.203 REF
0.25
0.30
7.00 BSC
5.65
5.75
7.00 BSC
5.65
5.75
0.5 BSC
0.45
0.4
NOTE
1
Tolerances of Form and Position
0.10
0.08
0.10
JEDEC, MO-220
NOTES:
1. DIMENSION b APPLIED TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.15 mm AND 0.30 mm FROM TERMINAL TIP.
2. ALL DIMENSIONS ARE IN MILLIMETRES
3. THE TERMINAL #1 IDENTIFIER AND TERMINAL NUMBERING CONVENTION SHALL CONFORM TO JESD 95-1 SPP-002.
4. COPLANARITY APPLIES TO THE EXPOSED HEAT SINK SLUG AS WELL AS THE TERMINALS.
5. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
6. REFER TO APPLICATIONS NOTE WAN_0118 FOR FURTHER INFORMATION.
w
PP, April 2011, Rev 3.2
221
WM8850
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
26 Westfield Road
Edinburgh
EH11 2QB
United Kingdom
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: [email protected]
w
PP, April 2011, Rev 3.2
222
WM8850
Pre-Production
REVISION HISTORY
REV
DESCRIPTION OF CHANGES
PAGE
CHANGED BY
04/01/11
DATE
3.1
Order Info: updated to show both non tape and reel and tape and
reel parts
9
JMacD
13/04/11
3.2
AVDD and CPVDD max voltage = 5V +5%
1,11
CT
w
PP, April 2011, Rev 3.2
223