a AC'97 SoundMAX Codec AD1886A (R) AC'97 2.1 FEATURES Variable Sample Rate Audio Multiple Codec Configuration Options External Audio Power-Down Control Stereo Line Level Outputs Mono Output for Speakerphone or Internal Speaker Power Management Support 48-Terminal LQFP Package AC'97 FEATURES AC'97 2.2 Compliant Greater than 90 dB Dynamic Range Stereo Headphone Amplifier Multibit - Converter Architecture for Improved S/N Ratio Greater than 90 dB 16-Bit Stereo Full-Duplex Codec Four Analog Line-Level Stereo Inputs for: LINE-IN, CD, VIDEO, and AUX Two Analog Line-Level Mono Inputs for Speakerphone and PC BEEP Mono MIC Input w/Built-In 20 dB Preamp, Switchable from Two External Sources High-Quality CD Input with Ground Sense ENHANCED FEATURES 20-Bit SPDIF Output w/32 kHz, 44.1 kHz, and 48 kHz Symbol Rates Full Duplex Variable Sample Rates from 7040 Hz to 48 kHz with 1 Hz Resolution Jack Sense Pins Provide Automatic Output Switching Software-Enabled VREFOUT Output for Microphones and External Power Amp Split Power Supplies (3.3 V Digital/5 V Analog) Mobile Low-Power Mixer Mode Extended 6-Bit Master Volume Control Extended 6-Bit Headphone Volume Control Digital Audio Mixer Mode PhatTM Stereo 3D Stereo Enhancement FUNCTIONAL BLOCK DIAGRAM ID0 ID1 SPDIF JS VREF VREFOUT CHIP SELECT MIC1 AD1886A JACK SENSE SPDIF OUT 0dB/ 20dB MIC2 LINE SELECTOR AUX CD VIDEO PGA 16-BIT - A/D CONVERTER PGA 16-BIT - A/D CONVERTER RESET PHONE_IN SYNC HP_OUT_L LINE_OUT_L SAMPLE RATE GENERATORS MV G A M MV MV LINE_OUT_R MV HP_OUT_R MV G A M G A M G A M G A M G A M AC LINK MONO_OUT BIT_CLK SDATA_OUT PHAT STEREO PHAT STEREO A M G = GAIN A = ATTENUATE M = MUTE G A M 16-BIT - D/A CONVERTER G A M 16-BIT - D/A CONVERTER SDATA_IN OSCILLATOR PC_BEEP XTAL_OUT XTAL_IN SoundMAX is a registered trademark and Phat is a trademark of Analog Devices, Inc. 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. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 (c) Analog Devices, Inc., 2001 AD1886A-SPECIFICATIONS STANDARD TEST CONDITIONS UNLESS OTHERWISE NOTED Temperature Digital Supply (VDD) Analog Supply (VCC) Sample Rate (fS) Input Signal Analog Output Pass Band VIH VIL VIH (CS0, CS1, CHAIN_IN) VIL DAC Test Conditions Calibrated -3 dB Attenuation Relative to Full Scale Input 0 dB 10 k Output Load (LINE_OUT) 32 Output Load (HP_OUT) 25C 3.3 V 5.0 V 48 kHz 1008 Hz 20 Hz to 20 kHz 2.0 V 0.8 V 4.0 V 1.0 V ADC Test Conditions Calibrated 0 dB Gain Input -3.0 dB Relative to Full Scale ANALOG INPUT Parameter Min Input Voltage (RMS Values Assume Sine Wave Input) LINE_IN, AUX, CD, VIDEO, PHONE_IN, PC_BEEP MIC1 or MIC2 with +20 dB Gain (M20 = 1) MIC1 or MIC2 with 0 dB Gain (M20 = 0) Input Impedance* Input Capacitance* Typ Max Unit 1 2.83 0.1 0.283 1 2.83 20 5 7.5 V rms V p-p V rms V p-p V rms V p-p k pF Typ Max Unit 80 dB dB dB dB dB dB dB Max Unit MASTER VOLUME Parameter Min Step Size (0 dB to -94.5 dB); LINE_OUT_L, LINE_OUT_R Output Attenuation Range Span* Step Size (0 dB to -46.5 dB); MONO_OUT Output Attenuation Range Span* Step Size (+6 dB to -88.5 dB); HP_OUT_R, HP_OUT_L Output Attenuation Range Span* Mute Attenuation of 0 dB Fundamental* 1.5 -94.5 1.5 -46.5 1.5 -94.5 PROGRAMMABLE GAIN AMPLIFIER--ADC Parameter Min Step Size (0 dB to 22.5 dB) PGA Gain Range Span Typ 1.5 22.5 dB dB ANALOG MIXER--INPUT GAIN / AMPLIFIERS / ATTENUATORS Parameter Min Signal-to-Noise Ratio (SNR) CD to LINE_OUT Other to LINE_OUT Step Size (+12 dB to -34.5 dB): (All Steps Tested) MIC, LINE_IN, AUX, CD, VIDEO, PHONE_IN, DAC Input Gain/Attenuation Range: MIC, LINE, AUX, CD, VIDEO, PHONE_IN, DAC Step Size (0 dB to -45 dB): (All Steps Tested) PC_BEEP Input Gain/Attenuation Range: PC_BEEP Typ Max Unit 90 90 dB dB 1.5 dB -46.5 dB 3.0 -45 dB dB *Guaranteed but not tested. -2- REV. 0 AD1886A DIGITAL DECIMATION AND INTERPOLATION FILTERS* Parameter Min Pass Band Pass-Band Ripple Transition Band Stop Band Stop-Band Rejection Group Delay Group Delay Variation over Pass Band 0 Typ 0.4 x fS 0.6 x fS -74 Max Unit 0.4 x fS 0.09 0.6 x fS 12/fS 0.0 Hz dB Hz Hz dB sec s Max Unit ANALOG-TO-DIGITAL CONVERTERS Parameter Min Resolution Total Harmonic Distortion (THD) Dynamic Range (-60 dB input THD + N Referenced to Full Scale, A-Weighted) Signal-to-Intermodulation Distortion* (CCIF Method) ADC Crosstalk* Line Inputs (Input L, Ground R, Read R; Input R, Ground L, Read L) LINE_IN to Other Gain Error (Full-Scale Span Relative to Nominal Input Voltage) Interchannel Gain Mismatch (Difference of Gain Errors) ADC Offset Error 84 Typ 16 -84 87 85 Bits dB dB dB -100 -90 -90 -85 10 0.5 5 dB dB % dB mV Typ Max Unit 0.7 -80 Bits dB dB dB dB % dB dB DIGITAL-TO-ANALOG CONVERTERS Parameter Min Resolution Total Harmonic Distortion (THD) LINE_OUT Total Harmonic Distortion (THD) HP_OUT Dynamic Range (-60 dB Input THD + N Referenced to Full Scale, A-Weighted) Signal-to-Intermodulation Distortion* (CCIF Method) Gain Error (Full-Scale Span Relative to Nominal Input Voltage) Interchannel Gain Mismatch (Difference of Gain Errors) DAC Crosstalk* (Input L, Zero R, Measure R_OUT; Input R, Zero L, Measure L_OUT) Total Audible Out-of-Band Energy (Measured from 0.6 x fS to 20 kHz)* 85 16 -85 -75 90 -100 10 -40 dB ANALOG OUTPUT Parameter Min Full-Scale Output Voltage; LINE_OUT Max 1 2.83 Output Impedance* External Load Impedance* Output Capacitance* External Load Capacitance Full-Scale Output Voltage; HP_OUT (0 dB Gain) Output Capacitance* External Load Impedance* VREF VREF_OUT VREF _OUT Current Drive Mute Click (Muted Output Minus Unmuted Midscale DAC Output) *Guaranteed but not tested. REV. 0 Typ -3- 800 10 15 100 1 100 32 2.05 2.25 2.25 2.45 5 5 Unit V rms V p-p k pF pF V rms pF V V mA mV AD1886A-SPECIFICATIONS STATIC DIGITAL SPECIFICATIONS Parameter Min 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 0.65 x DVDD Typ Max 0.1 x DVDD +10 +10 V V V V A A 0.35 x DVDD 0.9 x DVDD -10 -10 Unit POWER SUPPLY Parameter Min Typ Max Unit Power Supply Range--Analog (AVDD) Power Supply Range--Digital (DVDD) Power Dissipation--5 V/3.3 V Analog Supply Current--5 V (AVDD) Digital Supply Current--3.3 V (DVDD) Power Supply Rejection (100 mV p-p Signal @ 1 kHz)* (At Both Analog and Digital Supply Pins, Both ADCs and DACs) 4.75 3.0 5.0 3.3 306 48 20 40 5.25 3.6 V V mW mA mA dB Parameter Min Typ Max Unit Input Clock Frequency Recommended Clock Duty Cycle 40 24.576 50 60 MHz % CLOCK SPECIFICATIONS* POWER-DOWN STATES Parameter Set Bits DVDD Typ AVDD Typ Unit ADC DAC ADC + DAC ADC + DAC + Mixer (Analog CD On) Mixer ADC + Mixer DAC + Mixer ADC + DAC + Mixer Analog CD Only (AC-Link On) Analog CD Only (AC-Link Off) Standby Headphone Standby PR0 PR1 PR1, PR0 LPMIX, PR1, PR0 PR2 PR2, PR0 PR2, PR1 PR2, PR1, PR0 LPMIX, PR5, PR1, PR0 LPMIX, PR1, PR0, PR4, PR5 PR5, PR4, PR3, PR2, PR1, PR0 PR6 17.5 17.0 4.1 4.1 20 17.6 17 4.1 4.1 0 0 20 41.6 38.3 31.9 22.4 17.5 11.2 8.4 2.2 22.4 22.4 0 38.8 mA mA mA mA mA mA mA mA mA mA mA mA *Guaranteed but not tested. Specifications subject to change without notice. -4- REV. 0 AD1886A TIMING PARAMETERS (GUARANTEED OVER OPERATING TEMPERATURE RANGE) Parameter Symbol RESET Active Low Pulsewidth RESET Inactive to BIT_CLK Startup Delay SYNC Active High Pulsewidth SYNC Low Pulsewidth SYNC Inactive to BIT_CLK Startup Delay BIT_CLK Frequency BIT_CLK Period BIT_CLK Output Jitter* BIT_CLK High Pulsewidth BIT_CLK Low Pulsewidth SYNC Frequency SYNC Period Setup to Falling Edge of BIT_CLK Hold from Falling Edge of BIT_CLK BIT_CLK Rise Time BIT_CLK Fall Time SYNC Rise Time SYNC Fall Time SDATA_IN Rise Time SDATA_IN Fall Time SDATA_OUT Rise Time SDATA_OUT Fall Time End of Slot 2 to BIT_CLK, SDATA_IN Low Setup to Trailing Edge of RESET (Applies to SYNC, SDATA_OUT) Rising Edge of RESET to HI-Z Delay Propagation Delay RESET Rise Time Output Valid Delay from Rising Edge of BIT_CLK to SDI Valid tRST_LOW tRST2CLK tSYNC_HIGH tSYNC_LOW tSYNC2CLK *Guaranteed but not tested. Specifications subject to change without notice. REV. 0 -5- Min Typ Max 1.0 162.8 1.3 19.5 162.8 12.288 81.4 tCLK_PERIOD tCLK_HIGH tCLK_LOW 32.56 32.56 tSYNC_PERIOD tSETUP tHOLD tRISECLK tFALLCLK tRISESYNC tFALLSYNC tRISEDIN tFALLDIN tRISEDOUT tFALLDOUT tS2_PDOWN tSETUP2RST tOFF 5 5 2 2 2 2 2 2 2 2 0 15 42 38 48.0 20.8 2.5 4 4 4 4 4 4 4 4 750 48.84 48.84 6 6 6 6 6 6 6 6 1.0 25 15 50 15 Unit s ns ms s ns MHz ns ps ns ns kHz s ns ns ns ns ns ns ns ns ns ns s ns ns ns ns ns AD1886A tRST_LOW tRST2CLK BIT_CLK RESET tFALLCLK tRISECLK BIT_CLK SYNC Figure 1. Cold Reset tRISESYNC tFALLSYNC SDATA_IN tRISEDIN tRST2CLK tSYNC_HIGH tFALLDIN SYNC SDATA_OUT BIT_CLK tRISEDOUT tFALLDOUT Figure 5. Signal Rise and Fall Time Figure 2. Warm Reset tCLK_LOW BIT_CLK tCLK_HIGH SYNC tCLK_PERIOD SLOT 1 SLOT 2 WRITE TO 0x26 DATA PR4 BIT_CLK tSYNC_LOW SYNC SDATA_OUT DON'T CARE tS2_PDOWN tSYNC_HIGH tSYNC_PERIOD SDATA_IN NOTE: BIT_CLK NOT TO SCALE Figure 6. AC Link Low Power Mode Timing Figure 3. Clock Timing tSETUP RESET BIT_CLK SDATA_OUT SYNC tSETUP2RST SDATA_OUT SDATA_IN, BIT_CLK tHOLD HI-Z tOFF Figure 7. ATE Test Mode Figure 4. Data Setup and Hold -6- REV. 0 AD1886A ABSOLUTE MAXIMUM RATINGS* Parameter Power Supplies Digital (DVDD) Analog (AVCC) Input Current (Except Supply Pins) Analog Input Voltage (Signal Pins) Digital Input Voltage (Signal Pins) Ambient Temperature (Operating) Storage Temperature Min ORDERING GUIDE Max Unit Model -0.3 -0.3 -0.3 -0.3 0 -65 +3.6 +6.0 10.0 AVDD + 0.3 DVDD + 0.3 70 +150 V V mA V V 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. Temperature Range AD1886AJST 0C to 70C Package Option* 48-Lead LQFP ST-48 *ST = Thin Quad Flatpack. ENVIRONMENTAL CONDITIONS Ambient Temperature Rating TAMB = TCASE - (PD x CA) TCASE = Case Temperature in C PD = Power Dissipation in W CA = Thermal Resistance (Case-to-Ambient) JA = Thermal Resistance (Junction-to-Ambient) JC = Thermal Resistance (Junction-to-Case) Package JA JC CA LQFP 76.2C/W 17C/W 59.2C/W 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 the AD1886A 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 Package Description -7- WARNING! ESD SENSITIVE DEVICE AD1886A MONO_OUT AVDD2 HP_OUT_L AVSS2 HP_OUT_R NC AVDD3 ID0 AVSS3 ID1 JS SPDIF PIN CONFIGURATION 48 47 46 45 44 43 42 41 40 39 38 37 DVDD1 1 36 LINE_OUT_R 35 LINE_OUT_L XTL_OUT 3 34 CX3D DVSS1 4 33 RX3D SDATA_OUT 5 32 FILT_L 31 FILT_R 30 AFILT2 SDATA_IN 8 29 AFILT1 DVDD2 9 28 VREFOUT SYNC 10 27 VREF RESET 11 PC_BEEP 12 26 AVSS1 25 AVDD1 XTL_IN 2 PIN 1 IDENTIFIER BIT_CLK 6 AD1886A DVSS2 7 TOP VIEW (Not to Scale) LINE_IN_R LINE_IN_L MIC2 MIC1 CD_R CD_L CD_GND_REF VIDEO_R VIDEO_L AUX_R AUX_L PHONE_IN 13 14 15 16 17 18 19 20 21 22 23 24 NC = NO CONNECT PIN FUNCTION DESCRIPTIONS Digital I/O Pin Name LQFP I/O Description XTL_IN XTL_OUT SDATA_OUT BIT_CLK SDATA_IN SYNC RESET SPDIF 2 3 5 6 8 10 11 48 I O I O/I O I I O Crystal (or Clock) Input, 24.576 MHz. Crystal Output AC-Link Serial Data Output, AD1886A Input Stream. AC-Link Bit Clock. 12.288 MHz Serial Data Clock. Daisy-Chain Output Clock. AC-Link Serial Data Input. AD1886A Output Stream. AC-Link Frame Sync AC-Link Reset. AD1886A Master H/W Reset. SPDIF Output Pin Name LQFP Type Description ID0 ID1 45 46 I I Chip Select Input 0 (Active Low) Chip Select Input 1 (Active Low) CHIP SELECTS JACK SENSE/GENERAL-PURPOSE DIGITAL OUTPUT The JS pin can be used to sense the presence of an audio plug in the output jacks and automatically mute the MONO and/or LINE_OUT audio outputs. Alternatively, the JS can be programmed as a general-purpose digital output pin. Pin Name LQFP Type Description JS 47 I/O JACK SENSE Input, or GPIO. -8- REV. 0 AD1886A Analog I/O These signals connect the AD1886A component to analog sources and sinks, including microphones and speakers. Pin Name LQFP I/O Description PC_BEEP PHONE AUX_L AUX_R VIDEO_L VIDEO_R CD_L CD_GND_REF CD_ R MIC1 MIC2 LINE_IN_L LINE_IN_R LINE_OUT_L LINE_OUT_R MONO_OUT HP_OUT_L HP_OUT_R 12 13 14 15 16 17 18 19 20 21 22 23 24 35 36 37 39 41 I I I I I I I I I I I I I O O O O O PC Beep. PC Speaker beep passthrough. Phone. From telephony subsystem speakerphone or handset. Auxiliary Input Left Channel Auxiliary Input Right Channel Video Audio Left Channel Video Audio Right Channel CD Audio Left Channel CD Audio Analog Ground Reference for CD Input CD Audio Right Channel Microphone 1. Desktop microphone input. Microphone 2. Second microphone input. Line In, Left Channel. Line In, Right Channel. Line Out, Left Channel. Line Out, Right Channel. Monaural Output to Telephony Subsystem Speakerphone Headphones Out, Left Channel. Headphones Out, Right Channel. Filter/Reference These signals are connected to resistors, capacitors, or specific voltages. Pin Name LQFP I/O Description VREF VREFOUT AFILT1 AFLIT2 FILT_R FILT_L RX3D CX3D 27 28 29 30 31 32 33 34 O O O O O O O I Voltage Reference Filter Voltage Reference Output 5 mA Drive. (Intended for Mic Bias.) Antialiasing Filter Capacitor--ADC Right Channel. Antialiasing Filter Capacitor--ADC Left Channel. AC-Coupling Filter Capacitor--ADC Right Channel. AC-Coupling Filter Capacitor--ADC Left Channel. 3D Phat Stereo Enhancement--Resistor. 3D Phat Stereo Enhancement--Capacitor. Power and Ground Signals Pin Name LQFP Type Description DVDD1 DVSS1 DV SS2 DVDD2 AVDD1 AVSS1 AVDD2 AVSS2 AVDD3 AVSS3 1 4 7 9 25 26 38 40 43 44 I I I I I I I I I I Digital VDD 3.3 V Digital GND Digital GND Digital VDD 3.3 V Analog VDD 5.0 V Analog GND Analog VDD 5.0 V Analog GND Analog VDD 5.0 V Analog GND Pin Name LQFP Type Description NC 42 No Connects REV. 0 No Connect -9- AD1886A JS SPDIF AD1886A MIC1 MIC2 0 MS 1 S 0x20 SPDIF 0dB/20dB M20 0x0E LS/RS (0) LS (4) RS (4) GM 0x1C LSLIM (3) S RSIM(3) E L LS (1) E RS (1) C T LS (2) O RS (2) R LINE_IN AUX CD VIDEO PHONE_IN LS/RS (7) GM 0x1C RIM LSIM(5) 0x3A 0x2A 0x28 0x72 JACK SENSE 0x72 GM 0x1C LIV IM 16-BIT - A/D GM 0x1C RIV IM 16-BIT - A/D LS/RS (6) RESET RS (5) S 0x1A PHV GA 0x0E GA 0x10 GA 0x12 GA 0x16 GA 0x14 MCV LLV RLA LCV RCV LAV RAV LVV RVV M 0x0E M 0x10 M 0x12 M 0x16 M 0x14 MCM LM CM AM VM AC LINK SYNC GA 0x0C M 0x0C PHM HP_OUT_L LINE_OUT_L 0x04 0x04 HPM LHV LINE_OUT_R M 0x02 A 0x02 LMV M 0x06 A 0x06 0 MMM MMV 1 M 0x02 A 0x02 MM RMV HP_OUT_R 0x04 0x04 HPM RHV SDATA_OUT SDATA_IN MM MONO_OUT BIT_CLK 3D 0x22 POP3D GAM 0x18 LOV OM 16-BIT - D/A MIX S 0x20 D A M 3D 0x20 SWITCH 3D 0x22 POP3D GAM 0x18 ROV OM 16-BIT - D/A M 0x0A PCM PC_BEEP A 0x0A OSCILLATORS PCV XTL_OUT XTL_IN Figure 8. Block Diagram Register Map -10- REV. 0 AD1886A Indexed Control Registers Reg Num Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Default 00h Reset X SE4 SE3 SE2 SE1 SE0 ID9 ID8 ID7 ID6 ID5 ID4 ID3 ID2 ID1 ID0 0410h 02h Master Volume MM X LMV5 LMV4 LMV3 LMV2 LMV1 LMV0 X X RMV5 RMV4 RMV3 RMV2 RMV1 RMV0 8000h 04h Headphones Volume HPM X LHV5 LHV4 LHV3 LHV2 LHV1 LHV0 X X RHV5 RHV3 RHV2 RHV1 RHV0 8000h 06h Master Volume Mono MMM X X X X X X X X X X MMV4 MMV3 MMV2 MMV1 MMV0 8000h 08h Reserved X X X X X X X X X X X X X X 0Ah PC Beep Volume PCM X X X X X X X X X X PCV3 PCV2 0Ch Phone-In Volume PHM X X X X X X X X X X PHV4 PHV3 0Eh Mic Volume MCM X X X X X X X X M20 X MCV4 MCV3 MCV2 10h Line-In Volume LM X X LLV4 LLV3 LLV2 LLV1 LLV0 X X X RLV4 RLV3 RLV2 RLV1 RLV0 8808h 12h CD Volume CVM X X LCV4 LCV3 LCV2 LCV1 LCV0 X X X RCV4 RCV3 RCV2 RCV1 RCV0 8808h 14h Video Volume VM X X LVV4 LVV3 LVV2 LVV1 LVV0 X X X RVV4 RVV3 RVV2 RVV1 RVV0 8808h 16h Aux Volume AM X X LAV4 LAV3 LAV2 LAV1 LAV0 X X X RAV4 RAV3 RAV2 RAV1 RAV0 8808h 18h PCM Out Vol OM X X LOV4 LOV3 LOV2 LOV1 LOV0 X X X ROV4 ROV3 ROV2 ROV1 ROV0 8808h RHV4 X X X PCV1 PCV0 X PHV2 PHV1 PHV0 8008h MCV1 MCV0 8008h 8000h 1Ah Record Select X X X X X LS2 LS1 LS0 X X X X X RS2 RS1 RS0 0000h 1Ch Record Gain IM X X X LIM3 LIM2 LIM1 LIM0 X X X X RIM3 RIM2 RIM1 RIM0 8000h 20h General-Purpose POP X 3D X X X MIX MS LPBK X X X X X X X 0000h 22h 3D Control X X X X X X X X X X X DP3 DP2 DP1 DP0 0000h X 26h Power-Down Ctrl/Stat X X PR5 PR4 PR3 PR2 PR1 PR0 X X X X REF ANL DAC ADC 000Xh 28h Ext'd Audio ID ID1 ID0 X X X X X X X X X X X SPDF X VRA 0005h 2Ah Ext'd Audio Stat/Ctrl X X X X X SPCV X X X X SPSA1 SPSA0 X SPDIF X VRA 0000h 2Ch/ PCM DAC Rate (SR1) SR15 (7Ah)* SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0 BB80h 32h/ PCM ADC Rate (SR0) SR15 (78h)* SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0 BB80h 3Ah SPDIF Control V X SPSR1 SPSR0 L CC6 CC5 CC4 CC3 CC2 CC1 CC0 PRE COPY AUD PRO 0000h 72h Jack Sense/SPDIF SPMIX JSOD SPRZ JSPD X JSOE JSLM JSD X JSC JSMM JSM VWI JS1 JS0 JSI 0000h 74h Serial Configuration SLOT16 REGM2 REGM1 REGM0 DRQEN X X X X X X X X X X X 7000h 76h Misc Control Bits DACZ LPMIX X DAM DMS DLSR X ALSR MOD SRX1 EN 0D7 SRX8 D7 X X DRSR X ARSR 0404h 7Ch Vendor ID1 F7 F6 F5 F4 F3 F2 F1 F0 S7 S5 S4 S3 S2 S1 S0 4144h 7Eh Vendor ID2 T7 T6 T5 T4 T3 T2 T1 T0 REV7 REV6 REV5 REV4 REV3 REV2 REV1 REV0 5363h NOTES All registers not shown and bits containing an X are assumed to be reserved. Odd register addresses are aliased to the next lower even address. Reserved registers should not be written. Zeros should be written to reserved bits. *Indicates Aliased register for AD1819, AD1819A backward compatibility REV. 0 -11- S6 AD1886A Reset (Index 00h) Reg Name Num D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default 00h X SE4 SE3 SE2 SE1 SE0 ID9 ID8 ID7 ID6 ID5 ID4 ID3 ID2 ID1 ID0 0410h Reset Note: Writing any value to this register performs a register reset, which causes all registers to revert to their default values (except 74h, which forces the serial configuration). Reading this register returns the ID code of the part and a code for the type of 3D Stereo Enhancement. ID[9:0] Identify Capability. The ID decodes the capabilities of AD1886A based on the following: Bit = 1 Function AD1886A* ID0 ID1 ID2 ID3 ID4 ID5 ID6 ID7 ID8 ID9 Dedicated Mic PCM in Channel Modem Line Codec support Bass and Treble Control Simulated Stereo (Mono to Stereo) Headphone Out Support Loudness (Bass Boost) Support 18-Bit DAC Resolution 20-Bit DAC Resolution 18-Bit ADC Resolution 20-Bit ADC Resolution 0 0 0 0 1 0 0 0 0 0 *The AD1886A contains none of the optional features identified by these bits. SE[4:0] Stereo Enhancement. The 3D stereo enhancement identifies the Analog Devices 3D stereo enhancement. Master Volume Registers (Index 02h) Reg Num 02h Name Master Volume RMV[5:0] LMV[5:0] MM D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 MM MM X LMV5 LMV4 LMV3 LMV2 LMV1 LMV0 X D6 D6 X D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default RMV5 RMV4 RMV3 RMV2 RMV1 RMV0 8000h Right Master Volume Control. The least significant bit represents 1.5 dB. This register controls the output from 0 dB to a maximum attenuation of -94.5 dB. Left Master Volume Control. The least significant bit represents 1.5 dB. This register controls the output from 0 dB to a maximum attenuation of -94.5 dB. Master Volume Mute. When this bit is set to "1," the channel is muted. MM xMV5 . . . xMV0 Function 0 0 0 1 00 0000 01 1111 11 1111 xx xxxx 0 dB Attenuation -46.5 dB Attenuation -94.5 dB Attenuation - dB Attenuation -12- REV. 0 AD1886A Headphones Volume Registers (Index 04h) Reg Num 04h Name Headphone Volume D15 D14 D13 D12 D11 D10 D9 D9 D8 D7 D7 D8 LHV5 LHV4 LHV3 LHV2 LHV1 LHV0 X HPM X D6 D6 X D5 D5 D4 D3 D2 D1 D0 Default D4 D3 D2 D1 D0 RHV5 RHV4 RHV3 RHV2 RHV1 RHV0 8000h RHV[5:0] Right Headphone Volume Control. The least significant bit represents 1.5 dB. This register controls the output from +6 dB to a maximum attenuation of -88.5 dB. LHV[5:0] Left Headphone Volume Control. The least significant bit represents 1.5 dB. This register controls the output from +6 dB to a maximum attenuation of -88.5 dB. HPM Headphones Volume Mute. When this bit is set to "1," the channel is muted. HPM xHV5 . . . xHV0 Function 0 0 0 1 00 0000 01 1111 11 1111 xx xxxx 6 dB Gain -40.5 dB Attenuation -88.5 dB Attenuation - dB Attenuation Master Volume Mono (Index 06h) Reg Num 06h Name D14 D13 D12 D11 D10 D9 D9 D15 Master Volume Mono MMM X X X X X X D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X MMV5 MMV4 MMV3 MMV2 MMV1 MMV0 8000h MMV[5:0] Mono Master Volume Control. The least significant bit represents 1.5 dB. This register controls the output from 0 dB to a maximum attenuation of -94.5 dB. MMM Mono Master Volume Mute. When this bit is set to "1," the channel is muted. PC Beep Register (Index 0Ah) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 0Ah PC_BEEP Volume PCM X X X X X X X X X X PCV3 PCV2 PCV1 PCV0 X D3 D3 D2 D2 D1 D1 D0 D0 Default 8000h PCV[3:0] PC Beep Volume Control. The least significant bit represents 3 dB attenuation. This register controls the output from 0 dB to a maximum attenuation of -45 dB. The PC Beep is routed to Left and Right Line outputs even when AD1886A is in a RESET State. This is so Power-On Self-Test (POST) codes can be heard by the user in case of a hardware problem with the PC. PCM PC Beep Mute. When this bit is set to "1," the channel is muted. REV. 0 PCM PCV3 . . . PCV0 Function 0 0 1 0000 1111 xxxx 0 dB Attenuation 45 dB Attenuation dB Attenuation -13- AD1886A Phone Volume (Index 0Ch) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 0Ch Phone Volume PHM X X X X X X X D7 D7 D6 D6 X X D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X PHV4 PHV3 PHV2 PHV1 PHV0 8008h PHV[4:0] Phone Volume. Allows setting the Phone Volume Attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. PHM Phone Mute. When this bit is set to "1," the channel is muted. Mic Volume (Index 0Eh) Reg Name Num 0Eh MIC Volume D15 D14 MCM X D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X X X X X M20 X MCV4 MCV3 MCV2 MCV1 MCV0 8008h MCV[4:0] Mic Volume Gain. Allows setting the Mic Volume attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. M20 Microphone 20 dB Gain Block 0 = Disabled; Gain = 0 dB 1 = Enabled; Gain = 20 dB MCM Mic Mute. When this bit is set to "1," the channel is muted. Line In Volume (Index 10h) Reg Name Num 10h D15 Line In Volume LM LM D14 D13 D12 X X D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X RLV4 RLV3 RLV2 RLV1 RLV0 8808h LLV4 LLV3 LLV2 LLV1 LLV0 RLV[4:0] Right Line In Volume. Allows setting the Line In right channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LLV[4:0] Left Line In Volume. Allows setting the Line In left channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LM Line In Mute. When this bit is set to "1," the channel is muted. CD Volume (Index 12h) Reg Name Num 12h D15 D14 CD Volume CVM X D13 D12 D11 D10 D9 D9 D8 D8 X LCV4 LCV3 LCV2 LCV1 LCV0 D7 D7 X D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X RCV4 RCV3 RCV2 RCV1 RCV0 8808h RCV[4:0] Right CD Volume. Allows setting the CD right channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LCV[4:0] Left CD Volume. Allows setting the CD left channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. CVM CD Volume Mute. When this bit is set to "1," the channel is muted. -14- REV. 0 AD1886A Video Volume (Index 14h) Reg Name Num 14h D15 Video Volume VM VM D14 D13 D12 D11 D10 D9 D9 D8 D8 X X LVV4 LVV3 LVV2 LVV1 LVV0 D7 D7 X D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X RVV4 RVV3 RVV2 RVV1 RVV0 8808h RVV[4:0] Right Video Volume. Allows setting the Video right channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LVV[4:0] Left Video Volume. Allows setting the Video left channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. VM Video Mute. When this bit is set to "1," the channel is muted. AUX Volume (Index 16h) Reg Name Num D15 D14 D13 D12 16h AM AM X X LAV4 LAV3 LAV2 LAV1 LAV0 Aux Volume D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X RAV4 RAV3 RAV2 RAV1 RAV0 8808h RAV[4:0] Right Aux Volume. Allows setting the Aux right channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LAV[4:0] Left Aux Volume. Allows setting the Aux left channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. AM Aux Mute. When this bit is set to "1," the channel is muted. PCM Out Volume (Index 18h) Reg Name Num 18h PCM Out Volume D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 OM OM X X LOV4 LOV3 LOV2 LOV1 LOV0 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X ROV4 ROV3 ROV2 ROV1 ROV0 8808h ROV[4:0] Right PCM Out Volume. Allows setting the PCM right channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. LOV[4:0] Left PCM Out Volume. Allows setting the PCM left channel attenuator in 32 steps. The LSB represents 1.5 dB, and the range is +12 dB to -34.5 dB. The default value is 0 dB, mute enabled. OM PCM Out Volume Mute. When this bit is set to "1," the channel is muted. Volume Table (Index 0Ch to 18h) REV. 0 Mute x4 . . . x0 Function 0 0 0 1 00000 01000 11111 xxxxx +12 dB Gain 0 dB Gain -34.5 dB Gain - dB Gain -15- AD1886A Record Select Control Register (Index 1Ah) Reg Name Num 1Ah D15 Record Select X D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 X X X X LS2 LS1 LS0 X RS[2:0] Right Record Select LS[2:0] Left Record Select D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X X RS2 RS1 RS0 0000h Used to select the record source independently for right and left. See table for legend. The default value is 0000h, which corresponds to Mic in. RS2 . . . RS0 Right Record Source 0 1 2 3 4 5 6 7 MIC CD_R VIDEO_R AUX_R LINE_IN_R Stereo Mix (R) Mono Mix PHONE_IN LS2 . . . LS0 Left Record Source 0 1 2 3 4 5 6 7 MIC CD_L VIDEO_L AUX_L LINE_IN_L Stereo Mix (L) Mono Mix PHONE_IN Record Gain (Index 1Ch) Reg Name Num D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 1Ch IM IM X X X LIM3 LIM2 LIM1 LIM0 Record Gain D7 D7 X D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X RIM3 RIM2 RIM1 RIM0 8000h RIM[3:0] Right Input Mixer Gain Control. Each LSB represents 1.5 dB, 0000 = 0 dB and the range is 0 dB to +22.5 dB. LIM[3:0] Left Input Mixer Gain Control. Each LSB represents 1.5 dB, 0000 = 0 dB and the range is 0 dB to +22.5 dB. IM Input Mute 0 = Unmuted 1 = Muted or - dB Gain IM xIM3 . . . xIM0 Function 0 0 1 1111 0000 xxxxx +22.5 dB Gain 0 dB Gain - dB Gain -16- REV. 0 AD1886A General-Purpose Register (Index 20h) Reg Num Name 20h D15 D14 General-Purpose POP X D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 3D 3D X X X MIX MS MS LPBK X D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X X X X X Note: This register should be read before writing to generate a mask for only the bit(s) that need to be changed. The function default value is 0000h, which is all off. LPBK Loopback Control. ADC/DAC digital loopback mode. MS Mic Select 0 = Mic1 1 = Mic2 MIX Mono Output Select 0 = Mix 1 = Mic 3D 3D Phat Stereo Enhancement 0 = Phat Stereo is off. 1 = Phat Stereo is on. POP PCM Output Path and Mute. The POP bit controls the optional PCM out 3D bypass path (the pre and post 3D PCM out paths are mutually exclusive). 0 = pre 3D 1 = post 3D 3D Control Register (Index 22h) Reg Name Num D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default 22h X X X X X X X X X X X X DP3 DP2 DP1 DP0 0000h 3D Control DP[3:0] REV. 0 Depth Control. Sets 3D "Depth" Phat Stereo enhancement according to table below. DP3 . . . DP0 Depth 0 1 * * 14 15 0% 6.67% * * 93.33% 100% -17- AD1886A Subsection Ready Register (Index 26h) Reg Name Num 26h D15 Power-Down Cntrl/Stat X D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 PR6 PR5 PR4 PR3 PR2 PR1 PR0 X D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X REF ANL DAC ADC NA NA Note: The ready bits are read only; writing to REF, ANL, DAC, ADC will have no effect. These bits indicate the status for the AD1886A subsections. If the bit is a one, that subsection is "ready." Ready is defined as the subsection able to perform in its nominal state. ADC ADC section ready to transmit data. DAC DAC section ready to accept data. ANL Analog gainuators, attenuators, and mixers ready. REF Voltage References, VREF and VREFOUT up to nominal level. PR[6:0] AD1886A Power-Down Modes. The first three bits are to be used individually rather than in combination with each other. The last bit, PR3, can be used in combination with PR2 or by itself. The mixer and reference cannot be powered down via PR3 unless the ADCs and DACs are also powered down. Nothing else can be powered up until the reference is up. PR0--Power-Down ADC PR1--Power-Down DAC PR2--Power-Down Analog Mixer PR3--Power-Down VREF and VREFOUT PR4--Power-Down AC-Link PR5--Power-Down Internal Clock PR6--Power-Down Headphone PR5 has no effect unless all ADCs, DACs, and the AC-Link are powered down. The reference and the mixer can be either up or down, but all power-up sequences must be allowed to run to completion before PR5 and PR4 are both set. In multiple-codec systems, the master codec's PR5 and PR4 bits control the slave codec. PR5 is also effective in the slave codec if the master's PR5 bit is clear, but the PR4 bit has no effect except to enable or disable PR5. Power-Down State PR6 PR5 PR4 PR3 ADC Power-Down DAC Power-Down ADC and DAC Power-Down Mixer Power-Down ADC + Mixer Power-Down DAC + Mixer Power-Down ADC + DAC + Mixer Power-Down Standby 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 PR2 0 0 0 1 1 1 1 1 PR1 PR0 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 Extended Audio ID Register (Index 28h) Reg Name Num D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default 28h ID1 ID0 X X X X X X X X X X X SPDF X VRA 0001h Extended Audio ID Note: The Extended Audio ID is a read only register. VRA Variable Rate Audio. VRA = 1 indicates support for Variable Rate Audio. SPDF "1" indicates SPDIF support, "0" indicates no SPDIF support. ID[1:0] ID1, ID0 is a 2-bit field which indicates the codec configuration. -18- REV. 0 AD1886A Extended Audio Status and Control Register (Index 2Ah) Reg Name Num 2Ah D15 D14 D13 D12 D11 D10 Ext'd Audio Stat/Ctrl X X X X X D9 D9 SPCV X D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 X X X SPSA1 SPSA0 X SPDIF X D0 D0 Default VRA 0000h Note: The Extended Audio Status and Control Register is a read/write register that provides status and control of the extended audio features. VRA Variable Rate Audio. VRA = 1 enables Variable Rate Audio mode (sample rate control registers and SLOTREQ signaling. SPDIF SPDIF transmitter subsystem enable/disable bit: "1" indicates SPDIF is enabled, "0" indicates SPDIF is disabled. SPSA[1,0] SPDIF Slot Assignment: SPSA[1, 0] = 00 SPDIF uses AC-LINK slots 3 and 4. SPSA[1, 0] = 01 SPDIF uses AC-LINK slots 7 and 8. SPSA[1, 0] = 10 SPDIF uses AC-LINK slots 6 and 9. SPSA[1, 0] = 11 Reserved. SPCV SPDIF Configuration Valid: (Read Only) "1" indicates current SPDIF configuration (SPA, SPR, DAC-Rate) is supported. "0" indicates current SPDIF configuration (SPA, SPR, DAC-Rate) is not supported. PCM DAC Rate Register (Index 2Ch) Reg Num Name 2Ch/(7Ah) PCM DAC Rate D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0 BB80h Note: 2Ch is an alias for 7Ah. The VRA bit in register 2Ah must be set for the alias to work; if a zero is written to VRA, both sample rates are reset to 48 kHz. SR[15:0] Writing to this register allows programming of the sampling frequency from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments. Programming a value outside of the range 7040 Hz (1b80h) to 48000 Hz (bb80h) causes the codec to saturate. For all rates, if the value written to the register is supported, that value will be echoed back when read; otherwise, the closest rate supported is returned. PCM ADC Rate Register (Index 32h) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 32h/(78h) PCM ADC Rate SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0 BB80h D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default Note: 32h is an alias for 78h. The VRA bit in register 2Ah must be set for the alias to work; if a zero is written to VRA then both sample rates are reset to 48 kHz. SR[15:0] REV. 0 Writing to this register allows programming of the sampling frequency from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments. Programming a value outside of the range 7040 Hz (1b80h) to 48000 Hz (bb80h) causes the codec to saturate. For all rates, if the value written to the register is supported, that value will be echoed back when read; otherwise, the closest rate supported is returned. -19- AD1886A SPDIF Control Register (Index 3Ah) Reg Name Num 3Ah D15 D14 D13 SPDIF Control V X D12 D11 D10 SPSR1 SPSR0 L D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 CC6 CC5 CC4 CC3 CC2 CC1 CC0 PRE D1 D1 D0 D0 Default COPY AUD PRO 0000h Note: Register 3Ah is a read/write register that controls SPDIF functionality and manages bit fields propagated as channel status (or subframe in the V case). With the exception of V, this register should only be written to when the SPDIF transmitter is disabled (SPDIF bit in register 2Ah is "0"). This ensures that control and status information startup correctly at the beginning of SPDIF transmission. PRO Professional: "1" indicates Professional use of channel status, "0" Consumer. AUD Non-Audio: "1" indicates data is non PCM format, "0" data is PCM. COPY Copyright: "1" indicates copyright is not asserted, "0" copyright is asserted. PRE Preemphasis: "1" indicates filter preemphasis is 50/15 s, "0" preemphasis is none. CC[6-0] Category Code: Programmed according to IEC standards, or as appropriate. L Generation Level: Programmed according to IEC standards, or as appropriate. SPSR[1,0] SPDIF Transmit Sample Rate: SPSR[1:0] = "00" Transmit Sample Rate = 44.1 kHz. SPSR[1:0] = "01" Reserved. SPSR[1:0] = "10" Transmit Sample Rate = 48 kHz. SPSR[1:0] = "11" Transmit Sample Rate = 32 kHz. V Validity: This bit affects the "Validity flag," bit <28> transmitted in each subframe and enables the SPDIF transmitter to maintain connection during error or mute conditions. V = 1 Each SPDIF subframe (L + R) has bit <28> set to "1." This tags both samples as valid. V = 0 Each SPDIF subframe (L + R) has bit <28> set to "0" for valid data and "1" for invalid data (error condition). Jack Sense/SPDIF Register (Index 72h) Reg Num N ame 72h Ja c k Se n se / SP D IF SP M IX JS0 D D 15 D 14 D 13 D 12 SPRZ JSPD D 11 D 10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 X JSO E JSLM JSD X JSC JSM M JSM VW 1 D2 D2 D 1 D0 D1 D0 X X D efau lt JS1 0000h Note: All register bits are read/write except for JSI, JS and VWI, which are read only. JSI Indicates that Jack Sense pin has generated an interrupt. Must be enabled by JSM bit and remains set until software clears JSC bit. VWI Indicates Voice Wake Interrupt occurred. JSM Jack Sense Mode: 1 = Interrupt Mode (Software intervention required). 0 = Jack Sense Mode ( Hardware asserted Mono/Line Muting). JSMM Jack Sense Mono Mute: Setting this bit enables Jack Sense to mute the Mono output. JSC Jack Sense Clear: Setting this bit clears the Jack Sense interrupt (only needed when JSM = 1). JSD Jack Sense Disabled: Setting this bit disables Jack Sense functionality. JSLM Jack Sense Line Mute: Setting this bit enables Jack Sense to mute the LINE_OUT output. JSOE Jack Sense Output Enable: Setting this bit allows the JS pin to operate as GPIO (output mode only). JSPD Jack Sense Pull-up Disable: Setting this bit disables the internal Jack Sense pull-up. JSOD Jack Sense Output Data: Data on this bit is transferred to the JS pin if JSOE = 1 (otherwise no effect). SPRZ 1 = SPDIF Return to Zero on under run. 0 = SPDIF Repeat last sample on under run. SPMIX 1 = SPDIF Transmits output of ADC. 0 = SPDIF Transmits AC-Link Time Slot Data. -20- REV. 0 AD1886A Serial Configuration (Index 74h) Reg Name Num 74h D15 D14 D13 D12 D11 D10 D9 D9 Serial SLOT REGM2 REGM1 REGM0 X Configuration 16 16 X D8 D8 DHWR X D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default X X X X X X X X X Note: This register is not reset when the reset register (Register 00h) is written. DHWR Disable Hardware Reset REGM0 Master Codec Register Mask REGM1 Slave 1 Codec Register Mask REGM2 Slave 2 Codec Register Mask SLOT16 Enable 16-bit slots. If your system uses only a single AD1886A, you can ignore the register mask bits. SLOT16 makes all AC Link slots 16 bits in length, formatted into 16 slots. Miscellaneous Control Bits (Index 76h) Reg Num 76h Name D15 D14 D13 D12 DAC LPMI Misc Control Bits Z X X D11 D10 D9 D9 D8 D8 DAM DMS DLSR X D7 D7 MOD ALSR EN EN D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 SRX10 SRX8 D7 D7 D7 D7 X X D1 D1 D0 D0 DRSR X Default ARSR 0000h ARSR ADC Right Sample Generator Select 0 = SR0 Selected (32h) 1 = SR1 Selected (2Ch) DRSR DAC Right Sample Generator Select 0 = SR0 Selected (32h) 1 = SR1 Selected (2Ch) SRX8D7 Multiply SR1 rate by 8/7 SRX10D7 Multiply SR1 rate by 10/7. SRX10D7 and SRX8D7 are mutually exclusive; SRX10D7 has priority if both are set. MODEN Modem filter enable (left channel only). Change only when DACs are powered down. ALSR ADC Left Sample Generator Select 0 = SR0 Selected (32h) 1 = SR1 Selected (2Ch) DLSR DAC Left Sample Generator Select 0 = SR0 Selected (32h) 1 = SR1 Selected (2Ch) DMS Digital Mono Select 0 = Mixer 1 = Left DAC + Right DAC DAM Digital Audio Mode. DAC Outputs bypass analog mixer and sent directly to the codec output. LPMIX Low-Power Mixer DACZ Zero-fill (vs. repeat) if DAC is starved for data. REV. 0 -21- AD1886A Sample Rate 0 (Index 78h) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D2 D2 D1 D1 D0 D0 Default (32h)/78h Sample Rate 0 SR015 SR014 SR013 SR012 SR011 SR010 SR09 SR08 SR07 SR06 SR05 SR04 SR03 SR02 SR01 SR00 BB80h Note: 32h is an alias for 78h. The VRA bit in register 2Ah must be set for the alias to work; if a zero is written to VRA then both sample rates are reset to 48 kHz. SR0[15:0] Writing to this register allows the user to program the sampling frequency from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hertz increments. Programming a value greater than 48 kHz or less than 7 kHz may cause unpredictable results. Sample Rate 1 (Index 7Ah) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D2 D2 D1 D1 D0 D0 Default (2Ch)/7Ah Sample Rate 1 SR115 SR114 SR113 SR112 SR111 SR110 SR19 SR18 SR17 SR16 SR15 SR14 SR13 SR12 SR11 SR10 BB80h Note: 2Ch is an alias for 7Ah. The VRA bit in register 2Ah must be set for the alias to work; if a zero is written to VRA then both sample rates are reset to 48 kHz. SR1[15:0] Writing to this register allows the user to program the sampling frequency from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hertz increments. Programming a value greater than 48 kHz or less than 7 kHz may cause unpredictable results. Vendor ID1 Register (Index 7Ch) Reg Name Num D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default 7Ch F7 F7 F6 F6 F5 F5 F4 F4 F3 F3 F2 F2 F1 F1 F0 F0 S7 S7 S6 S6 S5 S5 S4 S4 S3 S3 S2 S2 S1 S1 S0 S0 4144h Vendor ID1 S[7:0] This register is ASCII encoded to `A.' F[7:0] This register is ASCII encoded to `D.' Vendor ID2 Register (Index 7Eh) Reg Num Name D15 D14 D13 D12 D11 D10 D9 D9 D8 D8 D7 D7 D6 D6 D5 D5 D4 D4 D3 D3 D2 D2 D1 D1 D0 D0 Default 7Eh Vendor ID2 T7 T7 T6 T6 T5 T5 T4 T4 T3 T3 T2 T2 T1 T1 T0 T0 REV7 REV6 REV5 REV4 REV3 REV2 REV1 REV0 5363h T[7:0] This register is ASCII encoded to `S.' -22- REV. 0 AD1886A AVDD NOTE IF NOT USED, GROUND JACK SENSE PIN. (PIN 47) NC NC 0.1F SPDIF JS ID1 ID0 AVSS3 AVDD3 0.1F 22pF 7 8 9 10 11 12 SDATA_OUT SDATA_IN DVDD1 XTL_IN XTL_OUT DVSS1 SDATA_OUT BIT_CLK DVSS2 SDATA_IN DVDD2 SYNC RESET PC_BEEP SYNC RESET 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 LINE_OUT_R LINE_OUT_L CX3D RX3D FILT_L FILT_R AD1886A AFILT2 AFILT1 PHONE_IN AUX_L AUX_R VIDEO_L VIDEO_R CD_L CD_GND_REF CD_R MIC1 MIC2 LINE_IN_L LINE_IN_R 1 2 3 4 5 6 24.576MHz 22pF NC HP_OUT_R AVSS2 HP_OUT_L AVDD2 MONO_OUT U1 10F NC 48 47 46 45 44 43 42 DVDD + 10F 0.1F VREFOUT VREF AVSS1 AVDD1 0.1F 47nF 1F + 270pF NPO 270pF NPO + AVDD 19 20 21 22 23 24 13 14 15 16 17 18 0.1F 10F 0.1F 47 BIT_CLK 1F + 47pF NC = NO CONNECT FB 600Z NOTE ALL UNUSED ANALOG INPUTS (LINE_IN_L/R, VIDEO_L/R, MIC1, MIC2, PC_BEEP, PHONE_IN, AND CD_L/R/GND) MUST BE LEFT UNCONNECTED. Figure 9. Recommended Power Connections, Decoupling and Support Components SPDIF TRANSMITTER OUTPUT CONNECTION The codec SPDIF output is located on Pin 48. This pin has a weak internal pull-up that allows detection of SPDIF connector hardware at power-up and automatically enables or disables the SPDIF transmitter. This feature allows system manufacturers to populate or depopulate SPDIF connector hardware according to their requirements. When the output pin is simply left open (NC) or strapped high by a pull-up resistor, the internal sense circuitry disables the SPDIF transmitter. This condition prevents the SPDIF enable bit on Register 2Ah from being enabled. When the output pin is strapped low by a pull-down resistor (10 k or less), the SPDIF transmitter is enabled and the SPDIF enable bit on Register 2Ah can be asserted. The following circuits (Figure 10 and Figure 11) describe two ways to provide an SPDIF connection to the codec. SPDIF OUT (CODEC PIN 48) U1 R2 10k 4 3 5V (LOGIC) R1 8.2k 2 C1 0.1F 1 NC 5 INPUT VCC SPDIF OUT (CODEC PIN 48) LED GND TOTX173 TOSLINK NC 6 R3 10k U1A 2 R2 240 3.3V BUFFER (CAPABLE OF 12mA DRIVE) R2 110 1 T1 4 J1 RCA JACK 5 8 1:1 NC = NO CONNECT Figure 10. SPDIF Output Connection Using Optical Link REV. 0 1 Figure 11. SPDIF Output Connection Using Electrical Link -23- AD1886A The first option consists of an optical link using a TOSLINK fiber-optic transmitting module. A typical offering is the TOSHIBA TOTX173 module for PCB mounted applications. This module can drive fiber optic cables up to 10 meters long, depending on the cable hardware used. This solution offers compatibility with state of the art audio systems and provides excellent common-mode rejection and noise immunity. R1 sets the current level for the internal LED and R2 allows the SPDIF transmitter to be enabled at power-up. Note that the TOSLINK module requires VCC = 5 V (PC logic supply). The second method uses an electrical connection matching the requirements of the IEC958 "Digital Audio Interface" for consumer products. This method uses a 75 coax cable as the connecting medium, with RCA type connectors at both ends. The transmission distance is at least 10 to 15 meters depending on the hardware used. The nominal electrical levels are 0.5 V p-p with a required bandwidth of 7 MHz. The 1:1 ratio transformer is used for galvanic isolation and for improved common-mode noise rejection. R1 and R2 provide the proper signal amplitude and impedance matching. R3 allows the SPDIF transmitter to be enabled at power-up. JACK SENSE OPERATION The AD1886A features a Jack Sense pin (JS) that can be used with the HP_OUT or LINE_OUT jacks to automatically mute the other audio outputs. When the Jack Sense pin is connected to one of the output jacks, the AD1886A can sense whether an audio plug has been inserted into the jack and automatically mute the LINE_OUT or MONO_OUT or both outputs. The JS pin should normally be connected to the HP_OUT jack to automatically mute the MONO_OUT and LINE_OUT audio signals, alternatively the JS pin can be connected to the LINE_OUT jack to automatically mute the MONO_OUT signal. The action of the JS pin can be programmed by setting the JSLM and JSMM bits in the Jack Sense Register (72h). The following table summarizes the Jack Sense operation: Table I. Jack Sense Operation Table JSLM Bit (Reg 72h, D9 Bit) JSMM Bit (Reg 72h, D5 Bit) JS State = HIGH (PLUG INSERTED) JS State = LOW (PLUG REMOVED) 1 1 1 0 0 1 0 0 LINE_OUT = ON MONO_OUT = ON LINE_OUT = ON MONO_OUT = MUTE LINE_OUT = MUTE MONO_OUT = ON LINE_OUT = MUTE MONO_OUT = MUTE LINE_OUT = ON MONO_OUT = ON LINE_OUT = ON MONO_OUT = ON LINE_OUT = ON MONO_OUT = ON LINE_OUT = ON MONO_OUT = ON The Jack Sense functionality is enabled by default on codec power-up (JSD bit = 0), however the JSLM and JSMM bits are set to zero, therefore the muting action is not enabled for both outputs. The JSLM and JSMM bits have to be configured by the software or INF configuration file for the desired muting action. The Jack Sense pin is active high and contains an active internal pull-up. If the Jack Sense input is not going to be used, it should be pulled down to digital ground using 10 k resistors. -24- REV. 0 AD1886A CONNECTING THE JACK SENSE TO THE OUTPUT JACKS Headphone Jack The diagram on Figure 12 shows the preferred method to connect the Jack Sense line to the HP_OUT jack. This scheme requires a stereo jack with a normally closed and isolated single switch. The switch holds the Jack Sense line low (grounded) until an audio plug is inserted, causing the switch to open and the Jack Sense line to go high due to the codec internal pull-up. The R2 and R3 resistors keep the electrolytic output caps properly polarized while the HP_OUT jack is not used. NOTE: LOCATE R1 CLOSE TO CODEC. TO CODEC JS (PIN 47) FROM CODEC HP_OUT_R (PIN 41) R1 2k JACK SENSE LINE C2 220F OPTIONAL EMC COMPONENTS + R2 10k C3 220F FROM CODEC HP_OUT_L (PIN 39) L1 600Z + R3 10k L2 600Z C1 470pF C4 470pF 5 4 3 ISOLATED NC SWITCH 2 1 HEADPHONE OUT Figure 12. Jack Sense Connection to HP_OUT Jack, Using Isolated Switch Alternatively, when an audio output jack containing an isolated switch is not available, the circuit shown in Figure 13 can be used. While the audio plug is out, this circuit keeps the Jack Sense line state low, by the pull-down effect of R2 (with no audio present) or by tracking the lower peaks of the HP_OUT audio signal. Once an audio plug is inserted and the jack switch opens, the Jack Sense line switches to a high state due to the codec internal pull-up, which quickly charges C1 to DVDD. The R2 and R3 resistors also keep the electrolytic output caps properly polarized while the HP_OUT jack is not used. NOTE: LOCATE R1 AND C1 CLOSE TO CODEC. JACK SENSE R1 2k TO CODEC JS (PIN 47) D1 C1 2F CERAMIC MMBD914 OPTIONAL EMC COMPONENTS C2 220F FROM CODEC HP_OUT_R (PIN 41) + L1 600Z R2 10k C4 470pF C3 220F FROM CODEC HP_OUT_L (PIN 39) + L2 600Z R3 10k C5 470pF 1 2 3 4 5 J1 HEADPHONE OUT Figure 13. Jack Sense Connection to HP_OUT Jack, Using Nonisolated Switch LINE OUT JACK Although not shown, if a LINE_OUT jack is used and the Jack Sense functionality is desired with this jack, the LINE_OUT jack should be wired in a similar configuration as shown above for the HP_OUT jack (preferably Figure 12). We recommend that in this case the output coupling caps (C2, C3) be set to 2.2 F. All other values should be kept the same. REV. 0 -25- AD1886A APPLICATION CIRCUITS CD-ROM CONNECTIONS Typical CD-ROM drives generate 2 V rms output and require a voltage divider for compatibility with the Codec input (1 V rms range). The recommended circuit is a group of divide-by-two voltage dividers as shown on Figure 14. The CD_GND_REF pin is used to cancel differential ground noise from the CD-ROM. For optimal noise cancellation, this section of the divider should have approximately half the impedance of the Right and Left channel section dividers. VOLTAGE DIVIDER AC-COUPLING C1 0.33F R1 4.7k HEADER FOR CD ROM AUDIO (LGGR) 1 2 3 4 TO CODEC CD_L INPUT + R2 4.7k C2 0.33F R3 2.7k TO CODEC CD_GND_REF INPUT + R4 2.7k C3 0.33F R5 4.7k TO CODEC CD_R INPUT + R6 4.7k Figure 14. Typical CD-ROM Audio Connections LINE_IN, AUX, AND VIDEO INPUT CONNECTIONS Most audio sources also generate 2 V rms audio level and require a -6 dB input voltage divider to be compatible with the Codec inputs. Figure 15 shows the recommended application circuit. For applications requiring EMC compliance, the EMC components should be configured and selected to provide adequate RF immunity and emissions control. EMC COMPONENTS LINE/AUX/VIDEO INPUT J1 1 2 3 4 5 VOLTAGE DIVIDER L2 600Z R2 4.7k C1 470pF C2 470pF + TO CODEC RIGHT CHANNEL INPUT C4 0.33F R3 4.7k L1 600Z AC-COUPLING C3 0.33F R1 4.7k R4 4.7k + TO CODEC LEFT CHANNEL INPUT Figure 15. LINE_IN, AUX and VIDEO Input Connections MICROPHONE CONNECTIONS The AD1886A contains an internal microphone preamp with 20 dB gain; in most cases a direct microphone connection as shown in Figure 16 is adequate. If the microphone level is too low, an external preamp can be added as shown in Figure 17. In either case the microphone bias can be derived from the codec's internal reference (VREFOUT) using a 2.2 k resistor. For the preamp circuit, the VREFOUT signal can also provide the midpoint bias for the amplifier. To meet the PC99 1.0A requirements, the MIC signal should be placed on the microphone jack tip and the bias on the ring. This configuration supports electret microphones with three conductor plugs as well as dynamic microphones with two conductor plugs (ring and sleeve shorted together). Additional filtering may be required to limit the microphone response to the audio band of interest. -26- REV. 0 AD1886A EMC COMPONENTS J1 L1 600Z 1 2 3 4 5 AC-COUPLING C2 470pF C3 0.22F L2 600Z TO CODEC MIC1 OR MIC2 INPUT C1 470pF MIC BIAS MIC INPUT R1 2.2k FROM CODEC VREFOUT Figure 16. Recommended Microphone Input Connections PREAMP EMC COMPONENTS J1 R3 100k L1 600Z 1 2 3 4 5 AC-COUPLING C2 470pF L2 600Z C3 0.22F AVDD AC-COUPLING R2 10k C4 0.22F C1 470pF U1 MIC INPUT TO CODEC MIC1 OR MIC2 INPUT AD8531 MIC BIAS R1 2.2k FROM CODEC VREFOUT Figure 17. Microphone with Additional External Preamp (20 dB Gain) LINE OUTPUT CONNECTIONS The AD1886A Codec provides stereo LINE_OUT signals at a standard 1 V rms level. These signals must be ac-coupled before they can be connected to an external load. After the ac-coupling, a minimal resistive load is recommended to keep the capacitors properly biased and reduce clicks and pops when plugging stereo equipment into the output jack. The capacitor values should be selected to provide a desired frequency response, taking into account the nominal impedance of the external load. To meet the PC99 specification for PCs, testing must be performed with a 10 k load, therefore a minimum of 1 F value is recommended to achieve less than -3 dB roll-off at 20 Hz. STEREO LINE_OUT JACK C3 1F L2 600Z J1 FROM CODEC LINE_OUT_R C1 470pF L1 600Z FROM CODEC LINE_OUT_L C2 470pF R1 47k R2 47k C4 1F Figure 18. Recommended LINE_OUT Connections PC BEEP INPUT CONNECTIONS The recommended PC BEEP input circuit is shown below. Under most cases the PC_BEEP signal should be attenuated, filtered and then ac-coupled into the Codec. PC_BEEP (FROM ICH) R1 10k C2 0.1F TO CODEC PC_BEEP INPUT C1 0.1F R2 1k Figure 19. Recommended PC_BEEP Connections REV. 0 -27- AD1886A OUTLINE DIMENSIONS Dimensions shown in inches and (mm). 0.063 (1.60) MAX 0.030 (0.75) 0.018 (0.45) 0.354 (9.00) BSC SQ 37 48 36 1 0.276 (7.00) BSC SQ TOP VIEW (PINS DOWN) COPLANARITY 0.003 (0.08) C02411-0-10/01(0) 48-Lead Thin Plastic Quad Flatpack (LQFP) (ST-48) 0 MIN 25 12 13 24 0.019 (0.5) 0.011 (0.27) BSC 0.006 (0.17) 0.008 (0.2) 0.004 (0.09) 0.057 (1.45) 0.053 (1.35) 7 0 0.006 (0.15) SEATING 0.002 (0.05) PLANE PRINTED IN U.S.A. CONTROLLING DIMENSIONS ARE IN MILLIMETERS; INCH DIMENSIONS ARE ROUNDED-OFF MILLIMETER EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN -28- REV. 0