FEATURES
AC ’97 2.3 COMPATIBLE FEATURES
6 DAC Channels for 5.1 Surround
S/PDIF Output
Integrated Stereo Headphone Amplifier
Variable Rate Audio
Double Rate Audio (f
= 96 kHz)
S
Greater than 90 dB Dynamic Range
20-Bit PCM DACs
Line-Level Mono ”Phone” Input
High Quality CD Input
Selectable MIC Input with Preamp
AUX and Line_In Stereo Inputs
External Amplifier Power-Down Control
Power Management Modes
48-Lead LQFP Package
MC1
MC2
PHONE_IN
CD_L
CD_GND
CD_R
AUX _L
AUX _R
LINE_IN_L
LINE_IN_R
LFE_OUT
CENTER_OUT
LINE_OUT_L
MONO_OUT
LINE_OUT_R
SURR_OUT_L/
HP_OUT_L
SURR_OUT_R/
HP_OUT_R
DIFF AMP
MZ
MZ
MZ
MZ
MZ
HP
HP
AD1980
MS
CD
A
A
A
M
M
A
A
A
A
LOSELLOSEL
SPRD
SPRD
HPSELHPSEL
MIC PREAMP
G
G
M M M
2CMIC
GA
GA
ENHANCED FEATURES
Integrated Parametric Equalizer
Stereo MIC Preamp Support
Integrated PLL for System Clocking
Variable Sample Rate 7 kHz to 96 kHz
Jack Sense (Auto Topology Switching)
Software Controlled VREF_OUT for MIC Bias
Software Enabled Outputs for Jack Sharing
Auto Down-Mix and Channel Spreading Modes
FUNCTIONAL BLOCK DIAGRAM
GA
MGAM
M
V
REF
VOLTA GE
G
REFERENCE
RECORD
SELECTOR
G = GAIN
A = ATTENUATION
M M
M = MUTE
Z = HIGH Z
M
M
M
M
GA
V
REFOUT
GA
GA
M
M
M
M
MGAM
XTL_OUT XTL_IN SPDIF
SPDIF
CODEC CORE
PCM L/R
ADC RATE
M
M
G
G
16-BIT
⌺-⌬ ADC
16-BIT
⌺-⌬ ADC
PCM LFE
DAC RATE
20-BIT
⌺-⌬ DAC
20-BIT
⌺-⌬ DAC
PCM FRONT
DAC RATE
20-BIT
⌺-⌬ DAC
20-BIT
⌺-⌬ DAC
20-BIT
⌺-⌬ DAC
20-BIT
⌺-⌬ DAC
PCM SURR
DAC RATE
BYPASS
BYPASS
G
G
M
M
G
G
G
G
EQ
EQ
PLL
DAC
SLOT
LOGIC
ANALOG MIXING
CONTROL LOGIC
TX
EQ COEF STORAGE
AC '9 7
CONTROL
REGISTERS
AC '97 INTERFACE
EAPD
ID0
ID1
RESET
SYNC
BITCLK
SDATA_OUT
SDATA_IN
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. Trademarks and
registered trademarks are the property of their respective companies.
LINE_IN to Other–90–85dB
Gain Error (Full-Scale Span Relative to Nominal Input Voltage)± 10%
Interchannel Gain Mismatch (Difference of Gain Errors)± 0.5dB
ADC Offset Error* (0 dB Gain, HPF On)± 10mV
DIGITAL-TO-ANALOG CONVERTERS
Resolution20Bits
Total Harmonic Distortion (THD), LINE_OUT, AVDD = 5.0 V–90dB
Total Harmonic Distortion (THD), HP_OUT, AV
Total Harmonic Distortion (THD), CENTER/LFE, AV
Dynamic Range (–60 dB Input THD + N Referenced to FS A-Weighted)90dB
= 5.0 V
AV
DD
Signal-to-Intermodulation Distortion
Gain Error (Full-Scale Span Relative to Nominal Input Voltage)± 10%
Interchannel Gain Mismatch (Difference of Gain Errors)± 0.7dB
DAC Crosstalk (Input L, Zero R, Read LINE_OUT_R; Input R,–80dB
Zero L, Read LINE_OUT_L, 10 kΩ Load)
Total Audible Out-of-Band Energy* (Measured from 0.6 fS to 20 kHz)–40dB
Input Clock Frequency (XTAL Mode or Clock Oscillator)24.576MHz
Input Clock Frequency (Reference Clock Mode)14.31818MHz
Input Clock Frequency (USB Clock Mode)48.000MHz
Recommended Clock Duty Cycle405060%
*
Guaranteed but not tested.
Specifications subject to change without notice.
TIMING PARAMETERS
(Guaranteed over Operating Temperature Range)
ParameterSymbolMinTypMaxUnit
RESET Active Low Pulsewidtht
RESET Inactive to BIT_CLK Startup Delayt
SYNC Active High Pulsewidtht
SYNC Low Pulsewidtht
SYNC Inactive to BIT_CLK Startup Delayt
RST_LOW
RST2CLK
SYNC_HIGH
SYNC_LOW
SYNC2CLK
162.8400,000ns
162.8ns
1.0µs
1.3µs
19.5µs
BIT_CLK Frequency12.288MHz
BIT_CLK Frequency Accuracy1.0ppm
BIT_CLK Periodt
BIT_CLK Output Jitter
1, 2
BIT_CLK High Pulsewidtht
BIT_CLK Low Pulsewidtht
CLK_PERIOD
CLK_HIGH
CLK_LOW
4041.7ns
39.741.4ns
81.4ns
750ps
SYNC Frequency48.0kHz
SYNC Periodt
Setup to Falling Edge of BIT_CLKt
Hold from Falling Edge of BIT_CLKt
BIT_CLK Rise Timet
BIT_CLK Fall Timet
SYNC Rise Timet
SYNC Fall Timet
SDATA_IN Rise Timet
SDATA_IN Fall Timet
SDATA_OUT Rise Timet
SDATA_OUT Fall Timet
End of Slot 2 to BIT_CLK, SDATA_IN Lowt
Setup to RESET Inactive (SYNC, SDATA_OUT)t
Rising Edge of RESET to Hi-Z Delayt
Output jitter directly dependent on crystal input jitter.
Specifications subject to change without notice.
REV. 0–4–
Page 5
t
t
TRI2ACTV
t
TRI2ACTV
RST2CLK
RESET
BIT_CLK
SDATA_IN
t
RST_LOW
Figure 1. Cold Reset Timing (Codec is Supplying the Bit_CLK Signal)
AD1980
BIT_CLK
SYNC
BIT_CLK
SYNC
BIT_CLK
t
CLK_LOW
t
CLK_HIGH
t
CLK_PERIOD
t
SYNC_LOW
t
SYNC_HIGH
t
SYNC_PERIOD
Figure 3. Clock Timing
t
RISECLK
t
SYNC_HIGH
t
SYNC2CLK
Figure 2. Warm Reset Timing
Figure 5. AC-Link Low Power Mode Timing
t
FALLCLK
BIT_CL
SLOT 1SLOT 2
SYNC
BIT_CLK
SDATA_OUT
SDATA_IN
WRITE TO
0ⴛ26
BIT_CLK NOT TO SCALE
t
CO
V
IH
t
SETUP
DATA
PR4
V
t
S2_PDOWN
IL
REV. 0
SYNC
t
RISESYNC
SDATA_IN
t
RISEDIN
SDATA_OUT
t
RISEDOUT
Figure 4. Signal Rise and Fall Times
t
FALLSYNC
t
FALLDIN
t
FALLDOUT
–5–
SDATA_O
SDATA_I
SYN
V
V
t
HOLD
OH
OL
Figure 6. AC-Link Low Power Mode Timing
RESET
SDATA_OUT
SDATA_IN, BIT_CLK,
EAPD, SPDIF_OUT
AND DIGITAL I/O
t
t
OFF
SETUP2RST
Figure 7. ATE Test Mode
Hi-Z
Page 6
AD1980
ABSOLUTE MAXIMUM RATINGS*
ParameterMinMaxUnit
Power Supplies
Digital (DVDD)–0.3+3.6V
Analog (AV
)–0.3+6.0V
DD
Input Current (Except Supply Pins)± 10.0mA
Analog Input Voltage (Signal Pins)–0.3AV
Digital Input Voltage (Signal Pins)–0.3DV
+ 0.3 V
DD
+ 0.3 V
DD
Ambient Temperature (Operating)070°C
Storage Temperature–65+150°C
*Stresses greater than those listed under Absolute Maximum Ratings may cause
ENVIRONMENTAL CONDITIONS*
Ambient Temperature Rating
TCASE = Case Temperature in °C
PD = Power Dissipation in W
= Thermal Resistance (Junction-to-Ambient)
JA
= Thermal Resistance (Junction-to-Case)
JC
Package
JA
LQFP50.1°C/W17.8°C/W
*All measurements per EIA/JESD51 with 2S2P
test board per EIA/JESD51-7.
permanent damage to the device. This is a stress rating only and 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.
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
AD1980 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.
JC
DVDD1
XTL_IN
XTL_OUT
1
DV
SS
SDATA_OUT
BIT_CLK
2
DV
SS
SDATA_IN
2
DV
DD
SYNC
RESET
NC
NC = NO CONNECT
PIN CONFIGURATION
48-Lead LQFP
3
3
SS
DD
SPDIF
EAPD
ID1
484746 45 44
1
2
3
4
5
6
7
8
9
10
11
12
13 14 15 16 17 18 19 20 21 22 23 24
AUX_L
AUX_R
PHONE_IN
AV
ID0
AV
NC
SURR_OUT_R/HP_OUT_R
43 42 41 40 39 38 37
AD1980
TOP VIEW
(Not to Scale)
JS1
JS0
CD_L
CD_R
CD_GND_REF
2
2
SS
DD
SURR_OUT_L/HP_OUT_L
AV
AV
MC1
MC2
MONO_OUT
LINE_IN_L
LINE_IN_R
36
35
34
33
32
31
30
29
28
27
26
25
LINE_OUT_R (FRONT_R)
LINE_OUT_L (FRONT_L)
AV
4
DD
AV
4
SS
LFE_OUT
CENTER_OUT
AFILT2
AFILT1
V
REFOUT
V
REF
AVSS1
AV
1
DD
REV. 0–6–
Page 7
AD1980
PIN FUNCTION DESCRIPTIONS
Pin NumberMnemonicI/OFunction
DIGITAL INPUT/OUTPUT
2XTL_INICrystal Input (24.576 MHz) or External Clock In (24.576 MHz,
14.31818 MHz or 48000 MHz)
3XTL_OUTOCrystal Output
5SDATA_OUTIAC-Link Serial Data Output. AD1980 Input Stream.
6BIT_ CLKO/IAC-Link Bit Clock. 12.288 MHz serial data clock. (Input pin, for
CHIP SELECTS/CLOCK STRAPPING
45ID0IChip Select Input 0 (Active Low). This pin can also be used as the
chain input from a secondary Codec.
46ID1IChip Select Input 1 (Active Low)
JACK SENSE AND EAPD
47EAPDOEAPD Output
17JS0IJack Sense 0 Input
16JS1IJack Sense 1 Input
ANALOG INPUT/OUTPUT
13PHONE_INIMonaural Line-Level Input
14AUX_LIAuxiliary Input, Left Channel
15AUX_RIAuxiliary Input, Right Channel
18CD_LICD Audio Left Channel
19CD_GND_REFICD Audio Analog Ground Reference for Differential CD Input
20CD_ RICD Audio Right Channel
21MIC1IMicrophone #1 Input (Left Channel when 2-Channel Mode Selected)
22MIC2IMicrophone #2 Input (Right Channel when 2-Channel Mode Selected)
23LINE_IN_LILine-In Left Channel
24LINE_IN_RILine-In Right Channel
31CENTER_OUTOCenter Channel Output
32LFE_OUTOLow Frequency Enhanced Output
35LINE_OUT_LOLine-Out (Front) Left Channel
36LINE_OUT_ROLine-Out (Front) Right Channel
37MONO_OUTOMonaural Output to Telephone Subsystem Speakerphone
39SURR_OUT_L/HP_OUT_LOSurround or Front Headphone Left Channel Output
41SURR_OUT_R/HP_OUT_ROSurround or Front Headphone Right Channel Output
FILTER/REFERENCE
27V
28V
29AFILT1OAntialiasing Filter Capacitor—ADC Right Channel
30AFILT2OAntialiasing Filter Capacitor—ADC Left Channel
REF
REFOUT
OVoltage Reference Filter
OVoltage Reference Output 5 mA Drive (intended for MIC bias)
REV. 0
–7–
Page 8
AD1980
Pin NumberMnemonicI/OFunction
POWER AND GROUND SIGNALS
1DV
4DV
7DV
9DV
25AV
26AVSS1IAnalog GND
33AV
34AV
38AVDD2IAnalog V
40AV
43AV
44AVSS3IAnalog GND
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 to.
Zeros should be written to reserved bits.
*For AC ’97 compatibility, Bit D7 is only available by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right
channels. If MSPLT is not set, Bit D7 has no effect.
SPRDDMXDMXMT2MT1MT0EQBEQBTMRTMRMDMDSTSTINTINT
AC97NC
MSPLT LODIS CLDIS HPSEL DMIX1 DMIX0 SPRD2CMIC LOSEL SR U
NOTES
All registers not shown and bits containing an X are assumed to be reserved.
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 AD1980 based on the following:
Bit = 1FunctionAD1980
ID0Dedicated Mic PCM In Channel0
ID1Modem Line Codec Support0
ID2Bass and Treble Control0
ID3Simulated Stereo (Mono to Stereo)0
ID4Headphone Out Support1
ID5Loudness (Bass Boost) Support0
ID618-Bit DAC Resolution0
ID720-Bit DAC Resolution1
ID818-Bit ADC Resolution0
ID920-Bit ADC Resolution0
SE[4:0] Stereo Enhancement. The AD1980 does not provide hardware 3D stereo enhancement. (All bits are zeros.)
Refer to Table I for examples. This register controls the Line_Out volume controls for both stereo channels and mute bit. Each volume subregister contains five bits,
generating 32 volume levels with 31 steps of 1.5 dB each. Because AC ’97 defines 6-bit volume registers, to maintain compatibility whenever the D5 or D13 bits are
set to “1,” their respective lower five volume bits are automatically set to “1” by the codec logic. On readback, all lower five bits will read “1s” whenever these bits are set
to “1.”
2
For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, bit D7 has no effect. All registers not shown and bits containing an X are assumed to be reserved.
Note that depending on the state of the AC97NC bit in Register 0x76, this register has the following additional functionality:
For AC97NC = 0, the register controls the Line_out output Attenuators only.
For AC97NC = 1, the register controls the Line_out, Center, and LFE output Attenuators.
RMV[5:0]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 46.5 dB.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the right channel separately
from the MM bit. Otherwise this bit will always read “0” and will have no effect when set to “1.”
LMV[5:0]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 46.5 dB.
MMHeadphones Volume Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right
channels. If MSPLT is not set, Bit D7 has no effect.
Table I. Volume Settings for Master and Headphone
Control Bits
Reg. 76hMaster Volume (02h) and Headphone Volume (04h)
Left Channel Volume D[13:8]Right Channel Volume D[5:0]
0000 000000 00000 dB Gainx00 0000 00 00000 dB Gain
0000 111100 1111–22.5 dB Gainx00 111100 1111–22.5 dB Gain
0001 111101 1111–46.5 dB Gainx01 111101 1111–46.5 dB Gain
001x xxxx01 1111–46.5 dB Gainx1x xxxx01 1111–46.5 dB Gain
01xx xxxxxx xxxx– dB Gain, Mutedxxx xxxxxx xxxx– dB Gain, Muted
101x xxxx01 1111–46.5 dB Gain1xx xxxxxx xxxx– dB Gain, only
Right Muted
11xx xxxxxx xxxx– dB Gain, Left only Muted0xx xxxxxx xxxx–46.5 dB Gain
11xx xxxxxx xxxx– dB Gain, Left Muted1xx xxxxxx xxxx– dB Gain, Right
Muted
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right
channels. If MSPLT is not set, Bit D7 has no effect.
*Refer to Table II for examples. This register controls the Mono output volume and mute bit. The volume register contains five bits, generating 32 volume levels with
31 steps of 1.5 dB each. Because AC ’97 defines 6-bit volume registers, to maintain compatibility, whenever the D5 bit is set to “1,” their respective lower five volume bits are automatically set to “1” by the codec logic. On readback, all lower five bits will read “1s” whenever this bit is set to “1.” All registers not shown and bits
containing an X are assumed to be reserved.
MV[5:0]Mono Volume Control. The least significant bit represents 1.5 dB. This register controls the output from 0 dB to a
maximum attenuation of 46.5 dB.
MVMMono Volume Mute. When this bit is set to “1,” the channel is muted.
Table II. Volume Settings for Mono
Control Bits D[4:0] for Mono (06h)
D15WRITEREADBACKFunction
00 00000 00000 dB Gain
00 11110 1111–22.5 dB Gain
01 11111 1111–46.5 dB Gain
1x xxxxx xxxx– dB Gain, Muted
x in the above table is a wild card and has no effect on the value.
0Eh MIC VolumeMCM XXXXXXXXM20XMCV4 MCV3 MCV2 MCV1 MCV0 8008h
All registers not shown, and bits containing an X are assumed to be reserved. Refer to Table III for examples.
MCV[4:0]MIC Volume Gain. Allows setting the MIC Volume attenuator in 32 volume levels. The LSB represents 1.5 dB,
and the gain range is +12 dB to –34.5 dB. The default value is 0 dB, with mute enabled.
M20MIC Gain Boost. This bit allows setting additional MIC gain to increase the microphone sensitivity. The nominal
gain boost by default is 20 dB, however, Bits D0 and D1 (MBG[1:0]) on the miscellaneous control bits register
(76h) allow changing the gain boost to 10 dB or 30 dB, if necessary.
0 = Disabled; Gain = 0 dB
1 = Enabled; Default Gain = 20 dB (see Register 76h, Bits D0, D1)
MCMMIC Mute. When this bit is set to “1,” the channel is muted.
Table III. Volume Settings for Phone and MIC
Control Bits D[4:0]
Phone (0Ch) and MIC (0Eh)
D15WRITEREADBACKFunction
00 00000 000012 dB Gain
00 10000 10000 dB Gain
01 11111 1111–34.5 dB Gain
1x xxxxx xxxx– dB Gain, Muted
x in the above table is a wild card, and has no effect on the value.
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, the Bit D7 has no effect. All registers not shown and bits containing an X are assumed to be reserved. Refer to Table IV for examples.
RLV[4:0]Right Line-In Volume. Allows setting the Line-In Right channel attenuator in 32 volume levels with 31 steps of
1.5 dB each. The LSB represents 1.5 dB, and the range is +12 dB to –34.d dB. The default value is 0 dB, mute enabled.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the right channel separately
from the LIM bit. Otherwise, this bit will always read “0” and will have no effect when set to “1.”
LLV[4:0]Left Line-In Volume. Allows setting the Line-In left channel attenuator in 32 volume levels with 31 steps of 1.5 dB each.
The LSB represents 1.5 dB, and the range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
LVMLine-In Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the MSPLT bit in
Register 76h is set to “1,” in which case this mute bit will only affect the left channel.
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, the Bit D7 has no effect. All registers not shown and bits containing an X are assumed to be reserved. Refer to Table IV for examples.
RCV[4:0]Right CD Volume. Allows setting the CD right channel attenuator in 32 volume levels with 31 steps of 1.5 dB each.
The LSB represents 1.5 dB, and the range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the Right channel separately
from the CVM bit. Otherwise this bit will always read “0” and will have no effect when set to “1.”
LCV[4:0]Left CD Volume. Allows setting the CD left channel attenuator in 32 volume levels with 31 steps of 1.5 dB each.
The LSB represents 1.5 dB, and the range is +12 dB to –24.5 dB. The default value is 0 dB, mute enabled.
CVMCD Volume Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the MSPLT bit
in Register 76h is set to “1,” in which case this mute bit will affect only the left channel.
*For AC ’97 compatibility, Bit D7 is only available by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, Bit D7 has no effect. All registers not shown and bits containing an X are assumed to be reserved. Refer to Table IV for examples.
RAV[4:0]Right AUX Volume. Allows setting the AUX right channel attenuator in 32 volume levels with 31 steps of 1.5 dB
each. The LSB represents 1.5 dB, and the range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the right channel separately
from the AVM bit. Otherwise, this bit will always read “0” and will have no affect when set to “1.”
LAV[4:0]Left PCM Out Volume. Allows setting the PCM left channel attenuator in 32 volume levels. The LSB represents
1.5 dB, and the range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
AVMPCM Out Volume Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the
MSPLT bit in Register 76h is set to “1,” in which case this mute bit will affect only the left channel.
18h PCM Out Volume OM XXLOV4 LOV3 LOV2 LOV1 LOV0 OMRM* XXROV4 ROV3 ROV2 ROV1 ROV0 8808h
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, Bit D7 has no effect. All registers not shown and bits containing an X are assumed to be reserved. Refer to Table IV for examples.
Note that depending on the state of the AC97NC bit in Register 76h, this register has the following additional functionality:
For AC87NC = 0, the register also controls the Surround, Center, and LFE DAC Gain/Attenuators.
For AC97NC = 1, the register controls the PCM Out Volume only.
ROV[4:0]Right PCM Out Volume. Allows setting the PCM right channel attenuator in 32 volume levels. The LSB represents
1.5 dB, and the gain range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the right channel separately
from the AVM bit. Otherwise, this bit will always read “0” and will have no affect when set to “1.”
LOV[4:0]Left PCM Out Volume. Allows setting the PCM left channel attenuator in 32 volume levels. The LSB represents
1.5 dB, and the range is +12 dB to –34.5 dB. The default value is 0 dB, mute enabled.
OMPCM Out Volume Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the
MSPLT bit in Register 76h is set to “1,” in which case this mute bit will affect only the left channel.
Table IV. Volume Settings for Line-In, CD Volume, AUX, and PCM-Out
Control Bits
Reg. 76hLine-In (10h), CD (12h), AUX (16h) and PCM-Out (18h)
Left Channel Volume D[12:8]Right Channel Volume D[4:0]
MSPLT* D15 WRITE READBACK FunctionD7* WRITEREADBACK Function
000 00000 000012 dB Gainx0 00000 000012 dB Gain
000 10000 10000 dB Gainx0 10000 10000 dB Gain
001 11111 1111–34.5 dB Gainx1 11111 1111–34.5 dB Gain
01x xxxxx xxxx– dB Gain, Mutedxx xxxxx xxxx– dB Gain, Muted
101 11111 1111–34.5 dB Gain1x xxxxx xxxx– dB Gain,
Right Only Muted
11x xxxxx xxxx– dB Gain,01 11111 1111–34.5 dB Gain
Left Only Muted
11x xxxxx xxxx– dB Gain, Left Muted 1x xxxxx xxxx– dB Gain, Right Muted
*For AC ’97 compatibility, Bit D7 is only available by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
1Ah Record SelectXXXXXLS2LS1LS0XXXXXRS2RS1RS00000h
All registers not shown and bits containing an X are assumed to be reserved.
Refer to Table V for examples. Used to select the record source, independently for the right and left channels. For single MIC recording, see MS bit (Register 20h) for
MIC1 and MIC2 input selection.
For dual MIC recording, see 2CMIC bit (Register 76h) to enable simultaneous recording into the left and the right channels.
The default value is 0000h, which corresponds to MIC input for both channels.
RS [2:0]Right Record Select
LS [2:0]Left Record Select
REV. 0–14–
Page 15
AD1980
Table V. Settings for Record Select Control
LS [10:8]Left Record SourceRS [2:0]Right Record Source
1Ch Record GainIMXXXLIM3 LIM2LIM1 LIM0 IMRM* XXXRIM3RIM2 RIM1 RIM0 8000h
*For AC ’97 compatibility, Bit D7 is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right channels.
If MSPLT is not set, Bit D7 has no effect. All registers not shown, and bits containing an X are assumed to be reserved. Refer to Table VI for examples.
RIM[3:0]Right Input Mixer Gain Control. Each LSB represents 1.5 dB, 0000 = 0 dB, and the gain range is 0 dB to 22.5 dB.
RMRight Channel Mute. Once enabled by the MSPLT bit in Register 76h, this bit mutes the right channel separately
from the IM bit. Otherwise, this bit will always read “0” and will have no effect when set to “1.”
LIM[3:0]Left Input Mixer Gain Control. Each LSB represents 1.5 dB, 0000 = 0 dB, and the gain range is 0 dB to 22.5 dB.
IMInput Mute. When this bit is set to “1,” both the left and the right channels are muted, unless the MSPLT bit in
Register 76h is set to “1,” in which case this mute bit will affect only the left channel.
Table VI. Settings for Record Gain Register
Control Bits
Reg. 76hRecord Gain (1Ch)
Left Channel Input Mixer D[11:8]Right Channel Input Mixer D[3:0]
MSPLT* D15 WRITEREADBACKFunctionD7*WRITEREADBACK Function
001111111122.5 dB Gainx1111111122.5 dB Gain
00000000000 dB Gainx000000000 dB Gain
01xxxxxxxx– dB Gain, Mutedxxxxxxxxx– dB Gain, Muted
101111111122.5 dB Gain1xxxxxxxx– dB Gain,
Right Only Muted
11xxxxxxxx– dB Gain,01111111122.5 dB Gain
Left Only Muted
11xxxxxxxx– dB Gain,1xxxxxxxx– dB Gain, Right Muted
Left Muted
*For AC ’97 compatibility, Bit D7 (RM) is available only by setting the MSPLT bit, Register 76h. The MSPLT bit enables separate mute bits for the left and right
channels. If MSPLT is not set, Bit D7 has no effect.
x is “don’t care.”
This register should be read before writing to generate a mask for only the bit(s) that need to be changed. All registers not shown and bits containing an X are
assumed to be reserved.
LPBKLoopback Control. This bit enables the digital internal loopback from the ADC to the Front DAC. This feature is
normally used for test and troubleshooting.
0 = No Loopback (Default)
1 = Loopback PCM digital data from ADC output to DAC
See LBKS bit in Register 0x74 for changing the loopback path to use the Surround or Center/LFE DACs.
MSMIC Select. Selects Mono MIC input.
0 = Select MIC1
1 = Select MIC2
See 2CMIC bit in Register 76h to enable stereo microphone recording.
DRSS [1:0]Double Rate Slot Select. The DRSS bits specify the slots for the n + 1 sample outputs. PCM L (n + 1) and PCM R
(n + 1) data are by default provided in output slots 10 and 11.
00: PCM L, R n + 1 Data is on Slots 10, 11 (reset default)
01: PCM L, R n + 1 Data is on Slots 7, 8
10: Reserved
11: Reserved
Audio Interrupt and Paging Mechanism Register (Index 24h)
This register controls the Audio Interrupt and Paging mechanism. All registers not shown and bits containing an X are assumed to be reserved.
PG[3:0]Page Selector (Read Only). This register is used to describe Page Selector capability for extended features.
Reading these bits returns 0h, which describes Page Selection as vendor specific only.
I0INTERRUPT ENABLE (R/W). This enables interrupt generation.
0 = Interrupt Generation is Masked (Default)
1 = Interrupt Generation is Unmasked
The S/W should not unmask the interrupt unless ensured by the AC ’97 controller that no conflict is possible with
Modem slot 12 GPI functionality.
AC ’97 2.2 compliant controllers will not likely support audio codec interrupt infrastructure. In that case, S/W could
poll the interrupt status after initiating a sense cycle and waiting for Sense Cycle Max Delay to determine if an interrupting event has occurred.
I4INTERRUPT STATUS (R/W). This bit provides interrupt status and clear capability.
0 = Interrupt is Clear
1 = Interrupt was Generated
Interrupt event is cleared by writing a “1” to this bit. The interrupt bit will change regardless of condition of interrupt enable (I0) status. An interrupt in the GPI in slot 12 in the AC link will follow this bit change when interrupt
enable (I0) is unmasked.
The ready bits are read only; writing to REF, ANL, DAC, ADC will have no effect. These bits indicate the status for the AD1980 subsections. If the bit is a 1, then
that subsection is ready. Ready is defined as the subsection able to perform in its nominal state. All registers not shown and bits containing an X are assumed to be reserved.
ADCADC Sections Ready to Transmit Data
DACDAC Sections Ready to Transmit Data
ANLAnalog Amplifiers, Attenuators and Mixers Ready
REFVoltage References, V
PR[6:0]Codec Power-Down Modes. The first three bits are to be used individually rather than in combination with each
other. 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.
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.
EAPDExternal Audio Power-Down Control. Controls the state of the EAPD pin.
EAPD = 0 sets the EAPD pin low, enabling an external power amplifier (reset defaults).
EAPD = 1 sets the EAPD pin high, shutting off the external power amplifier.
REF
and V
up to Nominal Level
REFOUT
REV. 0
–17–
Page 18
AD1980
PR0 = 1PR1 = 1PR2 = 1PR4 = 1
NORMAL
ADCs OFF
PR0 = 0
AND
ADC = 1
READY = 1
PR0
PR1 = 0
AND
DAC = 1
DACs OFF
PR1
PR2 = 0
AND
ANL = 1
DEFAULT
ANALOG
OFF
PR2 OR
PR3
DIGITAL I/F
OFF
PR4
WARM
RESET
COLD
RESET
SHUT OFF
AC- LINK
Figure 8. One Example of AC ‘97 Power-Down/Power-Up Flow
The extended audio ID register identifies which extended audio features are supported. A nonzero extended audio ID value indicates one or more of the extended
audio features are supported. All registers not shown and bits containing an X are assumed to be reserved.
VRAVariable Rate PCM Audio Support (Read Only).
This bit returns a “1” when read to indicate that the Variable Rate PCM Audio is supported.
DRADouble Rate Audio (Read Only).
This bit returns a “1” when read to indicate that the optional Double Rate RCM Audio is supported for PCM L
and PCM R.
SPDIFSPDIF Support (Read Only). This bit returns a “1” when read to indicate that the SPDIF transmitter is supported
(IEC958).
This bit is also used to validate that the SPDIF transmitter output is actually enabled. The SPDIF bit is only
allowed to be set high if the SPDIF pin (48) is pulled down at power-up, enabling the codec transmitter logic. If the
SPDIF pin is floating or pulled high at power-up, the transmitter logic is disabled and therefore this bit returns a
low, indicating that the SPDIF transmitter is not available. This bit must always be read back to verify that the
SPDIF transmitter is actually enabled.
2Ah Extended Audio VFORCE XPRK PRJ PRI SPCV X ELDAC ESDAC ECDAC SPSA1 SPSA0 XESPDIF EDRA EVRA 0XX0h
Stat/Ctrl
The extended audio status and control register is a read/write register that provides status and control of the extended audio features. All registers not shown and bits
containing an X are assumed to be reserved.
DRA = 1 enables double rate audio mode in which data from PCM L and PCM R in output slots 3 and 4 is used in
conjunction with PCM L (n + 1) and PCM R (n + 1) data to provide DAC streams at twice the sample rate designated by the PCM front sample rate control register. When using the double rate audio only the front DACs are
supported, and all other DACs (surround, center, and LFE) are automatically powered down.
Note that DRA can be used without VRA; in that case the converter rates are forced to 96 kHz if DRA = 1.
ESPDIFSPDIF Transmitter Subsystem Enable/Disable Bit (Read/Write).
SPDIF = 1 enables the SPDIF transmitter.
SPDIF = 0 disables the SPDIF transmitter (default).
SPSA[1,0]SPDIF Slot Assignment Bits (Read/Write).
These bits control the SPDIF slot assignment and respective defaults, depending on the codec ID configuration.
See the following table.
ECDACCenter DAC Status (Read Only).
CDAC = 1 indicates the PCM center DAC is ready.
ESDACSurround DAC status (Read Only).
SDAC = 1 indicates the PCM surround DACs are ready.
ELDACLFE DAC status (Read Only).
LDAC = 1 indicates the PCM LFE DAC is ready.
SPCVSPDIF Configuration Valid (Read Only). Indicates the status of the SPDIF transmitter subsystem, enabling the
driver to determine if the currently programmed SPDIF configuration is supported. SPCV is always valid, independent of the SPDIF enable bit status.
SPCV = 0 indicates current SPDIF configuration (SPSA, SPSR, DAC slot rate, DRS) is not valid (not supported).
SPCV = 1 indicates current SPDIF configuration (SPSA, SPSR, DAC slot rate, DRS) is valid (supported).
PRICenter DAC Power-Down (Read/Write).
PRJ = 1 turns off the PCM Center DAC.
PRJSurround DACs Power-Down (Read/Write).
PRJ = 1 turns off the PCM surround DACs.
PRKLFE DAC Power-Down (Read/Write).
PRJ = 1 turns off the PCM LFE DAC.
VFORCEValidity Force Bit (Reset Default = 0).
When asserted, this bit forces the SPDIF stream validity flag (Bit 28 within each SPDIF L/R subframe) to be controlled by the V bit (D15) in Register 3Ah (SPDIF control register).
VFORCE = 0 and V = 0; the Validity Bit is managed by the codec error detection logic.
VFORCE = 0 and V = 1; the Validity Bit is forced high, indicating subframe data is invalid.
VFORCE = 1 and V = 0; the Validity Bit is forced low, indicating subframe data is valid.
VFORCE = 1 and V = 1; the Validity Bit is forced high, indicating subframe data is invalid.
REV. 0
–19–
Page 20
AD1980
AC ’97 2.2 AMAP Compliant Default SPDIF Slot Assignments
002-Ch Primary w/SPDIF3 and 47 and 8 [default]6 and 910 and 11
004-Ch Primary w/SPDIF3 and 47 and 86 and 9[default]10 and 11
006-Ch Primary w/SPDIF3 and 47 and 86 and 910 and 11[default]
01+2-Ch Secondary w/SPDIF3 and 47 and 86 and 9[default]
01+4-Ch Secondary w/SPDIF3 and 47 and 86 and 910 and 11[default]
10+2-Ch Secondary w/SPDIF3 and 47 and 86 and 9[default]
10+4-Ch Secondary w/SPDIF3 and 47 and 86 and 910 and 11[default]
11+2-Ch Secondary w/SPDIF3 and 47 and 86 and 910 and 11[default]
This read/write Sample Rate Control Register contains 16-bit unsigned value, representing the rate of operation in Hz.
SRF[15:0]Sample Rate.
The sampling frequency range is from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments. If zero is written to
VRA, then the sample rate is reset to 48 kHz.
This read/write Sample Rate Control Register contains 16-bit unsigned value, representing the rate of operation in Hz.
This register sets the sample rate for the surround DAC. This register’s reset default is to be locked to the PCM front DAC sample rate register (2-Ch).
To unlock this register, Bit SRU in Register 76h must be asserted.
SRS[15:0]Sample Rate.
The sampling frequency range is from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments.
If zero is written to VRA bit, then the sample rate is reset to 48 kHz.
This read/write sample rate control register contains 16-bit unsigned value, representing the rate of operation in Hz.
This register sets the sample rate for the LFE DAC and Center DAC. This register’s reset default is to be locked to the PCM Front DAC sample rate register (2-Ch) .
To unlock the register bit, SRU in Register 76h must be asserted.
The sampling frequency range is from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments.
If zero is written to VRA, then the sample rate is reset to 48 kHz.
This read/write sample rate control register contains 16-bit unsigned value, representing the rate of operation in Hz.
SRA[15:0]Sample Rate.
The sampling frequency range is from 7 kHz (1B58h) to 48 kHz (BB80h) in 1 Hz increments.
If zero is written to VRA, then the sample rate is reset to 48 kHz.
All registers not shown and bits containing an X are assumed to be reserved.
Refer to Table VII for examples. This register controls the LFE output volume and mute bit. The volume registers contain five bit, generating
32 volume levels with 31 steps of 1.5 dB each. If MSPLT is not set, Bit D7 has no effect.
*Because AC ’97 defines 6-bit volume registers, to maintain compatibility, whenever the D5 or D13 bit is set to “1,” its respective lower five volume bits are automati-
cally set to “1” by the codec logic. On readback, all lower five bits will read “1”s whenever this bit is set to “1.”
Note that depending on the state of the AC97NC bit in register 76h, this register operates as follows:
For AC97NC = 0, the register controls the center and LFE output pin Attenuators. Range is 0 dB to –46.5 dB.
For AC97NC = 1, the register controls the center and LFE DAC Gain/Attenuators. Range is +12 dB to –34.5 dB.
CNT[5:0]Center Volume Control
CMCenter Volume Mute. When this bit is set to “1,” the channel is muted.
LFE[5:0]LFE Volume Control
LMLFE Volume Mute. When this bit is set to “1,” the channel is muted.
Table VII. Settings for Center/LFE Register
Control Bits
CENTER and LFE Volume (36h)
CENTER D[5:0] and LFE D[13:8]
D15/D7
WRITEREADBACK
000 000000 00000 dB Gain12 dB Gain
000 111100 1111–22 dB Gain–10.5 dB Gain
001 111101 1111–46.5 dB Gain–34.5 dB Gain
01x xxxx01 1111–46.5 dB GainNot Applicable
1xx xxxxxx xxxxMutedMuted
*Refer to Table VIII for examples. This register controls the surround volume controls for both stereo channels and mute bits. Each volume subregister contains
five bits, generating 32 volume levels with 31 steps of 1.5 dB each. Because AC ’97 defines 6-bit volume registers, to maintain compatibility, whenever the D5 or
D13 Bit is set to 1, its respective lower five volume bits are automatically set to “1” by the coded logic. On readback , all lower five bits will read “1s” whenever
these bits are set to “1.”
Note that depending on the state of the AC97NC bit in Register 0x76, this register operates as follows:
For AC97NC = 0, the register controls the surround output pin Attenuators. Range is 0 dB to –46.5 dB.
For AC97NC = 1, the register controls the surround DAC Gain/Attenuators. Range is +12 dB to –34.5 dB.
RSR[5:0]Right Surround Volume Control
MUTE_RRight Surround Volume Mute. When this bit is set to “1,” the right channel is muted.
LSR[5:0]Left Surround Volume Control
MUTE_LLeft Surround Volume Mute. When this bit is set to “1,” the left channel is muted.
REV. 0
–21–
Page 22
AD1980
Table VIII. Settings for Surround Register
Control Bits
Surround Volume (38h)
Left Surround D[13:8]
Right Surround D[5:0]
D15/D7
WRITEREADBACK
000 000000 00000 dB Gain12 dB Gain
000 111100 1111–22 dB Gain–10.5 dB Gain
001 111101 1111–46.5 dB Gain–34.5 dB Gain
01x xxxx01 1111–46.5 dB GainNot Applicable
1xx xxxxxx xxxxMutedMuted
3Ah SPDIF V XSPSR1SPSR0LCC6CC5 CC4 CC3 CC2 CC1 CC0 PRE COPY /AUD PRO 2000h
Control
All registers not shown and bits containing an X are assumed to be reserved.
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 starts up correctly at the beginning of SPDIF transmission.
Function with AC97NC = 0Function with AC97NC = 1
PROProfessional. “1” indicates professional use of channel status, “0” indicates consumer.
/AUDNon-Audio. “1” indicates data is non PCM format, “0” indicates data is PCM.
COPYCopyright. “1” indicates copyright is asserted, “1” indicates copyright is not asserted.
PREPre-emphasis. “1” indicates filter pre-emphasis is 50 µs/15 µs, “0” indicates pre-emphasis is none.
CC[6-0]Category Code. Programmed according to IEC standards, or as appropriate.
LGeneration Level. Programmed according to IEC standards, or as appropriate.
VValidity. This bit affects the Validity flag (Bit 28 transmitted in each SPDIF L/R 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 invalid.
V = 0 Each SPDIF subframe (L+R) has Bit 28 set to “0” for valid data and “1” for invalid data (error condition).
Note that when V = 0, asserting the VFORCE bit (D15) in Register 2Ah (Ext’d Audio Stat/Ctrl) will force the Validity flag low, marking both samples as valid.
All registers not shown, and bits containing an X are assumed to be reserved.
Register 60h is a read/write register that controls the Equalizer functionality and data setup. This register also contains the Biquad and Coefficient Address pointer,
which is used in conjunction with the EQ Data Register (78h) to set up the equalizer coefficients. The reset default disables the Equalizer function until the coefficients can be properly set up by the software and sets the Symmetry Bit to allow equal coefficients for the left and right channels.
CHS = 0 selects left channel coefficients data block.
CHS = 1 selects right channel coefficients data block.
SYMSymmetry.
When set to “1,” this bit indicates that the left and right channel coefficients are equal. This shortens the coefficients’ setup sequence since only the left channel coefficients need to be addressed and set up. (The right channel
coefficients are fetched from the left channel memory.)
EQMEqualizer Mute.
When set to “1,” this bit disables the equalizer function (allows all data pass through). The reset default sets this bit
to “1,” disabling the equalizer function until the biquad coefficients can be properly set.
This read/write register is used to transfer EQ biquad coefficients into memory. The register data is transferred to, or retrieved from, the address pointed to by the
BCA Bits in the EQ CNTRL register (60h). Data will only be written to memory if the EQM bit (Register 60h, Bit 15) is asserted.
CFD[15,0]Coefficient Data. The biquad coefficients are fixed-point format values with 16 bits of resolution. The CFD15 bit is
the MSB and the CFD0 bit is the LSB.
Jack Sense/Audio Interrupt Status Register (Index 72h)
All register bits are read/write except for JS0ST and JS1ST, which are read only.
JS0INTIndicates Pin JS0 has generated an interrupt. Remains set until the software services JS0 interrupt, i.e., JS0 ISR
should clear this bit by writing a “0” to it. Note that the interrupt to the system is actually an OR combination of
this bit and JS1INT. Also, note that the actual interrupt implementation is selected by the INTS bit (Register 76h).
It is also possible to generate a software system interrupt by writing a “1” to this bit.
JS1INTIndicates Pin JS1 has generated an interrupt. Remains set until the software services JS1 interrupt, i.e., JS1 ISR
should clear this bit by writing a “0” to it. See the JS0INT description for additional details.
JS0STJS0 STATE. This bit always reports the logic state of JS0 pin.
JS1STJS1 STATE. This bit always reports the logic state of JS1 pin.
JS0MDJS0 Mode. This bit selects the operation mode for the JS0 pin.
0 = Jack Sense Mode (reset default)
1 = Interrupt Mode
JS1MDJS1 Mode. This bit selects the operation mode for the JS1 pin.
0 = Jack Sense Mode (reset default)
1 = Interrupt Mode
JS0TMRJS0 Timer Enable. If this bit is set to a “1,” JS0 must be high for greater than 278 ms to be recognized.
JS1TMRJS1 Timer Enable. If this bit is set to a “1,” JS1 must be high for greater than 278 ms to be recognized.
JS0EQBJS0 EQ Bypass Enable. This bit enables JS0 to control the EQ bypass. When this bit is set to “1,” JS0 = 1 will
cause the EQ to be bypassed.
JS1EQBJS1 EQ Bypass Enable. This bit enables JS1 to control the EQ bypass. When this bit is set to “1,” JS1 = 1 will
cause the EQ to be bypassed.
JSMT[2,0]JS Mute Enable Selector. These three bits select and enable the Jack Sense muting action (see Table IX).
JS0DMXJS0 Down = Mix Control Enable. This bit enables JS0 to control the Down-Mix function. This function allows a
digital mix of six channels of audio into 2-channel audio. The mix can then be routed to the stereo Line_out or
HP_out jacks. When this bit is set to “1,” JS0 = 1 will activate the Down-Mix conversion.
See the DMIX description in Register 76h. The DMIX bits select the Down-Mix implementation type and can also
force the function to be activated.
JS1DMXJS1 Down Mix Control Enable. This bit enables 2-channel to 6-channel audio Spread function when both Jack
Senses are active (logic state “1”).
Note that the SPRD bit can also force the Spread function without being gated by the Jack Senses. See this bit’s
description in Register 76h for a better understanding of the Spread function.
JSSPRDJS Spread Control Enable. This bit enables 2-channel to 6-channel audio Spread function when both Jack Senses
are active (logic state “1”).
Note that the SPRD bit can also force the Spread function without being gated by the Jack Senses. See this bit’s
description in Register 76h for a better understanding of the Spread function.
FMUTE = Output is forced to mute independent of the respective Volume Register setting.
ACTIVE = Output is not muted and its status is dependent on the respective Volume Register setting.
OUT = Nothing plugged into the jack and therefore the JS status is “0” (via the load resistor pull-down).
IN = Jack has plug inserted and therefore the JS status is “1” (via the codec JS internal pull-up).
All registers not shown and bits containing an X are assumed to be reserved.
Note that this register is not reset when the reset register (0x00) is written to (soft reset).
SPLNKSPDIF Link. This bit enables the SPDIF to link with the front DACs for data requesting.
SPDZSPDIF DACZ.
SPALSPDIF ADC Loop-around.
INTSInterrupt Mode Select. This bit selects the JS interrupt implementation path.
LBKS[1:0]Loop-Back Selection. These bits select the internal digital loop-back path when LPBK bit is active (see Register 20h)
CHENChain Enable. This bit enables chaining of a slave codec SDATA_IN stream into the ID0 pin (Pin 45).
DRFDAC Request Force. This allows the AD1980 to synchronize DAC requests with the AD1981A/B.
REGM3Slave 3 Codec Register Mask
REGM0Master Codec Register Mask
REGM1Slave 1 Codec Register Mask
REGM2Slave 2 Codec Register Mask
SLOT16Enable 16-Bit Slot Mode. SLOT16 makes all ac-link slots 16 bits in length, formatted into 16 slots. This is a
SLOT16 REGM2 REGM1 REGM0 REGM3 DRF
Configuration
0 = SPDIF and DAC are not linked.
1 = SPDIF and DAC are linked and receive the same data requests (reset default).
0 = Repeat last sample out of the SPDIF stream if FIFO under-runs (reset default).
1 = Forces midscale sample out the SPDIF stream if FIFO under-runs.
0 = SPDIF transmitter is connected to the AC-Link stream (reset default).
1= SPDIF transmitter is connected to the digital ADC stream, not the AC-Link.
0 = Bit 0 SLOT 12 (modem interrupt) (reset default).
1 = Slot 6 Valid Bit (MIC ADC interrupt).
00 = Loop back through the front DACs (reset default).
01 = Loop back through the surround DACs.
10 = Reserved
11 = Loop-back through the center and LFE DACs (Center DAC loops back from the ADC left channel, the LFE
DAC from the ADC right channel).
These two bits allow changing the MIC preamp gain from the nominal 20 dB gain. Both MIC1/MIC2 and MIC2
preamps will be set to the same selected gain.
Note that this gain takes effect only while Bit D6 (M20) on the MIC volume register (0Eh) is set to 1; otherwise the
MIC boost block has a gain of 0 dB.
00 = 20 dB gain (reset default)
01 = 10 dB gain
10 = 30 dB gain
11 = reserved
VREFDV
Note that this bit overrides the VREFH bit selection (see below).
0 = V
1 = V
0 = All DAC Sample Rates are locked to the front sample rate (reset default).
1 = DAC sample rates can be set independently for front, surround, and LFE.
LOSELLINE_OUT Amplifiers Input Select. This bit allows the LINE_OUT output amplifiers to be driven by the mixer
or the surround DACs. The main purpose for this is to allow swapping of the front and surround channels to make
better use of the SURR/HP_OUT output amplifiers. This bit should normally be used in tandem with the HPSEL
bit (see below).
0 = LINE_OUT amplifiers are driven by the mixer outputs (reset default).
1 = LINE_OUT amplifiers are driven by the surround DAC outputs.
2CMIC2-Channel MIC Select. This bit enables simultaneous recording from MIC1 and MIC2 inputs, using a stereo
microphone array. Note that this register works in conjunction with the MS bit in Register 20h.
0 = MIC1 or MIC2 (determined by MS bit) is routed to the record selector’s left and right MIC channels as well
as to the mixer (reset default).
1 = MIC1 is routed to the record selector’s left MIC channel and MIC2 is routed to the record selector’s right
MIC channel. Note that in this mode, the MS bit should be set low and MIC1 can still be enabled into the mixer.
SPRDSPREAD Enable. This bit enables spreading of 2-channel media to all six output channels. This function is imple-
mented in the analog section by using the output selector controls line for the center/LFE, surround, and Line_out
output channels. Note that the Jack Sense pins can also be set up to control (gate) this function, depending on the
JSSPRD bit (see Register 72h).
0 = No spreading occurs unless activated by the Jack Senses and JSSPRD bits (reset default).
1 = The SPRD selector drives the center and LFE outputs from the MONO_OUT, the HPSEL selector drives the
SURR/HP_OUT outputs from the mixer outputs, and the LOSEL selector drives the LINE_OUT outputs also
from the mixer outputs.
Note that the SPRD bit overrides the current output selector control lines set up by bits LOSEL and HPSEL as
follows: LOSEL = 0 and HPSEL = 1.
Disable. Disables V
REFOUT
pin is driven by the internal reference (reset default).
REFOUT
pin is placed into High Z out mode.
REFOUT
High. Changes V
REFOUT
pin is set to 2.25 V output (reset default).
REFOUT
pin is set to 3.70 V output.
REFOUT
, placing it into High Z out mode.
REFOUT
from 2.25 V to 3.70 V for PC2001 compliant MIC bias applications.
REFOUT
REV. 0
–27–
Page 28
AD1980
DMIX[1:0]Down Mix Mode Select. Provides analog down-mixing of the center, LFE, and/or surround channels into the
mixer channels. This allows the full content of 5.1 or quad media to be played through stereo headphones or
speakers.
Note that the Jack Sense pins can also be set up to control (gate) this function depending on the JS0DMX and
JS1DMX Bits (see Register 72h).
The upper bit allows forcing the down-mix function:
DMIX[1] = 0, no down-mix unless activated by the Jack Sense and JSxDMX bits (default).
DMIX[1] = 1, forces down-mix function.
The lower bit selects the down-mix type:
DMIX[0] = 0, selects 6-to-4 down-mix. The center and LFE channels are summed equally into the mixer left and
right channels (default).
DMIX[0] = 1, selects 6-to-2 down-mix. The surround left and right channels are summed into the mixer left and
right channels.
Default for DMIX[1:0] is “00.”
HPSELHeadphone Amplifier Input Select. This bit allows the headphone power amps to be driven from the surround
DACs or from the mixer outputs. There are two reasons for this: one is to allow 2-channel media to use the
higher power headphone amplifiers available on the SURR/HP_OUT outputs; the other is to allow spreading of
2-channel media to the surround outputs.
Together with the LOSEL bit (see above), this bit also provides for analog swapping of the mixer (front) and surround outputs.
0 = SURR_out/HP_out outputs are driven by the surround DACs (reset default).
1 = SURR_out/HP_out outputs are driven by the mixer outputs.
CLDISCenter and LFE Disable. Disables the center and LFE output pins, placing them into High-Z mode so that the
assigned output audio jack(s) can be shared for MIC inputs or other functions.
0 = Center and LFE output pins have normal audio drive capability (reset default).
1 = Center and LFE output pins are placed into High-Z mode.
LODISLine_out Disable. Disables the Line_out pins (L/R), placing them into High-Z mode so that the assigned output
audio jack can be shared for Line Input function.
0 = Line_out pins have normal audio drive capability (reset default).
1 = Line_out pins are placed into High-Z mode.
MSPLTMute Split. Allows separate mute control bits for master, HP, Line_in, CD, PCM OUT, and record volume/gain
control registers.
0 = Both left and right channel mutes are controlled by Bit D15 in the respective registers (reset default).
1 = Bit D15 affects only the left channel mute and Bit D7 affects only the right channel mute.
AC97NCAC ’97 No Compatibility Mode. This bit allows the surround, center, and LFE volume control registers and
output attenuators to operate in a more functional mode than defined by the AC97 2.2 spec. This is called ADI
compatibility mode.
In AC ’97 compatibility mode, the DAC Gain/Attenuators for the surround, center, and LFE are controlled by
Register 18h (PCM volume). The output pin attenuators for the surround are controlled by Register 38h, and the
output pin attenuators for the center and LFE are controlled by Register 36h.
In ADI compatibility mode, the Surround DAC Gain/Attenuators are controlled by Register 38h, and the Center/
LFE DAC are controlled by Register 36h.
The output pin attenuators for Center/LFE are controlled by Register 02h (Master Volume), and the output pin
attenuators for Surround are controlled by Register 04h.
0 = AC97 compatibility mode (reset default).
1 = ADI compatibility mode.
DACZDAC Zero-Fill. Determines DAC data fill under starved condition.
0 = DAC data is repeated when DACs are starved for data (reset default).
1 = DAC data is zero-filled when DACs are starved for data.
REV[7:0]This register is set to 70h identifying the AD1980.
Codec ID and Clock Selection Table
XTL_INID1#IDO#Codec IDCodec Clocking Source
GND00SECONDARY, ID = 312.288 MHz (BIT_CLK from Primary Codec)
GND01SECONDARY, ID = 212.288 MHz (BIT_CLK from Primary Codec)
GND10SECONDARY, ID = 112.288 MHz (BIT_CLK from Primary Codec)
XTAL11PRIMARY, ID = 024.576 MHz Local XTAL or External CLK
into XTL_IN
CLK INPUT00PRIMARY, ID = 014.3181 MHz (External into XTL_IN)
CLK INPUT01PRIMARY, ID = 048.00 MHz (External into XTL_IN)
CLK INPUT1XRESERVEDRESERVED
Note that internally, the ID pins have weak pull-ups and are inverted.
REV. 0
–29–
Page 30
AD1980
OUTLINE DIMENSIONS
48-Lead Plastic Quad Flatpack [LQFP]
1.4 mm Thick
(ST-48)
Dimensions shown in millimeters
1.45
1.40
1.35
0.15
0.05
SEATING
PLANE
ROTATED 90ⴗ CCW
VIEW A
0.08 MAX
COPLANARITY
1.60 MAX
0.75
0.60
0.45
SEATING
PLANE
0.20
0.09
7ⴗ
3.5ⴗ
0ⴗ
COMPLIANT TO JEDEC STANDARDS MS-026BBC
PIN 1
INDICATOR
VIEW A
1
12
0.50
BSC
48
13
9.00 BSC
TOP VIEW
(PINS DOWN)
37
24
36
25
0.27
0.22
0.17
7.00
BSC
REV. 0–30–
Page 31
–31–
Page 32
C03231–0–11/02(0)
–32–
PRINTED IN U.S.A.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.