HD Audio SoundMAX® Codec AD1981HD FEATURES ENHANCED FEATURES 2 DAC channels: 16-, 20-, or 24-bit 2 ADC channels: 16- or 20-bit HD audio sample rates 8 kHz, 11.025 kHz, 16 kHz, 22.05 kHz, 32 kHz, 44.1 kHz, 48 kHz Greater than 90 dB dynamic range S/PDIF output: 32 kHz, 44.1 kHz or 48 kHz, 16- or 24-bit Digital beep and analog PC beep pass-through Integrated headphone amplifiers on two ports Port retasking Selectable microphone and line inputs Full analog mixer No AFILT pins, results in BOM savings 5.0 V AVDD supply, 3.3 V DVDD supply Jack-sensing autoconfiguration options Mute line output and monaural output (MONO_OUT) when headphones are used Mute MONO_OUT when a device is in the line out jack Selectable trip level: high/low supports all jack types Peripheral identification/enumeration Jack event/presence detection using SENSE or GPIO pins Microphone to MONO_OUT for speakerphone applications Advanced power management modes 4 software-controlled microphone bias pins Up to 30 dB microphone boost 4 GPIOs—external control or traditional jack sense Legacy inputs: CD and auxiliary inputs External amplifier power-down (EAPD) 48-pin, Pb-free LQFP FUNCTIONAL BLOCK DIAGRAM 5V AVDD AVSS GPIO EQ PCM Σ-Δ DAC S/PDIF_OUT PC BEEP PC BEEP SELECTOR HD AUDIO INTERFACE GA DIGITAL PC BEEP G M GAM PORT-A HEADPHONE HP MIC BIAS GA M GAM RESET MONO_OUT GAM SELECTOR PCM/AC3 S/PDIF TX Σ SELECTOR SELECTOR SENSE MIC_BIAS-D Z Z HP PORT-D LINE_OUT BOOST M Σ M M M M GA M GA SELECTOR JACK SENSE PC BEEP SELECTOR GPIO GA MIC BIAS Z MIC_BIAS-C GAM Z PORT-C LINE_IN MIC BIAS Z MIC_BIAS-F GAM Z PORT-F REAR MIC Z MIC_BIAS-B BOOST M G SELECTOR PCM/FLOAT32 Σ-Δ ADC GA SELECTOR GA BOOST M MIC BIAS DIFF AMP M PORT-B FRONT MIC 04321-005 CD_R CD_GND CD_L PORT-E AUX BOOST Figure 1. Rev. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 © 2005 Analog Devices, Inc. All rights reserved. AD1981HD TABLE OF CONTENTS Functional Block Diagram Details ................................................. 3 HD Audio Codec Information ..................................................... 10 Specifications..................................................................................... 4 Jack Presence Detection................................................................. 15 Absolute Maximum Ratings............................................................ 7 HD Audio Style Jack Presence Detection ............................... 15 Environmental Conditions.......................................................... 7 Classic Jack Presence Detection ............................................... 15 ESD Caution.................................................................................. 7 Outline Dimensions ....................................................................... 16 Pin Configuration and Function Descriptions............................. 8 Ordering Guide .......................................................................... 16 REVISION HISTORY 6/05—Initial Version: Revision 0 Rev. 0 | Page 2 of 16 04321-001 DVDD DVSS SDATA_IN SDATA_OUT SYNC RESET BIT_CLK 3.3V HD AUDIO INTERFACE NID: 02 48kHz, 24-BIT PCM Σ-Δ DAC G M M M –34.5 TO +12dB NID: 19 CD DIFF AMP M M NID: 1A GA GA NID: 12 GA NID: 1C GA NID: 1D M Σ NID: 0E M NID: 11 GA GA NID: 13 GA NID: 1B M 0dB TO –45dB NID: 0D G PC BEEP NID: 0A S/PDIF_OUT 0dB TO 22.5dB M NID: 15 NID: 10 DIGITAL PC BEEP NID: 16 PC BEEP IN EQ NID: 03 48kHz, 24-BIT PCM/AC3 S/PDIF TX SENSE_A/SRC_B SENSE_B/SRC_A NID: 04 48kHz, 20-BIT PCM/FLOAT32 Σ-Δ ADC JACK SENSE SELECTOR 2:1 GPIO –34.5 TO +12dB GPIO_3 GPIO_2 GPIO_1/JS_0 GPIO_0/JS_1 SELECTOR 2:1 SELECTOR 8:1 NID: 0C Σ SELECTOR 6:1 M NID: 1E M NID: 1F NID: 0B Σ NID: 0F GAM –46.5dB TO +3dB GAM MIC BIAS –46.5dB TO +3dB BOOST MIC BIAS BIAS_SEL OUTPUT_EN BOOST GAM Z OUTPUT_EN OUTPUT_EN Z BIAS_EN Z 0dB, 10dB, 20dB, 30dB HP_EN HP BIAS_EN Z PC BEEP 5V 0dB, 10dB, 20dB, 30dB BIAS_EN Z 0dB, 10dB, 20dB, 30dB OUTPUT_EN Z BIAS_EN Z 0dB, 10dB, 20dB, 30dB BIAS_SEL OUTPUT_EN BOOST GAM MIC BIAS –46.5dB TO +3dB BIAS_SEL OUTPUT_EN BOOST GAM MIC BIAS –46.5dB TO +3dB HP AVSS HP_EN BIAS_SEL –46.5dB TO +3dB SELECTOR 2:1 SELECTOR 2:1 SELECTOR 2:1 NID: 01 NID: 17 PORT-E AUX Rev. 0 | Page 3 of 16 CD_R CD_GND CD_L Figure 2. SELECTOR 2:1 AVDD LINE_IN PORT-C MIC_BIAS-C NID: 09 LINE_OUT PORT-D MIC_BIAS-D NID: 05 HEADPHONE PORT-A NID: 06 MONO_OUT NID: 07 FRONT MIC PORT-B MIC_BIAS-B NID: 08 REAR MIC PORT-F MIC_BIAS-F NID: 18 RESET AD1981HD FUNCTIONAL BLOCK DIAGRAM DETAILS AD1981HD SPECIFICATIONS Test conditions, unless otherwise noted. Table 1. Test Conditions Parameter TEMPERATURE DIGITAL SUPPLY (DVDD) ANALOG SUPPLY (AVDD) SAMPLE RATE (FS) INPUT SIGNAL ANALOG OUTPUT PASS BAND VIH VIL VIH VIL DAC Test Conditions Calibrated Output −3 dB relative to full scale 10 kΩ output load, Ports C, D, F, and mono 32 Ω output load, Port A Typ 25 3.3 ±10% 5.0 ±10% 48 1.0 20 to 20,000 2.0 0.8 2.4 0.6 Unit °C V V kHz kHz Hz V V V V ADC Test Conditions Calibrated 0 dB PGA gain Input −3.0 dB relative to full scale Input sourced on Port B, 0 dB boost Table 2. Analog Input Parameter PORTS B, C, D, E: 0 dB Min PORTS B, C, D, E: 30 dB PORTS B, C, D, E: 20 dB PORTS B, C, D, E: 10 dB PORT F, CD IN INPUT IMPEDANCE 2 INPUT CAPACITANCE 1 2 Typ 1 2.83 0.032 0.089 0.1 0.283 0.316 0.894 1 2.83 20 5 Max 7.5 Unit V rms 1 V p-p V rms V p-p V rms V p-p V rms V p-p V rms V p-p kΩ pF RMS values assume sine wave input. Guaranteed by design; not production tested. Table 3. Master Volume Parameter STEP SIZE (Ports A, B, C, D, E, MONO_OUT) OUTPUT GAIN RANGE MUTE ATTENUATION OF 0 dB FUNDAMENTAL 1 Min –46.5 80 Guaranteed by design; not production tested. Rev. 0 | Page 4 of 16 Typ 1.5 Max +3 Unit dB dB dB AD1981HD Table 4. Programmable Gain Amplifier—ADC Parameter STEP SIZE PGA GAIN RANGE SPAN Min Typ 1.5 0.0 Max 22.5 Unit dB dB Max Unit Table 5. Analog Mixer—Input Gain/Amplifiers/Attenuators Parameter SIGNAL-TO-NOISE RATIO (SNR) Line In to Line Out Min Microphone In to Line Out 1 STEP SIZE: ALL MIXER INPUTS (Except PC BEEP) STEP SIZE: PC BEEP INPUT GAIN RANGE: ALL MIXER INPUTS (Except PC BEEP) DIGITAL PC BEEP 1 Typ 85 dB 80 1.5 3.0 dB dB dB dB dB −34.5 −45.0 +12.0 0.0 Guaranteed by design; not production tested. Table 6. Digital Decimation and Interpolation Filters 1 Parameter PASS BAND PASS-BAND RIPPLE TRANSITION BAND STOP BAND STOP-BAND REJECTION GROUP DELAY GROUP DELAY VARIATION OVER PASS BAND 1 Min 0 Typ 0.4 × FS 0.6 × FS −74 Max 0.4 × FS ±0.09 0.6 × FS ∞ Unit Hz dB Hz Hz dB sec μs Max Unit Bits dB dB dB dB % dB mV 16/FS 0 Guaranteed by design; not production tested. Table 7. Analog-to-Digital Converters Parameter RESOLUTION TOTAL HARMONIC DISTORTION (THD) DYNAMIC RANGE (−60 dB Input, THD + N Referenced to Full Scale, A-Weighted) CROSSTALK: LINE INPUTS (Input L, Ground R, Read R; Input R, Ground L, Read L) CROSSTALK: LINE INPUTS AND OTHER INPUTS GAIN ERROR (Full-Scale Span Relative to Nominal Input Voltage) INTERCHANNEL GAIN MISMATCH (Difference of Gain Errors) ADC OFFSET ERROR Min Typ 20 −95 −85 −80 −100 ±10 −80 ±0.5 ±5 Table 8. Digital-to-Analog Converters Parameter RESOLUTION TOTAL HARMONIC DISTORTION (Line Out) TOTAL HARMONIC DISTORTION (Headphone Out) DYNAMIC RANGE (−60 dB Input, THD + N Referenced to Full Scale, A-Weighted) GAIN ERROR (Full-Scale Span Relative to Nominal Input Voltage) INTERCHANNEL GAIN MISMATCH (Difference of Gain Errors) DAC CROSSTALK 1 (Input L, Zero R, Read R Out; Input R, Zero L, Read L Out) 1 Guaranteed by design; not production tested. Rev. 0 | Page 5 of 16 Min Typ 24 −92 −75 90 ±10 Max ±0.7 −80 Unit Bits dB dB dB % dB dB AD1981HD Table 9. Analog Output Parameter FULL-SCALE OUTPUT VOLTAGE (Headphone Disabled) Min Output Impedance 1 External Load Impedance Output Capacitance External Load Capacitance FULL-SCALE OUTPUT VOLTAGE (Headphone Out) Max 10 15 1000 1 2.83 Output Impedance External Load Impedance Output Capacitance External Load Capacitance VREF_FILT MIC_BIAS (Ports B, C, D) (xVREF [2:0] = 100, AVDD = 5.0 V) (xVREF [2:0] = 010) Current Drive MUTE CLICK (MUTED OUTPUT, UNMUTED MIDSCALE DAC OUTPUT) 1 Typ 1 2.83 300 1 32 15 2.050 2.250 2.250 3.700 0.0 1000 2.450 5 ±5 Unit V rms V p-p Ω kΩ pF pF V rms V p-p Ω Ω pF pF V V V V mA mV Guaranteed by design; not production tested. Table 10. Static Digital Specifications Parameter HIGH LEVEL INPUT VOLTAGE (VIH), DIGITAL INPUTS LOW LEVEL INPUT VOLTAGE (VIL) HIGH LEVEL OUTPUT VOLTAGE (VOH), IOH = 2 mA LOW LEVEL OUTPUT VOLTAGE (VOL), IOL = 2 mA INPUT LEAKAGE CURRENT OUTPUT LEAKAGE CURRENT INPUT/OUTPUT PIN CAPACITANCE Min 0.65 × DVDD Typ Max 0.35 × DVDD 0.90 × DVDD 0.10 × DVDD +10 +10 7.5 −10 −10 Unit V V V V μA μA pF Table 11. Power Supply Parameter POWER SUPPLY RANGE—ANALOG (AVDD) ±10% POWER SUPPLY RANGE—DIGITAL (DVDD) ±10% POWER DISSIPATION—ANALOG (AVDD)/DIGITAL (DVDD) ANALOG SUPPLY CURRENT—ANALOG (AVDD) DIGITAL SUPPLY CURRENT—DIGITAL (DVDD) POWER SUPPLY REJECTION (100 mV p-p Signal @ 1 kHz) Min 4.5 2.97 Typ Max 5.5 3.63 275/132 43 40 40 Unit V V mW mA mA dB Table 12. D3 Power-Down Savings Parameter FUNCTION NODE DAC ADC MIXER DVDD 0.5 6.2 8.0 0.0 Rev. 0 | Page 6 of 16 AVDD 0.0 9.0 8.0 15 Unit mA mA mA mA AD1981HD ABSOLUTE MAXIMUM RATINGS ENVIRONMENTAL CONDITIONS Table 13. Power Supply Digital (DVDD) Analog (AVDD) Input Current (Except Supply Pins) Analog Input Voltage (Signal Pins) Digital Input Voltage (Signal Pins) Ambient Temperature (Operating) Commercial Industrial Storage Temperature Min −0.3 −0.3 −0.3 −0.3 Max +3.6 +6.0 ±10.0 AVDD + 0.3 DVDD + 0.3 Unit V V mA V V 0°C –40°C −65°C 70°C +85°C +150°C °C °C °C Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Ambient Temperature Rating TAMB = TCASE − (PD × θCA) where: TCASE is the case temperature in °C PD is the power dissipation in W θCA is the thermal resistance (case-to-ambient) Table 14. Thermal Resistance Package LQFP 1 2 θJA 1 76.2°C/W θJC 2 17°C/W θJA is the thermal resistance (junction-to-ambient). θJC is the thermal resistance (junction-to-case). ESD CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Rev. 0 | Page 7 of 16 θCA 59.2°C/W AD1981HD 48 47 46 45 44 43 42 MONO_OUT AVDD PORT-A_L NC PORT-A_R AVSS GPIO_0/JS_1 GPIO_1/JS_0 NC NC EAPD S/PDIF_OUT PIN CONFIGURATION AND FUNCTION DESCRIPTIONS 41 40 39 38 37 DVDD 1 36 PORT-D_R PIN 1 GPIO_2 2 35 PORT-D_L GPIO_3 3 34 SENSE_B/SRC_A DVSS 4 33 NC SDATA_OUT 5 AD1981HD BIT_CLK 6 TOP VIEW (Not to Scale) DVSS 7 32 MIC_BIAS-D 31 NC 30 MIC_BIAS-F SDATA_IN 8 29 MIC_BIAS-C DVDD 9 28 MIC_BIAS-B SYNC 10 27 VREF_FILT RESET 11 26 AVSS PC BEEP 12 25 AVDD 04321-002 PORT-C_R PORT-C_L PORT-B_R PORT-B_L CD_R CD_GND CD_L PORT-F_R PORT-F_L PORT-E_R PORT-E_L SENSE_A/SRC_B 13 14 15 16 17 18 19 20 21 22 23 24 NC = NO CONNECT Figure 3. Pin Configuration Table 15. Pin Function Descriptions Mnemonic SDATA_OUT BIT_CLK SDATA_IN SYNC RESET# Pin No. 5 6 8 10 11 I/O I I I/O I I Description HD Audio Link Serial Data Output. Codec input stream. HD Audio Link Bit Clock Input. 24 MHz. HD Audio Link Serial Data Input. Codec output stream. HD Audio Link Frame Sync. HD Audio Link Reset. Master hardware reset. Table 16. Digital Input/Output Pin Function Descriptions Mnemonic GPIO_2 GPIO_3 GPIO_0/JS_1 Pin No. 2 3 43 I/O I/O I/O I/O GPIO_1/JS_0 44 I/O SENSE_A/SRC_B SENSE_B/SRC_A EAPD S/PDIF_OUT 13 34 47 48 I/O I/O O O 1 Description General-Purpose Input/Output. Digital signal used to sense/control external circuits. General-Purpose Input/Output. Digital signal used to sense/control external circuits. GPIO_0—General-Purpose Input/Output. Digital signal used to sense/control external circuits. JS_1—Classic (DC) Jack Sense for Headphone Out Pins. Low indicates that nothing is plugged into the jack; high indicates that a peripheral is plugged into the jack. GPIO_1—General-Purpose Input/Output. Digital signal used to sense/control external circuits JS_0—Classic (DC) Jack Sense for Line Out Pins. Low indicates that nothing is plugged into the jack; high indicates that a peripheral is plugged into the jack. SENSE_A—Jack Sense A–D Input. For use with isolated switches on audio jacks. 1 SENSE_B—Jack Sense E–F Input. For use with isolated switches on audio jacks.1 External Amplifier Power-Down Output. S/PDIF Output. To reduce SENSE_A/B static current draw, connect a single 2.69 kΩ resistor between Pins 13 and 34. Remove the resistors from Pins 33 and 13 to AVDD. Rev. 0 | Page 8 of 16 AD1981HD Table 17. Analog Input/Output Pin Function Descriptions Mnemonic PC Beep PORT-E_L PORT-E_R PORT-F_L PORT-F_R CD_L CD_GND CD_R PORT-B _L PORT-B_R PORT-C_L PORT-C_R PORT-D_L PORT-D_R MONO_OUT PORT-A_L PORT-A_R 1 Pin No. 12 14 15 16 17 18 19 20 21 22 23 24 35 36 37 39 41 I/O I I I I/O I/O I I I I I I/O I/O I/O I/O O O O Channel N/A Left Right Left Right Left Ground Right Left Right Left Right Left Right Left Right Description Analog Input for PC Beep Pass-Through, Even While in Reset. Line Input (Typically Auxiliary Input). Line Input (Typically Auxiliary Input). Multifunction Analog I/O Jack (Typically Rear Microphone). Multifunction Analog I/O Jack (Typically Rear Microphone). CD Input, Left Channel. CD Input, Ground. CD Input, Right Channel. Multifunction Analog I/O Jack (Typically Front Microphone). Multifunction Analog I/O Jack (Typically Front Microphone). Multifunction Analog I/O Jack (Typically Rear Line Input). Multifunction Analog I/O Jack (Typically Rear Line Input). Multifunction Analog I/O Jack (Typically Rear Line Output). Multifunction Analog I/O Jack (Typically Rear Line Output). Monaural Output to Telephony Subsystem Speakerphone. Headphone Output, Left Channel. Headphone Output, Right Channel. Function 1 LI LI MIC, LI, LO MIC, LI, LO LI LI LI MIC, LI MIC, LI MIC, LI, LO MIC, LI, LO MIC, LI, LO MIC, LI, LO LO LO, HP LO, HP MIC—Microphone capable, includes programmable MIC_BIAS pins and integrated boost amplifier; LI—line level analog inputs; LO— line level analog outputs; HP—headphone support, includes integrated headphone amplifier. Table 18. Filter/Reference Pin Function Descriptions Mnemonic VREF_FILT MIC_BIAS-B MIC_BIAS-C MIC_BIAS-F MIC_BIAS-D Pin No. 27 28 29 30 32 I/O O O O O O Description Voltage Reference Filter. Programmable Microphone Bias Output. Intended for connection to Port B. Programmable Microphone Bias Output. Intended for connection to Port C. Programmable Microphone Bias Output. Intended for connection to Port F. Programmable Microphone Bias Output. Intended for connection to Port D. Table 19. Power and Ground Pin Function Descriptions Mnemonic DVSS DVDD AVSS AVDD Pin No. 4, 7 1, 9 26, 42 25, 38 I/O I I I I Description Digital Supply Return (Ground). Digital Supply Voltage (3.3 V). Analog Supply Return (Ground). Analog Supply Voltage (5.0 V). AVDD supplies should be well filtered because supply noise degrades audio performance. Rev. 0 | Page 9 of 16 AD1981HD HD AUDIO CODEC INFORMATION Table 20. Widget List and Descriptions NID 00 01 02 03 04 05 06 07 Name ROOT FUNCTION S/PDIF Front DAC Record ADC Port-D (Line Out) Port-A (Headphone Out) MONO_OUT Type ID x x 0 0 1 4 4 4 Type Root Function Audio output Audio output Audio input Pin complex Pin complex Pin complex 08 09 0A 0B 0C Port-B (Front Microphone) Port-C (Line In) S/PDIF_OUT Monaural Selector Microphone Mixer 4 4 4 3 2 Pin complex Pin complex Pin complex Audio selector Audio mixer 0D PC Beep Selector 3 Audio selector 0E 0F 10 11 12 Analog Mixer Monaural Mixer Digital PC Beep Front Mix Amp Port-B Mix Amp 2 2 7 3 3 Audio mixer Audio mixer Beep generator Audio selector Audio selector 13 Port-C Mix Amp 3 Audio selector 14 15 Analog Power-Down Record Selector 5 3 Power widget Audio selector 16 PC Beep In 4 Pin complex 17 18 19 1A Port-E (Aux In) Port-F (Rear Microphone) CD In Port-D Mix Amp 4 4 4 3 Pin complex Pin complex Pin complex Audio selector 1B 1C Port-E Mix Amp Port-F Mix Amp 3 3 Audio selector Audio selector 1D 1E 1F CD Mix Amp Front Microphone Mute Rear Microphone Mute 3 3 3 Audio selector Audio selector Audio selector Description Device identification. Designates this device as an audio codec. Designates the codec S/PDIF digital stream output interface. Designates the playback channel digital/audio converters. Designates the record channel audio/digital converters. Port-D pin drivers. Typically used as rear panel line output. Port-A pin drivers. Typically used as front panel headphone output. Monaural output pin driver. Typically used to drive an internal speaker or as a microphone selector on a telephony system. Port-B pin drivers. Typically used as front panel microphone. Port-C pin drivers. Typically used as rear panel line input. S/PDIF output digital interface. Chooses which signals drive the monaural output mixer and pin. Allows selective mixing of the front/rear microphone sources to a single combined signal. Selects between the digital beep generator and the analog PC BEEP pin as the source for the analog mixer. Selectively mixes analog input signals into a single signal. Stereo-to-monaural mixer for MONO_OUT. Digital PC beep generator. Individual gain control for the DAC (front) input to the Analog Mixer. Individual gain control for the Port-B (front microphone) input to the analog mixer. Individual gain control for the Port-C (line in) input to the analog mixer. Power control on the analog mixer and associated amplifiers. Chooses which signal is recorded by the record ADC. Also contains the record gain controls. Analog PC Beep in pin drivers. This signal is coupled to the outputs while the codec is held in reset. This may be selected as an input to the analog mixer after reset has been released. Port-E pin drivers. Typically used as auxiliary input. Port-F pin drivers. Typically used as rear panel microphone. CD in pin drivers. Individual gain control for the Port D (front) input to the analog mixer. Individual gain control for the Port E (aux) input to the analog mixer. Individual gain control for the Port F (rear microphone) input to the analog mixer. Individual gain control for the CD input to the analog mixer. Mute control for Port B (front microphone) into microphone mixer. Mute control for Port F (rear microphone) into the microphone mixer. Rev. 0 | Page 10 of 16 AD1981HD Table 21. Root and Function Node Parameters NID 00 01 1 Name ROOT FUNCTION Type ID X X Vendor ID PID 00 1 11D41981 Revision ID PID 02 00100200 Sub Node Count PID 04 00010001 0002001E Function Group Type PID 05 Audio F.G. Caps PID 08 GPIO Caps PID 11 00000001 00010C0C 40000004 PID = parameter ID. Table 22. Widget Parameters NID 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1 Name ROOT FUNCTION S/PDIF Front DAC Record ADC Port-D (Line Out) Widget Caps PID 09 1 PCM Size, Stream Rate Format PID 0A PID 0B Pin Caps PID 0C Input Amp Caps PID 0D Con. List Power Len States PID 0E PID 0F Processing Output VendorCaps Amp Caps Specific PID 10 PID F0 PID 12 000E007F 00000001 00270300 00000009 00030311 00020060 00000005 00000002 00000441 000E007F 00000001 00000000 00000009 00004601 00100511 0006007F 00000001 00000001 00000009 00400187 0001173F 00270300 00000002 Port-A (Headphone Out) 00400185 0000001F 00000002 MONO_OUT 00400104 00000010 00000001 Port-B (Front Microphone) 00400083 00001727 00270300 00000000 Port-C (Line In) 00400187 00001737 00270300 00000002 S/PDIF_OUT 00400301 00000010 00000001 Monaural Selector 00300101 00000006 Microphone Mixer 00200101 00000002 PC Beep Selector 0030010C 00000002 Analog Mixer 00200101 00000008 Monaural Mixer 00200100 00000001 Digital PC Beep 00700000 00000000 Front Mix Amp 0030010D 00000001 Port-B Mix Amp 0030010D 00000001 Port-C Mix Amp 0030010D 00000001 Analog Power-Down 00500500 00000006 00000009 Record Selector 0030010D 00000008 PC Beep In 00400000 00000020 00000000 Port-E (Aux In) 00400081 00000027 00000000 Port-F (Rear Microphone) 00400187 00001737 00270300 00000002 CD In 00400001 00000020 00000000 Port-D Mix Amp 0030010D 00000001 Port-E Mix Amp 0030010D 00000001 Port-F Mix Amp 0030010D 00000001 CD Mix Amp 0030010D 00000001 Front Microphone Mute 0030010D 00000001 Rear Microphone Mute 0030010D 00000001 PID = parameter ID. Default SSID: BFD10000 Rev. 0 | Page 11 of 16 80053F3D 00000004 00000010 80053F3D 00000008 80053F3D 00000008 80053F3D 00000008 80053F3D 00000008 800B0F0F 80051F17 80051F17 80051F17 80050F00 00000008 80053F3D 00000008 80051F17 80051F17 80051F17 80051F17 80000000 80000000 AD1981HD Table 23. Default Configuration Parameters 31 30 Node ID 05 06 07 08 09 0A 16 17 18 19 Name Port-D (Line Out) Port-A (HP Out) Mono Out Port-B (Front MIC) Port-C (Line In) S/PDIF Out PC Beep In Port-E (Aux In) Port-F (Rear MIC) CD In 29 28 27 24 Location Value Connector Chassis Position 01014010 Jack External Rear 0221401F Jack External Front 90130130 Fixed Internal N/A 02A19040 Jack External Front 01813041 Jack External Rear 01451020 Jack External Rear 90F30150 Fixed Internal N/A 99930144 Fixed Internal Special 3 01A19043 Jack External Rear 99330142 Fixed Internal Special 3 23 20 19 16 Def. Device Line Out HP Out Speaker Mic In Line In SPDIF Out other AUX Mic In CD Conn. Type 1/8" Jack 1/8" Jack ATAPI 1/8" Jack 1/8" Jack Optical ATAPI ATAPI 1/8" Jack ATAPI 15 12 Color Green Green unknown Pink Blue Black unknown unknown Pink unknown 8 7 3 8 4 0 Misc. Ovrrd. Def. Assn. Sequence 0 1 0 0 1 F 1 3 0 0 4 0 0 4 1 0 2 0 1 5 0 1 4 4 0 4 3 1 4 2 Table 24. Widget Connection List NID 2 3 4 5 6 7 8 9 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F Name S/PDIF Front DAC Record ADC Port-D (Line Out) Port-A (Headphone Out) MONO_OUT Port-B (Front Microphone) Port-C (Line In) S/PDIF_OUT Monaural Selector Microphone Mixer PC Beep Selector Analog Mixer Monaural Mixer Digital PC Beep Front Mix Amp Port-B Mix Amp Port-C Mix Amp Analog Power-Down Record Selector PC Beep In Port-E (Aux In) Port-F (Rear Microphone) CD In Port-D Mix Amp Port-E Mix Amp Port-F Mix Amp CD Mix Amp Front Microphone Mute Rear Microphone Mute 0 NID 01 1 NID 04 15 03 03 0F 0E 0E 03 02 03 1E 10 0D 0B 2 NID 3 NID Index 4 NID 5 NID 6 NID 7 NID 8 NID 9 NID 1C 1D 0E 0C 1F 16 11 09 0E 05 18 12 13 1A 1B 1C 1D 03 08 09 0D 0C 0E 09 10 0E 11 0F 12 19 13 05 1A 18 1B 17 03 0E 05 17 18 19 08 18 Rev. 0 | Page 12 of 16 1 4 4 FUNCTION S/PDIF FRONT DAC RECORD ADC PORT-D (LINE OUT) PORT-A (HEADPHONE OUT) 00 01 02 03 04 05 06 3 2 PORT-C (LINE IN) S/PDIF_OUT MONAURAL SELECTOR MICROPHONE MIXER PC BEEP SELECTOR 09 0A 0C 0D Rev. 0 | Page 13 of 16 4 4 DIGITAL PC BEEP FRONT MIX AMP PORT-B MIX AMP PORT-C MIX AMP ANALOG POWERDOWN RECORD SELECTOR PC BEEP IN PORT-E (AUX IN) PORT-F (REAR MICROPHONE) CD IN PORT-D MIX AMP PORT-E MIX AMP PORT-F MIX AMP CD MIX AMP FRONT MICROPHONE MUTE REAR MICROPHONE MUTE 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 3 3 3 3 3 3 3 4 4 3 5 3 3 SET GET STREAM FORMAT Y Y Y 0x2xx 0xAxx AMPLIFIER GAIN/MUTE Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y 0x3xx 0xBXX PROCESSING COEFFICIENT Y 2 0x4xx 0xCxx COFFICIENT INDEX Y 2 0x5xx 0xDxx PARAMETER Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y --- 0xF00 CONNECTION SELECT Y Y Y Y Y Y Y Y 0x701 0xF01 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y --- 0xF02 CONNECTION LIST ENTRY 04321-003 1UNSUPPORTED IN THE AD1981HD. GET VERB ALWAYS RETURNS 0; SET VERBS IGNORED. 2SUPPORTS ADI SPECIFIC FUNCTIONALITY. REFER TO THE AD1981HD PROGRAMMER'S MANUAL FOR MORE INFORMATION. 1F 1E 2 7 2 ANALOG MIXER MONAURAL MIXER 0F 3 0E 0B 4 4 4 4 MONO_OUT PORT-B (FRONT MICROPHONE) 07 08 0 0 X X NAME ROOT NID TYPE ID PROCESSING STATE Y 1 0x703 0xF03 SDATA_IN SELECT 1 1 1 0x704 0xF04 POWER STATE Y Y Y Y 0x705 0xF05 CHANNEL/ STREAM ID Y Y Y 0x706 0xF06 PIN WIDGET CONTROL Y Y Y Y Y Y Y Y Y Y 0x707 0xF07 UNSOLICITED ENABLE Y Y Y Y Y Y 0x708 0xF08 PIN SENSE Y Y Y Y Y Y 0x709 0xF09 BEEP GENERATOR Y 0x70A 0xF0A EAPD/BTL ENABLE Y 0x70C 0xF0C DIGITAL CONVERTER 1 Y 0x70D DIGITAL CONVERTER 2 Y 0x70E 0xF0D AD1981HD Table 25. Widget Verb Support GPIO UNSOLICITED MASK GPIO WAKE MASK GPIO DIRECTI ON GPIO ENABLE GPIO DATA GPO DATA GPI STICKY MASK GPI UNSOLICITED MASK GPI WAKE ENABLE GPI DATA Rev. 0 | Page 14 of 16 Y 4 4 4 4 PORT-C (LINE IN) S/PDIF_OUT PC BEEP IN PORT-E (AUX IN) PORT-F (REAR MICROPHONE) CD IN 08 09 0A 16 17 18 19 04321-004 1UNSUPPORTED IN THE AD1981HD. GET VERB ALWAYS RETURNS 0; SET VERBS IGNORED. 4 4 Y CONFIG DEF BYTE 1 (07:00) Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y 4 Y PORT-B (FRONTMICROPHONE) 4 1 MONO_OUT Y 07 1 4 Y 06 Y 4 Y PORT-D (LINE OUT) X PORT-A (HEADPHONE OUT) FUNCTION NAME GPIO STICKY MASK 05 01 NID RESET SUBSYSTEM ID BYTE 4 (31:24) SUBSYSTEM ID BYTE 3 (23:16) SUBSYSTEM ID BYTE 2 (15:08) SUBSYSTEM ID BYTE 1 (07:00) CONFIG DEF BYTE 4 (31:24) CONFIG DEF BYTE 3 (23:16) CONFIG DEF BYTE 2 (15:08 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y GET 0xF10 0xF11 0xF12 0xF13 0xF14 0xF15 0xF16 0xF17 0xF18 0xF19 0xF1A 0xF1C 0xF20 --TYPE ID SET 0x710 0x711 0x712 0x713 0x714 0x715 0x716 0x717 0x718 0x719 0x71A 0x71C 0x71D 0x71E 0x71F 0x720 0x721 0x722 0x723 0x7FF AD1981HD Table 26. Widget Extended Verb Support AD1981HD JACK PRESENCE DETECTION HD AUDIO STYLE JACK PRESENCE DETECTION The AD1981HD uses two jack sense lines for jack presence detection. Combined with the peripheral enumeration engines, this enables software to determine if there is a device plugged into the circuit and what type of device it is. Software can also reconfigure jacks and amplifiers as necessary, ensuring proper audio operation and providing jack retasking. Jack presence is detected using a resistor tree arrangement outlined in the HD audio specification. Up to four jacks can be sensed on a single sense line by using different value resistors for each jack between the sense line and ground (AVSS). Jacks must normally have open, isolated switches to use this method of jack presence detection. Jack presence is reflected in the HD audio pin widget pin sense verb. The MSB (Bit 31) indicates the current plugged state of the connected jack. Jack change interrupts can be enabled using the unsolicited response verb on each of these nodes. Each jack can be set to generate a different value to provide event identification within the software interrupt. There are two methods to connect the codec to the jack presence detection pins. In the first method, use a single 2.69 kΩ 1% resistor between the SENSE_A and SENSE_B lines, but no capacitor. In the second method use a single 2.69 kΩ resister between SENSE_A and AVDD and between SENSE_B and AVDD. In the second method, the designer can add up to 1 μF of capacitance on each sense line. Designers should offer both methods for maximum flexibility. The specific resistor value for each jack is shown in Table 27. Use 1% resistors for all jack presence detect circuitry to ensure accurate detection. CLASSIC JACK PRESENCE DETECTION The AD1981HD GPIO pins can be used as classic jack sense pins in JS_0- and JS_1-style operation (similar to AD1981B operation). Only two jacks, typically line out and headphone out, are supported in this configuration. The GPIO pins can be connected to the left channel wrap-back switch on the jack via a 2.2 kΩ (typical) resistor. The left channel needs a 20 kΩ (typical) resistor-to-analog ground to complete the circuit. This configuration allows autoconfiguration when other devices are plugged in; for example, when headphones are plugged in, the external speakers are disabled for private listening. Table 27. Jack Sense Mapping SENSE_A Resistor (1% tolerance) 5.1 kΩ 10.0 kΩ 20.0 kΩ 39.2 kΩ Name Line Out Line In Front Microphone Headphone Out Port D C B A SENSE_B HD Audio Node ID 0x05 0x09 0x08 0x06 Rev. 0 | Page 15 of 16 Name N/A N/A Rear Microphone Aux In Port N/A N/A F E HD Audio Node ID N/A N/A 0x18 0x17 AD1981HD OUTLINE DIMENSIONS 0.75 0.60 0.45 9.00 BSC SQ 1.60 MAX 37 48 36 1 PIN 1 0.15 0.05 7.00 BSC SQ TOP VIEW 1.45 1.40 1.35 SEATING PLANE 0.20 0.09 7° 3.5° 0° 0.08 MAX COPLANARITY (PINS DOWN) 25 12 13 VIEW A 0.50 BSC LEAD PITCH VIEW A 24 0.27 0.22 0.17 ROTATED 90° CCW COMPLIANT TO JEDEC STANDARDS MS-026BBC Figure 4. 48-Lead Low Profile Quad Flat Package [LQFP] (ST-48) Dimensions shown in millimeters ORDERING GUIDE Model AD1981HDJSTZ 1 AD1981HDJSTZ-REEL 1 Temperature Range 0°C to +70°C 0°C to +70°C Package Description 48-Lead LQFP, Tray Version 48-Lead LQFP, Reel Version Z = Pb-free part. © 2005 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D04321–0–6/05(0) Rev. 0 | Page 16 of 16 Package Option ST-48 ST-48