CS4207 Low-power, 4-in / 6-out HD Audio Codec with Headphone Amp DIGITAL to ANALOG FEATURES ANALOG to DIGITAL FEATURES DAC1 (Headphone) ADC1 & ADC2 - - 101 dB Dynamic Range (A-wtd) -89 dB THD+N - - - Headphone Amplifier - GND Centered - - - Integrated Negative-voltage Regulator No DC-blocking Capacitor Required 50 mW Power/Channel into 16 - DAC2 & DAC3 (Line Outs) - - - MIC Inputs 110 dB Dynamic Range (A-wtd) -94 dB THD+N Differential Balanced or Single-ended - Each DAC Supports 32 kHz to 192 kHz Sample Rates Independently. Rates Independently +6.0 dB to -57.5 dB in 0.5 dB Steps Zero Cross and/or Soft Ramp Transitions Independent Support of D0 and D3 Power States for Each DAC Additional Digital Attenuation Control - - -13.0 dB to -51.0 dB in 1.0 dB steps Zero Cross and/or Soft Ramp Transitions Digital Interface for Two Dual Digital Mic Inputs Fast D3 to D0 Transition - - Pre-amplifier with Selectable 0 dB, +10 dB, +20 dB, and +30 dB Gain Settings Programmable, Low-noise MIC Bias Level Each ADC Supports 8 kHz to 96 kHz Sample Digital Volume Control - - 105 dB Dynamic Range (A-wtd) -88 dB THD+N Differential Balanced or Single-ended Inputs Analog Programmable Gain Amplifier (PGA) 12 dB, 1.0 dB Steps, with Zero Cross Transitions and Mute Independent Support of D0 and D3 Power Audio Playback in Less Than 50 ms States for Each ADC VD (1.5 V to 1.8 V) VA, VA_REF (3.3 V to 5.0 V) VA_HP (3.3 V to 5.0 V) Chrg Pump Buck Chrg Pump Invert HD Audio Bus VL_HD (1.5 V to 3.3 V) Level Translator +VHP GPIO Level Translator VL_IF (3.3 V) HD Audio Interface GPIO S/PDIF OUT 2 S/PDIF OUT 1 Vol/Mute S/PDIF IN SPDIF TX2 SPDIF TX1 HD Bus Fs SPDIF RX 128Fs Clock Multiplier SPDIF RX SRC SRC & Multibit Modulator -VHP Headphone Amp - GND Centered Left HP Out Right HP Out +Left Line Out + Right Line Out +Left Line Out + Right Line Out - Vol/Mute SRC & Multibit Modulator 2-Chnl DAC2 Line Out Vol/Mute SRC & Multibit Modulator 2-Chnl DAC3 Line Out Vol/Boost/ Mute Digital Filter & SRC 2-Chnl ADC1 PGA + - Line/Mic In L Line/Mic In R + Vol/Boost/ Mute Digital Filter & SRC 2-Chnl ADC2 PGA + - Mic/Line In L +Mic/Line In R - D-Mic Clock D-Mic In http://www.cirrus.com 2-Chnl DAC1 Jack Sense Copyright Cirrus Logic, Inc. 2012 (All Rights Reserved) MIC Bias Mic Bias SENSE_A AUG '12 DS880F4 CS4207 Digital Audio Interface Receiver General Description Complete EIAJ CP1201, IEC 60958, S/PDIF The CS4207 is a highly integrated multi-channel lowpower HD Audio Codec featuring 192 kHz DACs, 96 kHz ADCs, 192 kHz S/PDIF Transmitters and Receiver, Microphone pre-amp and bias voltage, and a ground centered Headphone driver. Based on multi-bit, delta-sigma modulation, it allows infinite sample rate adjustment between 32 kHz and 192 kHz. Compatible Receiver 32 kHz to 192 kHz Sample Rate Range Automatic Detection of Compressed Audio Streams Integrated Sample Rate Converter - - - - 128 dB Dynamic Range -120 dB THD+N Supports Sample Rates up to 192 kHz 1:1 Input/Output Sample Rate Ratios Digital Audio Interface Transmitters Two Independent EIAJ CP1201, IEC-60958, S/PDIF Compatible Transmitters 32 kHz to 192 kHz Sample Rate Range System Features Very Low D3 Power Dissipation of <7 mW - - Jack Detect Active in D3 HDA BITCLK Not Required for D3 State Jack Detect Does Not Require HDA Bus BITCLK All Configuration Settings are Preserved in D3 State Pop/Click Suppression in State Transitions Detects Wake Event and Generates Power State Change Request when HDA Bus Controller is in D3 Variable Power Supplies - 1.5 V to 1.8 V Digital Core Voltage - 3.3 V to 5.0 V Analog Core Voltage - 3.3 V to 5.0 V Headphone Drivers - 1.5 V to 3.3 V HD Bus Interface Logic - 3.3 V Interface Logic levels for GPIO, S/PDIF, and Digital Mic The ADC input path allows control of a number of features. The microphone input path includes a selectable programmable-gain pre-amplifier stage and a low-noise MIC bias voltage supply. A PGA is available for line and microphone inputs and provides analog gain with soft ramp and zero cross transitions. The ADC also features an additional digital volume attenuator with soft ramp transitions. The stereo headphone amplifier is powered from a separate internally generated positive supply, with an integrated charge pump providing a negative supply. This allows a ground-centered analog output with a wide signal swing and eliminates external DC-blocking capacitors. The integrated digital audio interface receiver and transmitters utilize a 24-bit, high-performance, monolithic CMOS stereo asynchronous sample rate converter to clock align the PCM samples to/from the S/PDIF interfaces. Auto detection of non-PCM encoded data disables the sample rate conversion to preserve bit accuracy of the data. In addition to its many features, the CS4207 operates from a low-voltage analog and digital core, making this part ideal for portable systems that require low power consumption in a minimal amount of space. The CS4207 is available in a 48-pin WQFN package in both Automotive (-40C to +105C) and Commercial (-40C to +85C) grades. The CS4207 Customer Demonstration board is also available for device evaluation and implementation suggestions. Please refer to "Ordering Information" on p 147 for complete ordering information. Individual Power-down Managed - 2 ADCs, DACs, PGAs, Headphone Driver, S/PDIF Receiver, and Transmitters DS880F4 CS4207 TABLE OF CONTENTS 1. PIN DESCRIPTIONS .............................................................................................................................. 8 1.1 CS4207 48-pin QFN Pinout: ............................................................................................................ 8 1.2 Digital I/O Pin Characteristics ........................................................................................................ 10 2. TYPICAL CONNECTION DIAGRAMS ................................................................................................. 11 3. CHARACTERISTICS AND SPECIFICATIONS .................................................................................... 13 RECOMMENDED OPERATING CONDITIONS .................................................................................. 13 ABSOLUTE MAXIMUM RATINGS ...................................................................................................... 13 ANALOG INPUT CHARACTERISTICS (COMMERCIAL - CNZ) ......................................................... 14 ANALOG INPUT CHARACTERISTICS (AUTOMOTIVE - DNZ) ......................................................... 15 ADC DIGITAL FILTER CHARACTERISTICS ...................................................................................... 16 ANALOG OUTPUT CHARACTERISTICS (COMMERCIAL - CNZ) ..................................................... 17 ANALOG OUTPUT CHARACTERISTICS (AUTOMOTIVE - DNZ) ..................................................... 19 COMBINED DAC INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE ............................. 21 DC ELECTRICAL CHARACTERISTICS .............................................................................................. 21 DIGITAL MICROPHONE INTERFACE CHARACTERISTICS ............................................................. 22 DIGITAL INTERFACE SPECIFICATIONS & CHARACTERISTICS .................................................... 23 HD AUDIO BUS SPECIFICATIONS & CHARACTERISTICS .............................................................. 23 S/PDIF TRANSMITTER/RECEIVER SPECIFICATIONS & CHARACTERISTICS .............................. 23 POWER CONSUMPTION ................................................................................................................... 24 4. CODEC RESET AND INITIALIZATION ............................................................................................... 25 4.1 Link Reset ...................................................................................................................................... 25 4.2 Function Group Reset .................................................................................................................... 25 4.3 Codec Initialization ......................................................................................................................... 25 4.4 D3 Lower Power State Support ..................................................................................................... 26 4.5 Extended Power States Supported (EPSS) ................................................................................... 26 4.6 Power State Settings Reset (PS-SettingsReset) ........................................................................... 28 4.7 Register Settings Across Resets ................................................................................................... 29 5. PRESENCE DETECTION ..................................................................................................................... 31 5.1 Jack Detection Circuit .................................................................................................................... 31 5.1.1 Presence Detection and Unsolicited Response .................................................................... 31 5.1.2 S/PDIF Receiver Presence Detect ........................................................................................ 32 6. HD AUDIO CODEC SUPPORTED VERBS AND RESPONSES ......................................................... 33 6.1 Software Programming Model ....................................................................................................... 33 6.1.1 Node ID Summary ................................................................................................................. 34 6.1.2 Pin Configuration Register Defaults ...................................................................................... 35 6.2 Root Node (Node ID = 00h) ........................................................................................................... 36 6.2.1 Vendor and Device ID ........................................................................................................... 36 6.2.2 Revision ID ............................................................................................................................ 36 6.2.3 Subordinate Node Count ....................................................................................................... 36 6.3 Audio Function Group (Node ID = 01h) ......................................................................................... 37 6.3.1 Subordinate Node Count ....................................................................................................... 37 6.3.2 Function Group Type ............................................................................................................. 37 6.3.3 Audio Function Group Capabilities ........................................................................................ 37 6.3.4 Supported PCM Size, Rates ................................................................................................. 38 6.3.5 Supported Stream Formats ................................................................................................... 39 6.3.6 Supported Power States ....................................................................................................... 39 6.3.7 GPIO Capabilities .................................................................................................................. 40 6.3.8 Power States ......................................................................................................................... 41 6.3.9 GPIO Data ............................................................................................................................. 42 6.3.10 GPIO Enable Mask .............................................................................................................. 43 6.3.11 GPIO Direction .................................................................................................................... 43 6.3.12 GPIO Sticky Mask ............................................................................................................... 43 DS880F4 3 CS4207 6.3.13 Implementation Identification ............................................................................................... 44 6.3.14 Function Reset .................................................................................................................... 44 6.4 DAC1, DAC2, DAC3 Output Converter Widgets (Node ID = 02h, 03h, 04h) ................................. 45 6.4.1 Audio Widget Capabilities ..................................................................................................... 45 6.4.2 Supported PCM Size, Rates ................................................................................................. 46 6.4.3 Supported Stream Formats ................................................................................................... 46 6.4.4 Supported Power States ....................................................................................................... 47 6.4.5 Output Amplifier Capabilities ................................................................................................. 47 6.4.6 Power States ......................................................................................................................... 48 6.4.7 Converter Stream, Channel ................................................................................................... 49 6.4.8 Converter Format .................................................................................................................. 49 6.4.9 Amplifier Gain/Mute ............................................................................................................... 51 6.5 ADC1, ADC2 Input Converter Widgets (Node ID = 05h, 06h) ....................................................... 53 6.5.1 Audio Widget Capabilities ..................................................................................................... 53 6.5.2 Supported PCM Size, Rates ................................................................................................. 54 6.5.3 Supported Stream Formats ................................................................................................... 54 6.5.4 Input Amplifier Capabilities .................................................................................................... 55 6.5.5 Connection List Length .......................................................................................................... 55 6.5.6 Supported Power States ....................................................................................................... 56 6.5.7 ADC1 Connection List Entry .................................................................................................. 56 6.5.8 ADC1 Connection Select Control .......................................................................................... 56 6.5.9 ADC2 Connection List Entry .................................................................................................. 57 6.5.10 ADC2 Connection Select Control ........................................................................................ 57 6.5.11 Power States ....................................................................................................................... 58 6.5.12 Converter Stream, Channel ................................................................................................. 59 6.5.13 Converter Format ................................................................................................................ 59 6.5.14 Amplifier Gain/Mute ............................................................................................................. 61 6.6 S/PDIF Receiver Input Converter Widget (Node ID = 07h) ........................................................... 63 6.6.1 Audio Widget Capabilities ..................................................................................................... 63 6.6.2 Supported PCM Size, Rates ................................................................................................. 64 6.6.3 Supported Stream Formats ................................................................................................... 64 6.6.4 Connection List Length .......................................................................................................... 65 6.6.5 Supported Power States ....................................................................................................... 65 6.6.6 Connection List Entry ............................................................................................................ 65 6.6.7 Power States ......................................................................................................................... 66 6.6.8 Converter Stream, Channel ................................................................................................... 67 6.6.9 Converter Format .................................................................................................................. 67 6.6.10 Digital Converter Control ..................................................................................................... 69 6.7 S/PDIF Transmitter 1, S/PDIF Transmitter 2 Output Converter Widgets (Node ID = 08h, 14h) .... 70 6.7.1 Audio Widget Capabilities ..................................................................................................... 70 6.7.2 Supported PCM Size, Rates ................................................................................................. 71 6.7.3 Supported Stream Formats ................................................................................................... 72 6.7.4 Supported Power States ....................................................................................................... 72 6.7.5 Power States ......................................................................................................................... 72 6.7.6 Converter Stream, Channel ................................................................................................... 74 6.7.7 Converter Format .................................................................................................................. 74 6.7.8 Digital Converter Control ....................................................................................................... 76 6.8 Headphone Pin Widget (Node ID = 09h) ....................................................................................... 78 6.8.1 Audio Widget Capabilities ..................................................................................................... 78 6.8.2 Pin Capabilities ...................................................................................................................... 78 6.8.3 Connection List Length .......................................................................................................... 79 6.8.4 Supported Power States ....................................................................................................... 79 6.8.5 Connection List Entry ............................................................................................................ 80 6.8.6 Power States ......................................................................................................................... 80 4 DS880F4 CS4207 6.8.7 Pin Widget Control ................................................................................................................ 81 6.8.8 Unsolicited Response Control ............................................................................................... 82 6.8.9 Pin Sense .............................................................................................................................. 83 6.8.10 Configuration Default ........................................................................................................... 83 6.9 Line Out 1 Pin Widget (Node ID = 0Ah) ......................................................................................... 85 6.9.1 Audio Widget Capabilities ..................................................................................................... 85 6.9.2 Pin Capabilities ...................................................................................................................... 86 6.9.3 Connection List Length .......................................................................................................... 86 6.9.4 Supported Power States ....................................................................................................... 87 6.9.5 Connection List Entry ............................................................................................................ 87 6.9.6 Power States ......................................................................................................................... 87 6.9.7 Pin Widget Control ................................................................................................................ 88 6.9.8 Unsolicited Response Control ............................................................................................... 89 6.9.9 Pin Sense .............................................................................................................................. 90 6.9.10 EAPD/BTL Enable ............................................................................................................... 90 6.9.11 Configuration Default ........................................................................................................... 91 6.10 Line Out 2 Pin Widget (Node ID = 0Bh) ....................................................................................... 92 6.10.1 Audio Widget Capabilities ................................................................................................... 92 6.10.2 Pin Capabilities .................................................................................................................... 93 6.10.3 Connection List Length ........................................................................................................ 93 6.10.4 Connection List Entry .......................................................................................................... 94 6.10.5 Pin Widget Control .............................................................................................................. 94 6.10.6 EAPD/BTL Enable ............................................................................................................... 95 6.10.7 Configuration Default ........................................................................................................... 96 6.11 Line In 1/Mic In 2, Mic In 1/Line In 2 Pin Widgets (Node ID = 0Ch, 0Dh) .................................... 97 6.11.1 Audio Widget Capabilities ................................................................................................... 97 6.11.2 Line In 1/Mic In 2 Pin Capabilities ....................................................................................... 97 6.11.3 Mic In 1/Line In 2 Pin Capabilities ....................................................................................... 98 6.11.4 Input Amplifier Capabilities .................................................................................................. 99 6.11.5 Supported Power States ..................................................................................................... 99 6.11.6 Power States ....................................................................................................................... 99 6.11.7 Line In 1/Mic In 2 Pin Widget Control ................................................................................ 101 6.11.8 Mic In 1/Line In 2 Pin Widget Control ................................................................................ 101 6.11.9 Unsolicited Response Control ........................................................................................... 102 6.11.10 Pin Sense ........................................................................................................................ 103 6.11.11 Mic In 1/Line In 2 EAPD/BTL Enable .............................................................................. 104 6.11.12 Line In 1/Mic In 2 Configuration Default .......................................................................... 104 6.11.13 Mic In 1/Line In 2 Configuration Default .......................................................................... 105 6.11.14 Amplifier Gain/Mute ......................................................................................................... 106 6.12 Digital Mic In 1, Digital Mic In 2 Pin Widgets (Node ID = 0Eh, 12h) ........................................... 108 6.12.1 Audio Widget Capabilities ................................................................................................. 108 6.12.2 Pin Capabilities .................................................................................................................. 109 6.12.3 Input Amplifier Capabilities ................................................................................................ 109 6.12.4 Pin Widget Control ............................................................................................................ 110 6.12.5 Digital Mic In 1 Configuration Default ................................................................................ 110 6.12.6 Digital Mic In 2 Configuration Default ................................................................................ 111 6.12.7 Amplifier Gain/Mute ........................................................................................................... 112 6.13 S/PDIF Receiver Input Pin Widget (Node ID = 0Fh) .................................................................. 114 6.13.1 Audio Widget Capabilities ................................................................................................. 114 6.13.2 Pin Capabilities .................................................................................................................. 115 6.13.3 Supported Power States ................................................................................................... 115 6.13.4 Power States ..................................................................................................................... 116 6.13.5 Pin Widget Control ............................................................................................................ 117 6.13.6 Unsolicited Response Control ........................................................................................... 117 DS880F4 5 CS4207 6.13.7 Pin Sense .......................................................................................................................... 118 6.13.8 Configuration Default ......................................................................................................... 119 6.14 S/PDIF Transmitter 1, S/PDIF Transmitter 2 Output Pin Widgets (Node ID = 10h, 15h) ........... 120 6.14.1 Audio Widget Capabilities ................................................................................................. 120 6.14.2 Pin Capabilities .................................................................................................................. 121 6.14.3 Connection List Length ...................................................................................................... 121 6.14.4 S/PDIF Transmitter 1 Connection List Entry ..................................................................... 122 6.14.5 S/PDIF Transmitter 2 Connection List Entry ..................................................................... 122 6.14.6 Pin Widget Control ............................................................................................................ 123 6.14.7 S/PDIF Transmitter 1 Configuration Default ...................................................................... 124 6.14.8 S/PDIF Transmitter 2 Configuration Default ...................................................................... 125 6.15 Vendor Processing Widget (Node ID = 11h) .............................................................................. 126 6.15.1 Audio Widget Capabilities ................................................................................................. 126 6.15.2 Processing Capabilities ..................................................................................................... 126 6.15.3 Processing State ............................................................................................................... 127 6.15.4 Coefficient Index ................................................................................................................ 127 6.15.5 Processing Coefficient ....................................................................................................... 128 6.15.6 Coefficient Registers ......................................................................................................... 128 6.15.6.1 S/PDIF RX/TX Interface Status (CIR = 0000h) ...................................................... 129 6.15.6.2 S/PDIF RX/TX Interface Control (CIR = 0001h) .................................................... 130 6.15.6.3 ADC Configuration (CIR = 0002h) ......................................................................... 131 6.15.6.4 DAC Configuration (CIR = 0003h) ......................................................................... 134 6.15.6.5 Beep Configuration (CIR = 0004h) ........................................................................ 135 6.16 Beep Generator Widget (Node ID = 13h) .................................................................................. 136 6.16.1 Audio Widget Capabilities ................................................................................................. 136 6.16.2 Beep Generation Control ................................................................................................... 137 7. APPLICATIONS ................................................................................................................................. 138 7.1 HD Audio Interface ....................................................................................................................... 138 7.1.1 Multi-Channel Streams ........................................................................................................ 138 7.2 Analog Inputs ............................................................................................................................... 139 7.3 Analog Outputs ............................................................................................................................ 142 7.3.1 Output Filter ......................................................................................................................... 142 7.3.2 Analog Supply Removal ...................................................................................................... 142 7.4 Digital Mic Inputs .......................................................................................................................... 142 7.5 S/PDIF Input and Outputs ............................................................................................................ 143 7.5.1 S/PDIF Receiver SRC ......................................................................................................... 143 8. PCB LAYOUT CONSIDERATIONS ................................................................................................... 144 8.1 Power Supply, Grounding ............................................................................................................ 144 8.2 QFN Thermal Pad ........................................................................................................................ 144 9. PARAMETER DEFINITIONS .............................................................................................................. 145 10. QFN PACKAGE DIMENSIONS ........................................................................................................ 146 THERMAL CHARACTERISTICS ....................................................................................................... 146 11. ORDERING INFORMATION ............................................................................................................ 147 12. REFERENCES .................................................................................................................................. 147 13. REVISION HISTORY ........................................................................................................................ 148 6 DS880F4 CS4207 LIST OF FIGURES Figure 1.Typical Connection Diagram - Desktop System ......................................................................... 11 Figure 2.Typical Connection Diagram - Portable System ......................................................................... 12 Figure 3.Output Test Load, Headphone Out ............................................................................................. 18 Figure 4.Output Test Load, Line Out ......................................................................................................... 18 Figure 5.Output Test Load, Headphone Out ............................................................................................. 20 Figure 6.Output Test Load, Line Out ......................................................................................................... 20 Figure 7.Digital MIC Interface Timing ........................................................................................................ 22 Figure 8.PS-SettingsReset Behavior ........................................................................................................ 28 Figure 9.Jack Presence Detect Circuit ...................................................................................................... 31 Figure 10.Software Programming Model .................................................................................................. 33 Figure 11.Single-Ended Input Filter ........................................................................................................ 139 Figure 12.Pseudo-Differential Input Filter ............................................................................................... 140 Figure 13.Differential Input Filter ............................................................................................................. 141 Figure 14.Differential to Single-Ended Output Filter ............................................................................... 142 Figure 15.Passive Single-Ended Output Filter ........................................................................................ 142 LIST OF TABLES Table 1. Register Settings Across Reset Conditions ................................................................................ 29 Table 2. Device Node ID Summary ........................................................................................................... 34 Table 3. Pin Configuration Register Defaults ............................................................................................ 35 Table 4. Stream Format Examples ......................................................................................................... 138 Table 5. Line In 1/Mic In 2 Input Topology Register Settings .................................................................. 139 Table 6. Mic In 1/Line In 2 Input Topology Register Settings .................................................................. 139 DS880F4 7 CS4207 1. PIN DESCRIPTIONS SPDIF_IN VA_HP FLYP VHP_FILT+ FLYC FLYN VHP_FILT- HPOUT_R HPREF HPOUT_L LINEOUT_R1- CS4207 48-pin QFN Pinout: SPDIF_OUT1 1.1 48 47 46 45 44 43 42 41 40 39 38 37 VL_IF 1 36 LINEOUT_R1+ GPIO0/DMIC_SDA1 2 35 LINEOUT_L1+ VL_HD 3 34 LINEOUT_L1- DMIC_SCL 4 33 LINEOUT_R2- SDO 5 32 LINEOUT_R2+ BITCLK 6 31 LINEOUT_L2+ DGND 7 30 LINEOUT_L2- SDI 8 29 VBIAS (DAC) VD 9 28 VCOM SYNC 10 27 VREF+ (ADC) RESET# 11 26 AGND 25 VA Pin Name 17 18 19 GPIO2 GPIO3 MICBIAS MICIN_L- MICIN_L+ MICIN_R+ 20 21 22 23 24 VA_REF 16 LINEIN_R+ 15 LINEIN_C- 14 LINEIN_L+ 13 MICIN_R- Top-Down (Through Package) View 48-Pin QFN Package HPREF 12 HPGND SENSE_A GPIO1/DMIC_SDA2 /SPDIF_OUT2 Thermal Pad QFN Pin Description VL_IF 1 Digital Interface Signal Level (Input) - Digital supply for the GPIO, S/PDIF and Digital Mic interfaces. Refer to the Recommended Operating Conditions for appropriate voltages. GPIO0/ DMIC_SDA1 2 General Purpose I/O (Input/Output) - General purpose input or output line, or Digital Mic Data Input (Input) - The first data input line from a digital microphone. VL_HD 3 Digital Interface Signal Level (Input) - Digital supply for the HD Audio interface. Refer to the Recommended Operating Conditions for appropriate voltages. DMIC_SCL 4 Digital Mic Clock (Output) - The high speed clock output to the digital microphone. SDO 5 Serial Data Input (Input) - Serial data input stream from the HD Audio Bus. BITCLK 6 Bit Clock (Input) - 24 MHz bit clock from the HD Audio Bus. DGND 7 Digital Ground (Input) - Ground reference for the internal digital section. SDI 8 Serial Data Output (Input/Output) - Serial data output stream to the HD Audio Bus. VD 9 Digital Power (Input) - Positive power for the internal digital section. SYNC 10 Sync Clock (Input) - 48 kHz sync clock from the HD Audio Bus. 8 DS880F4 CS4207 Pin Name QFN Pin Description RESET# 11 Reset (Input) - The device enters a low power mode when this pin is driven low. GPIO1/ DMIC_SDA2/ SPDIF_OUT2 12 General Purpose I/O (Input/Output) - General purpose input or output line, or Digital Mic Data Input (Input) - The second data input line from a digital microphone, or S/PDIF Output (Output) - Output from internal S/PDIF Transmitter. SENSE_A 13 Jack Sense Pin (Input/Output) - Jack sense detect. GPIO2 14 General Purpose I/O (Input/Output) - General purpose input or output lines. GPIO3 15 General Purpose I/O (Input/Output) - General purpose input or output lines. MICBIAS 16 Microphone Bias (Output) - Provides a low noise bias supply for an external microphone. Electrical characteristics are specified in the DC Electrical Characteristics table. MICIN_LMICIN_L+ MICIN_R+ MICIN_R- 17 18 19 20 Microphone Input Left/Right (Input) - The full-scale level is specified in the ADC Analog Characteristics specification table. LINEIN_L+ LINEIN_CLINEIN_R+ 21 22 23 Analog Input (Input) - The full-scale level is specified in the ADC Analog Characteristics specification table. VA_REF VA 24 25 Analog Power (Input) - Positive power for the internal analog section. VA_REF is the return pin for the VBIAS cap. AGND 26 Analog Ground (Input) - Ground reference for the internal analog section. VREF+ 27 Positive Voltage Reference (Output) - Positive reference voltage for the internal ADCs. VCOM 28 Quiescent Voltage (Output) - Filter connection for internal quiescent voltage. VBIAS 29 Positive Voltage Reference (Output) - Positive reference voltage for the internal DACs. LINEOUT_L2LINEOUT_L2+ LINEOUT_R2+ LINEOUT_R2LINEOUT_L1LINEOUT_L1+ LINEOUT_R1+ LINEOUT_R1- 30 31 32 33 34 35 36 37 Analog Audio Output (Output) - The full-scale output level is specified in the DAC Analog Characteristics specification table HPOUT_L HPOUT_R 38 40 Analog Headphone Output (Output) - The full-scale output level is specified in the DAC Analog Characteristics specification table. HPREF 39 Pseudo Diff. Headphone Reference (Input) - Ground reference for the headphone amplifiers. VHP_FILT- 41 Inverting Charge Pump Filter Connection (Output) - Power supply from the inverting charge pump that provides the negative rail for the headphone amplifier. FLYN 42 Charge Pump Cap Negative Node (Output) - Negative node for the inverting charge pump's flying capacitor. FLYC 43 Charge Pump Cap Common Node (Output) - Common positive node for the step-down and inverting charge pumps' flying capacitor. VHP_FILT+ 44 Non-Inverting Charge Pump Filter Connection (Output) - Power supply from the step-down charge pump that provides the positive rail for the headphone amplifier. FLYP 45 Charge Pump Cap Positive Node (Output) - Positive node for the step-down charge pump's flying capacitor. VA_HP 46 Analog Power For Headphone (Input) - Positive power for the internal analog headphone section. SPDIF_IN 47 S/PDIF Input (Input) - Input to internal S/PDIF Receiver. SPDIF_OUT1 48 S/PDIF Output (Output) - Output from internal S/PDIF Transmitter. HPGND TP HP Ground (Input) - Ground reference for the internal headphone section. See "QFN Thermal Pad" on page 144 for more information. DS880F4 9 CS4207 1.2 Digital I/O Pin Characteristics Input and output levels and associated power supply voltage are shown in the table below. Logic levels should not exceed the corresponding power supply voltage. Power Supply VL_HD VA VL_IF Pin Name SW/(HW) RESET# SDO BITCLK SDI (Note 1) SYNC SENSE_A GPIO1/ DMIC_SDA2 GPIO2 GPIO3 SPDIF_IN SPDIF_OUT GPIO0/ DMIC_SDA1 DMIC_SCL I/O Driver Receiver Input Input Input Input/Output Input Input 1.5 V - 3.3 V - 1.5 V - 3.3 V 1.5 V - 3.3 V 1.5 V - 3.3 V 1.5 V - 3.3 V 1.5 V - 3.3 V 3.3 V - 5.0 V Input/Output 3.3 V 3.3 V Input/Output Input/Output Input Output 3.3 V 3.3 V 3.3 V 3.3 V 3.3 V 3.3 V - Input/Output 3.3 V 3.3 V Output 3.3 V - Notes: 1. SDI output functionality also requires the VA and VL_IF rails to be at nominal levels. 10 DS880F4 CS4207 2. TYPICAL CONNECTION DIAGRAMS +5.0 V +1.8 V 0.1 F 0.1 F VD VA +5.0 V 0.1 F + VA_REF 10 F HPOUT_L VBIAS VA_HP +5.0 V CS4207 VHP_FILT+ Left Headphone 33 0.1 F HPREF Headphone Ground HPOUT_R Right Headphone 33 0.1 F VHP_FILT0.1 F **10 F **10 F LINEOUT_L1+ FLYP LINEOUT_L1- Differential to Single-Ended Output Filter Differential to Single-Ended Output Filter Differential to Single-Ended Output Filter Differential to Single-Ended Output Filter +Left Line Output 1 ** 2.2 F FLYC ** 2.2 F FLYN ** Use low ESR ceramic capacitors. LINEOUT_R1+ LINEOUT_R1LINEOUT_L2+ BITCLK LINEOUT_L2- SYNC HD Audio Bus LINEOUT_R2+ SDI LINEOUT_R2- SDO RESET# +Right Line Output 1 +Left Line Output 2 +Right Line Output 2 * Capacitors must be C0G or equivalent +1.5 V to +3.3 V VL_HD LINEIN_L+ 0.1 F 1 F Left Analog Input * 1800 pF 1 F LINEIN_C+3.3 V VL_IF LINEIN_R+ 0.1 F Right Analog Input 1800 pF GPIO2 GPIO2 GPIO3 GPIO3 *** SENSE_A 1 F * MICIN_L1 F SENSE_A Differential Mic Left MICIN_L+ 1 F S/PDIF RX SPDIF_IN S/PDIF TX 1 SPDIF_OUT1 D-Mic In 2 / S/PDIF TX 2 DMIC_SDA2/ SPDIF_OUT2 Microphone Bias MICBIAS RL 0.47 F The value of R L is dictated by the microphone cartridge. RL MICIN_R+ Differential Mic Right 1 F D-Mic In 1 DMIC_SDA1 D-Mic Clk DMIC_SCL MICIN_R1 F VCOM VREF+ *** See Figure 9. 1 F 10 F Input and Output filters are optional. AGND HP_GND(Thermal Pad) Figure 1. Typical Connection Diagram - Desktop System DS880F4 11 CS4207 +3.3 V +1.8 V 0.1 F 0.1 F VD VA +3.3 V 0.1 F + VA_REF 10 F HPOUT_L VBIAS VA_HP +3.3 V CS4207 VHP_FILT+ Left Headphone 33 0.1 F HPREF Headphone Ground HPOUT_R Right Headphone 33 0.1 F VHP_FILT0.1 F **10 F **10 F LINEOUT_L1+ LINEOUT_L1FLYP ** 2.2 F FLYC LINEOUT_R1+ FLYN LINEOUT_R1- ** 2.2 F * *Use low ESR ceramic capacitors. LINEOUT_L2+ 560 * 2200 pF BITCLK LINEOUT_L2- SYNC HD Audio Bus Speaker Driver 560 SDI SDO LINEOUT_R2+ 560 * 2200 pF RESET# LINEOUT_R2- +1.5 V to +3.3 V 560 Speaker Driver VL_HD 0.1 F * Capacitors must be C0G or equivalent LINEIN_L+ 1 F Left Analog Input * 1800 pF +3.3 V VL_IF 1 F LINEIN_C- 0.1 F LINEIN_R+ 1 F Right Analog Input * 1800 pF GPIO2 GPIO3 *** SENSE_A GPIO2 GPIO3 SENSE_A MICIN_LLeft Mic In MICIN_L+ 1 F S/PDIF RX SPDIF_IN S/PDIF TX 1 SPDIF_OUT1 D-Mic In 2 / S/PDIF TX 2 DMIC_SDA2/ SPDIF_OUT2 Microphone Bias MICBIAS RL 0.47 F The value of R L is dictated by the microphone cartridge. RL MICIN_R+ Right Mic In 1 F MICIN_RD-Mic In 1 DMIC_SDA1 D-Mic Clk DMIC_SCL VCOM *** See Figure 9. VREF+ 1 F 10 F AGND HP_GND(Thermal Pad) Figure 2. Typical Connection Diagram - Portable System 12 DS880F4 CS4207 3. CHARACTERISTICS AND SPECIFICATIONS RECOMMENDED OPERATING CONDITIONS (AGND=DGND=0 V, all voltages with respect to ground.) Parameters DC Power Supply (Note 1) Analog Core DAC Reference Headphone Amplifier Digital Core HD Audio Bus Interface GPIO, S/PDIF and Digital Mic Interface Ambient Temperature Symbol Min Max Units VA VA_REF VA_HP VD VL_HD VL_IF 2.97 2.97 2.97 1.42 1.42 2.97 -40 -40 5.25 5.25 5.25 1.89 3.47 3.47 +85 +105 V V V V V V C C Commercial - CNZ Automotive - DNZ TA ABSOLUTE MAXIMUM RATINGS (AGND = DGND = 0 V; all voltages with respect to ground.) Parameters DC Power Supply Analog Core DAC Reference Headphone Amplifier Digital Core HD Audio Interface GPIO, S/PDIF and Digital Mic Interface Input Current (Note 2) Analog Input Voltage (Note 3) Digital Input Voltage (Note 3) HD Audio Interface GPIO, S/PDIF and Digital Mic Interface Ambient Operating Temperature (power applied) Storage Temperature Symbol VA VA_REF VA_HP VD VL_HD VL_IF Iin VIN VIND TA Tstg Min Max -0.3 5.5 -0.3 5.5 -0.3 5.5 -0.3 3.0 -0.3 4.0 -0.3 4.0 10 AGND-0.7 VA+0.7 -0.3 VL_HD+0.4 -0.3 VL_IF+0.4 -55 +115 -65 +150 Units V V V V V V mA V V V C C WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. Notes: 1. The device will operate properly over the full range of the analog, digital and interface supplies. 2. Any pin except supplies. Transient currents of up to 100 mA on the analog input pins will not cause SCR latch-up. 3. The maximum over/under voltage is limited by the input current. DS880F4 13 CS4207 ANALOG INPUT CHARACTERISTICS (COMMERCIAL - CNZ) (Test Conditions (unless otherwise specified): Input sine wave (relative to digital full-scale): 1 kHz through passive input filter; VA_HP = VA; VL_HD = VL_IF = 3.3; VD = 1.8 V; TA = +25C; Measurement Bandwidth is 10 Hz to 20 kHz unless otherwise specified. Sample Frequency = 48 kHz) VA, VA_REF = 5.0 V VA, VA_REF = 3.3 V (Differential/Single-ended) (Differential/Single-ended) Parameter (Note 4) Min Typ Max Min Typ Max Unit Line In to PGA to ADC (ADC1 or ADC2; differential perf. characteristics only valid for ADC2) Dynamic Range PGA Setting: 0 dB A-weighted 99/96 105/102 95/93 101/99 dB unweighted 96/93 102/99 92/90 98/96 dB PGA Setting: +12 dB A-weighted 95/86 101/92 92/83 98/89 dB unweighted 92/83 98/89 89/80 95/86 dB Total Harmonic Distortion + Noise PGA Setting: 0 dB -1 dBFS -88/-88 -82/-82 -95/-92 -89/-86 dB -60 dBFS -42/-39 -36/-33 -38/-36 -32/-30 dB PGA Setting: +12 dB -1 dBFS -88/-88 -82/-82 -92/-86 -86/-80 dB Mic In to PGA to ADC (+20 dB) (ADC1 or ADC2; differential perf. characteristics only valid for ADC2) Dynamic Range A-weighted 86/78 92/84 83/75 89/81 dB unweighted 83/75 89/81 80/72 86/78 dB Total Harmonic Distortion + Noise -1 dBFS -89/-82 -83/-76 -86/-78 -80/-72 dB Other Analog Characteristics DC Accuracy Interchannel Gain Mismatch 0.2 0.2 dB ppm/C Gain Drift 100 100 Offset Error High Pass Filter On 352 352 LSB Interchannel Isolation 90 90 dB HP Amp to Analog Input Isolation 100 100 dB RL = 10 k 70 70 dB RL = 16 Full-scale Input Voltage - Line In/Mic In PGA(0dB) 1.58*VA 1.66*VA 1.74*VA 1.58*VA 1.66*VA 1.74*VA Vpp (Differential Inputs) Full-scale Input Voltage - Line In PGA (0dB) 0.79*VA 0.83*VA 0.21*VA 0.87*VA 0.79*VA 0.83*VA 0.21*VA 0.87*VA Vpp Vpp PGA+Boost(0dB) 0.79*VA PGA+Boost(+20dB) 0.83*VA 0.08*VA 0.87*VA 0.79*VA 0.83*VA 0.08*VA 0.87*VA Vpp Vpp 43.5 93/99/103 27/33/37 60 - k k k dB (Single-ended Inputs) PGA (+12dB) Full-scale Input Voltage - Mic In (Single-ended Inputs) Input Impedance (Note 5) Mic In (Differential or Pseudo-Diff) Line In (Pseudo-Diff, PGA = -12/0/+12 dB) Mic/Line In (Single-Ended, PGA = -12/0/+12 dB) - Common Mode Rejection (Differential Inputs) - 14 43.5 93/99/103 27/33/37 60 - - DS880F4 CS4207 ANALOG INPUT CHARACTERISTICS (AUTOMOTIVE - DNZ) (Test Conditions (unless otherwise specified): Input sine wave (relative to digital full-scale): 1 kHz through passive input filter; VA_HP = VA; VL_HD = VL_IF = 3.3; VD = 1.8 V; TA = -40 to +85C; Measurement Bandwidth is 10 Hz to 20 kHz unless otherwise specified. Sample Frequency = 48 kHz) VA, VA_REF = 5.0 V VA, VA_REF = 3.3 V (Differential/Single-ended) (Differential/Single-ended) Parameter (Note 4) Min Typ Max Min Typ Max Line In to PGA to ADC (ADC1 or ADC2; differential perf. characteristics only valid for ADC2) Dynamic Range PGA Setting: 0 dB A-weighted 99/96 105/102 95/93 101/99 unweighted 96/93 102/99 92/90 98/96 PGA Setting: +12 dB A-weighted 95/86 101/92 92/83 98/89 unweighted 92/83 98/89 89/80 95/86 Total Harmonic Distortion + Noise PGA Setting: 0 dB -1 dBFS -88/-88 -82/-82 -95/-92 -89/-86 -60 dBFS -42/-39 -36/-33 -38/-36 -32/-30 PGA Setting: +12 dB -1 dBFS -88/-88 -82/-82 -92/-86 -86/-80 Mic In to PGA to ADC (+20 dB) (ADC1 or ADC2; differential perf. characteristics only valid for ADC2) Dynamic Range A-weighted 86/78 92/84 83/75 89/81 unweighted 83/75 89/81 80/72 86/78 Total Harmonic Distortion + Noise -1 dBFS -89/-82 -83/-76 -86/-78 -80/-72 Other Analog Characteristics DC Accuracy Interchannel Gain Mismatch 0.2 0.2 Gain Drift 100 100 Offset Error High Pass Filter On 352 352 Interchannel Isolation 90 90 HP Amp to Analog Input Isolation RL = 10 k 100 100 70 70 RL = 16 Full-scale Input Voltage - Line In/Mic In PGA(0dB) 1.58*VA 1.66*VA 1.74*VA 1.58*VA 1.66*VA 1.74*VA (Differential Inputs) Full-scale Input Voltage - Line In PGA(0dB) PGA(+12dB) Unit dB dB dB dB dB dB dB dB dB dB dB ppm/C LSB dB dB dB Vpp 0.79*VA 0.83*VA 0.21*VA 0.87*VA 0.79*VA 0.83*VA 0.21*VA 0.87*VA Vpp Vpp PGA+Boost(0dB) (Single-ended Inputs) PGA+Boost(+20dB) Input Impedance (Note 5) Mic In (Differential or Pseudo-Diff) Line In (Pseudo-Diff, PGA = -12/0/+12 dB) Mic/Line In (Single-Ended, PGA = -12/0/+12 dB) 0.79*VA 0.83*VA 0.08*VA 0.87*VA 0.79*VA 0.83*VA 0.08*VA 0.87*VA Vpp Vpp - - Common Mode Rejection (Differential Inputs) - (Single-ended Inputs) Full-scale Input Voltage - Mic In 43.5 93/99/103 27/33/37 60 43.5 93/99/103 27/33/37 - - 60 k k k - dB 4. Referred to the typical full-scale voltage. Applies to all THD+N and Dynamic Range values in the table. 5. Measured between [LINE/MIC]IN_[L/R]+ and [LINE/MIC]IN_[C/L/R]- for differential and pseudo-differential inputs, and between [LINE/MIC]IN_[L/R]+ and AGND for single-ended inputs. DS880F4 15 CS4207 ADC DIGITAL FILTER CHARACTERISTICS Parameter (Note 6) Passband (Frequency Response) Passband Ripple Stopband Stopband Attenuation Total Group Delay High-Pass Filter Characteristics (48 kHz Fs) Frequency Response -3.0 dB -0.13 dB Phase Deviation @ 20 Hz Passband Ripple to -0.1 dB corner Filter Settling Time Min 0 -0.09 0.6 70 - Typ 7.6/Fs Max .4535 0.17 - Unit Fs dB Fs dB s - 3.6 24.2 - Hz Hz - 10 - Deg - - 0.17 dB - 105/Fs 0 s 6. Response is clock dependent and will scale with Fs. 16 DS880F4 CS4207 ANALOG OUTPUT CHARACTERISTICS (COMMERCIAL - CNZ) (Test conditions (unless otherwise specified): Input test signal is a full-scale 997 Hz sine wave; VD = 1.8 V; VL_HD = VL_IF = 3.3V; TA = +25C; Measurement bandwidth is 10 Hz to 20 kHz; test load RL = 10 k CL = 10 pF for the line output and test load RL = 16 CL = 10 pF for the headphone output (see Figure 3); DAC Gain = 0 dB). Parameter (Note 4) DAC1; RL = 16 ; DAC Gain = -5 dB Dynamic Range 18 to 24-Bit A-weighted unweighted 16-Bit A-weighted unweighted Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -20 dB -60 dB 16-Bit 0 dB -20 dB -60 dB DAC1; RL = 10 k VA, VA_REF = 5.0 V VA_HP = 5.0 V (Single-ended) Min Typ Max VA, VA_REF = 3.3 V VA_HP = 3.3 V (Single-ended) Min Typ Max Unit 95 92 - 101 98 93 90 - 93 90 - 99 96 93 90 - dB dB dB dB - -89 -78 -38 -89 -70 -30 -83 -72 -32 - - -93 -76 -36 -90 -70 -30 -87 -70 -30 - dB dB dB dB dB dB - 98 95 - 104 101 96 93 - dB dB dB dB -82 -77 -37 - - -90 -81 -41 -90 -73 -33 -84 -75 -35 - dB dB dB dB dB dB Dynamic Range 18 to 24-Bit A-weighted 100 106 unweighted 97 103 16-Bit A-weighted 96 unweighted 93 Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -88 -20 dB -83 -60 dB -43 16-Bit 0 dB -88 -20 dB -73 -60 dB -33 Other Characteristics for DAC1; RL = 16 or 10 k Full-scale Output Voltage, RL = 10 k 0.80*VA 0.84*VA 0.88*VA 0.80*VA 0.84*VA 0.88*VA Vpp Output Power, THD+N = -75 dB, RL = 16 Output Power, THD+N = 1%, RL = 16 - 38 50 - - 17 23 - mWrms mWrms Output Power,THD+N = 10%, RL = 16 - 74 - - 35 - mWrms 16 80 95 0.1 2 100 - 0.25 4 - 16 80 93 0.1 2 100 - 0.25 4 - dB dB dB mV ppm/C - - 150 - - 150 pF - 300 - - 300 - m Interchannel Isolation (1 kHz) 16 10 k Interchannel Gain Mismatch Output Offset Voltage DAC to HPOUT Gain Drift (Note 7) AC-Load Resistance (RL) Load Capacitance (CL) Output Impedance DS880F4 (Note 7) 17 CS4207 VA, VA_REF = 5.0 V (Differential/Single-ended) Min Typ Max Parameter (Note 4) VA, VA_REF = 3.3 V (Differential/Single-ended) Min Typ Max Unit DAC2/DAC3; RL = 10 k Dynamic Range 18 to 24-Bit A-weighted 104/100 110/106 unweighted 101/97 107/103 16-Bit A-weighted 96 unweighted 93 Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -94/-91 -20 dB -87/-83 -60 dB -47/-43 16-Bit 0 dB -92 -20 dB -73 -60 dB -33 Other Characteristics for DAC2/DAC3; RL = 10 k - 101/97 98/94 - 107/103 104/100 96 93 - dB dB dB dB -88/-85 -81/-77 -41/-37 - - -96/-94 -84/-80 -44/-40 -92 -73 -33 -90/-88 -78/-74 -38/-34 - dB dB dB dB dB dB Interchannel Isolation (1 kHz) Interchannel Gain Mismatch Gain Drift AC-Load Resistance (RL) 1.60*VA/ 1.68*VA/ 1.76*VA/ 1.60*VA/ 1.68*VA/ 1.76*VA/ 0.80*VA 0.84*VA 0.88*VA 0.80*VA 0.84*VA 0.88*VA 100 100 0.1 0.25 0.1 0.25 100 100 (Note 7) 3 3 - Load Capacitance (CL) (Note 7) Full-scale Output Voltage Output Impedance Vpp dB dB ppm/C k - - 100 - - 100 pF - 100 - - 100 - 7. See Figure 3 and Figure 4. RL and CL reflect the recommended minimum resistance and maximum capacitance required for the internal op-amp's stability and signal integrity. HPOUT_L/R LINEOUT_L/R 33 C L R L C L R L 0.1 F AGND Figure 3. Output Test Load, Headphone Out 18 AGND Figure 4. Output Test Load, Line Out DS880F4 CS4207 ANALOG OUTPUT CHARACTERISTICS (AUTOMOTIVE - DNZ) (Test conditions (unless otherwise specified): Input test signal is a full-scale 997 Hz sine wave; VD = 1.8 V; VL_HD = VL_IF = 3.3V; TA = -40 to +85C; Measurement bandwidth is 10 Hz to 20 kHz; test load RL = 10 k CL = 10 pF for the line output and test load RL = 16 CL = 10 pF for the headphone output (see Figure 5); DAC Gain = 0 dB). Parameter (Note 4) DAC1; RL = 16 ; DAC Gain = -5 dB Dynamic Range 18 to 24-Bit A-weighted unweighted 16-Bit A-weighted unweighted Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -20 dB -60 dB 16-Bit 0 dB -20 dB -60 dB DAC1; RL = 10 k VA, VA_REF = 5.0 V VA_HP = 5.0 V (Single-ended) Min Typ Max VA, VA_REF = 3.3 V VA_HP = 3.3 V (Single-ended) Min Typ Max Unit 95 92 - 101 98 93 90 - 93 90 - 99 96 93 90 - dB dB dB dB - -89 -78 -38 -89 -70 -30 -83 -72 -32 - - -93 -76 -36 -90 -70 -30 -87 -70 -30 - dB dB dB dB dB dB - 98 95 - 104 101 96 93 - dB dB dB dB -82 -77 -37 - - -90 -81 -41 -90 -73 -33 -84 -75 -35 - dB dB dB dB dB dB Dynamic Range 18 to 24-Bit A-weighted 100 106 unweighted 97 103 16-Bit A-weighted 96 unweighted 93 Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -88 -20 dB -83 -60 dB -43 16-Bit 0 dB -88 -20 dB -73 -60 dB -33 Other Characteristics for DAC1; RL = 16 or 10 k Full-scale Output Voltage, RL = 10 k 0.80*VA 0.84*VA 0.88*VA 0.80*VA 0.84*VA 0.88*VA Vpp Output Power, THD+N = -75 dB, RL = 16 Output Power, THD+N = 1%, RL = 16 - 38 50 - - 17 23 - mWrms mWrms Output Power,THD+N = 10%, RL = 16 - 74 - - 35 - mWrms 16 80 95 0.1 2 100 - 0.25 5 - 16 80 93 0.1 2 100 - 0.25 5 - dB dB dB mV ppm/C - - 150 - - 150 pF - 300 - - 300 - m Interchannel Isolation (1 kHz) 16 10 k Interchannel Gain Mismatch Output Offset Voltage DAC to HPOUT Gain Drift (Note 8) AC-Load Resistance (RL) Load Capacitance (CL) Output Impedance DS880F4 (Note 8) 19 CS4207 VA, VA_REF = 5.0 V (Differential/Single-ended) Min Typ Max Parameter (Note 4) VA, VA_REF = 3.3 V (Differential/Single-ended) Min Typ Max Unit DAC2/DAC3; RL = 10 k Dynamic Range 18 to 24-Bit A-weighted 104/100 110/106 unweighted 101/97 107/103 16-Bit A-weighted 96 unweighted 93 Total Harmonic Distortion + Noise 18 to 24-Bit 0 dB -94/-91 -20 dB -87/-83 -60 dB -47/-43 16-Bit 0 dB -92 -20 dB -73 -60 dB -33 Other Characteristics for DAC2/DAC3; RL = 10 k - 101/97 98/94 - 107/103 104/100 96 93 - dB dB dB dB -88/-85 -81/-77 -41/-37 - - -96/-94 -84/-80 -44/-40 -92 -73 -33 -88/-88 -78/-74 -38/-34 - dB dB dB dB dB dB Interchannel Isolation (1 kHz) Interchannel Gain Mismatch Gain Drift AC-Load Resistance (RL) 1.60*VA/ 1.68*VA/ 1.76*VA/ 1.60*VA/ 1.68*VA/ 1.76*VA/ 0.80*VA 0.84*VA 0.88*VA 0.80*VA 0.84*VA 0.88*VA 100 100 0.1 0.25 0.1 0.25 100 100 (Note 8) 3 3 - Load Capacitance (CL) (Note 8) Full-scale Output Voltage Output Impedance Vpp dB dB ppm/C k - - 100 - - 100 pF - 100 - - 100 - 8. See Figure 5 and Figure 6. RL and CL reflect the recommended minimum resistance and maximum capacitance required for the internal op-amp's stability and signal integrity. HPOUT_L/R LINEOUT_L/R 33 C L R C L L R L 0.1 F AGND Figure 5. Output Test Load, Headphone Out 20 AGND Figure 6. Output Test Load, Line Out DS880F4 CS4207 COMBINED DAC INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE Parameter Min Frequency Response 10 Hz to 20 kHz Passband -0.01 to -0.01 dB corner to -3 dB corner 0 0 StopBand - StopBand Attenuation (Note 9) - Total Group Delay - Typ 26256 102 0.196 Max +0.01 21792 23952 - Unit dB Hz Hz Hz dB ms 9. Measurement Bandwidth is from Stopband to 100 kHz. DC ELECTRICAL CHARACTERISTICS (AGND = 0 V; all voltages with respect to ground.) Parameters Min Typ Max Units - 0.5*VA 23 - 10 V k A - 0.5*VA_HP - V - -0.5*VA_HP - V VREFE = 000b VREFE = 001b VREFE = 010b VREFE = 100b (VA=5.0V) (VA=3.3V) - Hi-Z 0.5*VA GND 0.8*VA 5 3 - V V V V mA mA 1 kHz - 60 - dB VCOM Characteristics Nominal Voltage Output Impedance DC Current Source/Sink (Note 10) VHP_FILT+ Characteristics Nominal Voltage VHP_FILT- Characteristics Nominal Voltage MIC BIAS Characteristics Nominal Voltage DC Current Source Power Supply Rejection Ratio (PSRR) (Note 11) 10. The DC current draw represents the allowed current draw from the VCOM pin due to typical leakage through electrolytic de-coupling capacitors. 11. Valid with the recommended capacitor values on VBIAS. Increasing the capacitance will also increase the PSRR. DS880F4 21 CS4207 DIGITAL MICROPHONE INTERFACE CHARACTERISTICS Test conditions: Inputs: Logic 0 = GND = 0 V, Logic 1 = VL_IF; TA = +25 C; CLOAD = 30 pF. Parameters Symbol Min Typ Max Units DMIC_SCL Period (FsADC >= 44.1 kHz) (Note 12) tP - 8 * T_cyc - ns DMIC_SCL Period (FsADC <= 32.0 kHz) (Note 12) tP - 12 * T_cyc - ns - 45 - 55 % DMIC_SCL Rise Time (Note 13) tr - - 10 ns DMIC_SCL Fall Time (Note 13) DMIC_SCL Duty Cycle tf - - 10 ns DMIC_SDA Setup Time Before DMIC_SCL Rising Edge ts(SD-CLKR) 40 - - ns DMIC_SDA Hold Time After DMIC_SCL Rising Edge th(CLKR-SD) 5 - - ns DMIC_SDA Setup Time Before DMIC_SCL Falling Edge ts(SD-CLKF) 40 - - ns DMIC_SDA Hold Time After DMIC_SCL Falling Edge th(CLKF-SD) 6 - - ns Notes: 12. The output clock frequency will follow the Bit Clock (BITCLK) frequency divided by 8 or 12, depending on the sample rate of the ADC. Any deviation of the Bit Clock source from the nominal supported rates will be directly imparted to the output clock rate by the same factor (e.g. +100 ppm offset in the frequency of BITCLK will become a +100 ppm offset in DMIC_SCL). For the nominal value of T_cyc reference HDA024-A (see Note 4 in "References" on page 147). 13. Rise and fall times are measured from 0.1 * VL_IF to 0.9 * VL_IF. tP tf tr DMIC_SCL ts(SD-CLKF) DMIC_SDA ts(SD-CLKR) Left Right Left (A, DATA1) Channel Data (B, DATA2) Channel Data (A, DATA1) Channel Data th(CLKF-SD) th(CLKR-SD) Figure 7. Digital MIC Interface Timing 22 DS880F4 CS4207 DIGITAL INTERFACE SPECIFICATIONS & CHARACTERISTICS Parameters (Note 14) Input Leakage Current Input Pin Capacitance VL_HD = 1.5 V High-Level Input Voltage Low-Level Input Voltage High-Level Output Voltage (IOUT = -500 A) Symbol Iin Cin Min - Max 10 7.5 Units A pF VIH 0.60*VL_HD - V VIL - 0.40*VL_HD V VOH 0.90*VL_HD - V Low-Level Output Voltage (IOUT = 1500 A) VOL - 0.10*VL_HD V VIH 0.65*VL_HD - V VL_HD = 3.3 V High-Level Input Voltage Low-Level Input Voltage VIL - 0.35*VL_HD V High-Level Output Voltage (IOUT = -500 A) VOH 0.90*VL_HD - V Low-Level Output Voltage (IOUT = 1500 A) VOL - 0.10*VL_HD V VL_IF = 3.3 V High-Level Input Voltage VIH 0.65*VL_IF - V Low-Level Input Voltage VIL - 0.35*VL_IF V High-Level Output Voltage (IOH = -100 A) VOH VL_IF - 0.2 - V Low-Level Output Voltage (IOL = 100 A) VOL - 0.2 V 14. See "Digital I/O Pin Characteristics" on p 10 for HD Audio I/F and control power rails. HD AUDIO BUS SPECIFICATIONS & CHARACTERISTICS Parameter BITCLK Period BITCLK High Time BITCLK Low Time Symbol TCYC THIGH TLOW Min 41.163 17.50 17.50 BITCLK Jitter Typ 41.67 150 SDI Valid After BITCLK Rising TTCO 3 SDO Setup Time TSU 5 SDO Hold Time TH 5 Max 42.171 24.16 24.16 500 11 Units ns ns ns ps ns ns ns S/PDIF TRANSMITTER/RECEIVER SPECIFICATIONS & CHARACTERISTICS Parameter Transmitter Specifications & Characteristics AES3 Transmitter Output Jitter Receiver Specifications & Characteristics PLL Clock Recovery Sample Rate Range Input Jitter Tolerance DS880F4 Symbol TJIT(rms) Min Typ Max meets IEC 60958-3 frec TJIT(rms) Units ps kHz meets IEC 60958-3 ps 23 CS4207 POWER CONSUMPTION (This table represents the power consumption for individual circuit blocks within the codec) (See (Note 15)) Typical Current (mA) iVA Individual Block Operation Codec D3 State- unsolicited 1 response capable (Note 16) ADC1 or ADC2 with PGA oper- 2 ation and Pseudo-Diff Inputs DAC1 with Headphone/Line 3 Out (Note 17) DAC2 or DAC3 with Differen- 4 tial Line Out (Note 18) S/PDIF transmitter with SRC 5 function S/PDIF receiver with SRC 6 function VA/ VA_HP 3.3 5.0 3.3 5.0 3.3 5.0 3.3 5.0 3.3 5.0 3.3 5.0 iVA_HP 0.94 1.20 5.47 6.23 11.08 14.06 10.72 13.59 0.84 1.10 0.84 1.10 0.00 0.00 0.00 0.00 1.51 1.76 0.00 0.00 0.00 0.00 0.00 0.00 iVD iVL_HD iVL_IF VD =1.8V VL_HD =3.3V VL_IF =3.3V 3.34 0.07 0.00 7.27 0.17 0.00 8.79 0.06 0.00 8.72 0.06 0.00 8.90 0.07 0.23 12.67 0.10 0.00 Total Power for individual block (mW) 9.35 12.24 31.70 44.80 57.57 95.12 51.27 83.84 19.78 22.51 25.91 28.64 15. Unless otherwise noted, test conditions are as follows: All zeros input, sample rate = 48 kHz; No load. 16. RESET# held HI, all HDA Bus clocks and data lines are running; HDA Interface running with support for unsolicited responses; All converters are in D3 state. 17. Full-scale single-ended output signal into a 10 k load. 18. Full-scale differential output signal into a 10 k load. (The following table demonstrates the total power consumption for typical system operation. These total codec power numbers are derived from the individual block power consumption numbers in the previous table.) Stereo Record from Line In 1 1 (PGA/ADC1) Stereo Playback to Head- 2 phone (No Load) S/PDIF_IN S/PDIF_OUT DAC3 DAC2 DAC1 ADC2 Typical Codec Operation ADC1 Power States D0 D3 D3 D3 D3 D3 D3 D3 D3 D0 D3 D3 D3 D3 Stereo Playback to Head- 3 phone Out and S/PDIF Out D3 D3 D0 D3 D3 D0 D3 Receive from S/PDIF and 4 Playback to S/PDIF Out Stereo Record & Playback 5 Line In 1 / Line Out 1 24 D3 D3 D3 D3 D3 D0 D0 D0 D3 D3 D0 D3 D3 D3 Total Codec VA/ Active Blocks Power (mW) VA_HP 3.3 41.04 HDA Interface + unsolicited response + ADC1 5.0 57.04 3.3 66.91 HDA Interface + unsolicited response + DAC1 5.0 107.36 3.3 86.69 HDA Interface + unsolicited response + DAC1+ S/PDIF OUT 5.0 129.87 3.3 55.04 HDA Interface + unsolicited response + S/PDIF IN/OUT 5.0 63.39 3.3 92.31 HDA Interface + unsolicited response + ADC1 + DAC2 5.0 140.88 DS880F4 CS4207 4. CODEC RESET AND INITIALIZATION 4.1 Link Reset A Link Reset is a system controller generated assertion of the HD Audio Bus RESET# signal. A Link reset will cause some of the HD Audio bus interface logic to be initialized. Following a Link Reset, the CS4207 will perform the Codec Initialization request sequence. Many of the codec settings will remain unchanged following a Link Reset. See "Register Settings Across Reset Conditions" section on page 29 for more details. When the codec has detected a Link Reset condition, all converter widgets and pin widgets will transition to a low power operating mode, if previously in D0. The actual power states reported will remain unchanged, i.e. if in D0 or D3 prior to Link Reset, the widget stays in D0 or D3. If enabled, presence detection will continue to sense any impedance changes and issue a power state change request to the Link prior to asserting an Unsolicited Response. 4.2 Function Group Reset Because the CS4207 supports the Extended Power State Support (EPSS), a single occurrence of the Function Group Reset command will NOT cause the Audio Function unit and all associated widgets to initialize to the power-on reset values (as described in the HD Audio Specification, Rev. 1.0). When the CS4207 receives a single Function Group Reset verb, the codec will issue a response to the verb to acknowledge receipt, and reset each input/output converter widget's Stream Number and Lowest Channel Number to the default (0h). No other settings are modified. See "Register Settings Across Reset Conditions" section on page 29 for more details. The CS4207 will respond to the newly created "Double Function Group Reset" (as defined in HDA015-B, March 1, 2007) and will reset most of the register settings to their power on defaults. This "Double Function Group Reset" will not affect the HD Audio bus interface logic or the unique codec physical address, which must be reset with the link RESET# signal. Therefore, the codec will not initiate a Codec Initialization sequence on the link. In addition, the Configuration Default settings will not be reset with a "Double Function Group Reset". This new reset condition is created by sending two Function Group resets back to back. The "Double Function Group Reset" is defined as two (2) Function Group Reset verbs received without any other intervening verbs. The Function Group Reset verbs are not required to be received in sequential frames, but there must not be any other verbs received in frames between the receipt of the Function Group Reset verbs. There are no implied time outs between the time the first Function Group Reset is received and the second Function Group Reset verb. 4.3 Codec Initialization Immediately following the completion of a Link Reset sequence, the CS4207 will initiate a codec initialization sequence. The purpose of this initialization sequence is to acquire a unique address by which the codec can thereafter be referenced with Commands on the SDO signal. During this sequence, the Controller provides the codec with a unique address using its attached SDI signal. If the CS4207 codec is in a low power D3 state and enabled to support a presence detect event, it will retain its unique address while in that low power state. If RESET# is de-asserted high, and BITCLK and SYNC are running at the time of a presence detect event, the codec will signal an unsolicited response. When put into the D3 low power state and enabled to support a presence detect event, with the link in the reset state (RESET# is asserted low), the CS4207 will post the occurrence of a wake event and request a power state change by signaling a power state change request and initialization request. It will reestablish the connection with the controller by performing a "Codec Initialization request". DS880F4 25 CS4207 If RESET# is asserted low, and BITCLK and SYNC are not running at the time (defined as link low power state), the codec will signal the power state change request and initialization request asynchronously by asserting SDI high continuously until it detects the de-assertion of RESET#. It will then asynchronously drive SDI low with the de-assertion of the RESET#. With the RESET# signal high, the codec will reestablish the connection with the controller by performing a "Codec Initialization request". 4.4 D3 Lower Power State Support The D3 low power state allows for, but does not require, the lowest possible power consuming state under software control, in which Extended Power States Supported (EPSS) requirements can be met. While in the D3 state, the CS4207 will retain sufficient operational capability to properly respond to subsequent software Get/Set Power State commands (Verb ID=F05h/705h) to the Audio Function Group (Node ID = 01h). In addition, while in the D3 power state, Link Reset and "Double Function Group" reset are supported. All other Get/Set commands will be ignored while the codec is in the D3 power state. Widgets reporting an EPSS of `1'b will transition from D3 state to D0 state in less than 10 ms. This interval is measured from the response to the Set Power State verb that caused the transition from D3 back to fully operational D0 state. It is permissible for the audio fidelity for analog outputs to be slightly degraded if audio playback begins immediately once the fully operational state is entered. However, audio fidelity will not be degraded 75ms after the transitioning to D0 state. 4.5 Extended Power States Supported (EPSS) EPSS indicates that the Audio Function Group or a particular Widget supports additional capabilities allowing better low power operation. The CS4207 will report EPSS support at the Function group level and will enable low power operation for all Input and Output Converter Widgets, and the following pin widgets which are capable of reporting presence detection: - Headphone pin widget (node ID 09h) - Line Out 1 pin widget (node ID 0Ah) - Line In 1/Mic In 2 pin widget (node ID 0Ch) - Mic In 1/Line In 2 pin widget (node ID 0Dh) - S/PDIF Receiver Input pin widget (node ID 0Fh). The following requirements will also be implemented by each input/output converter widget and the above listed pin widgets: 26 * Report PowerCntrl set to `1'b and support the Supported Power States verb. * Jack Presence state change reporting (when enabled) will operate regardless of the Widget and Audio Function Group power state. * Reporting of presence state change and issuing system wake when the link clock (BITCLK) is not operational is supported. * The S/PDIF Receiver to S/PDIF Transmitter digital loop-through (no clock re-timing) will continue to operate (if enabled) even though any one, or all of the S/PDIF Receiver Input Converter Widget, S/PDIF Transmitter Output Converter Widget or S/PDIF Receiver Input Pin Widget enters into low power states. This digital loop-through will also continue to operate if the Audio Function Group is placed in the D3 low power state, during a Link Reset, and even if the HD Audio BITCLK is stopped. * Dependencies between converter widgets and associated pin widgets will not cause unexpected results when one node of the dependency is placed into D3 state. The diagrams and tables below demonstrate typical audio streams. DS880F4 CS4207 . DAC Output Converter Widget LineOut Output Pin Widget D0/D3 Power States D0/D3 Power States ADC Input Converter Widget Line In Input Pin Widget D0/D3 Power States D0/D3 Power States HD_Audio Bus Output Path Output Converter Widget D0 Output Pin Widget D0 * Pin widget outputs a muted audio signal, supports presence detect if enabled and transitions to D3. Normal Operation in D0 * Converter widget stops accepting audio samples from the HD Audio bus, sends mute * to the Pin widget and transitions to D3. * Input Path Pin widget outputs a muted audio signal and supports presence detect if enabled. Remains in D0 state. Input Pin Widget D0 * Normal Operation in D0 Input Converter Widget D3 * Converter widget stops sending audio samples to the HD Audio bus and transitions to * D3. Pin widget shuts down and supports presence detect if enabled. Remains in D0 state. Converter and Pin Widgets are in low power D3 state. Supports presence detect if enabled. Input Pin Widget D3 * Converter widget will send "muted" audio samples to the HD Audio bus. Remains in D0 state. * * DS880F4 Converter widget continues to accept audio samples from the HD Audio bus. * Output Converter Widget D3 Input Converter Widget D0 Output Pin Widget D3 * Pin widget outputs a muted audio signal, supports presence detect if enabled and transitions to D3. Converter and Pin Widgets are in low power D3 state. Supports presence detect if enabled. 27 CS4207 4.6 Power State Settings Reset (PS-SettingsReset) PS-SettingsReset is reported as set to one `1'b when, during any low power state transition the settings that were changed from the defaults (either through software or hardware) have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. The conditions that may reset settings to their defaults are: 1. Power On; always sets the PS-SettingsReset to `1'b for all widgets that report EPSS set to `1'b and that have host programmable settings and reset all settings. 2. Double Function Group Reset: sets PS-SettingsReset to `1'b for all widgets that report EPSS set to one `1'b and that have host programmable settings and resets all settings. Single Function Group Reset, Link Reset or BITCLK stopped will not cause the PS-SettingsReset bit to be set to `1'b. All settings will persist across these events. The PS-SettingsReset will be reported at the individual widget level and at the Audio Function Group level. The PS-SettingsReset bit for the Audio Function Group is handled differently than at the widget level. For the Audio Function Group the PS-SettingsReset bit is set to `1'b when any widget sets its PS-SettingsReset to `1'b. The Audio Function Group's PS-SettingsReset bit is the logical "or" of all the PS-SettingsReset bits, but is latched so that it can be reset independently and not require all the individual widget PS-SettingsReset bits be reset. This allows a simple poll by the host software to detect when some settings have been reset/changed. For widgets that do not support the EPSS bit, reporting PS-SettingsReset is not required. If the PS-SettingsReset bit is set to `1'b, then this bit for individual widgets will be cleared to `0'b on receipt of any "Set" verb to that widget; or after responding to a "Get" Power State verb to that widget. `1'b D Power On Reset or Double Function Group Reset Q Function Group PS_Settings Reset Bit CLK Q CLR Get "Power State" Verb Figure 8. PS-Settings Reset Behavior Bit settings within converters and pin widgets that software changed from their defaults will not be changed by hardware across any Dx state transition, single function group resets or link resets. Table 1 on page 29 outlines how the handling of setting persistence should be performed across Dx states, clock stopping and resets. Because the CS4207 supports EPSS, the use of PS-SettingsReset to report that settings have been reset (changed) is required. 28 DS880F4 CS4207 4.7 Register Settings Across Resets The CS4207 will perform a complete Power On Reset (POR) initialization if the voltage is cycled from off to on from the VD pin of the device. All registers will be initialized to the default state. For device behavior due to other system reset conditions or power state transitions events, see the table below. Setting Action with Link Reset Action with "Double" Function Group reset Action with "Single" Function Group reset Action across D0/D3 state transitions or link BITCLK stopped Unique codec physical address (SDI) Requires codec initialization sequence to acquire new unique address. Persist across "Double" FG reset. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Converter Format; Type, Base, Mult, Div, Bits Chan fields (verb ID = A00/2xx) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Amplifier Gain/Mute (verb ID = Bxx/3xx) Index, Mute and Gain settings persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Index, Mute and Gain settings persist across "Single" FG reset. Index, Mute and Gain settings persist across Dx state transitions or BITCLK stopped. Connection Select Control (verb ID = F01/701) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Power States for the function group and individual widgets (verb ID = F05/705) Power State persist across Link Reset. Power State persist across "Double" FG reset. Power State persist across "Single" FG reset. Persist across BITCLK stopped. PS-Act and PS-Set will be updated to the current power state across Dx state transitions. Converter Stream & Channel settings e.g. Stream number and lowest Channel number (verb ID = F06/706) Reset to default by Link reset and does not set PS-SettingsReset to `1'b. Reset to default by "Double" FG reset and does not set PS-SettingsReset to `1'b. Reset to default by "Single" FG reset and does not set PS-SettingsReset to `1'b. Reset to default across Dx state transitions and does not set PS-SettingsReset to `1'b. Pin Widget Controls; In/Out Enables, Vref (verb ID = F07/707) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Unsolicited Response control; Enable and Tag (verb ID = F08/708) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Table 1. Register Settings Across Reset Conditions DS880F4 29 CS4207 Setting Action with Link Reset Action with "Double" Function Group reset Action with "Single" Function Group reset Action across D0/D3 state transitions or link BITCLK stopped Pin Sense; Presence Detect Bit only. (verb ID = F09/709) Update to reflect proper state and save any Unsolicited Response that has not been sent and send it after first verb is received. Update to reflect proper state and issue an Unsolicited Response if enabled. Update to reflect proper state and issue an Unsolicited Response if enabled. Update to reflect proper state after transition back to full operation (D0). EAPD/BTL enable; BTL (verb ID = F0C/70C) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. S/PDIF Digital Converter Controls 1 & 2 (verb ID = F0D/70D70E) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. GPI/GPO Data, Enable Mask, Sticky Masks, Direction (verb ID = F15F1A/715-71A) Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Configuration Default; all 32 bits (verb ID = F1C/71C71F) Persist across Link Reset. Persist across "Double" FG reset. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Sub-System ID (verb ID = F20/720723) Persist across Link Reset. Persist across "Double" FG reset. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Coefficient Index (verb ID = D/5) Persist across Link Reset. Settings are reset to POR default value. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Processing Coefficient (verb ID = C/4) Persist across Link Reset. Settings are reset to POR default value. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Coefficient Registers Persist across Link Reset. Settings are reset to POR default value. PS-SettingsReset set to `1'b. Persist across "Single" FG reset. Persist across Dx state transitions or BITCLK stopped. Digital loop from S/PDIF Receiver pin widget to S/PDIF Transmitter pin widget Digital Loop persists if enabled. Digital Loop persists if enabled. Digital Loop persists if enabled. Digital Loop persists if enabled. Table 1. Register Settings Across Reset Conditions 30 DS880F4 CS4207 5. PRESENCE DETECTION 5.1 Jack Detection Circuit The jack detection circuit provides attachment for to up to four pluggable jacks as described in the High Definition Audio Specification. Each jack has an isolated switch (normally open), as shown in Figure 9, which closes when a plug is inserted into that jack. A "power of two" parallel resistor network is connected to the SENSE_A pin as shown. The codec will measure the impedance of this network to determine which jacks have plugs inserted and set (or clear) the corresponding "Presence Detect" bit in the "Pin Sense" control for that Pin Widget. The jack detect circuitry will remove switch bounce of up to 250-ms duration. To Codec To Codec Line Out 1 Left & Right nc To Codec To Codec Line In Left & Right nc To Codec To Codec Mic In Left & Right nc To Codec To Codec Headphone Out Left & Right nc VA 2.67 k +/- 1% 5.1 k +/- 1% 10.0 k +/- 1% 20.0 k +/- 1% 39.2 k +/- 1% To Sense_A Figure 9. Jack Presence Detect Circuit 5.1.1 Presence Detection and Unsolicited Response The Pin Widget, if enabled to generate an unsolicited response, will deliver one such response for each "de-bounced" state change of the "Presence Detect" bit. The "Presence Detect" bit will be stable and readable at the time an unsolicited response is issued. In sensing the insertion or removal of a jack the codec will measure the impedance continuously to determine when to report a change of state. Reporting of state change and change in the presence detect state bits will not occur until any impedance change has initially stabilized for approximately 250ms. Following this de-bounce period, the codec will report an unsolicited response, if enabled and the HD Audio BITCLK running, within 10ms. If the HD Audio BITCLK is not running, then the request to wake the Link will occur within 10ms. Once an unplug or plug event has been signaled to the host via the unsolicited response, another change of the presence detection bits will not be generated unless the jack state has been sensed (de-bounced) continuously for at least 250ms. Pin Widgets programmed to generate Unsolicited Responses for Presence Detection state changes will continue to function in all power states. When generating an Unsolicited Response for a plug event when the link is in a low power state (when RESET# is asserted low), sending of an Unsolicited Response will wait until after the power state change and initialization request and the codec initialization sequence are complete and the first verb is received to prevent the response from being lost due to software transition to active power state. DS880F4 31 CS4207 If the codec has detected that the link is entering a Link Reset state (see description below), all Unsolicited Response requests will be buffered. Once the link is in the Link Reset state, with RESET# asserted low, the codec will request a power state change and initialization request. Following the codec initialization cycle where a unique address is provided to the CS4207, the codec will then wait for the first verb to be received before issuing the Unsolicited Response to prevent the response from being lost due to software transition to active power state. The Link Reset entry sequence is defined as follows: 1. The HD Audio Bus controller synchronously completes the current frame but does not signal Frame Sync (SYNC) during the last eight SDO bit times. 2. The HD Audio Bus controller synchronously asserts RESET# four (or more) BITCLK cycles after the completion of the current frame. 3. BITCLK is stopped a minimum of four clocks, four rising edges, after the assertion of RESET#. In the event of a system bus (PCI Bus) reset, the above sequence does not complete, and RESET# is asynchronously asserted immediately and unconditionally. When the codec returns to D0 from the D3 lower power state, the state of the presence detection bits will be correct. If the codec power has been removed, the state of the presence detection bits will be reset to the default value and the codec WILL NOT report this by setting the PS-SettingsReset bit for the affected Pin Widget(s). (HDA015-B, March 1, 2007 says that the PS-SettingsReset bit will be set for the affected Pin widget). 5.1.2 S/PDIF Receiver Presence Detect The presence detect scheme for the S/PDIF Receiver will use the logic state transition of the "LOCK" or "UNLOCK" indicator for the incoming digital stream. The "LOCK" and "UNLOCK" indicators are sticky bits (edge-triggered) which indicate the current state of the receiver. These bits are located in the Vendor Processing Widget, see "S/PDIF RX/TX Interface Status (CIR = 0000h)" on p 129. When the S/PDIF Receiver Input Converter Widget is "enabled" and the "LOCK" indicator is a "1", then the Presence Detect bit in the Pin Sense register will be set to `1'. The S/PDIF IN Converter Widget (NID=07h) and the S/PDIF Receiver pin widget (NID=0Fh) must be in the D0 state to support presence detect using this method described. With an incoming valid S/PDIF signal applied to the SPDIF_IN pin, the "LOCK" status will be valid approximately 200 S/PDIF frames following the receiver being enabled. 32 DS880F4 CS4207 6. HD AUDIO CODEC SUPPORTED VERBS AND RESPONSES 6.1 Software Programming Model 02h 01h DAC1 PCM; Vol/Mute; D0/D3 Power States GPIO 03h DAC2 PCM; Vol/Mute; D0/D3 Power States Jack Sense 04h 09h Headphone Single-Ended Jack Detect A D0/D3 Power States 0Ah Line Out 1 SE/Balanced Jack Detect D D0/D3 Power States 0Bh DAC3 PCM; Vol/Mute; D0/D3 Power States 11h Processing W idget 05h ADC1 PCM; Vol/Mute; D0/D3 Power States 13h Beep Generator Line Out 2 SE/Balanced (Speaker) 0Ch Line In 1/Mic In 2 SE/Pseudo-Diff; Boost Jack Detect C D0/D3 Power States 12h Digital Mic In 2 Boost HD_Audio Bus 06h ADC2 PCM; Vol/Mute; D0/D3 Power States 0Dh Mic In 1/Line In 2 SE/PSD/Bal; Boost Vref; Jack Detect B D0/D3 Power States 0Eh Digital Mic In 1 Boost 07h S/PDIF IN PCM/Non-PCM ; D0/D3 Power States 08h S/PDIF OUT 1 PCM/Non-PCM ; D0/D3 Power States 14h S/PDIF OUT 2 PCM/Non-PCM ; D0/D3 Power States 0Fh S/PDIF Receiver Lock/Unlock Detect D0/D3 Power States 10h S/PDIF Transmitter 1 15h S/PDIF Transmitter 2 Figure 10. Software Programming Model DS880F4 33 CS4207 6.1.1 Node ID Summary Node ID Description Reference Section 00h Root Node Section 6.2 on page 36 01h Audio Function Group Section 6.3 on page 37 02h DAC1 Output Converter Widget Section 6.4 on page 45 03h DAC2 Output Converter Widget Section 6.4 on page 45 04h DAC3 Output Converter Widget Section 6.4 on page 45 05h ADC1 Input Converter Widget Section 6.5 on page 53 06h ADC2 Input Converter Widget Section 6.5 on page 53 07h S/PDIF Receiver Input Converter Widget Section 6.6 on page 63 08h S/PDIF Transmitter 1 Output Converter Widget Section 6.7 on page 70 09h Headphone Pin Widget Section 6.8 on page 78 0Ah Line Out 1 Pin Widget Section 6.9 on page 85 0Bh Line Out 2 Pin Widget Section 6.10 on page 92 0Ch Line In 1/Mic In 2 Pin Widget Section 6.11 on page 97 0Dh Mic In 1/Line In 2 Pin Widget Section 6.11 on page 97 0Eh Digital Mic 1 In Pin Widget Section 6.12 on page 108 0Fh S/PDIF Receiver Input Pin Widget Section 6.13 on page 114 10h S/PDIF Transmitter 1 Output Pin Widget Section 6.14 on page 120 11h Processing Widget Section 6.15 on page 126 12h Digital Mic 2 In Pin Widget Section 6.12 on page 108 13h Beep Generator Widget Section 6.16 on page 136 14h S/PDIF Transmitter 2 Output Converter Widget Section 6.7 on page 70 15h S/PDIF Transmitter 2 Output Pin Widget Section 6.14 on page 120 Table 2. Device Node ID Summary 34 DS880F4 CS4207 6.1.2 Pin Configuration Register Defaults The Configuration Default Register is required for each Pin Widget. It is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values, see Table 3, indicating the typical system use of this particular pin/jack. After this initial loading, the state, including any software writes into the register, will be preserved across reset events. Its state need not be preserved across power level changes. Port Location Device Type Color Misc Assoc. Sequence Headphone Node ID = 09h (see p 83) Jack External/ Front Headphone 1/8" Jack Green No PDC Override F 0 Line Out 1 Node ID = 0Ah (see p 91) Jack External/ Rear Line Out 1/8" Jack Green No PDC Override F 0 Line Out 2 Node ID = 0Bh (see p 96) Fixed Internal Speakers Other Analog Unknown No PDC Override F 0 Line In 1/Mic In 2 Node ID = 0Ch (see p 104) Jack External/ Rear Line In 1/8" Jack Blue No PDC Override 5 1 Mic In 1/Line In 2 Node ID = 0Dh (see p 105) Jack External/ Rear Mic In 1/8" Jack Pink No PDC Override 3 1 Digital Mic In 1 Node ID = 0Eh (see p 110) Fixed Other/ Mobile Lid Inside Digital In Other Digital Unknown No PDC Override 3 E S/PDIF In Node ID = 0Fh (see p 119) Jack External/ Front S/PDIF In RCA Jack White No PDC Override F 0 S/PDIF Out 1 Node ID = 10h (see p 124) Jack External/ Rear S/PDIF Out RCA Jack Orange No PDC Override F 0 Digital Mic In 2 Node ID = 12h (see p 111) Fixed Other/ Mobile Lid Inside Digital In Other Digital Unknown No PDC Override 5 E S/PDIF Out 2 Node ID = 15h (see p 125) Jack External/ Rear Black No PDC Override F 0 S/PDIF Out Optical Jack Table 3. Pin Configuration Register Defaults DS880F4 35 CS4207 6.2 6.2.1 Root Node (Node ID = 00h) Vendor and Device ID Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 00h Verb ID = F00h Parameter ID = 00h Type Default Description Response Format: Bits 6.2.2 31:16 Read Only 1013h Vendor ID (VID): Cirrus Logic PCI Vendor ID 15:0 Read Only 4207h Device ID (DID): CS4207 Device ID Revision ID Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 00h Verb ID = F00h Parameter ID = 02h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 1h Major Revision (MAJREV) of the HDA Spec Response Format: Bits 6.2.3 19:16 Read Only 0h Minor Revision (MINREV) of the HDA Spec 15:8 Read Only 03h Revision ID (REVID): This indicates the letter rev used for all-layer changes. 01h - rev. Ax 02h - rev. Bx 03h - rev. Cx 7:0 Read Only 02h Stepping ID (SID): This indicates the number rev used for metal layer changes. 00h - rev. A0 or rev. B0 or rev. C0 01h - rev. A1 or rev. C1 02h - rev. C2 Subordinate Node Count Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 00h Verb ID = F00h Parameter ID = 04h Bits Type Default 31:24 Read Only 00h 23:16 Read Only 01h Starting Node Number (SNN): 1 15:8 Read Only 00h Reserved 7:0 Read Only 01h Total Number of Nodes (TNN): 1 Response Format: 36 Description Reserved DS880F4 CS4207 6.3 Audio Function Group (Node ID = 01h) 6.3.1 Subordinate Node Count Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 04h Bits Type Default Description 31:24 Read Only 00h Reserved 23:16 Read Only 02h Starting Node Number (SNN): 2 Response Format: 6.3.2 15:8 Read Only 00h Reserved 7:0 Read Only 14h Total Number of Nodes (TNN): 20 Function Group Type Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 05h Type Default Description Response Format: Bits 6.3.3 31:9 Read Only 0 Reserved 8 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 7:0 Read Only 01h Node Type (NT): Audio Function Group Audio Function Group Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 08h Bits Type Default Description 31:17 Read Only 0 16 Read Only 1b Beep Gen: Beep Generator is present. 15:12 Read Only 0h Reserved Response Format: 11:8 Read Only 9h Input Delay: represents the number of samples between when the sample is received as an analog signal at the pin and when the digital representation is transmitted on the High Definition Audio Link. This may be a "typical" value. 7:4 Read Only 0h Reserved Eh Output Delay: represents the number of samples between when the sample is received from the Link and when it appears as an analog signal at the pin. This may be a "typical" value. 3:0 DS880F4 Reserved Read Only 37 CS4207 6.3.4 Supported PCM Size, Rates Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 0Ah Type Default Description 31:21 Read Only 00000000000b 20 Read Only 1b 32-Bit (32B): 32-bit audio format is supported. Response Format: Bits 38 Reserved 19 Read Only 1b 24-Bit (24B): 24-bit audio format is supported. 18 Read Only 1b 20-Bit (20B): 20-bit audio format is supported. 17 Read Only 1b 16-Bit (16B): 16-bit audio format is supported. 16 Read Only 0b 8-Bit (8B): 8-bit audio format is not supported. 15:12 Read Only 0h Reserved 11 Read Only 0b Rate-12 (R12): 384 kHz (48*8) rate is not supported. 10 Read Only 1b Rate-11 (R11): 192.0 kHz (48*4) rate is supported. 9 Read Only 1b Rate-10 (R10): 176.4 kHz (44.1*4) rate is supported. 8 Read Only 1b Rate-9 (R9): 96.0 kHz (48*2) rate is supported. 7 Read Only 1b Rate-8 (R8): 88.2 kHz (44.1*2) rate is supported. 6 Read Only 1b Rate-7 (R7): 48.0 kHz rate is supported. 5 Read Only 1b Rate-6 (R6): 44.1 kHz rate is supported. 4 Read Only 1b Rate-5 (R5): 32.0 kHz (48*2/3) rate is supported. 3 Read Only 0b Rate-4 (R4): 22.05 kHz (44.1/2) rate is not supported. 2 Read Only 0b Rate-3 (R3): 16.0 kHz (48/3) rate is not supported 1 Read Only 0b Rate-2 (R2): 11.025 kHz (44.1/4) rate is not supported. 0 Read Only 0b Rate-1 (R1): 8.0 kHz (48/6) rate is not supported. DS880F4 CS4207 6.3.5 Supported Stream Formats Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 0Bh Type Default Description Response Format: Bits 6.3.6 31:3 Read Only 0 Reserved 2 Read Only 0b AC-3 (AC3): AC-3TM data is not supported. 1 Read Only 0b Float32 (FLT32): Float32 formatted data is not supported on this widget. 0 Read Only 1b Pulse Code Modulation (PCM): PCM formatted data is supported on this widget. Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 0Fh Bits Type Default 31 Read Only 1b Response Format: Description EPSS: Function Group supports extended power states. 30 Read Only 1b CLKSTOP: Function group supports D3 operation even if there is no BCLK present on the link. 29 Read Only 0b S3D3coldSup: Software should place the codec in D3hot state when the platform is entering S3 state. 28:5 Read Only 000000h 4 Read Only 0b D3coldSup: D3cold operation is not supported. 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. Reserved 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. CLKSTOP is defined only at the Function Group only (not at the widget level) and indicates that the Function Group and all widgets under it support D3 operation even when there is no BITCLK present on the Link. The maximum exit time back to fully functional is 10 milliseconds from the time that the clock begins operation and a codec address cycle has been completed. The CLKSTOP capability extends the required functionality for D3 support while the link is operational to include: * Reporting of presence detect state changes, if enabled and supported by the pin widget, even if the Link Clock is not running (controller low power state) or is currently in a Link Reset condition. * Presence state changes occurring during Link Reset will be deferred until after the reset sequence has completed. Presence state change Unsolicited Responses, if enabled, will not be lost because the Link Clock stops or if Link Resets are generated before the Unsolicited Response for the state change has been returned to the host. DS880F4 39 CS4207 * 6.3.7 Reporting of ClkStopOk when stopping of the clock would be permitted. The CLKSTOP is a static capability with ClkStopOk a dynamic reporting. The setting the capability CLKSTOP to one (1) and not allowing the clock to stop by not reporting ClkStopOk is not permissible. Unless there is a condition or dependency that the host software cannot be made aware of, that would prohibit stopping the clock, the ClkStopOk shall be reported as set (1). It is expected that host software will poll the ClkStopOk before stopping the clock if the CLKSTOP is reported at one (1). GPIO Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F00h Parameter ID = 11h Bits Type Default Description 31 Read Only 0b GPIOWake: Does not support wake functionality. 30 Read Only 0b GPIOUnsol: Does not support UR functionality. 29:24 Read Only 0h Reserved 23:16 Read Only 0h NumGPIs: No dedicated GPI pins. 15:8 Read Only 0h NumGPOs: No dedicated GPO pins. 7:0 Read Only 4h NumGPIOs: AFG supports 4 GPIO pins. Response Format: 40 DS880F4 CS4207 6.3.8 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 705h Payload = xxh Response Format: Bits Type Default 31:11 Read Only 00000h 10 9 Read Only Read Only Description Reserved 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28. 1b Power State Clock Stop OK (PS-ClkStopOK): This bit is set to a `1'b when the codec is capable of continuing proper operation even when the HD Audio Bus BITCLK has been stopped. This bit is valid for the Audio Function Group node and not the device widgets. Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. The power state requested by software will always be possible following a reasonable time required to execute the power state transition. There are no dependencies unknown to software between nodes that would inhibit transitioning to the requested power state. 8 Read Only 0b 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a Power State field which defines the current power setting of the referenced node. Since this node is an Audio Function Group node, the actual power state is this setting. Setting this field to the D3 DS880F4 41 CS4207 state for the Audio Function Group node will force all other nodes with power state control to the D3 state. If the Power State field for this node is set to D0, then the individual power state for each converter will be uniquely controlled via the corresponding node Power State field. PS-Act is a Power State field which indicates the actual power state of the referenced node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). PS-ClkStopOk is reported as a `1'b when the codec is capable of continuing proper operation in the absence of the HD Audio Bus BITCLK. This bit is reported only at the Audio Function Group level and is reserved at the widget level. After accepting a low power state transition request (D3 state) to the Audio Function Group Node, the codec will begin ramping down all the audio converters. During this time, the PS-ClkStopOK bit will be set to `0'b to signify that the bus BITCLK can not be stopped. Once all the converters have been ramped down, the codec will update the PS-Act bits to reflect the actual transition to the D3 state and will then set the PS-ClkStopOk bit to a `1'b to report the ability of the codec to operate correctly while in the low power state with the BITCLK stopped. While in the low power D3 state, and with the bus BITCLK stopped, the pin widgets of the codec which were enabled to support unsolicited responses will continue to operate. 6.3.9 GPIO Data Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F15h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 715h Payload = xxh Type Default Description 31:8 Read Only 000000h 7:4 Read Only 0h GPIO[7:4] Data: Not Supported. 0h GPIO[3:0] Data: For GPIO programmed as inputs, this value is read only and is the sensed value on the corresponding pin. For GPIO programmed as outputs, the value written is driven onto the corresponding pin. Note that if the corresponding bit in the GPIO Enable Mask control is not set, pins configured as outputs will not drive the associated bit value (as the pin must be in a Hi-Z state), but the value returned on a read will still reflect the value that would be driven if the pin were to be enabled in the GPIO Enable Mask control. Response Format: Bits 3:0 42 Read/Write Reserved DS880F4 CS4207 6.3.10 GPIO Enable Mask Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F16h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 716h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:4 Read Only 0h GPIO[7:4] Enable Mask: Not Supported. 0h GPIO[3:0] Enable Mask: If the bit associated with a pin is 0, the pin is disabled, and must be in a Hi-Z state. If the bit is a 1, the GPIO pin is enabled and the pin's behavior will be determined by the GPIO Direction control. 3:0 6.3.11 Read/Write Description Reserved GPIO Direction Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F17h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 717h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:4 Read Only 0h GPIO[7:4] Direction: Not Supported. 0h GPIO[3:0] Direction: If a bit is a 0, the associated GPIO signal is configured as an input. If the bit is set to a 1, the associated GPIO signal is configured as an output. 3:0 Read/Write Description Reserved 6.3.12 GPIO Sticky Mask Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F1Ah Payload = 00h Set Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 71Ah Payload = xxh 43 CS4207 Response Format: Bits Type Default 31:8 Read Only 000000h 7:4 Read Only 0h GPIO[7:4] Sticky Mask: Not Supported. 0h GPIO[3:0] Sticky Mask: Defines GPIO Input Type (0 = Non-Sticky, 1 = Sticky) when a GPIO pin is configured as an input. GPIO inputs configured as Sticky are cleared by writing a 0 to the corresponding bit of the GPIO Data Control The default value for these bits (0h) is all pins Non-Sticky. Non implemented GPIO pins always return 0's. Sticky is defined as Positive-Edge sensitive, Non-Sticky as Level sensitive. 3:0 Read/Write Description Reserved 6.3.13 Implementation Identification This field provides the Board Implementation ID and Assembly ID of the functional group to software. It is a Read/Write-Once register; BIOS writes to this field to configure the Board Implementation ID and Assembly ID during the boot process. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = F20h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 720h Payload = xxh (IID bits [7:0]) CAd = X Node ID = 01h Verb ID = 721h Payload = xxh (IID bits [15:8]) CAd = X Node ID = 01h Verb ID = 722h Payload = xxh (IID bits [23:16]) CAd = X Node ID = 01h Verb ID = 723h Payload = xxh (IID bits [31:24]) Type Default Description Board Manufacturer Identification (BMID): Contains the PCI Vendor ID of the board manufacturer. Preset to Cirrus Logic's PCI Vendor ID. Response Format: Bits 31:16 Read/Write Once 1013h 15:8 Read/Write Once 42h Board SKU (BSKU): Assigned by the board manufacturer to identify the specific board design. Preset to 42h for Cirrus Logic codecs. 7:0 Read/Write Once 07h Assembly ID (AssyID): Uniquely identifies the specific board assembly. Preset to 07h for the CS4207. 6.3.14 Function Reset Function Reset is an "Execute" verb. There is no physical register associated with the Function Reset. See "Function Group Reset" section on page 25 for more details. Set Parameter Command Format: 44 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 01h Verb ID = 7FFh Payload = 00h DS880F4 CS4207 6.4 DAC1, DAC2, DAC3 Output Converter Widgets (Node ID = 02h, 03h, 04h) 6.4.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F00h Parameter ID = 09h Response Format: DS880F4 Bits Type Default 31:24 Read Only 00h Reserved Description 23:20 Read Only 0h Type (TYP): Audio Output Converter Widget 19:16 Read Only Dh Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 1b Format Override (FO): This bit is a `1' to indicate that the widget contains format information, and the "Supported Formats" and "Supported PCM Bits, Rates" should be queried for the widget's format capabilities. 3 Read Only 1b Amplifier Parameter Override (APO): This widget contains its own amplifier parameters. 2 Read Only 1b Output Amplifier Present (OAP): Output amplifier is present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. 45 CS4207 6.4.2 Supported PCM Size, Rates Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F00h Parameter ID = 0Ah Response Format: 6.4.3 Bits Type Default 31:21 Read Only 00000000000b Description Reserved 20 Read Only 1b 32-Bit (32B): 32-bit audio format is supported. 19 Read Only 1b 24-Bit (24B): 24-bit audio format is supported. 18 Read Only 1b 20-Bit (20B): 20-bit audio format is supported. 17 Read Only 1b 16-Bit (16B): 16-bit audio format is supported. 16 Read Only 0b 8-Bit (8B): 8-bit audio format is not supported. 15:12 Read Only 0h Reserved 11 Read Only 0b Rate-12 (R12): 384 kHz (48*8) rate is not supported. 10 Read Only 1b Rate-11 (R11): 192.0 kHz (48*4) rate is supported. 9 Read Only 1b Rate-10 (R10): 176.4 kHz (44.1*4) rate is supported. 8 Read Only 1b Rate-9 (R9): 96.0 kHz (48*2) rate is supported. 7 Read Only 1b Rate-8 (R8): 88.2 kHz (44.1*2) rate is supported. 6 Read Only 1b Rate-7 (R7): 48.0 kHz rate is supported. 5 Read Only 1b Rate-6 (R6): 44.1 kHz rate is supported. 4 Read Only 1b Rate-5 (R5): 32.0 kHz (48*2/3) rate is supported. 3 Read Only 0b Rate-4 (R4): 22.05 kHz (44.1/2) rate is not supported. 2 Read Only 0b Rate-3 (R3): 16.0 kHz (48/3) rate is not supported 1 Read Only 0b Rate-2 (R2): 11.025 kHz (44.1/4) rate is not supported. 0 Read Only 0b Rate-1 (R1): 8.0 kHz (48/6) rate is not supported. Supported Stream Formats Get Parameter Command Format: 46 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F00h Parameter ID = 0Bh DS880F4 CS4207 Response Format: Bits 6.4.4 Type Default Description 31:3 Read Only 0 Reserved 2 Read Only 0b AC-3 (AC3): AC-3 data is not supported. 1 Read Only 0b Float32 (FLT32): Float32 formatted data is not supported on this widget. 0 Read Only 1b Pulse Code Modulation (PCM): PCM formatted data is supported on this widget. Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Response Format: 6.4.5 Reserved Output Amplifier Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F00h Parameter ID = 12h Type Default Description Response Format: Bits DS880F4 Mute Capable (MC): This widget supports mute. 31 Read Only 1b 30:23 Read Only 00000000b Reserved 22:16 Read Only 0000001b Step Size (SS): Indicates that the size of each amplifier's step gain is 0.5 dB. 15 Read Only 0b 14:8 Read Only 1111111b 7 Read Only 0b 6:0 Read Only 1110011b Reserved Number of Steps (NOS): Indicates there are 128 gain steps; Attenuation range is from +6 dB to -57.5 dB in 0.5 dB steps. Reserved Offset (OFST): Indicates that if "1110011b" is programmed into the Amplified Gain Control, it would result in a gain of 0 dB. 47 CS4207 6.4.6 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = 705h Payload = xxh Response Format: Bits Type Default 31:11 Read Only 00000h Description Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see Section 4.6 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See Section 4.4 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 48 DS880F4 CS4207 6.4.7 Converter Stream, Channel Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = F06h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = 706h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:4 Read/Write 3:0 6.4.8 Read/Write Description Reserved 0h Stream Number (SN): This field is written by software to indicate the stream number used by the Output Converter. "0h" is stream 0, "1h" is stream 1, etc. By convention, stream 0 is reserved and unused so that converter whose stream number has been reset to "0h" does not unintentionally decode data not intended for them. 0h Lowest Channel Number (LCN): This field is written by software to indicate the lowest channel used by the Output Converter. The stereo converter will use this LCN value plus 1 for its left and right channel. Converter Format Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = Ah Payload = 0000h Set Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = 2h Payload = xxxxh 49 CS4207 Response Format: Bits [15:0] must be programmed with the same value programmed into the Stream Descriptor, so that the data format being transmitted on the link matches what is expected by the consumer of the data. If the TYPE is set to Non-PCM, the controller pushes data over the link and is not concerned with formatting. The base rate, data type, and number of Words (MULT) to send each valid frame are specified to control the rate at which the non-PCM data is sent. Bits Type Default 31:16 Read Only 0000h Reserved 15 Read/Write 0b Stream Type (TYPE): If TYPE is non-zero, the other bits in the format structure have other meanings. 0: PCM 1: Non-PCM 14 Read/Write 0b Sample Base Rate (BASE): 0 = 48 kHz 1 = 44.1 kHz 13:11 Read/Write 000b Sample Base Rate Multiple (MULT): 000 = 48 kHz/44.1 kHz or less 001 = x2 (96 kHz, 88.2 kHz, 32 kHz) 010 = x3 (144 kHz) 011 = x4 (192 kHz, 176.4 kHz) 100-111 = Reserved Sample Base Rate Divisor (DIV): 000 = Divide by 1 (48 kHz, 44.1 kHz) 001 = Divide by 2 (24 kHz, 22.05 kHz) 010 = Divide by 3 (16 kHz, 32 kHz) 011 = Divide by 4 (11.025 kHz) 100 = Divide by 5 (9.6 kHz) 101 = Divide by 6 (8 kHz) 110 = Divide by 7 111 = Divide by 8 (6 kHz) 10:8 Read/Write 000b 7 Read Only 0b 6:4 3:0 50 Description Read/Write Read/Write Reserved 000b Bits per Sample (BITS): Bits in each sample: 000 = 8 bits. The data will be packed in memory in 8-bit containers on 16-bit boundaries. 001 = 16 bits. The data will be packed in memory in 16-bit containers on 16-bit boundaries. 010 = 20 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 011 = 24 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 100 = 32 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 101-111 = Reserved 0000b Number of Channels (CHAN): Number of channels in each frame of the stream: 0000 = 1 0001 = 2 ... 1111 = 16 DS880F4 CS4207 6.4.9 Amplifier Gain/Mute Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = Bh Payload = xxxxh Bits [19:16] = `Bh', where bits [15:0] are defined below: Bits [15:0] Value Description 15 1b Get Output/Input (GOI): This bit controls whether the request is for the input amplifier or the output amplifier. When `1', the output amplifier is being requested. When `0', the input amplifier is being requested. 14 0b `0'b 13 xb Get Left/Right (GLR): This bit controls whether the request is for the left channel amplifier or the right channel amplifier. When `1', the left channel amplifier is being requested. When `0', the right channel amplifier is being requested. 12:4 000000000b 3:0 0000b Reserved Index (IDX): This field specifies the input index of the amplifier setting to return if the widget has multiple input amplifiers. It is only applicable if "Get Output/Input" is `0' which indicates input amplifier is being requested. This field has no meaning and ignored since the widget does not have multiple input amplifiers. It should be always `0's. Response Format: Bits 31:8 Type Read Only Default 000000h 7 Read Only 1b 6:0 Read Only 1110011b Description Reserved Amplifier Mute (AM): This bit returns the Mute setting for the amplifier requested. A 1 indicates the amplifier is in the Mute condition. If the amplifier requested does not exist, a `0' will be returned. Default equals Muted. Amplifier Gain (AG): This field returns the Gain setting for the amplifier requested. If the amplifier requested does not exist, all `0's will be returned Default equals 0 dB. Set Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DAC1 Node ID=02h DAC2 Node ID=03h DAC3 Node ID=04h Verb ID = 3h Payload = xxxxh 51 CS4207 Bits [19:16] = `3h', where bits [15:0] are defined below: Bits Type Default Description 15 Write Only xb Set Output Amplifier (SOA): Determines if the value programmed refers to the output amplifier. Set to a 1 for the value to be accepted. 0b Set Input Amplifier (SIA): Determines if the value programmed refers to the input amplifier. This bit should always be `0' since an input amplifier is not present on this widget. xb Set Left Amplifier (SLA): Selects the left channel (channel 0). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. Set Right Amplifier (SRA): Selects the right channel (channel 1). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. 14 13 52 Write Only Write Only 12 Write Only xb 11:8 Write Only 0000b 7 Write Only xb 6:0 Write Only xxxxxxxb Index (IDX): This field is used when programming the input amplifiers on Selector Widgets and Sum Widgets. This field is ignored. Mute (MUTE): When `1', the Mute is active. When `0', the Mute is inactive. Gain (GAIN): Specifies the amplifier gain in dB. DS880F4 CS4207 6.5 ADC1, ADC2 Input Converter Widgets (Node ID = 05h, 06h) 6.5.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 09h Response Format: DS880F4 Bits Type Default 31:24 Read Only 00h Reserved Description 23:20 Read Only 1h Type (TYP): Audio Input Converter Widget 19:16 Read Only 8h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 1b Format Override (FO): This bit is a `1' to indicate that the widget contains format information, and the "Supported Formats" and "Supported PCM Bits, Rates" should be queried for the widget's format capabilities. 3 Read Only 1b Amplifier Parameter Override (APO): This widget contains its own amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Is `0' as it is irrelevant to this Audio Input Converter widget. 1 Read Only 1b Input Amplifier Present (IAP): Input amplifier is present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. 53 CS4207 6.5.2 Supported PCM Size, Rates Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 0Ah Type Default Description 31:21 Read Only 00000000000b 20 Read Only 1b 32-Bit (32B): 32-bit audio format is supported. 19 Read Only 1b 24-Bit (24B): 24-bit audio format is supported. 18 Read Only 1b 20-Bit (20B): 20-bit audio format is supported. Response Format: Bits 6.5.3 Reserved 17 Read Only 1b 16-Bit (16B): 16-bit audio format is supported. 16 Read Only 0b 8-Bit (8B): 8-bit audio format is not supported. 15:12 Read Only 0h Reserved 11 Read Only 0b Rate-12 (R12): 384 kHz (48*8) rate is not supported. 10 Read Only 0b Rate-11 (R11): 192.0 kHz (48*4) rate is not supported. 9 Read Only 0b Rate-10 (R10): 176.4 kHz (44.1*4) rate is not supported. 8 Read Only 1b Rate-9 (R9): 96.0 kHz (48*2) rate is supported. 7 Read Only 1b Rate-8 (R8): 88.2 kHz (44.1*2) rate is supported. 6 Read Only 1b Rate-7 (R7): 48.0 kHz rate is supported. 5 Read Only 1b Rate-6 (R6): 44.1 kHz rate is supported. 4 Read Only 1b Rate-5 (R5): 32.0 kHz (48*2/3) rate is supported. 3 Read Only 0b Rate-4 (R4): 22.05 kHz (44.1/2) rate is not supported. 2 Read Only 1b Rate-3 (R3): 16.0 kHz (48/3) rate is supported 1 Read Only 0b Rate-2 (R2): 11.025 kHz (44.1/4) rate is not supported. 0 Read Only 1b Rate-1 (R1): 8.0 kHz (48/6) rate is supported. Supported Stream Formats Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 0Bh Type Default Description Response Format: Bits 54 31:3 Read Only 0 Reserved 2 Read Only 0b AC-3 (AC3): AC-3 data is not supported. 1 Read Only 0b Float32 (FLT32): Float32 formatted data is not supported on this widget. 0 Read Only 1b Pulse Code Modulation (PCM): PCM formatted data is supported on this widget. DS880F4 CS4207 6.5.4 Input Amplifier Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 0Dh Response Format: Bits Type Default 31 Read Only 1b 30:23 Read Only 00000000b 22:16 Read Only 0000011b 15 Read Only 0b Description Mute Capable (MC): Supports muting. Reserved Step Size (SS): Indicates that the size of each amplifier's step gain is 1.0 dB. Reserved Number of Steps (NOS): There are 64 gain steps; Gain range is from +12 dB to -51 dB in 1.0 dB steps. 14:8 Read Only 0111111b If analog input pin widget is selected as input source, then the range of +12 dB to -12 dB is from analog PGA and the range of -13 dB to -51 dB is digital volume control. If the digital mic input pin widget is selected as the input source, then the entire gain range from +12 dB to -51 dB is digital volume control. 6.5.5 7 Read Only 0b 6:0 Read Only 0110011b Reserved Offset (OFST): Indicates that if "0110011b" is programmed into the Amplified Gain Control, it would result in a gain of 0 dB. Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 0Eh Type Default Description 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000010b Response Format: Bits DS880F4 Reserved Long Form (LF): Connection list is short form. Connection List Length (CLL): Two selectable inputs are possible for this widget. 55 CS4207 6.5.6 Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended Response Format: power states. 6.5.7 30:4 Read Only 0000000h 3 Read Only 1b Reserved 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. ADC1 Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 05h Verb ID = F02h Payload = N = xxh Type Default Response Format: Bits 6.5.8 Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 12h Connection List Entry (N+1): Returns 12h (Digital Mic In 2) for N=00h-03h. Returns 00h for N>03h. 7:0 Read Only 0Ch Connection List Entry (N): Returns 0Ch (Line In 1) for N=00h-03h. Returns 00h for N>03h. ADC1 Connection Select Control Get Parameter Command Format: Bits [31:28] CAd = X Bits [27:20] Node ID = 05h Bits [19:8] Verb ID = F01h Bits [7:0] Payload = 00h Bits [19:8] Verb ID = 701h Bits [7:0] Payload = xxh Set Parameter Command Format: Bits [31:28] CAd = X 56 Bits [27:20] Node ID = 05h DS880F4 CS4207 Response Format: 6.5.9 Bits 31:8 Type Read Only Default 000000h 7:0 Read/Write 00h Description Reserved Connection Index Value: For a Get command, this field specifies the current connection index. The field is written by software to indicate the connection index value to be set. 00h: Line In 1 (NID=0Ch) 01h: Digital Mic In 2 (NID=12h) ADC2 Connection List Entry Get Parameter Command Format: Bits [31:28] CAd = X Bits [27:20] Node ID = 06h Bits [19:8] Verb ID = F02h Bits Type Default 31:24 Read Only 00h 23:16 Read Only 00h 15:8 Read Only 0Eh 7:0 Read Only 0Dh Bits [7:0] Payload = N = xxh Response Format: Description Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. Connection List Entry (N+1): Returns 0Eh (Digital Mic In 1) for N=00h-03h. Returns 00h for N>03h Connection List Entry (N): Returns 0Dh (Mic In 1) for N=00h-03h. Returns 00h for N>03h. 6.5.10 ADC2 Connection Select Control Get Parameter Command Format: Bits [31:28] CAd = X Bits [27:20] Node ID = 06h Bits [19:8] Verb ID = F01h Bits [7:0] Payload = 00h Bits [27:20] Node ID = 06h Bits [19:8] Verb ID = 701h Bits [7:0] Payload = xxh Bits 31:8 Type Read Only Default 000000h Description 7:0 Read/Write 00h Set Parameter Command Format: Bits [31:28] CAd = X Response Format: DS880F4 Reserved Connection Index Value: For a Get command, this field specifies the current connection index. The field is written by software to indicate the connection index value to be set. 00h: Mic In 1 (NID=0Dh) 01h: Digital Mic In 1 (NID=0Eh) 57 CS4207 6.5.11 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = 705h Payload = xxh Bits Type Default Description 31:11 Read Only 00000h Response Format: Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 58 DS880F4 CS4207 6.5.12 Converter Stream, Channel Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = F06h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = 706h Payload = xxh Bits Type Default Description 31:8 Read Only 000000h Response Format: 7:4 Read/Write 3:0 Read/Write Reserved 0h Stream Number (SN): This field is written by software to indicate the stream number used by the Input Converter. "0h" is stream 0, "1h" is stream 1, etc. By convention, stream 0 is reserved and unused so that converter whose stream number has been reset to "0h" does not unintentionally decode data not intended for them. 0h Lowest Channel Number (LCN): This field is written by software to indicate the lowest channel used by the Input Converter. The stereo converter will use this LCN value plus 1 for its left and right channel. 6.5.13 Converter Format Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = Ah Payload = 0000h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = 2h Payload = xxxxh Response Format: Bits [15:0] must be programmed by software with the same value programmed into the Stream Descriptor, so that the data format being transmitted on the link matches what is expected by the consumer of the data. DS880F4 59 CS4207 If the TYPE is set to Non-PCM, the controller pushes data over the link and is not concerned with formatting. The base rate, data type, and number of Words (MULT) to send each valid frame are specified to control the rate at which the non-PCM data is sent. Bits Type Default 31:16 Read Only 0000h Reserved 15 Read/Write 0b Stream Type (TYPE): If TYPE is non-zero, the other bits in the format structure have other meanings. 0: PCM 1: Non-PCM 14 Read/Write 0b Sample Base Rate (BASE): 0 = 48 kHz 1 = 44.1 kHz 13:11 Read/Write 000b Sample Base Rate Multiple (MULT): 000 = 48 kHz/44.1 kHz or less 001 = x2 (96 kHz, 88.2 kHz, 32 kHz) 010 = x3 (144 kHz) 011 = x4 (192 kHz, 176.4 kHz) 100-111 = Reserved Sample Base Rate Divisor (DIV): 000 = Divide by 1 (48 kHz, 44.1 kHz) 001 = Divide by 2 (24 kHz, 22.05 kHz) 010 = Divide by 3 (16 kHz, 32 kHz) 011 = Divide by 4 (11.025 kHz) 100 = Divide by 5 (9.6 kHz) 101 = Divide by 6 (8 kHz) 110 = Divide by 7 111 = Divide by 8 (6 kHz) 10:8 Read/Write 000b 7 Read Only 0b 6:4 3:0 60 Description Read/Write Read/Write Reserved 000b Bits per Sample (BITS): Number of bits in each sample: 000 = 8 bits. The data will be packed in memory in 8-bit containers on 16-bit boundaries. 001 = 16 bits. The data will be packed in memory in 16-bit containers on 16-bit boundaries. 010 = 20 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 011 = 24 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 100 = 32 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 101-111 = Reserved 0000b Number of Channels (CHAN): Number of channels in each frame of the stream: 0000 = 1 0001 = 2 ... 1111 = 16 DS880F4 CS4207 6.5.14 Amplifier Gain/Mute Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = Bh Payload = xxxxh Bits [19:16] = `Bh', where bits [15:0] are defined below: Bits [15:0] Value Description 15 0b Get Output/Input (GOI): Controls whether the request is for the input amplifier or the output amplifier. When `0', the input amplifier is being requested. When `1', the output amplifier is being requested. 14 0b `0'b 13 xb Get Left/Right (GLR): This bit controls whether the request is for the left channel amplifier or the right channel amplifier. When `1', the left channel amplifier is being requested. When `0', the right channel amplifier is being requested. 12:4 000000000b 3:0 0000b Reserved Index (IDX): This field specifies the input index of the amplifier setting to return if the widget has multiple input amplifiers. It is only applicable if "Get Output/Input" is `0' which indicates input amplifier is being requested. This field has no meaning and ignored since the widget does not have multiple input amplifiers. It should be always `0's. Response Format: Bits Type Default 31:8 Read Only 000000h 7 6:0 Read Only Read Only Description Reserved 1b Amplifier Mute (AM): This bit returns the Mute setting for the amplifier requested. A 1 indicates the amplifier is in the Mute condition. If the amplifier requested does not exist, a `0' will be returned. Default equals Muted. 0110011b Amplifier Gain (AG): This field returns the Gain setting for the amplifier requested. If the amplifier requested does not exist, all `0's will be returned Default equals 0 dB. Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X ADC1 Node ID=05h ADC2 Node ID=06h Verb ID = 3h Payload = xxxxh Bits [19:16] = `3h', where bits [15:0] are defined below: DS880F4 Bits Type Default Description 15 Write Only 0b Set Output Amplifier (SOA): Bit is always `0' since an output amplifier is not present. 14 Write Only xb Set Input Amplifier (SIA): Determines if the value programmed refers to the input amplifier. Set to a 1 for the value to be accepted. 61 CS4207 Bits 13 62 Type Write Only Default Description xb Set Left Amplifier (SLA): Selects the left channel (channel 0). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. Set Right Amplifier (SRA): Selects the right channel (channel 1). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. 12 Write Only xb 11:8 Write Only 0000b 7 Write Only xb 6:0 Write Only xxxxxxxb Index (IDX): This field is used when programming the input amplifiers on Selector Widgets and Sum Widgets. This field is ignored. Mute (MUTE): When `1', the Mute is active. When `0', the Mute is inactive. Gain (GAIN): Specifies the amplifier gain in dB. DS880F4 CS4207 6.6 S/PDIF Receiver Input Converter Widget (Node ID = 07h) 6.6.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F00h Parameter ID = 09h Bits Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 1h Type (TYP): Audio Input Converter Widget 19:16 Read Only 8h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 1b Digital (DIG): Widget is a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 1b Unsolicited Capable (UC): Unsolicited Response is supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. Response Format: DS880F4 4 Read Only 1b Format Override (FO): This bit is a `1' to indicate that the widget contains format information, and the "Supported Formats" and "Supported PCM Bits, Rates" should be queried for the widget's format capabilities. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. 63 CS4207 6.6.2 Supported PCM Size, Rates Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F00h Parameter ID = 0Ah Response Format: 6.6.3 Bits Type Default 31:21 Read Only 00000000000b Description Reserved 20 Read Only 1b 32-Bit (32B): 32-bit audio format is supported. 19 Read Only 1b 24-Bit (24B): 24-bit audio format is supported. 18 Read Only 1b 20-Bit (20B): 20-bit audio format is supported. 17 Read Only 1b 16-Bit (16B): 16-bit audio format is supported. 16 Read Only 0b 8-Bit (8B): 8-bit audio format is not supported. 15:12 Read Only 0h Reserved 11 Read Only 0b Rate-12 (R12): 384 kHz (48*8) rate is not supported. 10 Read Only 1b Rate-11 (R11): 192.0 kHz (48*4) rate is supported. 9 Read Only 0b Rate-10 (R10): 176.4 kHz (44.1*4) rate is not supported. 8 Read Only 1b Rate-9 (R9): 96.0 kHz (48*2) rate is supported. 7 Read Only 0b Rate-8 (R8): 88.2 kHz (44.1*2) rate is not supported. 6 Read Only 1b Rate-7 (R7): 48.0 kHz rate is supported. 5 Read Only 1b Rate-6 (R6): 44.1 kHz rate is supported. 4 Read Only 1b Rate-5 (R5): 32.0 kHz (48*2/3) rate is supported. 3 Read Only 0b Rate-4 (R4): 22.05 kHz (44.1/2) rate is not supported. 2 Read Only 0b Rate-3 (R3): 16.0 kHz (48/3) rate is not supported 1 Read Only 0b Rate-2 (R2): 11.025 kHz (44.1/4) rate is not supported. 0 Read Only 0b Rate-1 (R1): 8.0 kHz (48/6) rate is not supported. Supported Stream Formats Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F00h Parameter ID = 0Bh Bits 31:3 2 Type Read Only Read Only Default 0 1b 1 Read Only 0b 0 Read Only 1b Description Reserved AC-3 (AC3): AC-3 data is supported. Float32 (FLT32): Float32 formatted data is not supported on this widget. Pulse Code Modulation (PCM): PCM formatted data is supported on this widget. Response Format: 64 DS880F4 CS4207 6.6.4 Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F00h Parameter ID = 0Eh Response Format: 6.6.5 Bits Type Default 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000001b Description Reserved Long Form (LF): Connection list is short form. Connection List Length (CLL): One hard-wired input is possible for this widget. Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. Response Format: 6.6.6 Reserved 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F02h Payload = N = xxh Type Default Response Format: Bits DS880F4 Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 0Fh Connection List Entry (N): Returns 0Fh (S/PDIF RX) for N=00h-03h. Returns 00h for N>03h. 65 CS4207 6.6.7 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = 705h Payload = xxh Response Format: Bits Type Default 31:11 Read Only 00000h Description Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 66 DS880F4 CS4207 6.6.8 Converter Stream, Channel Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F06h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = 706h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:4 3:0 6.6.9 Read/Write Read/Write Description Reserved 0h Stream Number (SN): Indicates the stream number used by the Input Converter. "0h" is stream 0, "1h" is stream 1, etc. By convention, stream 0 is reserved and unused so that converter whose stream number has been reset to "0h" does not unintentionally decode data not intended for them. 0h Lowest Channel Number (LCN): Indicates the lowest channel used by the Input Converter. The stereo converter will use this LCN value plus 1 for its left and right channel. Converter Format Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Node ID = 07h Verb ID = Ah Payload = 0000h Bits [19:16] Verb ID = 2h Bits [15:0] Payload = xxxxh Set Parameter Command Format: Bits [31:28] CAd = X Bits [27:20] Node ID = 07h Response Format: Bits [15:0] must be programmed by software with the same value programmed into the Stream Descriptor, so that the data format being transmitted on the link matches what is expected by the consumer of the data. If the TYPE is set to Non-PCM, the controller pushes data over the link and is not concerned with formatting. The base rate, data type, and number of Words (MULT) to send each valid frame are specified to control the rate at which the non-PCM data is sent. DS880F4 Bits 31:16 Type Read Only Default 0000h 15 Read/Write 0b Description Reserved Stream Type (TYPE): If TYPE is non-zero, the other bits in the format structure have other meanings. 0: PCM 1: Non-PCM 67 CS4207 68 Bits Type Default 14 Read/Write 0b 13:11 Read/Write 000b 10:8 Read/Write 000b 7 Read Only 0b 6:4 Read/Write 000b 3:0 Read/Write 0000b Description Sample Base Rate (BASE): 0 = 48 kHz 1 = 44.1 kHz Sample Base Rate Multiple (MULT): 000 = 48 kHz/44.1 kHz or less 001 = x2 (96 kHz, 88.2 kHz, 32 kHz) 010 = x3 (144 kHz) 011 = x4 (192 kHz, 176.4 kHz) 100-111 = Reserved Sample Base Rate Divisor (DIV): 000 = Divide by 1 (48 kHz, 44.1 kHz) 001 = Divide by 2 (24 kHz, 22.05 kHz) 010 = Divide by 3 (16 kHz, 32 kHz) 011 = Divide by 4 (11.025 kHz) 100 = Divide by 5 (9.6 kHz) 101 = Divide by 6 (8 kHz) 110 = Divide by 7 111 = Divide by 8 (6 kHz) Reserved Bits per Sample (BITS): Number of bits in each sample: 000 = 8 bits. The data will be packed in memory in 8-bit containers on 16-bit boundaries. 001 = 16 bits. The data will be packed in memory in 16-bit containers on 16-bit boundaries. 010 = 20 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 011 = 24 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 100 = 32 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 101-111 = Reserved Number of Channels (CHAN): Number of channels in each frame of the stream: 0000 = 1 0001 = 2 ... 1111 = 16 DS880F4 CS4207 6.6.10 Digital Converter Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 07h Verb ID = F0Dh/** Payload = 00h Bits [7:0] ** Note: Address F0Eh is not supported. Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 07h Verb ID = 70Dh Payload = xxh (SIC bits [7:0]) CAd = X Node ID = 07h Verb ID = 70Eh Payload = xxh (SIC bits [15:8]) Response Format: The S/PDIF IEC Control (SIC) bits are supported in one of two ways. In the first case referred to as "Codec Formatted SPDIF," on an input PCM stream of less than 32 bits, the codec strips off the SIC bits before transferring the samples to the system and puts them in the Digital Converter Control for later software access. In the second case, referred to as "Software Formatted (or Raw) SPDIF," on a 32-bit input stream, the entire stream is transferred into the system without the codec stripping any bits. However, the codec must properly interpret the Sync Preamble bits of the stream and then send the appropriately coded preamble. The IEC 60958 specification, Section 4.3, "Preambles," defines the preambles and the coding to be used. Software will specify the "B," "M," or "W" (also known as "X," "Y," or "Z") preambles by encoding the last four bits of the preamble into the Sync Preamble section (bits 0-3) of the frame. The codec must examine the bits specified and encode the proper preamble based on the previous state. The previous state is to be maintained by the codec hardware. Bits Type Default 31:16 Read Only 0000h Reserved 15 Read Only 0b Reserved 14:8 Read Only 0000000b CC[6:0] (Category Code): Programmed according to IEC standards, or as appropriate. 7 Read Only 0b L (Generation Level): Programmed according to IEC standards, or as appropriate. 6 Read Only 0b PRO (Professional): 1 indicates Professional use of channel status; 0 indicates Consumer. 5 Read Only 0b /AUDIO (Non-Audio): 1 indicates data is nonPCM format; 0 indicates data is PCM. 4 Read Only 1b COPY (Copyright): 1 indicates copyright is asserted; 0 indicates copyright is not asserted. 3 Read Only 1b PRE (Pre-emphasis): 1 indicates filter preemphasis is 50/15 us; 0 pre-emphasis is none. 2 Read Only 0b VCFG (Validity Config.): This bit is only defined for Output Converters and is Reserved, with a Read Only value of 0 for Input Converters. 1 Read Only 0b V (Validity): This bit reflects the "Validity flag," transmitted in each subframe. 0b DigEn (Digital Enable): Enables or disables digital transmission. A 1 indicates that the digital data can pass through the node. A 0 indicates that the digital data is blocked from passing through the node, regardless of the state. 0 DS880F4 Read/Write Description 69 CS4207 6.7 6.7.1 S/PDIF Transmitter 1, S/PDIF Transmitter 2 Output Converter Widgets (Node ID = 08h, 14h) Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 0h Type (TYP): Audio Output Converter Widget 19:16 Read Only 4h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 1b Digital (DIG): Widget is a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. Response Format: Bits 70 4 Read Only 1b Format Override (FO): This bit is a `1' to indicate that the widget contains format information, and the "Supported Formats" and "Supported PCM Bits, Rates" should be queried for the widget's format capabilities. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. DS880F4 CS4207 6.7.2 Supported PCM Size, Rates Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F00h Parameter ID = 0Ah Bits Type Default Description 31:21 Read Only 00000000000b 20 Read Only 1b 32-Bit (32B): 32-bit audio format is supported. 19 Read Only 1b 24-Bit (24B): 24-bit audio format is supported. 18 Read Only 1b 20-Bit (20B): 20-bit audio format is supported. 17 Read Only 1b 16-Bit (16B): 16-bit audio format is supported. Response Format: DS880F4 Reserved 16 Read Only 0b 8-Bit (8B): 8-bit audio format is not supported. 15:12 Read Only 0h Reserved 11 Read Only 0b Rate-12 (R12): 384 kHz (48*8) rate is not supported. 10 Read Only 1b Rate-11 (R11): 192.0 kHz (48*4) rate is supported. 9 Read Only 1b Rate-10 (R10): 176.4 kHz (44.1*4) rate is supported. 8 Read Only 1b Rate-9 (R9): 96.0 kHz (48*2) rate is supported. 7 Read Only 1b Rate-8 (R8): 88.2 kHz (44.1*2) rate is supported. 6 Read Only 1b Rate-7 (R7): 48.0 kHz rate is supported. 5 Read Only 1b Rate-6 (R6): 44.1 kHz rate is supported. 4 Read Only 1b Rate-5 (R5): 32.0 kHz (48*2/3) rate is supported. 3 Read Only 0b Rate-4 (R4): 22.05 kHz (44.1/2) rate is not supported. 2 Read Only 0b Rate-3 (R3): 16.0 kHz (48/3) rate is not supported 1 Read Only 0b Rate-2 (R2): 11.025 kHz (44.1/4) rate is not supported. 0 Read Only 0b Rate-1 (R1): 8.0 kHz (48/6) rate is not supported. 71 CS4207 6.7.3 Supported Stream Formats Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F00h Parameter ID = 0Bh Bits Type Default Description 31:3 Read Only 0 Reserved 2 Read Only 1b AC-3 (AC3): AC-3 data is supported. 1 Read Only 0b Float32 (FLT32): Float32 formatted data is not supported on this widget. 0 Read Only 1b Pulse Code Modulation (PCM): PCM formatted data is supported on this widget. Response Format: 6.7.4 Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Response Format: 6.7.5 Reserved Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F05h Payload = 00h Set Parameter Command Format: 72 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = 705h Payload = xxh DS880F4 CS4207 Response Format: Bits Type Default 31:11 Read Only 00000h Description Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). DS880F4 73 CS4207 6.7.6 Converter Stream, Channel Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F06h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = 706h Payload = xxh Bits 31:8 Type Read Only Default 000000h 7:4 Read/Write 0h 3:0 Read/Write 0h Description Reserved Stream Number (SN): Indicates the stream number used by the Output Converter. "0h" is stream 0, "1h" is stream 1, etc. By convention, stream 0 is reserved and unused so that converter whose stream number has been reset to "0h" does not unintentionally decode data not intended for them. Lowest Channel Number (LCN): Indicates the lowest channel used by the Output Converter. The stereo converter will use this LCN value plus 1 for its left and right channel. Response Format: 6.7.7 Converter Format Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = Ah Payload = 0000h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = 2h Payload = xxxxh Response Format: Bits [15:0] must be programmed by software with the same value programmed into the Stream Descriptor, so that the data format being transmitted on the link matches what is expected by the consumer of the data. If the TYPE is set to Non-PCM, the controller pushes data over the link and is not concerned with formatting. The base rate, data type, and number of Words (MULT) to send each valid frame are specified to control the rate at which the non-PCM data is sent. 74 DS880F4 CS4207 Bits Type Default 31:16 Read Only 0000h Reserved 15 Read/Write 0b Stream Type (TYPE): If TYPE is non-zero, the other bits in the format structure have other meanings. 0: PCM 1: Non-PCM 14 Read/Write 0b Sample Base Rate (BASE): 0 = 48 kHz 1 = 44.1 kHz 13:11 Read/Write 000b Sample Base Rate Multiple (MULT): 000 = 48 kHz/44.1 kHz or less 001 = x2 (96 kHz, 88.2 kHz, 32 kHz) 010 = x3 (144 kHz) 011 = x4 (192 kHz, 176.4 kHz) 100-111 = Reserved Sample Base Rate Divisor (DIV): 000 = Divide by 1 (48 kHz, 44.1 kHz) 001 = Divide by 2 (24 kHz, 22.05 kHz) 010 = Divide by 3 (16 kHz, 32 kHz) 011 = Divide by 4 (11.025 kHz) 100 = Divide by 5 (9.6 kHz) 101 = Divide by 6 (8 kHz) 110 = Divide by 7 111 = Divide by 8 (6 kHz) 10:8 Read/Write 000b 7 Read Only 0b 6:4 3:0 DS880F4 Description Read/Write Read/Write Reserved 000b Bits per Sample (BITS): Number of bits in each sample: 000 = 8 bits. The data will be packed in memory in 8-bit containers on 16-bit boundaries. 001 = 16 bits. The data will be packed in memory in 16-bit containers on 16-bit boundaries. 010 = 20 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 011 = 24 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 100 = 32 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries. 101-111 = Reserved 0000b Number of Channels (CHAN): Number of channels in each frame of the stream: 0000 = 1 0001 = 2 ... 1111 = 16 75 CS4207 6.7.8 Digital Converter Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = F0Dh/** Payload = 00h ** Note: Address F0Eh is not supported. Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = 70Dh Payload = xxh (SIC bits [7:0]) CAd = X S/P Tx 1 Node ID=08h S/P Tx 2 Node ID=14h Verb ID = 70Eh Payload = xxh (SIC bits [15:8]) Response Format: The S/PDIF IEC Control (SIC) bits are supported in one of two ways. In the first case referred to as "Codec Formatted SPDIF," if a PCM bit stream of less than 32 bits is specified in the Converter Format control, then the S/PDIF Control bits, including the "V," "PRE," "/AUDIO," and other such bits are embedded in the stream by the codec using the values (SIC bits) from the Digital Converter Control. In the second case referred to as "Software Formatted (or Raw) SPDIF," if a 32-bit stream is specified in the Converter Format control, the S/PDIF IEC Control (SIC) bits are assumed to be embedded in the stream by software, and the raw 32-bit stream is transferred on the link with no modification by the codec. However, the codec must properly interpret the Sync Preamble bits of the stream and then send the appropriately coded preamble. The IEC60958 specification, Section 4.3, "Preambles," defines the preambles and the coding to be used. Software will specify the "B," "M," or "W" (also known as "X," "Y," or "Z") preambles by encoding the last four bits of the preamble into the Sync Preamble section (bits 0-3) of the frame. The codec must examine the bits specified and encode the proper preamble based on the previous state. The previous state is to be maintained by the codec hardware. 76 Bits 31:16 15 Type Read Only Read Only Default 0000h 0b 14:8 Read/Write 0000000b 7 Read/Write 0b 6 Read/Write 0b 5 Read/Write 0b 4 Read/Write 0b 3 Read/Write 0b Description Reserved Reserved CC[6:0] (Category Code): Programmed according to IEC standards, or as appropriate. L (Generation Level): Programmed according to IEC standards, or as appropriate. PRO (Professional): 1 indicates Professional use of channel status; 0 indicates Consumer. /AUDIO (Non-Audio): 1 indicates data is nonPCM format; 0 indicates data is PCM. COPY (Copyright): 1 indicates copyright is asserted; 0 indicates copyright is not asserted. PRE (Pre-emphasis): 1 indicates filter preemphasis is 50/15 s; 0 pre-emphasis is none. DS880F4 CS4207 DS880F4 Bits Type Default 2 Read/Write 0b 1 Read/Write 0b 0 Read/Write 0b Description VCFG (Validity Config.): Determines S/PDIF transmitter behavior when data is not being transmitted. When asserted, this bit forces the de-assertion of the S/PDIF "Validity" flag, which is bit 28 transmitted in each S/PDIF subframe. This bit is only defined for Output Converters and is defined as Reserved, with a Read Only value of 0 for Input Converters. If "V" = 0 and "VCFG"=0, then for each S/PDIF subframe (Left and Right) bit[28] "Validity" flag reflects whether or not an internal codec error has occurred (specifically whether the S/PDIF interface received and transmitted a valid sample from the High Definition Audio Link). If a valid sample (Left or Right) was received and successfully transmitted, the "Validity" flag should be 0 for that subframe. Otherwise, the "Validity" flag for that subframe should be transmitted as "1." If "V" = 0 and "VCFG" = 1, then for each S/PDIF subframe (Left and Right), bit[28] "Validity" flag reflects whether or not an internal codec transmission error has occurred. Specifically, an internal codec error should result in the "Validity" flag being set to 1. In the case where the S/PDIF transmitter is not receiving a sample or does not receive a valid sample from the High Definition Audio Controller (Left or Right), the S/PDIF transmitter should set the S/PDIF "Validity" flag to 0 and pad each of the S/PDIF "Audio Sample Word" in question with 0's for the subframe in question. If a valid sample (Left or Right) was received and successfully transmitted, the "Validity" flag should be 0 for that subframe. If "V" = 1 and "VCFG" = 0, then each S/PDIF subframe (Left and Right) should have bit[28] "Validity" flag = 1. This tags all S/PDIF subframes as invalid. "V" = 1 and "VCFG" = 1 state is reserved for future use. Default state, coming out of reset, for "V" and "VCFG" should be 0 and 0 respectively. V (Validity): This bit affects the "Validity flag," bit[28] transmitted in each subframe, and enables the S/PDIF transmitter to maintain connection during error or mute conditions. The behavior of the S/PDIF transmitter with respect to this bit depends on the value of the "VCFG" bit. DigEn (Digital Enable): Enables or disables digital transmission. A 1 indicates that the digital data can pass through the node. A 0 indicates that the digital data is blocked from passing through the node, regardless of the state. 77 CS4207 6.8 6.8.1 Headphone Pin Widget (Node ID = 09h) Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 1b Unsolicited Capable (UC): Unsolicited Response is supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. Response Format: Bits 6.8.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F00h Parameter ID = 0Ch Response Format: 78 Bits Type Default 31:17 Read Only 0 Reserved Description 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. DS880F4 CS4207 Bits 6.8.3 Type Default Description 15:8 Read Only 00h VREF Control (VREFC): VREF generation is not supported by this widget. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 0b Balanced I/O Pins (BIOP): This widget does not have balanced I/O pins. 5 Read Only 0b Input Capable (INC): Is not input capable. 4 Read Only 1b Output Capable (OUTC): This bit is `1' to indicate that the widget is output capable. 3 Read Only 1b Headphone Drive Capable (HDC): Widget is capable of driving headphones directly. 2 Read Only 1b Presence Detect Capable (PDC): A `1' indicates the widget is capable of performing presence detect. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F00h Parameter ID = 0Eh Type Default Description 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000001b Connection List Length (CLL): One hard-wired input for this widget. Response Format: Bits 6.8.4 Reserved Long Form (LF): Connection list is short form. Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Response Format: DS880F4 Reserved 79 CS4207 6.8.5 Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F02h Payload = N = xxh Bits Type Default Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 02h Connection List Entry (N): Returns 02h (DAC1) for N=00h-03h. Returns 00h for N>03h. Response Format: 6.8.6 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = 705h Payload = xxh Bits Type Default Description 31:11 Read Only 00000h Response Format: 80 Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. DS880F4 CS4207 Bits Type 3:0 Read/Write Default Description 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 6.8.7 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F07h Payload = 00h Set Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = 707h Payload = xxh 81 CS4207 Response Format: Bits Type Default 31:8 Read Only 000000h 7 Reserved 0b H-Phone Enable (HPE): This bit has no effect on the output path. Per HD Audio spec, a `1' enables a low impedance amplifier associated with the output. When `0', this bit disables a low impedance amplifier associated with the output. 6 Read/Write 0b Output Enable (OUTE): This bit has no effect on the output path. Per HD Audio spec, a `1' enables the output path of the Pin Widget. When `0', the output path of the Pin Widget is shut off. 5 Read Only 0b Input Enable (INE): Set to `0' since there is no input path associated with the pin widget. 4:3 Read Only 00b Reserved 000b VREF Enable (VREFE): This field selects one of the possible states for the VREF signal(s). The Pin Widget does not support VREF generation as indicated in the Pin Capabilities. As such, this field will always be "000b" to select Hi-Z state. 2:0 6.8.8 Read/Write Description Read Only Unsolicited Response Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F08h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = 708h Payload = xxh Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Function Group Reset: Bits Type Default 31:8 Read Only 000000h 7 Read/Write 0b Enable: Controls the actual generation of Unsolicited Responses. 1 is enable; 0 is disable. 6 Read Only 0b Reserved 5:0 Read/Write 000000b Description Reserved Tag: Is a 6 bit value assigned and used by software to determine what codec node generated the unsolicited response. The value programmed into the Tag field is returned in the top 6 bits (31:26) of every Unsolicited Response generated by this node. Unsolicited Response Format: 82 Bits [31:26] Bits [25:0] Tag Response DS880F4 CS4207 6.8.9 Pin Sense Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F09h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = 709h Payload = xxh Type Default Description Get Response Format: Bits 31 Read Only 0b Presence Detect (PDET): A `1' indicates that something is plugged into the jack associated with the Pin Widget. A `0' indicates that nothing is plugged in. 30:0 Read Only 0 Impedance Sense (IMPS): Not valid since the widget is not capable of impedance sensing. Pin Sense Execute Format: Bits Type Default 7:1 Write Only 0000000b 0 Write Only 0b Description Reserved Right Channel (RCHAN): A write to this bit is ignored since the widget is not capable of impedance sensing. 6.8.10 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 09h Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 09h Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 09h Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 09h Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 09h Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: DS880F4 83 CS4207 Bits [31:0] are sticky and will not be reset by a Link Reset or a CODEC Reset: 84 Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000010b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Front. 23:20 Read/Write 2h Default Device (DD): Indicates the intended use of the connection is for Headphone. 19:16 Read/Write 1h Connection Type (CTYP): Indicates the type of physical connection is 1/8" jack. 15:12 Read/Write 4h Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Green. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. DS880F4 CS4207 6.9 Line Out 1 Pin Widget (Node ID = 0Ah) 6.9.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F00h Parameter ID = 09h Bits Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 1b Unsolicited Capable (UC): Unsolicited Response is supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. Response Format: DS880F4 85 CS4207 6.9.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved Response Format: 6.9.3 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 00h VREF Control (VREFC): VREF generation is not supported by this widget. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 1b Balanced I/O Pins (BIOP): This widget has balanced I/O pins. 5 Read Only 0b Input Capable (INC): The widget is not input capable. 4 Read Only 1b Output Capable (OUTC): This bit is `1' to indicate that the widget is output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. 2 Read Only 1b Presence Detect Capable (PDC): This bit is `1' to indicate that the widget is capable of performing presence detect. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F00h Parameter ID = 0Eh Response Format: 86 Bits Type Default 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000001b Description Reserved Long Form (LF): Connection list is short form. Connection List Length (CLL): One hard-wired input for this widget. DS880F4 CS4207 6.9.4 Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Response Format: 6.9.5 Reserved Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F02h Payload = N = xxh Type Default Response Format: Bits 6.9.6 Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 03h Connection List Entry (N): Returns 03h (DAC2) for N=00h-03h. Returns 00h for N>03h. Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F05h Payload = 00h Set Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = 705h Payload = xxh 87 CS4207 Response Format: Bits Type Default 31:11 Read Only 00000h Description Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 6.9.7 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F07h Payload = 00h Set Parameter Command Format: 88 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = 707h Payload = xxh DS880F4 CS4207 Response Format: Bits Type Default 31:8 Read Only 000000h 7 Read Only 0b H-Phone Enable (HPE): Set to `0' since there is no low impedance amplifier associated with this pin widget. Reserved 6 Read/Write 0b Output Enable (OUTE): This bit has no effect on the output path. Per HD Audio spec, a `1' enables the output path of the Pin Widget. When `0', the output path of the Pin Widget is shut off. 5 Read Only 0b Input Enable (INE): Set to `0' since there is no input path associated with the pin widget. 4:3 Read Only 00b Reserved 000b VREF Enable (VREFE): The Pin Widget does not support VREF generation as indicated in the Pin Capabilities. As such, this field should always be "000b" to select the Hi-Z state. 2:0 6.9.8 Description Read Only Unsolicited Response Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F08h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = 708h Payload = xxh Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Function Group Reset: Bits Type Default 31:8 Read Only 000000h 7 Read/Write 0b Enable: Controls the actual generation of Unsolicited Responses. 1 is enable; 0 is disable. 6 Read Only 0b Reserved 5:0 Read/Write 000000b Description Reserved Tag: Is a 6 bit value assigned and used by software to determine what codec node generated the unsolicited response. The value programmed into the Tag field is returned in the top 6 bits (31:26) of every Unsolicited Response generated by this node. Unsolicited Response Format: DS880F4 Bits [31:26] Bits [25:0] Tag Response 89 CS4207 6.9.9 Pin Sense Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F09h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = 709h Payload = xxh Type Default Description Get Response Format: Bits 31 Read Only 0b Presence Detect (PDET): A `1' indicates that there is "something" plugged into the jack associated with the Pin Widget. A `0' indicates that nothing is plugged in. 30:0 Read Only 0 Impedance Sense (IMPS): Not valid since the widget is not capable of impedance sensing. Pin Sense Execute Format: Bits Type Default 7:1 Write Only 0000000b 0 Write Only 0b Description Reserved Right Channel (RCHAN): A write to this bit is ignored since the widget is not capable of impedance sensing. 6.9.10 EAPD/BTL Enable Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F0Ch Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = 70Ch Payload = xxh Get Response Format: Bits Type Default 31:3 Read Only 0 Reserved 2 Read Only 0b L-R Swap: Not valid since the widget is not capable of left/right swapping. 1 Read Only 0b EAPD: EAPD is not supported by this pin widget. 0b BTL: controls the output configuration of a Pin Widget which has indicated support for balanced I/O (bit 6, Pin Capabilities Parameter). When this bit is 0, the output drivers are configured in normal, single-ended mode; when this bit is 1, they are configured in balanced mode. 0 90 Read/Write Description DS880F4 CS4207 6.9.11 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ah Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 0Ah Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Ah Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Ah Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Ah Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: DS880F4 Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000001b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Rear. 23:20 Read/Write 0h Default Device (DD): Indicates the intended use of the connection is for Line Out. 19:16 Read/Write 1h Connection Type (CTYP): Indicates the type of physical connection is 1/8" jack. 15:12 Read/Write 4h Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Green. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. 91 CS4207 6.10 Line Out 2 Pin Widget (Node ID = 0Bh) 6.10.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 0b Power Control (PC): Power State control is not supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. Response Format: Bits 92 DS880F4 CS4207 6.10.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 00h VREF Control (VREFC): VREF generation is not supported by this widget. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 1b Balanced I/O Pins (BIOP): This widget has balanced I/O pins. 5 Read Only 0b Input Capable (INC): The widget is not input capable. 4 Read Only 1b Output Capable (OUTC): This bit is `1' to indicate that the widget is output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. Response Format: 2 Read Only 0b Presence Detect Capable (PDC): This bit is `0' to indicate that the widget is not capable of performing presence detect to determine whether there is anything plugged in. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. 6.10.3 Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F00h Parameter ID = 0Eh Bits Type Default Description 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000001b Response Format: DS880F4 Reserved Long Form (LF): Connection list is short form. Connection List Length (CLL): One hard-wired input for this widget. 93 CS4207 6.10.4 Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F02h Payload = N = xxh Bits Type Default Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 04h Connection List Entry (N): Returns 04h (DAC3) for N=00h-03h. Returns 00h for N>03h. Response Format: 6.10.5 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = 707h Payload = xxh Bits Type Default Description 31:8 Read Only 000000h 7 Read Only 0b H-Phone Enable (HPE): Set to `0' since there is no low impedance amplifier associated with this pin widget. Response Format: 6 Read/Write 0b Output Enable (OUTE): This bit has no effect on the output path. Per HD Audio spec, a `1' enables the output path of the Pin Widget. When `0', the output path of the Pin Widget is shut off. 5 Read Only 0b Input Enable (INE): Set to `0' since there is no input path associated with the pin widget. 4:3 Read Only 00b Reserved 000b VREF Enable (VREFE): The Pin Widget does not support VREF generation as indicated in the Pin Capabilities. As such, this field should always be "000b" to select the Hi-Z state. 2:0 94 Reserved Read Only DS880F4 CS4207 6.10.6 EAPD/BTL Enable Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F0Ch Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = 70Ch Payload = xxh Get Response Format: Bits Type Default 31:3 Read Only 0 Reserved 2 Read Only 0b L-R Swap: Not valid since the widget is not capable of left/right swapping. 1 Read Only 0b EAPD: EAPD is not supported by this pin widget. 0b BTL: controls the output configuration of a Pin Widget which has indicated support for balanced I/O (bit 6, Pin Capabilities Parameter). When this bit is 0, the output drivers are configured in normal, single-ended mode; when this bit is 1, they are configured in balanced mode. 0 DS880F4 Read/Write Description 95 CS4207 6.10.7 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Bh Verb ID = F1Ch Payload = 00h Bits [19:8] Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] CAd = X Node ID = 0Bh Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Bh Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Bh Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Bh Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: 96 Bits Type Default Description 31:30 Read/Write 10b Port Connectivity (PCON): The port complex is connected to a fixed function device. 29:24 Read/Write 010000b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to Internal | N/A. 23:20 Read/Write 1h Default Device (DD): Indicates the intended use of the connection is for Speaker. 19:16 Read/Write 7h Connection Type (CTYP): Indicates the type of physical connection is Other Analog. 15:12 Read/Write 0h Color (COL): This field indicates the color of the physical jack for use by software. The color for an internal connection is Unknown. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. DS880F4 CS4207 6.11 Line In 1/Mic In 2, Mic In 1/Line In 2 Pin Widgets (Node ID = 0Ch, 0Dh) 6.11.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F00h Parameter ID = 09h Response Format: 6.11.2 Bits Type Default 31:24 Read Only 00h Reserved Description 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 1b Unsolicited Capable (UC): Unsolicited Response is supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 1b Amplifier Parameter Override (APO): This widget contains its own amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 1b Input Amplifier Present (IAP): Input amplifier is present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. Line In 1/Mic In 2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ch Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. Response Format: DS880F4 97 CS4207 Bits 6.11.3 Type Default Description 15:8 Read Only 00h VREF Control (VREFC): VREF generation is not supported by this widget. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 0b Balanced I/O Pins (BIOP): This widget does not have balanced I/O pins. 5 Read Only 1b Input Capable (INC): Widget is input capable. 4 Read Only 0b Output Capable (OUTC): Widget is not output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. 2 Read Only 1b Presence Detect Capable (PDC): This bit is `1' to indicate that the widget is capable of performing presence detect to determine whether there is anything plugged in. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. Mic In 1/Line In 2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved Response Format: 98 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 17h VREF Control (VREFC): VREF generation is supported by this widget. Ground/80%/50%/Hi-Z are supported. 100% is not supported. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 1b Balanced I/O Pins (BIOP): This widget has balanced I/O pins. 5 Read Only 1b Input Capable (INC): Widget is input capable. 4 Read Only 0b Output Capable (OUTC): Widget is not output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. 2 Read Only 1b Presence Detect Capable (PDC): This bit is `1' to indicate that the widget is capable of performing presence detect to determine whether there is anything plugged in. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. DS880F4 CS4207 Bits 0 6.11.4 Type Read Only Default Description 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. Input Amplifier Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F00h Parameter ID = 0Dh Bits Type Default 31 Read Only 0b 30:23 Read Only 00000000b 22:16 Read Only 0100111b 15 Read Only 0b 14:8 Read Only 0000011b 7 Read Only 0b 6:0 Read Only 0000000b Response Format: 6.11.5 Description Mute Capable (MC): Does not support mute. Reserved Step Size (SS): Indicates that the size of each amplifier's step gain is 10 dB. Reserved Number of Steps (NOS): There are 4 gain steps; 0 dB, +10 dB, +20 dB, and +30 dB. Reserved Offset (OFST): Indicates that if "0000000b" is programmed into the Amplified Gain Control, it would result in a gain of 0 dB. Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended power states. 30:4 Read Only 0000000h 3 Read Only 1b 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. Response Format: 6.11.6 Reserved Power States Get Parameter Command Format: DS880F4 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F05h Payload = 00h 99 CS4207 Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = 705h Payload = xxh Bits Type Default Description 31:11 Read Only 00000h Response Format: Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 100 DS880F4 CS4207 6.11.7 Line In 1/Mic In 2 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ch Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ch Verb ID = 707h Payload = xxh Bits 31:8 Type Read Only Default 000000h 7 Read Only 0b 6 Read Only 0b 5 Read/Write 0b 4:3 Read Only 00b 2:0 Read Only 000b Description Reserved H-Phone Enable (HPE): Not supported on this widget. Output Enable (OUTE): Not supported on this widget. Input Enable (INE): This bit has no effect on the input path. Per HD Audio Spec, when `1', this bit enables the input path of the Pin Widget. When `0', the input path of the Pin Widget is shut off. Reserved VREF Enable (VREFE): Not supported on this widget. Response Format: 6.11.8 Mic In 1/Line In 2 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = 707h Payload = xxh Bits Type Default Description 31:8 Read Only 000000h 7 Read Only 0b H-Phone Enable (HPE): Not supported on this widget. 6 Read/Write 0b Output Enable (OUTE): Not supported on this widget. Used by WHQL test to set VREFE = Hi-Z mode. Response Format: DS880F4 Reserved 5 Read/Write 0b Input Enable (INE): This bit has no effect on the input path. Per HD Audio Spec., when `1', this bit enables the input path of the Pin Widget. When set to `0', the input path of the Pin Widget will continue to operate. 4:3 Read Only 00b Reserved 101 CS4207 Bits 2:0 6.11.9 Type Read/Write Default Description 000b VREF Enable (VREFE): This field selects one of the possible states for the VREF signal(s). The pin associated with this function is MICBIAS. If the value written to this control does not correspond to a supported value (`000'b, `001'b, `010'b or `100'b), the VREFE bits must retain the previous value. `000'b = Hi-Z `001'b = 0.5*VA `010'b = GND `100'b = 0.8*VA Unsolicited Response Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F08h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = 708h Payload = xxh Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: Bits 31:8 Type Read Only Default 000000h 7 Read/Write 0b 6 Read Only 0b 5:0 Read/Write 000000b Description Reserved Enable: Controls the actual generation of Unsolicited Responses. 1 is enable; 0 is disable. Reserved Tag: Is a 6 bit value assigned and used by software to determine what codec node generated the unsolicited response. The value programmed into the Tag field is returned in the top 6 bits (31:26) of every Unsolicited Response generated by this node. Unsolicited Response Format: 102 Bits [31:26] Bits [25:0] Tag Response DS880F4 CS4207 6.11.10 Pin Sense Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = F09h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = 709h Payload = xxh Default Description Get Response Format: Bits Type 31 Read Only 0b Presence Detect (PDET): A `1' indicates that there is "something" plugged into the jack associated with the Pin Widget. A `0' indicates that nothing is plugged in. 30:0 Read Only 0 Impedance Sense (IMPS): Not valid since the widget is not capable of impedance sensing. Pin Sense Execute Format: Bits Type Default 7:1 Write Only 0000000b 0 DS880F4 Write Only 0b Description Reserved Right Channel (RCHAN): A write to this bit is ignored since the widget is not capable of impedance sensing. 103 CS4207 6.11.11 Mic In 1/Line In 2 EAPD/BTL Enable Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = F0Ch Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = 70Ch Payload = xxh Get Response Format: Bits Type Default 31:3 Read Only 0 Reserved 2 Read Only 0b L-R Swap: Not valid since the widget is not capable of left/right swapping. 1 Read Only 0b EAPD: Not supported on this widget. 0b BTL: controls the input configuration of a Pin Widget which has indicated support for balanced I/O (bit 6, Pin Capabilities Parameter). When this bit is 0, the inputs are configured in single-ended or pseudo-differential mode; when this bit is 1, they are configured in balanced (fully differential) mode. Note: This bit is OR'ed with the ADC2 Gain bit in the ADC Configuration (CIR = 0002h) Register of the Vendor Processing Widget (Node ID = 11h). 0 Read/Write Description 6.11.12 Line In 1/Mic In 2 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ch Verb ID = F1Ch Payload = 00h Set Parameter Command Format: 104 Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Ch Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Ch Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Ch Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Ch Verb ID = 71Fh Payload = xxh (Config bits [31:24]) DS880F4 CS4207 Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: Bits Type Default 31:30 Read/Write 00b 29:24 Read/Write 000001b 23:20 Read/Write 8h 19:16 Read/Write 1h 15:12 Read/Write 3h 11:8 Read/Write 0h 7:4 Read/Write 5h 3:0 Read/Write 1h Description Port Connectivity (PCON): The port complex is connected to a jack. Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Rear. Default Device (DD): Indicates the intended use of the connection is for Line In. Connection Type (CTYP): Indicates the type of physical connection is 1/8" jack. Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Blue. Miscellaneous (MISC): No PDC override. Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. Sequence (SEQ): This field indicates the order of the jacks in the association group. 6.11.13 Mic In 1/Line In 2 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Dh Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 0Dh Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Dh Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Dh Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Dh Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: DS880F4 105 CS4207 Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000001b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Rear. 23:20 Read/Write Ah Default Device (DD): Indicates the intended use of the connection is for Mic In. 19:16 Read/Write 1h Connection Type (CTYP): Indicates the type of physical connection is 1/8" jack. 15:12 Read/Write 9h Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Pink. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write 3h Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 1h Sequence (SEQ): This field indicates the order of the jacks in the association group. 6.11.14 Amplifier Gain/Mute Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = Bh Payload = xxxxh Bits [19:16] = `Bh', where bits [15:0] are defined below: Bits [15:0] Value Description 15 0b Get Output/Input (GOI): This bit controls whether the request is for the input amplifier or the output amplifier. When `1', the output amplifier is being requested. When `0', the input amplifier is being requested. 14 0b `0'b 13 xb Get Left/Right (GLR): This bit controls whether the request is for the left channel amplifier or the right channel amplifier. When `1', the left channel amplifier is being requested. When `0', the right channel amplifier is being requested. 12:4 000000000b 3:0 106 0000b Reserved Index (IDX): This field specifies the input index of the amplifier setting to return if the widget has multiple input amplifiers. This field has no meaning and ignored since the widget does not have multiple input amplifiers. It should be always `0's. DS880F4 CS4207 Response Format: Bits Type Default 31:8 Read Only 000000h 7 Read Only 0b Amplifier Mute (AM): Mute is not supported by this widget. 0000000b Amplifier Gain (AG): This field returns the Gain setting for the amplifier requested. If the amplifier requested does not exist, all `0's will be returned. Default equals 0 dB. 6:0 Read Only Description Reserved Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Line In 1 Node ID=0Ch Mic In 1 Node ID=0Dh Verb ID = 3h Payload = xxxxh Bits [19:16] = `3h', where bits [15:0] are defined below: Bits 15 14 13 Write Only Write Only Write Only Default Description 0b Set Output Amplifier (SOA): This bit determines whether the value programmed refers to the output amplifier. This bit should always be `0' since an output amplifier is not present on this widget. xb Set Input Amplifier (SIA): This bit determines whether the value programmed refers to the input amplifier. Set to a 1 for the value to be accepted. xb Set Left Amplifier (SLA): Selects the left channel (channel 0). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. Set Right Amplifier (SRA): Selects the right channel (channel 1). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. 12 Write Only xb 11:8 Write Only 0000b Index (IDX): This field is used when programming the input amplifiers on Selector Widgets and Sum Widgets. This field is ignored. 7 Write Only 0b Mute (MUTE): When `0', the Mute is inactive. This field is ignored. 6:0 DS880F4 Type Write Only xxxxxxxb Gain (GAIN): Specifies the amplifier gain in dB. xxxxx00b = 0 dB xxxxx01b = +10 dB xxxxx10b = +20 dB xxxxx11b = +30 dB Bits(6:2) are not used and are ignored. 107 CS4207 6.12 Digital Mic In 1, Digital Mic In 2 Pin Widgets (Node ID = 0Eh, 12h) 6.12.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = F00h Parameter ID = 09h Response Format: 108 Bits Type Default 31:24 Read Only 00h Reserved Description 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 0b Power Control (PC): Power State control is not supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 1b Amplifier Parameter Override (APO): This widget contains its own amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 1b Input Amplifier Present (IAP): Input amplifier is present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. DS880F4 CS4207 6.12.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 00h VREF Control (VREFC): VREF not supported. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 0b Balanced I/O Pins (BIOP): This widget does not have balanced I/O pins. 5 Read Only 1b Input Capable (INC): Input capable. 4 Read Only 0b Output Capable (OUTC): Not output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. 2 Read Only 0b Presence Detect Capable (PDC): This bit is `0' to indicate that the widget is not capable of performing presence detect. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. Response Format: 6.12.3 Input Amplifier Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = F00h Parameter ID = 0Dh Type Default Description Response Format: Bits DS880F4 31 Read Only 0b 30:23 Read Only 00000000b 22:16 Read Only 0100111b 15 Read Only 0b 14:8 Read Only 0000010b 7 Read Only 0b 6:0 Read Only 0000000b Mute Capable (MC): Does not support mute. Reserved Step Size (SS): Indicates that the size of each amplifier's step gain is 10 dB. Reserved Number of Steps (NOS): There are 3 gain steps; 0 dB, +10 dB and +20 dB. Reserved Offset (OFST): Indicates that if "0000000b" is programmed into the Amplified Gain Control, it would result in a gain of 0 dB. 109 CS4207 6.12.4 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = 707h Payload = xxh Type Default Description 31:8 Read Only 000000h 7 Read Only 0b H-Phone Enable (HPE): Not supported. 6 Read Only 0b Output Enable (OUTE): Not supported. Response Format: Bits Reserved 5 Read/Write 0b Input Enable (INE): This bit, when set to `1', enables the data path for the corresponding DMIC. When set to `0', the data path is disabled and the corresponding ADC output is muted. 4:3 Read Only 00b Reserved 2:0 Read Only 000b VREF Enable (VREFE): VREF is not supported on this widget. Will always read back `000' 6.12.5 Digital Mic In 1 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Eh Verb ID = F1Ch Payload = 00h Bits [19:8] Bits [7:0] Set Parameter Command Format: Bits [31:28] 110 Bits [27:20] CAd = X Node ID = 0Eh Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Eh Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Eh Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Eh Verb ID = 71Fh Payload = xxh (Config bits [31:24]) DS880F4 CS4207 Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: Bits Type Default Description 31:30 Read/Write 10b Port Connectivity (PCON): The port complex is connected to a fixed function device. 29:24 Read/Write 110111b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to Other | Mobile LidInside. 23:20 Read/Write Dh Default Device (DD): Indicates the intended use of the connection is for Digital In. 19:16 Read/Write 6h Connection Type (CTYP): Indicates the type of physical connection is Other Digital. 15:12 Read/Write 0h Color (COL): This field indicates the color of the physical jack for use by software. The color for an internal connection is Unknown. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write 3h Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write Eh Sequence (SEQ): This field indicates the order of the jacks in the association group. 6.12.6 Digital Mic In 2 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 12h Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 12h Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 12h Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 12h Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 12h Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: DS880F4 111 CS4207 Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: Bits Type Default Description 31:30 Read/Write 10b Port Connectivity (PCON): The port complex is connected to a fixed function device. 29:24 Read/Write 110111b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to Other | Mobile LidInside. 23:20 Read/Write Dh Default Device (DD): Indicates the intended use of the connection is for Digital In. 19:16 Read/Write 6h Connection Type (CTYP): Indicates the type of physical connection is Other Digital. 15:12 Read/Write 0h Color (COL): This field indicates the color of the physical jack for use by software. The color for an internal connection is Unknown. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write 5h Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write Eh Sequence (SEQ): This field indicates the order of the jacks in the association group. 6.12.7 Amplifier Gain/Mute Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = Bh Payload = xxxxh Bits [19:16] = `Bh', where bits [15:0] are defined below: Bits [15:0] Value Description 15 0b Get Output/Input (GOI): This bit controls whether the request is for the input amplifier or the output amplifier. When `1', the output amplifier is being requested. When `0', the input amplifier is being requested. 14 0b `0'b 13 xb Get Left/Right (GLR): This bit controls whether the request is for the left channel amplifier or the right channel amplifier. When `1', the left channel amplifier is being requested. When `0', the right channel amplifier is being requested. 12:4 000000000b 3:0 112 0000b Reserved Index (IDX): This field specifies the input index of the amplifier setting to return if the widget has multiple input amplifiers. This field has no meaning and ignored since the widget does not have multiple input amplifiers. It should be always `0's. DS880F4 CS4207 Response Format: Bits Type Default 31:8 Read Only 000000h 7 Read Only 0b Amplifier Mute (AM): Mute is not supported by this widget. 0000000b Amplifier Gain (AG): This field returns the Gain setting for the amplifier requested. If the amplifier requested does not exist, all `0's will be returned. Default equals 0 dB. 6:0 Read Only Description Reserved Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X DigMic 1 Node ID=0Eh DigMic 2 Node ID=12h Verb ID = 3h Payload = xxxxh Bits [19:16] = `3h', where bits [15:0] are defined below: Bits 15 14 13 Write Only Write Only Write Only Default Description 0b Set Output Amplifier (SOA): This bit determines whether the value programmed refers to the output amplifier. This bit should always be `0' since an output amplifier is not present. xb Set Input Amplifier (SIA): This bit determines whether the value programmed refers to the input amplifier. Set to 1 for the value to be accepted. xb Set Left Amplifier (SLA): Selects the left channel (channel 0). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. Set Right Amplifier (SRA): Selects the right channel (channel 1). A 1 indicates that the relevant amplifier should accept the value being set. If both bits are set, both amplifiers are set. 12 Write Only xb 11:8 Write Only 0000b Index (IDX): This field is used when programming the input amplifiers on Selector Widgets and Sum Widgets. This field is ignored. 7 Write Only 0b Mute (MUTE): When `0', the Mute is inactive. This field is ignored. 6:0 DS880F4 Type Write Only xxxxxxxb Gain (GAIN): Specifies the amplifier gain in dB. xxxxx00b = 0 dB xxxxx01b = +10 dB xxxxx10b = +20 dB xxxxx11b = not used Bits(6:2) are not used and are ignored. 113 CS4207 6.13 S/PDIF Receiver Input Pin Widget (Node ID = 0Fh) 6.13.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 1b Power Control (PC): Power State control is supported on this widget. 9 Read Only 1b Digital (DIG): Widget is a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 1b Unsolicited Capable (UC): Unsolicited Response is supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. Response Format: Bits 114 DS880F4 CS4207 6.13.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 00h VREF Control (VREFC): VREF not supported. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 0b Balanced I/O Pins (BIOP): This widget does not have balanced I/O pins. 5 Read Only 1b Input Capable (INC): Widget is input capable. 4 Read Only 0b Output Capable (OUTC): Is not output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. 2 Read Only 1b Presence Detect Capable (PDC): This bit is `1' to indicate that the widget is capable of performing presence detect. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): A `0' indicates that the widget does not support impedance sense on the attached peripheral. Response Format: 6.13.3 Supported Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F00h Parameter ID = 0Fh Bits Type Default Description 31 Read Only 1b EPSS: Converter widget supports extended Response Format: power states. DS880F4 30:4 Read Only 0000000h 3 Read Only 1b Reserved 2 Read Only 0b D3Sup: D3hot operation is supported. D2Sup: D2 operation is not supported. 1 Read Only 0b D1Sup: D1 operation is not supported. 0 Read Only 1b D0Sup: D0 operation is supported. 115 CS4207 6.13.4 Power States Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F05h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = 705h Payload = xxh Response Format: Bits Type Default 31:11 Read Only 00000h Description Reserved 10 Read Only 1b Power State Settings Reset (PS-SettingsReset): This bit is set to `1'b when, during any type of reset or low power state transition, the settings within this widget that were changed from the defaults, either by software or hardware, have been reset back to their default state. When these settings have not been reset, this is reported as `0'b. This bit is always a `1'b following a POR condition. For more information, see "Power State Settings Reset (PS-SettingsReset)" on p 28 9 Read Only 0b Reserved 8 Read Only 0b Power State Error (PS-Error): This bit is not supported and will always return `0'b when read. 7:4 Read Only 0011b Power State Actual (PS-Act): This field indicates the actual power state of the referenced node. The default state is D3. 0011b Power State Set (PS-Set): Writes to these bits set the Audio Function Group to the Power State as described below: PSS = '0000'b; D0 - Fully on. PSS = `0001'b; D1 - Not Supported PSS = `0010'b; D2 - Not Supported PSS = `0011'b; D3 - Allows for lowest possible power consumption under software control. See "D3 Lower Power State Support" on page 26 for more information. PSS = `0100'b; D4 - Not Supported 3:0 Read/Write PS-Set is a PowerState field which defines the current power setting of the referenced node. Since this node is of type other than an Audio Function Group node, the actual power state is a function of both this setting and the PowerState setting of the Audio Function Group node under which this node was enumerated (is controlled). PS-Act is a PowerState field which indicates the actual power state of this node. Within the Audio Function Group node, this field will always be equal to the PS-Set field (modulo the time required to execute a power state transition). Within this type of node, this field will be the lower power consuming state of either a) the PS-Set field of the currently referenced node or b) the PS-Set field of the Audio Function Group node under which the currently referenced node was enumerated (is controlled). 116 DS880F4 CS4207 6.13.5 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = 707h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h Description 7 Read Only 0b H-Phone Enable (HPE): Not supported on this widget. 6 Read Only 0b Output Enable (OUTE): Not supported on this widget. Reserved 5 Read/Write 0b Input Enable (INE): This bit has no effect on the input path. Per HD Audio Spec., when `1', this bit enables the input path of the Pin Widget. When `0', the input path of the Pin Widget is shut off. 4:3 Read Only 00b Reserved 2:0 Read Only 000b VREF Enable (VREFE): VREF is not supported on this widget. These bits are ignored and always report `000'. 6.13.6 Unsolicited Response Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F08h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = 708h Payload = xxh Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Function Group Reset: DS880F4 Bits Type Default 31:8 Read Only 000000h Description 7 Read/Write 0b Enable: Determines if a change in receiver lock status will generate an Unsolicited Response (0 = No, 1 = Yes). If enabled, and the lock status changes from "LOCK" to "UNLOCK" or "UNLOCK" to "LOCK", an unsolicited response will be sent. The default value after cold or register reset for this register (0b) specifying no unsolicited response. 6 Read Only 0b Reserved Reserved 117 CS4207 Bits Type Default Description 5:0 Read/Write 000000b Tag: Is a 6-bit value assigned and used by software to determine what codec node generated the unsolicited response. The value programmed into the Tag field is returned in the top 6 bits (31:26) of every Unsolicited Response generated by this node. Unsolicited Response Format: Bits [31:26] Bits [25:0] Tag Response 6.13.7 Pin Sense Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F09h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = 709h Payload = xxh Type Default Description Get Response Format: Bits 31 Read Only 0b Presence Detect (PDET): A `1' indicates that there is "something" plugged into the jack associated with the Pin Widget. A `0' indicates that nothing is plugged in. 30:0 Read Only 0 Impedance Sense (IMPS): Not valid since the widget is not capable of impedance sensing. Pin Sense Execute Format: 118 Bits Type Default 7:1 Write Only 0000000b 0 Write Only 0b Description Reserved Right Channel (RCHAN): A write to this bit is ignored since the widget is not capable of impedance sensing. DS880F4 CS4207 6.13.8 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 0Fh Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 0Fh Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 0Fh Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 0Fh Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 0Fh Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: DS880F4 Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000010b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Front. 23:20 Read/Write Ch Default Device (DD): Indicates the intended use of the connection is for S/PDIF In. 19:16 Read/Write 4h Connection Type (CTYP): Indicates the type of physical connection is RCA jack. 15:12 Read/Write Eh Color (COL): This field indicates the color of the physical jack for use by software. The color selected is White. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. 119 CS4207 6.14 S/PDIF Transmitter 1, S/PDIF Transmitter 2 Output Pin Widgets (Node ID = 10h, 15h) 6.14.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=10h S/P Tx 2 Node ID=15h Verb ID = F00h Parameter ID = 09h Response Format: 120 Bits Type Default 31:24 Read Only 00h Reserved Description 23:20 Read Only 4h Type (TYP): Pin Complex Widget 19:16 Read Only 1h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 0b Power Control (PC): Power State control is not supported on this widget. 9 Read Only 1b Digital (DIG): Widget is a digital widget. 8 Read Only 1b Connection List (CL): A connection list is present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Output amplifier is not present for this widget. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 1b Stereo (ST): A 1 indicates a stereo widget. DS880F4 CS4207 6.14.2 Pin Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=10h S/P Tx 2 Node ID=15h Verb ID = F00h Parameter ID = 0Ch Bits Type Default Description 31:17 Read Only 0 Reserved 16 Read Only 0b EAPD Capable (EAPDC): This widget does not support EAPD. 15:8 Read Only 00h VREF Control (VREFC): VREF not supported. 7 Read Only 0b HDMI Capable (HDMIC): This widget is not capable of supporting HDMI. 6 Read Only 0b Balanced I/O Pins (BIOP): This widget does not have balanced I/O pins. 5 Read Only 0b Input Capable (INC): Widget is not input capable. 4 Read Only 1b Output Capable (OUTC): This bit is `1' to indicate that the widget is output capable. 3 Read Only 0b Headphone Drive Capable (HDC): Widget is not capable of driving headphones directly. Response Format: 2 Read Only 0b Presence Detect Capable (PDC): This bit is `0' to indicate that the widget is not capable of performing presence detect to determine whether there is anything plugged in. 1 Read Only 0b Trigger Required (TR): Trigger is not required for an impedance measurement. 0 Read Only 0b Impedance Sense Capable (ISC): This bit is `0' to indicate that the widget does not support impedance sense on the attached peripheral. 6.14.3 Connection List Length Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=10h S/P Tx 2 Node ID=15h Verb ID = F00h Parameter ID = 0Eh Type Default Description 31:8 Read Only 000000h 7 Read Only 0b 6:0 Read Only 0000001b Response Format: Bits DS880F4 Reserved Long Form (LF): Connection list is short form. Connection List Length (CLL): One hard-wired input for this widget. 121 CS4207 6.14.4 S/PDIF Transmitter 1 Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 10h Verb ID = F02h Payload = N = xxh Bits Type Default Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 08h Connection List Entry (N): Returns 08h (S/PDIF Out 1) for N=00h-03h. Returns 00h for N>03h. Response Format: 6.14.5 S/PDIF Transmitter 2 Connection List Entry Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 15h Verb ID = F02h Payload = N = xxh Bits Type Default Description 31:24 Read Only 00h Connection List Entry (N+3): Returns 00h for N=00h-03h or N>03h. 23:16 Read Only 00h Connection List Entry (N+2): Returns 00h for N=00h-03h or N>03h. 15:8 Read Only 00h Connection List Entry (N+1): Returns 00h for N=00h-03h or N>03h. 7:0 Read Only 14h Connection List Entry (N): Returns 14h (S/PDIF Out 2) for N=00h-03h. Returns 00h for N>03h. Response Format: 122 DS880F4 CS4207 6.14.6 Pin Widget Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=10h S/P Tx 2 Node ID=15h Verb ID = F07h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X S/P Tx 1 Node ID=10h S/P Tx 2 Node ID=15h Verb ID = 707h Payload = xxh Type Default Description 31:8 Read Only 000000h 7 Read Only 0b H-Phone Enable (HPE): Not supported. Response Format: Bits 6 Read/Write 0b Output Enable (OUTE): This bit has no effect on the output path. Per HD Audio Spec., when `1', this bit enables the output path of the Pin Widget. When `0', the output path is shut off. 5 Read Only 0b Input Enable (INE): Set to `0' since there is no input path associated with the pin widget. 4:3 Read Only 00b Reserved 000b VREF Enable (VREFE): The Pin Widget does not support VREF generation as indicated in the Pin Capabilities. As such, this field should always be "000b" to select the Hi-Z state. 2:0 DS880F4 Reserved Read Only 123 CS4207 6.14.7 S/PDIF Transmitter 1 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 10h Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 10h Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 10h Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 10h Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 10h Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: 124 Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000001b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Rear. 23:20 Read/Write 4h Default Device (DD): Indicates the intended use of the connection is for S/PDIF Out. 19:16 Read/Write 4h Connection Type (CTYP): Indicates the type of physical connection is RCA jack. 15:12 Read/Write 6h Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Orange. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. DS880F4 CS4207 6.14.8 S/PDIF Transmitter 2 Configuration Default The Configuration Default register is used by software as an aid in determining the configuration of jacks and devices attached to the codec. At the time the codec is first powered on, this register is internally loaded with default values indicating the typical system use of this particular pin/jack. After this initial loading, it is completely codec opaque, and its state, including any software writes into the register, must be preserved across reset events such as Link Reset or Codec Reset (the Function Reset Verb). Its state need not be preserved across power level changes. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 15h Verb ID = F1Ch Payload = 00h Bits [7:0] Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] CAd = X Node ID = 15h Verb ID = 71Ch Payload = xxh (Config bits [7:0]) CAd = X Node ID = 15h Verb ID = 71Dh Payload = xxh (Config bits [15:8]) CAd = X Node ID = 15h Verb ID = 71Eh Payload = xxh (Config bits [23:16]) CAd = X Node ID = 15h Verb ID = 71Fh Payload = xxh (Config bits [31:24]) Response Format: Bits [31:0] are sticky and will not be reset by a Link Reset or a Codec Reset: DS880F4 Bits Type Default Description 31:30 Read/Write 00b Port Connectivity (PCON): The port complex is connected to a jack. 29:24 Read/Write 000001b Location (LOC): This field indicates the physical location of the jack or device to which the pin complex is connected. Set to External | Rear. 23:20 Read/Write 4h Default Device (DD): Indicates the intended use of the connection is for S/PDIF Out. 19:16 Read/Write 5h Connection Type (CTYP): Indicates the type of physical connection is Optical jack. 15:12 Read/Write 1h Color (COL): This field indicates the color of the physical jack for use by software. The color selected is Black. 11:8 Read/Write 0h Miscellaneous (MISC): No PDC override. 7:4 Read/Write Fh Default Association (DA): This field is used by software to group Pin Complex (and therefore jacks) together into functional blocks to support multichannel operation. All jacks with the same association number may be assumed to be grouped together. A value of all `0's is reserved. A value of all `1's in this field indicates that the Association has the lowest priority. 3:0 Read/Write 0h Sequence (SEQ): This field indicates the order of the jacks in the association group. 125 CS4207 6.15 Vendor Processing Widget (Node ID = 11h) 6.15.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 11h Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only Fh Type (TYP): Vendor Defined Widget 19:16 Read Only 0h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 0b Power Control (PC): Power State control is not supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 0b Connection List (CL): Connection list is not present. 7 Read Only 0b Unsolicited Capable (UC): Not supported. 6 Read Only 1b Processing Widget (PW): Widget does contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): Set to `0' to indicate that the widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Not present. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 0b Stereo (ST): A 0 indicates not supported. Response Format: Bits 6.15.2 Processing Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 11h Verb ID = F00h Parameter ID = 10h Bits Type Default Description 31:16 Read Only 0000h 15:8 Read Only 16h 7:1 Read Only 0000000b 0 Read Only 0b Response Format: 126 Reserved NumCoeff: Number of coefficients. There are a total of 22 registers. Reserved Benign: This processing widget is not linear and time invariant. DS880F4 CS4207 6.15.3 Processing State Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 11h Verb ID = F03h Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 11h Verb ID = 703h Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:0 Read/Write 00h Description Reserved HDA Defined Processing State: Writes to these bits set the Widget to the processing state as described below: '00'h; Processing Off. '01'h; Processing On. '02'h; Processing Benign. Benign state is not supported. Will be treated as "Processing Off". '03'h - `7F'h; - Reserved 6.15.4 Coefficient Index The Coefficient Index is a zero-based index into the processing coefficient list which will be either read or written using the Processing Coefficient control. When the coefficient has been read or written to, the Coefficient Index will automatically increment by one so that the next Set Processing Coefficient verb will load the coefficient into the next slot. The auto-increment feature can be disabled by setting the Disable Coefficient Index Auto-Increment bit in the DAC Configuration (CIR = 0003h) register. The auto-increment feature will "wrap around" at a Coefficient Index value of 04h, that is an index of 04h will be auto-incremented to an index of 00h. If Coefficient Index is set to be greater than the number of "slots" in the processing coefficient list, unpredictable behavior will result if an attempt is made to Get or Set the processing coefficient. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Node ID = 11h Verb ID = Dh Payload = 0000h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Node ID = 11h Verb ID = 5h Payload = xxxxh Type Default Description 31:16 Read Only 0000h Reserved 15:0 Read/Write 0000h Index n: Coefficient Index value. Response Format: Bits DS880F4 127 CS4207 6.15.5 Processing Coefficient Processing Coefficient loads the value n into the widget's coefficient array at the index determined by the Coefficient Index control. When the coefficient has been read or written to, the Coefficient Index will automatically increment by one so that the next Set Processing Coefficient verb will load the coefficient into the next slot. Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Node ID = 11h Verb ID = Ch Payload = 0000h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:16] Bits [15:0] CAd = X Node ID = 11h Verb ID = 4h Payload = xxxxh Response Format: Bits Type Default 31:16 Read Only 0000h Reserved Description 15:0 Read/Write 0000h Value n: The value n of the 16 bit coefficient to set. 6.15.6 Coefficient Registers Processing Coefficient loads the 16-bit value n into the widget's coefficient array at the index determined by the Coefficient Index control. When the coefficient has been loaded, the Coefficient Index will automatically increment by one so that the next Set Processing Coefficient verb will load the coefficient into the next slot. Coefficient Index Register Summary: Coefficient Index Register (CIR) 128 Description 0000h S/PDIF RX/TX Interface Status 0001h S/PDIF RX/TX Interface Control 0002h ADC Configuration 0003h DAC Configuration 0004h Beep Configuration DS880F4 CS4207 6.15.6.1 S/PDIF RX/TX Interface Status (CIR = 0000h) Bits Type Default 15:10 Read Only 0 Reserved Description 9 Read Only 0b 192 kHz Recovered Sample Rate - Measured audio sample rate of incoming S/PDIF data. A `1'b indicates a 192 kHz sample rate. 8 Read Only 0b 96 kHz Recovered Sample Rate - Measured audio sample rate of incoming S/PDIF data. A `1'b indicates a 96 kHz sample rate. 7 Read Only 0b 48 kHz Recovered Sample Rate - Measured audio sample rate of incoming S/PDIF data. A `1'b indicates a 48 kHz sample rate. 6 Read Only 0b 44.1 kHz Recovered Sample Rate - Measured audio sample rate of incoming S/PDIF data.A `1'b indicates a 44.1 kHz sample rate. 5 Read Only 0b 32 kHz Recovered Sample Rate - Measured audio sample rate of incoming S/PDIF data. A `1'b indicates a 32 kHz sample rate. CCRC - Channel Status Block Cyclic Redundancy Check bit. Updated on CS block boundaries, valid only in Pro mode. This bit will go 4 Read Only 0b high on occurrence of the error, and will stay high until the register is read. Reading the register resets this bit to 0, unless the error condition is still true. 0 - No error. 1 - Error. BIP - Bi-phase error bit. Updated on sub-frame boundaries. This bit will go high on occur- 3 Read Only 0b rence of the error, and will stay high until the register is read. Reading the register resets this bit to 0, unless the error condition is still true. 0 - No error. 1 - Bi-phase error. This indicates an error in the received bi-phase coding. PAR - Parity bit. Updated on sub-frame boundaries. This bit will go high on occurrence of 2 Read Only 0b the error, and will stay high until the register is read. Reading the register resets this bit to 0, unless the error condition is still true. 0 - No error. 1 - Parity error. 1 0 DS880F4 Read Only Read Only 0b SPUL - S/PDIF Receiver Unlock Indicator 1 - The receiver is unlocked or has transition-ed from lock to unlock since the last read. 0 - The receiver is locked and has not transitioned from lock to unlock since the last read. 0b SPL - S/PDIF Receiver Lock Indicator 1 - The receiver is locked or has transition-ed from unlock to lock since the last read. 0 - The receiver is unlocked and has not transition-ed from unlock to lock since the last read. 129 CS4207 6.15.6.2 S/PDIF RX/TX Interface Control (CIR = 0001h) Bits Type Default 15 Read Only 0b Reserved 14 Read/Write 0b TX 2 Enable: Routes S/PDIF Transmitter 2 to the GPIO1/DMIC_SDA2/SPDIF_OUT2 pin. 0 - The pin functions as GPIO1 or DMIC_SDA2, according to DMIC2 Enable. 1 - The pin functions as SPDIF_OUT2, regardless of DMIC2 Enable. 13 Read/Write 0b Reserved 12 Read/Write 0b TX 2 Raw Data Mode: Enables AES3 Direct Mode. In this mode, a direct copy of the received NRZ data from the HD Audio bus is sent to S/PDIF transmitter 2. 0 - Normal S/PDIF TX 2 Data Mode. 1 - Enable Raw S/PDIF TX 2 Data Mode. 11 Read/Write 0b RX To TX 2 Loopthru: This bit is used to enable an internal loop through from the S/PDIF RX to S/PDIF TX 2. The path is a straight digital mux from input to output. No re-clocking is performed. 0 - Do not loop S/PDIF RX to S/PDIF TX 2. 1 - Enable S/PDIF RX to S/PDIF TX 2 loopthru. 10 130 Description RX A/B Chnl Status Select: Specifies the channel from which to extract the channel status bits. `0'b - Select channel A status. `1'b - Select channel B status. Read/Write 0b 9:8 Read/Write 00b Reserved 7 Read/Write 0b TX 1 Raw Data Mode: Enables AES3 Direct Mode. In this mode, a direct copy of the received NRZ data from the HD Audio bus is sent to S/PDIF transmitter 1. 0 - Normal S/PDIF TX 1 Data Mode. 1 - Enable Raw S/PDIF TX 1 Data Mode. 6 Read/Write 0b RX Raw Data Mode: Enables AES3 Direct Mode. In this mode, a direct copy of the received NRZ data from the S/PDIF receiver including the C, U, and V bits are transmitted to the HD Audio bus. The time slot occupied by the Z bit is used to indicate the location of the block start. 0 - Normal S/PDIF RX Data Mode. 1 - Enable Raw S/PDIF RX Data Mode. 5 Read/Write 0b RX To TX 1 Loopthru: This bit is used to enable an internal loop through from the S/PDIF RX to S/PDIF TX 1. The path is a straight digital mux from input to output. No re-clocking is performed. 0 - Do not loop S/PDIF RX to S/PDIF TX 1. 1 - Enable S/PDIF RX to S/PDIF TX 1 loopthru. DS880F4 CS4207 Bits 4:3 2 Type Read/Write Read/Write Default Description 01b HOLD[1:0] - Determines how received AES3 audio sample is affected when an receive error occurs. The errors that affect hold behavior are parity, bi-phase and confidence. HOLD has no effect in Raw S/PDIF RX Data Mode. 00 - hold last audio sample. 01 - replace the current audio sample with all zeros (mute). 10 - do not change the received audio sample. 11 - reserved 0b TRUNC - Determines if the audio word length is set according to the incoming channel status data as decoded by the AUX[3:0] bits. The resulting word length in bits is 24 minus AUX[3:0]. The TRUNC function is valid only on PCM audio data. 0 - Incoming data is not truncated. 1 - Incoming data is truncated according to the length specified in the channel status data. TRUNC has no effect on output data if detected as being non-audio. 1 Read/Write 0b SRC_MUTE - When SRC_MUTE is set to `1', the SRC will soft-mute when it loses lock and soft unmute when it regains lock. 0 - Soft mute disabled 1 - Soft mute enabled 0 Read/Write 0b Reserved 6.15.6.3 ADC Configuration (CIR = 0002h) DS880F4 Bits Type Default Description 15 Read/Write 0b URG (Unsolicited Response Gating): This bit allows unsolicited responses to be gated. 0 - Normal propagation of unsolicited responses. 1 - Unsolicited responses are gated if AFG is in D3. 14 Read/Write 0b ADC2 Gain: This bit adjusts the gain of the Mic In 1/Line In 2 path for the given input topology. 0 - 6 dB gain added (pseudo-differential and single-ended mode). 1 - no gain added (fully differential mode). Note: This bit is OR'ed with the BTL bit in the Mic In 1/Line In 2 EAPD/BTL Enable Control. 13 Read/Write 0b ADC1 Gain: This bit adjusts the gain of the Line In 1/Mic In 2 path for the given input topology. 0 - 6 dB gain added (pseudo-differential and single-ended mode). 1 - no gain added (not supported - test only). 131 CS4207 Bits Type Default Description 12:11 Read/Write 00b ADC2 Channel Mode[1:0]: Controls the channel mapping from the ADC2 output to the HDA bus. `00'b - ADC2 left channel is mapped to HDA left channel and ADC2 right channel is mapped HDA right channel (normal mode). `01'b - ADC2 left channel is mapped to both HDA left and right channels. ADC2 right channel is discarded (mono mode). `10'b - ADC2 right channel is mapped to both HDA left and right channels. ADC2 left channel is discarded (alternate mono mode). `11'b - ADC2 left channel is mapped to HDA right channel and ADC2 right channel is mapped to HDA left channel (channel swap mode). 10:9 Read/Write 00b ADC1 Channel Mode[1:0]: Controls the channel mapping from the ADC1 output to the HDA bus. `00'b - ADC1 left channel is mapped to HDA left channel and ADC1 right channel is mapped HDA right channel (normal mode). `01'b - ADC1 left channel is mapped to both HDA left and right channels. ADC1 right channel is discarded (mono mode). `10'b - ADC1 right channel is mapped to both HDA left and right channels. ADC1 left channel is discarded (alternate mono mode). `11'b - ADC1 left channel is mapped to HDA right channel and ADC1 right channel is mapped to HDA left channel (channel swap mode). 8:6 Read/Write 000b Reserved 5 132 Read/Write 0b ADC2 PGA Mode: Sets the topology for the Mic In 1/Line In 2 PGA. 0 - Fully differential or pseudo-differential mode. 1 - Single-ended mode. 4 Read/Write 0b ADC1 PGA Mode: Sets the topology for the Line In 1/Mic In 2 PGA. 0 - Pseudo-differential mode. 1 - Single-ended mode. 3:2 Read/Write 10b ADC2 SZCMode[1:0]: Same function as ADC1. See below. DS880F4 CS4207 Bits Type Default Description ADC1 SZCMode[1:0]: Sets the mode by which analog PGA and digital volume, and muting changes will be implemented. See "Input Amplifier Capabilities" section on page 55 regarding digital and analog volume ranges. `00'b - Immediate Change: When immediate change is selected, all level changes will take effect immediately in one step `01'b - Digital Immediate and Analog Zero Cross: Dictates that signal level changes, both muting and gain/attenuation, will occur immediately for digital volume changes, and on a signal zero crossing for analog volume changes to minimize audible artifacts. The requested level change will occur after a timeout period of 1024/Fs (approx. 21 ms @ Fs = 48 kHz) if the signal does not encounter a zero crossing. 1:0 Read/Write 10b `10'b - Digital Soft Ramp and Analog Soft Ramp: Allows level changes, both muting and gain/attenuation, to be implemented by incrementally ramping at a rate of 1/8 dB per audio sample period for digital volume changes, and at a rate of 1 dB per 8 audio sample periods for analog volume changes. If the analog PGA is being used for +10 dB "boost" function, or the Digital Mic is being used, then the digital soft ramp gain range will be from +12 dB to -51 dB, and analog soft ramp will not be used. `11'b - Digital Soft Ramp and Analog Zero Cross: Allows level changes, both muting and gain/attenuation, to be implemented by incrementally ramping at a rate of 1/8 dB per audio sample period for digital volume changes. Analog volume changes are to be implemented on a signal zero crossing. The requested level change will occur after a timeout period of 1024/Fs (approx. 21 ms @ Fs = 48 kHz) if the signal does not encounter a zero crossing. If the analog PGA is being used for +10 dB "boost" function, or the Digital Mic is being used, then the digital soft ramp gain range will be from +12 dB to -51 dB and analog soft ramp will not be used. Both soft ramp and zero cross are independently monitored and implemented for each channel. DS880F4 133 CS4207 6.15.6.4 DAC Configuration (CIR = 0003h) Bits Type Default 15:13 Read/Write 000b 12 11 134 Read/Write Read/Write Description Reserved 1b Enable DACs High Pass Filter: When set to `1'b, will enable a high pass filter to remove any DC component. `0'b - Disable HPF. `1'b - Enable HPF. 0b Power Down Internal References (PDREF): When set to `1'b, will ramp the internal voltage references down. This should be used prior to removing operating voltages from the codec. `0'b - Normal Operation. `1'b - Power down internal references. Disable Coefficient Index Auto-Increment: Specifies if the Coefficient Index value will be automatically incremented following a read or write operation. Auto increment is supported by Vista OS. `0'b - auto increment coefficient index following a read or write. `1'b - do not auto increment coefficient index following a read or write. 10 Read/Write 0b 9:7 Read/Write 000b Reserved 6 Read/Write 1b Mute DAC Outputs on FIFO Error: Specifies to force a Mute condition if an under-run or over-run condition occurs on the HD Audio FIFO memory. The transition to Mute will occur as per the settings of each of the DACx SZCMode bits. `0'b - Disable Mute DAC Outputs on FIFO Error. `1'b - Enable Mute DAC Outputs on FIFO Error. 5:4 Read/Write 10b DAC3 SZCMode[1:0]: Same function as DAC1. See below. 3:2 Read/Write 10b DAC2 SZCMode[1:0]: Same function as DAC1. See below. DS880F4 CS4207 Bits Type Default Description DAC1 SZCMode[1:0]: Sets the soft ramp and zero crossing detection modes by which volume and muting changes will be implemented. `00'b - Immediate Change: When immediate change is selected, all level changes will take effect immediately in one step `01'b - Zero Cross: Dictates that signal level changes, both muting and gain/attenuation, will occur on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period of 512/Fs (approximately 11 ms @ Fs = 48 kHz) if the signal does not encounter a zero crossing. 1:0 Read/Write 10b `10'b - Soft Ramp: Allows level changes, both muting and gain/attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1/8 dB per audio sample period. `11'b - Soft Ramp on Zero Cross: Dictates that signal level changes, both muting and gain/attenuation, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will occur after a timeout period of 512/Fs (approximately 11 ms @ Fs = 48 kHz) if the signal does not encounter a zero crossing. Both soft ramp and zero cross are independently monitored and implemented for each channel. 6.15.6.5 Beep Configuration (CIR = 0004h) Bits Type Default 15:5 Read Only 0 Reserved 0b DMIC2 Enable: Specifies whether GPIO1 or Digital Mic Interface 2 is enabled. `0'b - GPIO1 enabled, Digital Mic 2 disabled. `1'b - Digital Mic 2 enabled, GPIO1 disabled. 4 DS880F4 Read/Write Description 3 Read/Write 0b DMIC1 Enable: Specifies whether GPIO0 or Digital Mic Interface 1 is enabled. `0'b - GPIO0 enabled, Digital Mic 1 disabled. `1'b - Digital Mic 1 enabled, GPIO0 disabled. 2 Read/Write 1b DAC3 Beep Enable: This bit allows the output from the beep generator to be passed to DAC3. 1 Read/Write 1b DAC2 Beep Enable: This bit allows the output from the beep generator to be passed to DAC2. 0 Read/Write 1b DAC1 Beep Enable: This bit allows the output from the beep generator to be passed to DAC1. 135 CS4207 6.16 Beep Generator Widget (Node ID = 13h) 6.16.1 Audio Widget Capabilities Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 13h Verb ID = F00h Parameter ID = 09h Type Default Description 31:24 Read Only 00h Reserved 23:20 Read Only 7h Type (TYP): Beep Generator Widget 19:16 Read Only 0h Delay (DLY): Number of sample delays through the widget. 15:12 Read Only 0h Reserved 11 Read Only 0b L-R Swap (LRS): This widget is not capable of swapping the left and right channels. 10 Read Only 0b Power Control (PC): Power State control is not supported on this widget. 9 Read Only 0b Digital (DIG): Widget is not a digital widget. 8 Read Only 0b Connection List (CL): A connection list is not present on this widget. 7 Read Only 0b Unsolicited Capable (UC): Unsolicited Response is not supported on this widget. 6 Read Only 0b Processing Widget (PW): This widget does not contain "Processing Controls" parameters. 5 Read Only 0b Stripe (STRP): Striping is not supported. 4 Read Only 0b Format Override (FO): This widget does not contain format information. 3 Read Only 0b Amplifier Parameter Override (APO): This widget does not contain amplifier parameters. 2 Read Only 0b Output Amplifier Present (OAP): Not present. 1 Read Only 0b Input Amplifier Present (IAP): Input amplifier is not present for this widget. 0 Read Only 0b Stereo (ST): Not supported. Response Format: Bits 136 DS880F4 CS4207 6.16.2 Beep Generation Control Get Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 13h Verb ID = F0Ah Payload = 00h Set Parameter Command Format: Bits [31:28] Bits [27:20] Bits [19:8] Bits [7:0] CAd = X Node ID = 13h Verb ID = 70Ah Payload = xxh Response Format: Bits Type Default 31:8 Read Only 000000h 7:0 DS880F4 Read/Write 00h Description Reserved Divider: When set to 0, beep generation is turned off. When set to any other value, beep generation is turned on and the frequency of the beep equals 12 kHz divided by this value. 137 CS4207 7. APPLICATIONS 7.1 HD Audio Interface 7.1.1 Multi-Channel Streams The CS4207 codec supports multi-channel streams (streams with sample blocks containing more than two samples), on both inbound and outbound frames. Each of the 5 output converter widgets (DAC1/2/3, S/PDIF TX 1/2) can be associated with an individual stream, or multiple widgets can be grouped to share the same stream. A mix of shared and individual streams is also supported. Furthermore, the order in which channels are assigned to each widget is not constrained by design. However, the following limitations exist and must be avoided: * a stream cannot contain channels that are not associated with any widget (unused channels), unless those channels appear last within the stream packet, after all other channels * the same channel cannot be associated with more than one widget The same capabilities and limitations exist for the 3 input converter widgets (ADC1/2, S/PDIF RX). The following table gives some examples of valid and invalid stream formats: Stream Format DAC1 DAC2 {A,B} {C,D} {E,F} {G,H} {I,J} A, B C, D DAC3 SPDO1 SPDO2 E, F G, H I, J {A, B, C, D, E, F, G, H, I, J} A, B C, D E, F G, H I, J {A, B, C, D} {E, F} A, B C, D E, F - - comment indiv. streams, in-order assignment shared stream, in-order assignment mixed shared and indiv. streams {A, B} {C, D} - - C, D - A, B indiv. streams, out of order assignment {A, B, C, D, E, F, G, H, I, J} G, H E, F A, B I, J C, D shared stream, out of order assignment {A, B, C, D} - - - C, D - invalid: leading unused ch. (A, B) {A, B, C, D, E, F, G, H, I, J} A, B E, F G, H I, J - invalid: intermittent unused ch. (C, D) {A, B, C, D, E, F, G, H, I, J} A, B C, D E, F G, H - ok: trailing unused ch. (I, J) {A, B, C, D} A, B C, D - A, B - invalid: ch. assigned to mult. widgets Table 4. Stream Format Examples The curly brackets { } delineate each stream packet. The letters within curly brackets designate each channel within that stream packet. For instance the sequence "{A, B, C, D} {E, F}" denotes two streams one stream consisting of 4 channels A-D and one stream consisting of 2 channels E-F. 138 DS880F4 CS4207 7.2 Analog Inputs The analog inputs of the CS4207 can be configured as single-ended, pseudo-differential, or fully differential topologies. See Tables 5 and 6 for the register settings required to place the analog inputs into the appropriate topology. The ADC1 Gain, ADC2 Gain, ADC1 PGA Mode, and ADC2 PGA Mode bits are located in the ADC Configuration (CIR = 0002h) register of the Vendor Processing Widget (Node ID = 11h). ADC1 Gain ADC1 PGA Mode Figure Single-Ended 0 1 11 Pseudo-Differential (default) 0 0 12 Table 5. Line In 1/Mic In 2 Input Topology Register Settings ADC2 Gain (Note:) ADC2 PGA Mode Figure Single-Ended 0 1 11 Pseudo-Differential (default) 0 0 12 Fully Differential 1 0 13 Table 6. Mic In 1/Line In 2 Input Topology Register Settings Note: Alternatively, the BTL bit in the Mic In 1/Line In 2 EAPD/BTL Enable control of the Mic In 1/Line In 2 Pin Widget (Node ID = 0Dh) may be set to `1'b to put ADC2 in fully differential mode. Both analog stereo input pairs may be used with single-ended line or microphone inputs. In this configuration the LINEIN_C-, MICIN_L-, and MICIN_R- pins are internally disconnected and should be left floating. See Figure 11 for the recommended single-ended input filter. CS4207 Note 1 Left Analog Input 1 ** 100 k 100 1 F * 1800 pF N/C 100 k Right Analog Input 1 100 ** + LINEIN_L+ // * PGA VCOM - LINEIN_R+ 1800 pF // LINEIN_C- PGA + 1 F N/C Left Analog Input 2 ** // 100 k 100 k Right Analog Input 2 100 100 1 F ** // MICIN_L- VCOM + * 1800 pF * MICIN_R+ 1800 pF 1 F N/C MICIN_R- PGA MICIN_L+ + PGA VCOM * NPO/C0 G dielectric capacitors. ** Low ESR, X7 R/X5R dielectric capacitors. - AGND Note: 1. These capacitors serve as a charge reservoir for the internal switched capacitor ADC modulators and should be placed as close as possible to the inputs. Figure 11. Single-Ended Input Filter DS880F4 139 CS4207 For an improvement from using the single-ended circuitry, both analog stereo input pairs may be configured in a pseudo-differential topology. This provides common-mode noise rejection for single-ended inputs by differentially routing LINEIN_C-, MICIN_L-, and/or MICIN_R- with the signal traces. See Figure 12 for the recommended pseudo-differential input filter. CS4207 Note 1 Left Analog Input 1 (differential trac es ) GND 100 k 100 ** 1 F LINEIN_L+ ** * 1800 pF LINEIN_C- // (differential trac es ) Right Analog Input 1 100 // 100 k // 100 ** 1 F * 1800 pF LINEIN_R+ + PGA - PGA + 1 F common mode rejection at input of PGA reduces external system noise Left Analog Input 2 // (differential trac es ) GND // GND // 100 k 100 ** 100 1 F MICIN_L+ ** * 1800 pF MICIN_L- + PGA - 1 F (differential trac es ) Right Analog Input 2 100 100 k 100 ** ** 1 F MICIN_R* 1800 pF MICIN_R+ // PGA + 1 F * NPO/C0G dielectric capacitors. ** Low ESR, X7R/X5R dielectric capacitors. AGND Note: 1. These capacitors serve as a charge reservoir for the internal switched capacitor ADC modulators and should be placed as close as possible to the inputs. Figure 12. Pseudo-Differential Input Filter 140 DS880F4 CS4207 For the best ADC performance, fully differential inputs can be connected to the Mic In 1/Line In 2 input pair only. This topology provides the best common-mode noise rejection and also increases the dynamic range due to the larger full-scale input voltage. See Figure 13 for the recommended differential input filter. CS4207 Note 1 Left Analog Input + 100 ** 100 k 1 F + * (differential trac es ) Left Analog Input - MICIN_L+ // 100 3600 pF ** PGA MICIN_L- - // 100 k 1 F common mode rejection at input of PGA reduces external system noise Right Analog Input + 100 ** 100 k 1 F + * (differential trac es ) Right Analog Input - MICIN_R+ // 100 3600 pF ** PGA MICIN_R- - // 100 k 1 F * NPO/C0G dielectric capacitors. ** Low ESR, X 7R/X5 R dielectric capacitors. AGND Note: 1. These capacitors serve as a charge reservoir for the internal switched capacitor ADC modulators and should be placed as close as possible to the inputs. Figure 13. Differential Input Filter For all of the input topologies, either input pair can be used with a microphone input by connecting the MICBIAS pin to the signals as shown in Figure 1. If electrolytic capacitors are used for AC coupling the microphone inputs, the positive terminal of the capacitor must be connected to the greater bias voltage. The analog input pins are internally biased at 0.5*VA and the voltage level of the MICBIAS pin can be configured by setting the VREFE bits in the Mic In 1/Line In 2 Pin Widget Control of the Mic In 1/Line In 2 Pin Widget (Node ID = 0Dh). DS880F4 141 CS4207 7.3 7.3.1 Analog Outputs Output Filter The Cirrus Application Note titled Design Notes for a 2-Pole Filter with Differential Input, available as AN48 at www.cirrus.com, discusses the second-order Butterworth filter and differential-to-single-ended converter that was implemented on the CDB4207 evaluation board. Figure 14 illustrates this implementation. If only single-ended outputs from the CS4207 are required, the passive output filter shown in Figure 15 can be used. 3300 pF CS4207 2.26 k 1000 pF C0G 22 F 4.53 k LINEOUTx LINEOUTx + 22 F 2.05 k 1.5 k 698 C0G - C0G Analog Output + 2200 pF 6800 pF AGND 220 220 pF C0G 1.05 k Figure 14. Differential to Single-Ended Output Filter CS4207 LINEOUTx + 4.7 F + 562 Analog Output 47.5 k 2700 pF AGND Figure 15. Passive Single-Ended Output Filter 7.3.2 Analog Supply Removal In order to reduce audible artifacts, the analog reference is always powered up, even if the AFG has been transitioned into D3 state. For maximum power savings during D3, it may be desirable to completely remove the analog supplies on the system level. Doing so would cause an uncontrolled discharge of the internal reference and hence audible artifacts, and must therefore be preceded with a controlled reference ramp-down, which is initiated by setting the PDREF bit in the DAC Configuration (CIR = 0003h) register of the Vendor Processing Widget (Node ID = 11h). 7.4 Digital Mic Inputs For each ADC, the data from the digital mic input pin widgets are multiplexed with the data from the analog line/mic input pin widgets, and only one pin widget can be selected at any given time. Furthermore, the data pins for the DMIC interface (DMIC_SDA1/2) are multiplexed with the GPIO0/1 pins and default to GPIO. In order to successfully setup the data path for a digital microphone, the following steps have to be followed: 1. clear the TX 2 Enable bit in the S/PDIF RX/TX Interface Control (CIR = 0001h) register of the Vendor Processing Widget (Node ID = 11h) (only required for DMIC2) 142 DS880F4 CS4207 2. set the DMIC1 Enable and/or DMIC2 Enable bit in the Beep Configuration (CIR = 0004h) register of the Vendor Processing Widget (Node ID = 11h) 3. set the INE bit in the Pin Widget Control of the Digital Mic In 1 Pin Widget (Node ID = 0Eh) and/or the Digital Mic In 2 Pin Widget (Node ID = 12h) 4. for DMIC1 set the Connection Index in the ADC2 Connection Select Control of the ADC2 Input Converter Widget (Node ID = 06h) to a value of 01h 5. for DMIC2 set the Connection Index in the ADC1 Connection Select Control of the ADC1 Input Converter Widget (Node ID = 05h) to a value of 01h The clock signal for the DMIC interface (DMIC_SCL) will be enabled if at least one of the DMIC data paths has been configured as described above. 7.5 S/PDIF Input and Outputs 7.5.1 S/PDIF Receiver SRC The S/PDIF Receiver SRC is used to sample-rate convert incoming source-synchronous data to HDA bus-synchronous data. The SRC can only convert rates that are close to one another, therefore, software must monitor the Recovered Sample Rate in the S/PDIF RX/TX Interface Status (CIR = 0000h) register and program the Converter Format Control of the S/PDIF Receiver Input Converter Widget (Node ID = 07h) accordingly. The S/PDIF Receiver SRC is on by default and will be turned off if at least one of the following conditions is true: - TYPE (bit 15) in the Converter Format Control of the S/PDIF Receiver Input Converter Widget (Node ID = 07h) is set to `1'. - RX Raw Data Mode (bit 6) in the S/PDIF RX/TX Interface Control (CIR = 0001h) register is set to `1'. DS880F4 143 CS4207 8. PCB LAYOUT CONSIDERATIONS 8.1 Power Supply, Grounding As with any high-resolution converter, the CS4207 requires careful attention to power supply and grounding arrangements if its potential performance is to be realized. Figure 1 on page 11 and Figure 2 on page 12 show the recommended power arrangements, with VA connected to a clean supply. VD, which powers the digital circuitry, may be run from the system logic supply. To achieve full analog performance, it is strongly recommended that the following rules be followed: * place the cap between VBIAS and VA_REF as close to the codec as possible to minimize trace impedance * keep the traces for VA and VA_REF separate as much as possible and only connect them at the supply Extensive use of power and ground planes, ground plane fill in unused areas and surface mount decoupling capacitors are recommended. Decoupling capacitors should be as close to the pins of the CS4207 as possible. The low value ceramic capacitor should be closest to the pin and should be mounted on the same side of the board as the CS4207 to minimize inductance effects. All signals, especially clocks, should be kept away from the FILT+ and VCOM pins in order to avoid unwanted coupling into the modulators. The CDB4207 evaluation board demonstrates the optimum layout and power supply arrangements. 8.2 QFN Thermal Pad The CS4207 is available in a compact QFN package. The underside of the QFN package reveals a large metal pad that serves as a thermal relief to provide for maximum heat dissipation. This pad must mate with an equally dimensioned copper pad on the PCB and must be electrically connected to ground. A series of vias should be used to connect this copper pad to one or more larger ground planes on other PCB layers. In split ground systems, it is recommended that this thermal pad be connected to AGND for best performance. The CDB4207 evaluation board demonstrates the optimum thermal pad and via configuration. 144 DS880F4 CS4207 9. PARAMETER DEFINITIONS Dynamic Range The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified bandwidth. Dynamic Range is a signal-to-noise ratio measurement over the specified band width made with a -60 dBFS signal. 60 dB is added to resulting measurement to refer the measurement to full-scale. This technique ensures that the distortion components are below the noise level and do not affect the measurement. This measurement technique has been accepted by the Audio Engineering Society, AES17-1991, and the Electronic Industries Association of Japan, EIAJ CP-307. Expressed in decibels. Total Harmonic Distortion + Noise The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified band width (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured at -1 and -20 dBFS as suggested in AES17-1991 Annex A. Frequency Response A measure of the amplitude response variation from 10 Hz to 20 kHz relative to the amplitude response at 1 kHz. Units in decibels. Interchannel Isolation A measure of crosstalk between the left and right channel pairs. Measured for each channel at the converter's output with no signal to the input under test and a full-scale signal applied to the other channel. Units in decibels. Interchannel Gain Mismatch The gain difference between left and right channel pairs. Units in decibels. Gain Error The deviation from the nominal full-scale analog output for a full-scale digital input. Gain Drift The change in gain value with temperature. Units in ppm/C. Offset Error The deviation of the mid-scale transition (111...111 to 000...000) from the ideal. Units in mV. DS880F4 145 CS4207 10.QFN PACKAGE DIMENSIONS 48L QFN (6 X 6 mm body) Package Drawing D D2 L e E E2 1 b BTM VIEW TOP VIEW A A1 A3 SEATING PLANE SIDE VIEW Notes: 1) Controlling dimensions are in mm. 2) Dimensioning and tolerancing conform to ASME Y14.5m-1994 3) Dimension b applies to the metallized terminal and is measured between 0.15 mm and 0.30 mm from the terminal tip. 4) Reference JEDEC MO-229 DIM A A1 A3 b D D2 E E2 e L MIN NOM MAX 0.70 0.00 0.75 0.80 0.05 0.15 4.55 4.55 0.30 0.20 BSC 0.20 6.00 BSC 4.60 6.00 BSC 4.60 0.40 BSC 0.40 0.25 4.65 4.65 0.50 THERMAL CHARACTERISTICS Parameter Junction to Ambient Thermal Impedance Junction to Case Thermal Impedance 146 4 Layer Board 4 Layer Board Symbol Min Typ Max Units JA JC - 24 10 - C/W C/W DS880F4 CS4207 11.ORDERING INFORMATION Product CS4207 CS4207 CDB4207 Description Package Pb-Free Low Power, 4-In/6-Out HD Audio Codec with 48L-QFN Headphone Amp Low Power, 4-In/6-Out HD Audio Codec with 48L-QFN Headphone Amp CS4207 Evaluation Board Grade Temp Range Yes Commercial -40C to +85C Yes Automotive -40C to +105C - - Container Order # Tray CS4207-CNZ Tape & Reel CS4207-CNZR Tray CS4207-DNZ Tape & Reel CS4207-DNZR - CDB4207 - 12.REFERENCES 1. Intel Corporation, High Definition Audio Specification, Revision 1.0, April 15, 2004. http://download.intel.com/standards/hdaudio/pdf/HDAudio_03.pdf 2. Intel Corporation, HDA006-A: Clarification to Sub-system Identification reporting, December 8, 2005. http://www.intel.com/standards/hdaudio/pdf/hda006-a.pdf 3. Intel Corporation, HDA022-A: Clarification of Channel count specification language, December 8, 2005 http://www.intel.com/standards/hdaudio/pdf/hda022-a.pdf 4. Intel Corporation, HDA024-A: Addition of Dual Voltage Interface Support, November 15, 2006. http://download.intel.com/standards/hdaudio/pdf/hda024-a.pdf 5. Intel Corporation, HDA015-B: Low Power Capabilities Clarifications and Enhancements, June 6, 2009. http://download.intel.com/design/chipsets/hdaudio/HDA015-B.pdf 6. Cirrus Logic, AN48: Design Notes for a 2-Pole Filter with Differential Input, March 2003. http://www.cirrus.com/en/pubs/appNote/AN048Rev2.pdf 13.REVISION HISTORY Revision F1 Changes * Production Release * Added "Digital Microphone Interface Characteristics" on page 22 * Updated "Implementation Identification" on page 44 as per HDA006-A F2 * Updated ADC1 SZCMode in "ADC Configuration (CIR = 0002h)" on page 131 * Updated DAC1 SZCMode in "DAC Configuration (CIR = 0003h)" on page 134 * Added "Analog Inputs" on page 139 * Updated "QFN Package Dimensions" on page 146 (updated thermal characteristics) * Updated "Analog Input Characteristics (Commercial - CNZ)" on page 14 and "Analog Input Characteristics (Automotive - DNZ)" on page 15 (corrected MICIN/LINEIN input impedance) F3 * Added "S/PDIF Input and Outputs" on page 143 * Updated "QFN Package Dimensions" on page 146 (corrected D2, E2, and L dimensions) F4 DS880F4 * Changed CS4207-CNZ and CS4207-DNZ containers to "Tray" in Section 11. 147 CS4207 Contacting Cirrus Logic Support For all product questions and inquiries, contact a Cirrus Logic Sales Representative. To find one nearest you, go to www.cirrus.com. IMPORTANT NOTICE Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ("CRITICAL APPLICATIONS"). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER'S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS' FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES. Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks or service marks of their respective owners. AC-3 is a trademark of Dolby Laboratories, Inc. 148 DS880F4