STAC
STAC
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with
Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
1. TABLE OF CONTENTS
1. TABLE OF CONTENTS ............................................................................................................. 2
1.1. List of Figures ....................................................................................................................................5
1.2. List of Tables ......................................................................................................................................5
2. PRODUCT BRIEF ...................................................................................................................... 7
2.1. Features .............................................................................................................................................7
2.2. Description .........................................................................................................................................7
2.3. Ordering Information ..........................................................................................................................8
2.4. STAC9750/51 Block Diagram ...........................................................................................................9
2.5. Key Specifications ..............................................................................................................................9
2.6. Related Materials ...............................................................................................................................9
2.7. Additional Support ..............................................................................................................................9
3. CHARACTERISTICS/SPECIFICATIONS ................................................................................10
3.1. Electrical Specifications ...................................................................................................................10
3.1.1. Absolute Maximum Ratings: ..............................................................................................10
3.1.2. Recommended Operating Conditions ...............................................................................10
3.1.3. Power Consumption . .........................................................................................................10
3.1.4. Revision Comparision ........................................................................................................11
3.1.5. AC-Link Static Digital Specifications ..................................................................................12
3.1.6. STAC9750 Analog Performance Characteristics ...............................................................12
3.1.7. STAC9751 Analog Performance Characteristics ...............................................................13
3.2. AC Timing Characteristics ...............................................................................................................15
3.2.1. Cold Reset .........................................................................................................................15
3.2.2. Warm Reset .......................................................................................................................15
3.2.3. Clocks ................................................................................................................................16
3.2.4. Data Setup and Hold ..........................................................................................................17
3.2.5. Signal Rise and Fall Times ................................................................................................17
3.2.6. AC-Link Low Power Mode Timing ......................................................................................18
3.2.7. ATE Test Mode ..................................................................................................................18
4. TYPICAL CONNECTION DIAGRAM .......................................................................................19
5. AC-LINK ...................................................................................................................................20
5.1. Clocking ...........................................................................................................................................20
5.2. Reset ................................................................................................................................................20
6. DIGITAL INTERFACE ..............................................................................................................21
6.1. AC-Link Digital Serial Interface Protocol ..........................................................................................21
6.1.1. AC-Link Audio Output Frame (SDATA_OUT) ....................................................................22
[Link]. Slot 1: Command Address Port ........................................................................23
[Link]. Slot 2: Command Data Port ..............................................................................23
[Link]. Slot 3: PCM Playback Left Channel ..................................................................23
[Link]. Slot 4: PCM Playback Right Channel ...............................................................23
[Link]. Slot 5: Reserved ...............................................................................................24
[Link]. Slot 6: PCM Center Channel ............................................................................24
[Link]. Slot 7: PCM Left Surround Channel .................................................................24
[Link]. Slot 8: PCM Right Surround Channel ...............................................................24
[Link]. Slot 9: PCM Low Frequency Channel ...............................................................24
2 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 3
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7.5.17. Extended Modem Status and Control Register (3Eh) (Used in Revision CC1 and beyond)
46
7.5.18. GPIO Pin Configuration Register (4Ch) (Used in Revision CC1 and beyond) .................46
7.5.19. GPIO Pin Polarity/Type Register (4Eh)(Used in Revision CC1 and beyond) ...................46
7.5.20. GPIO Pin Sticky Register (50h) (Used in Revision CC1 and beyond) .............................47
7.5.21. GPIO Pin Mask Register (52h)(Used in Revision CC1 and beyond) ...............................47
7.5.22. GPIO Pin Status Register (54h) (Used in Revision CC1 and beyond) .............................48
7.5.23. Digital Audio Control (6Ah) ...............................................................................................48
7.5.24. Revision Code (6Ch) ........................................................................................................49
7.5.25. Analog Special (6Eh) .......................................................................................................49
[Link]. ALL MIX ..........................................................................................................49
[Link]. ADC Data on AC LINK ....................................................................................50
[Link]. MuteFix Disable (Used in Revision CC1 and beyond) ....................................50
[Link]. Mic Boost Select .............................................................................................50
[Link]. Supply Override Select ...................................................................................50
[Link]. 72h Enable (70h) ............................................................................................50
[Link]. Analog Current Adjust (72h) ...........................................................................51
[Link]. Internal Power-On/Off Anti-Pop Circuit ...........................................................51
7.5.26. GPIO Access Register (74h) (Used only in CA3 revision for GPIO) ................................52
7.5.27. High Pass Filter Bypass (Index 76h and 78h) ..................................................................52
[Link]. 78h Enable (76h) ............................................................................................52
[Link]. ADC High Pass FIlter Bypass(78h) ................................................................53
7.5.28. Vendor ID1 and ID2 (Index 7Ch and 7Eh) .......................................................................53
[Link]. Vendor ID1 (7Ch) ............................................................................................53
[Link]. Vendor ID2 76xx (7Eh) ...................................................................................53
8. LOW POWER MODES ............................................................................................................54
9. MULTIPLE CODEC SUPPORT ...............................................................................................56
9.1. Primary/Secondary Codec Selection ...............................................................................................56
9.1.1. Primary Codec Operation ...................................................................................................56
9.1.2. Secondary Codec Operation ..............................................................................................56
9.2. Secondary Codec Register Access Definitions ................................................................................57
10. TESTABILITY ........................................................................................................................58
11. PIN DESCRIPTION ................................................................................................................59
11.1. Digital I/O .......................................................................................................................................60
11.2. Analog I/O ......................................................................................................................................61
11.3. Filter/References/GPIO ..................................................................................................................62
11.4. Power and Ground Signals ............................................................................................................62
12. PACKAGE DRAWING ..........................................................................................................63
13. APPENDIX A: SPLIT INDEPENDENT POWER SUPPLY OPERATION ..............................64
14. APPENDIX B: PROGRAMMING REGISTERS .....................................................................66
15. DOCUMENT HISTORY ..........................................................................................................67
4 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 5
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
6 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2. PRODUCT BRIEF
2.1. Features
• Full duplex stereo 18-bit ADC and 20-bit DAC
• AC’97 Rev 2.2-compliant
• High performance Σ∆ technology
• SPDIF output
• Crystal elimination circuit
• Headphone amplifier
• Independent sample rates for ADC & DACs (hardware SRCs)
• 20 or 30 dB microphone boost capability
• 90 dB SNR LINE-LINE
• 5-Wire AC-Link protocol compliance
• Digital-Ready architecture
• General purpose I/O
• +3.3V (STAC9751) and +5V (STAC9750) analog power supply options
• Pin compatible with the STAC9700/21/44/08/56/66/52
• SigmaTel Surround (SS3D) Stereo Enhancement
• Energy saving dynamic power modes
• See Register Comparision Table Below
2.2. Description
SigmaTel's STAC9750/51 are general purpose 18-bit ADC, 20-bit DAC, full duplex,
audio codecs conforming to the analog component specification of AC'97 (Audio
Codec 97 Component Specification Rev. 2.2). The STAC9750/51 incorporate Sig-
maTel's proprietary Σ∆ technology to achieve a DAC SNR in excess of 90 dB. The
DACs, ADCs, and mixer are integrated with analog I/Os, which include four analog
line-level stereo inputs, two analog line-level mono inputs, two stereo outputs, and
one mono output channel. The STAC9750/51 include digital input/output capability
for support of modern PC systems with an output that supports the SPDIF format.
The STAC9750/51 is a standard 2-channel stereo codec. With SigmaTel’s head-
phone drive capability, headphones can be driven with no external amplifier. The
STAC9750/51 may be used as a secondary codec, with the STAC9700/21/44/56/
08/84/66 as the primary, in a multiple codec configuration conforming to the AC'97
Rev. 2.2 specification. This configuration can provide true six-channel, AC-3 play-
2-9750-D1-5.2-1003 7
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
back required for DVD applications. The STAC9750/51 communicates via the
five-wire AC-Link to any digital component of AC'97 providing flexibility in the audio
system design. Packaged in an AC'97 compliant 48-pin TQFP, the STAC9750/51
can be placed on the motherboard, daughter boards, PCI, AMR, CNR, or ACR
cards.
The STAC9750/51 block diagram is illustrated in Figure 1. It provides variable sam-
ple rate Digital-to-Analog (DA) and Analog-to-Digital (AD) conversion, mixing, and
analog processing. Supported audio sample rates include 48 kHz, 44.1 kHz,
32 kHz, 22.05 kHz, 16 kHz, 11.025 kHz, and 8 kHz; additional rates are supported
in the STAC9750/51 soft audio drivers. The digital interface communicates with the
AC'97 controller via the five-wire AC-Link and contains the 64-word by 16-bit regis-
ters. The two DACs convert the digital stereo PCM-out content to audio. The MIXER
block combines the PCM_OUT with any analog sources, to drive the LINE_OUT
and HP_OUT outputs. The MONO_OUT delivers either mic only, or a mono mix of
sources from the MIXER. The stereo variable sample rate ADC's provide record
capability for any mix of mono or stereo sources, and deliver a digital stereo PCM-in
signal back to the AC-Link. The microphone input and mono input can be recorded
simultaneously, thus allowing for an all digital output in support of the digital ready
initiative. All ADC's operate at 18-bit resolution and DAC’s at 20-bit resolution. For a
digital ready record path, the microphone is connected to the left channel ADC while
the mono output of the stereo mixer is connected to right channel ADC. Make sure
the microphone input is not connected to the stereo mixer when in this mode.
The STAC9750/51 supports General Purpose Input/Output (GPIO), as well as
SPDIF output. These digital I/O options provide for a number of advance architec-
tural implementations, with volume controls and digital mixing capabilities built
directly into the codec.
The STAC9750/51 is designed primarily to support stereo (2-speaker) audio. True
AC-3 playback can be achieved for 6-speaker applications by taking advantage of
the multi-codec option available in the STAC9750/51 to support multiple codecs in
an AC'97 architecture. Additionally, the STAC9750/51 provides for a stereo
enhancement feature, SigmaTel Surround 3D (SS3D). SS3D provides the listener
with several options for improved speaker separation beyond the normal 2/
4-speaker arrangements.
Together with the logic component (controller or advanced core logic chip-set) of
AC'97, STAC9750/51 can be SoundBlaster® and Windows Sound System® com-
patible with SigmaTel’s WDM driver for WIN 98/2K/ME/XP. SoundBlaster is a regis-
tered trademark of Creative Labs. Windows is a registered trademark of Microsoft
Corporation.
8 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
4 stereo 2 mono
Power sources sources
Management
Stereo
PCM out DACs Mono
AC-link
DAC
SYNC HP_OUT
BIT_CLK Digital DAC
SDATA_OUT Interface MIXER LINE_OUT
SDATA_IN
RESET# Registers MONO_OUT
ADC Analog mixing
64x16 bits and Gain Control
Multi-Codec
ADC
CID0
PCM in ADCs Mic Boost M MIC1
CID1
0,20 or 30 dB U
X
MIC2
Variable Sample Rate
SPDIF
Figure 1. STAC9750/51 Block Diagram
20-Bit DACs and
18-Bit ADCs
2-9750-D1-5.2-1003 9
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
3. CHARACTERISTICS/SPECIFICATIONS
CAUTION: ESD sensitive device. Do not open or handle except at a certified static-safe
work environment. The STAC9750/51 is an ESD (Electrostatic discharge) sensitive
device. The human body and test equipment can accumulate and discharge without
detection, electrostatic charges up to 4000 Volts. Even thought the STAC9750/51
includes ESD protection circuitry internally, proper ESD precautions should be followed
to avoid damaging the functionality or performance.
10 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 11
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
12 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 13
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
14 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Trst2clk
Tres_low
RESET#
BIT_CLK
SDATA_IN
Tsync_high
Tsync_2clk
SYNC
BIT_CLK
2-9750-D1-5.2-1003 15
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
3.2.3. Clocks
Tclk_low
BIT_CLK
Tclk_high
Tclk_period
Tsync_low
Tsync_high
SYNC
Tclk_period
Figure 4. Clocks Timing
XTL_OUT pin CID1 pin CID0 pin clock source input Codec codec
config config config mode ID
xtal float float 24.576Mhz xtal P 0
XTAL or open float pulldown 12.288Mhz bit clk S 1
XTAL or open pulldown float 12.288Mhz bit clk S 2
XTAL or open pulldown pulldown 12.288Mhz bit clk S 3
short to ground float float 14.31818Mhz source1 P 0
short to ground float pulldown 27MHz source P 0
short to ground pulldown float 48MHz source2 P 0
short to ground pulldown pulldown 24.576Mhz source P 0
Table 9. Clock mode configuration
Note:1. In the CA1 and CA2 revisions, this clock source input is 48Mhz.
Note: 2. In the CA1 and CA2 revisions, this clock source input is 14.3181 MHz.
16 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
tco T setup
BIT_CLK V ih V il
SDATA_OUT
V oh
SDATA_IN V ol
SYNC
T hold
BIT_CLK
Triseclk Tfallclk
SDATA_IN
Trisedin Tfalldin
Figure 6. Signal Rise and Fall Times Timing
2-9750-D1-5.2-1003 17
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Slot 1 Slot 2
SYNC
BIT_CLK
SDATA_IN
RESET#
SDATA_OUT
Tsetup2rst
Hi-Z
SDATA_IN, BIT_CLK
Toff
18 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
25 38 1 9
27 pF
AVdd1 AVdd2 DVdd1 DVdd2 2
XT L_IN
24.576 MHz
12
PC _BEEP XTL_OU T
3
13 27 pF
PH O NE
5
SDATA_O UT
14 22 Ω
6
AU X_L BIT_CLK
15 8
SDATA_IN EMI 27 pF
AU X_R
Filter
10
16 SYNC
VIDEO _L *O PTIO NAL
11
RESET#
17
VIDEO _R 45
CID0
18
CD_L STAC 9751 CID1
46
47
19 EAPD
CD_G ND
28
VREFO UT
20
CD_R 27 *O PTIO NAL
VREF
21
MIC1
31 0.1 µF 1 µ F*
NC
22
MIC2 33
NC
23 34
NC
LINE_IN_L
48
24 SPDIF
LINE_IN_R
*O PT IO NAL 40
HP_CO MM
32
CAP2 44
G PIO 1
0.1 µF 1 µ F*
43
G PIO 0
35
LINE_O UT_L
820 pF 29 36
AF ILT1 LIN E_O UT_R
37
820 pF 30 MO NO _O UT
AF ILT2
39
HP_O UT_L
41
AVss1 AVss2 DVss1 DVss2 HP_O UT_R
26 42 4 7
*T erminate ground
plane as close to codec
as possible
Analog Digital
G round G round
2-9750-D1-5.2-1003 19
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
5. AC-LINK
Figure 10 shows the AC-Link point to point serial interconnect between the
STAC9750/51 and its companion controller. All digital audio streams and com-
mand/status information are communicated over this AC-Link. See “Digital Inter-
face” on page 21 for details.
SYNC XTAL_IN
BIT_CLK
Digital DC'97
SDATA_OUT AC'97 Codec
Controller
SDATA_IN
RESET# XTAL_OUT
5.1. Clocking
STAC9750/51 derives its clock internally from an externally connected 24.576 MHz
crystal or an oscillator through the XTAL_IN pin. Synchronization with the AC'97
controller is achieved through the BIT_CLK pin at 12.288 MHz.
The beginning of all audio sample packets, or “Audio Frames”, transferred over
AC-Link is synchronized to the rising edge of the “SYNC” signal driven by the AC'97
controller. Data is transitioned on AC-Link on every rising edge of BIT_CLK, and
subsequently sampled by the receiving side on each immediately following falling
edge of BIT_CLK.
5.2. Reset
There are 3 types of resets:
1. a “cold” reset where all STAC9750/51 logic and registers are initialized to their
default state
2. a “warm” reset where the contents of the STAC9750/51 register set are left
unaltered
3. a “register” reset which only initializes the STAC9750/51 registers to their
default states
After signaling a reset to the STAC9750/51, the AC'97 controller should not attempt
to play or capture audio data until it has sampled a “Codec Ready” indication via
register 26h from the STAC9750/51.
For proper reset operation SDATA_OUT should be “0” during “cold” reset.
20 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
6. DIGITAL INTERFACE
SYNC
CMD CMD PCM PCM PCM PCM PCM PCM PCM PCM
OUTGOING STREAMS TAG
ADR DATA LEFT RT
NA
CTR LSURR RSURR LFE LALT RALT
RSVD
TAG PHASE
DATA PHASE
Figure 11. AC'97 Standard Bi-directional Audio Frame
2-9750-D1-5.2-1003 21
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Data Phase
BIT_CLK
valid
SDATA_OUT Frame
slot1 slot2 slot(12) "0" CID1 CID0 19 "0" 19 "0" 19 "0" 19 "0"
A new audio output frame begins with a low to high transition of SYNC. SYNC is
synchronous to the rising edge of BIT_CLK. On the immediately following falling
edge of BIT_CLK, the STAC9750/51 samples the assertion of SYNC. This following
edge marks the time when both sides of AC-Link are aware of the start of a new
audio frame. On the next rising edge of BIT_CLK, the AC'97 controller transitions
SDATA_OUT into the first bit position of slot 0 (Valid Frame bit). Each new bit posi-
tion is presented to AC-Link on a rising edge of BIT_CLK, and subsequently sam-
pled by the STAC9750/51 on the following falling edge of BIT_CLK. This sequence
ensures that data transitions, and subsequent sample points for both incoming and
outgoing data streams are time aligned.
first
SYNC SDATA_OUT
asserted bit of frame
SYNC
BIT_CLK
valid
SDATA_OUT Frame
slot1 slot2
SDATA_OUT’s composite stream is MSB justified (MSB first) with all non-valid
slots’ bit positions stuffed with 0’s by the AC'97 controller.
When mono audio sample streams are sent from the AC'97 controller, it is neces-
sary that BOTH left and right sample stream time slots be filled with the same data.
22 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 23
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
24 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Data Phase
BIT_CLK
valid
SDATA_IN Frame
slot1 slot2 slot(12) "0" "0" "0" 19 "0" 19 "0" 19 "0" 19 "0"
A new audio input frame begins with a low to high transition of SYNC. SYNC is syn-
chronous to the rising edge of BIT_CLK. Immediately following the falling edge of
BIT_CLK, the STAC9750/51 samples the assertion of SYNC. This falling edge
marks the time when both sides of AC-Link are aware of the start of a new audio
frame. On the next rising of BIT_CLK, the STAC9750/51 transitions SDATA_IN into
the first bit position of slot 0 (“Codec Ready” bit). Each new bit position is presented
to AC-Link on a rising edge of BIT_CLK and subsequently sampled by the AC'97
controller on the following falling edge of BIT_CLK. This sequence ensures that data
transitions, and subsequent sample points for both incoming and outgoing data
streams are time aligned.
SDATA_IN's composite stream is MSB justified (MSB first) with all non-valid bit
positions (for assigned and/or unassigned time slots) stuffed with 0's by STAC9750/
51. SDATA_IN data is sampled on the falling edges of BIT_CLK.
2-9750-D1-5.2-1003 25
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
first
SYNC SDATA_OUT
asserted bit of frame
SYNC
BIT_CLK
Codec
SDATA_IN Ready
slot1 slot2
The first bit (MSB) generated by STAC9750/51 is always stuffed with a 0. The fol-
lowing 7 bit positions communicate the associated control register address, and the
trailing 12 bit positions are stuffed with 0's by STAC9750/51.
If Slot 2 is tagged “invalid” by STAC9750/51, then the entire slot will be stuffed with
0's.
26 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 27
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
SYNC
BIT_CLK
slot 2
Write to DATA
SDATA_OUT per
frame
TAG 0x20 PR4
slot 2
SDATA_IN per
frame
TAG
BIT_CLK and SDATA_IN are transitioned low immediately (within the maximum
specified time) following the decode of the write to the Powerdown Register (26h)
with PR4. When the AC'97 controller driver is at the point where it is ready to pro-
gram the AC-Link into its low power mode, slots (1 and 2) are assumed to be the
only valid stream in the audio output frame (all sources of audio input have been
neutralized).
The AC'97 controller should also drive SYNC, and SDATA_OUT low after program-
ming the STAC9750/51 to this low power mode.
28 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 29
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7. STAC9750/51 MIXER
The STAC9750/51 includes analog and digital mixers for maximum flexibility. The
analog mixer is designed to the AC'97 specification to manage the playback and
record of all digital and analog audio sources in the PC environment. The analog
mixer also includes several extensions of the AC’97 specification to support “all ana-
log record” capability as well as “POP BYPASS” mode for all digital playback. The
analog sources include:
• System Audio: digital PCM input and output for business, games and multime-
dia
• CD/DVD: analog CD/DVD-ROM audio with internal connections to Codec mixer
• Mono microphone: choice of desktop mic, with programmable boost and gain
• Speakerphone: use of system mic and speakers for telephone, DSVD, and
video conferencing
• Video: TV tuner or video capture card with internal connections to Codec mixer
• AUX/synth: analog FM or wavetable synthesizer, or other internal source
The digital mixer includes inputs for the PCM DAC and the recorded ADC output.
30 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
KEY
MonoAnalog
2Ah:D5-D4
StereoAnalog
Slot 6Ah:D1
Select
28h: D5-D4 PCM to Digital
SPDIF
MUX
Slot SPDIF
PCMOut
Select
18h
DAC vol mute 04h
Headphone
0Ah
3D HP_OUT
PC_BEEP vol mute Volume
0Ch
Phone vol mute 20h:D15
02h
MUX
Σ
20h:D8 0Eh:D6 Master
MIC1 20 or 0Eh
Σ
3D LINE_OUT
MIC2 30 dB vol mute Volume
Analog -6dB
6E:D2
Audio 10h 06h
LINEIN vol mute
Sources MUX
MUX
12h Σ Mono
CD vol mute 6Eh:D12
MONO_OUT
Volume
16h AllAnalog
AUX vol mute vs
1Ah
20h:D9
14h AllRecord -6dB
VIDEO vol mute Σ 1Ch
MUX
Record
3D Slot
Volume ADC PCMIn
Select
ADCRecord
Ganged3DControl
20h:D13
22h:D2-D3
KEY
MonoAnalog
2Ah:D5-D4
StereoAnalog
Slot 6Ah:D1
Select Digital
28h: D5-D4 PCM to
SPDIF
MUX
Slot SPDIF
PCMOut
Select
18h
DAC vol mute 04h
-6dB Headphone
0Ah 3D HP_OUT
PC_BEEP vol mute Volume
0Ch
Phone vol mute 20h:D15
02h
MUX
Σ
20h:D8 0Eh:D6 Master
MIC1 20 or 0Eh
Σ
3D LINE_OUT
vol mute Volume
Analog
MIC2 -6dB 30 dB -6dB
6E:D2 10h
Audio 06h
LINEIN vol mute
Sources MUX Σ
MUX
12h Mono
CD vol mute 6Eh:D12 MONO_OUT
-6dB Volume
16h AllAnalog
AUX vol mute vs
1Ah
20h:D9
14h AllRecord -6dB
VIDEO vol mute Σ 1Ch
MUX
-6dB
-6dB
Record
3D +6dB Slot
-6dB
Select
ADCRecord
Ganged3DControl
20h:D13
22h:D2-D3
2-9750-D1-5.2-1003 31
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
32 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 33
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Writing any value to this register performs a register reset, which causes all regis-
ters to revert to their default values. Reading this register returns the ID code of the
part.
7.5.2. Play Master Volume Registers (Index 02h, 04h, and 06h)
These registers manage the output signal volumes. Register 02h controls the stereo
LINE_OUT master volume (both right and left channels), register 04h controls the
Headphone Out master volume, and register 06h controls the MONO volume out-
put. Each step corresponds to 1.5 dB. The MSB of the register is the mute bit. When
this bit is set to 1 the level for that channel is set at -∞ dB. ML5 through ML0 is for
left channel level, MR5 through MR0 is for the right channel and MM5 through MM0
is for the mono out channel. When bits D5 and D13 are set in any of these registers
it automatically writes all 1’s to the next lower 5-bits.
The default value is 8000h for registers 02h, 04h, and 06h, which corresponds to 0
dB attenuation with mute on.
Mute Mx5…Mx0 Function Range
0 00 0000 0dB Attenuation Req.
0 01 1111 46.5 Attenuation Req.
1 xx xxxx ∞ dB Attenuation Req.
Table 20. Play Master Volume Register
[Link]. Master Volume (02h)
Default: 8000h
Note: If optional bits D13, D5 of register 02h are set to 1, then the corresponding
attenuation is set to 46dB and the register reads will produce 1Fh as a value for
this attenuation/gain block.
D15 D14 D13 D12 D11 D10 D9 D8
Mute RSRVD ML5 ML4 ML3 ML2 ML1 ML0
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED MR5 MR4 MR3 MR2 MR1 MR0
34 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
This register controls the level for the PC Beep input. Each step corresponds to
approximately 3 dB of attenuation. The MSB of the register is the mute bit. When
this bit is set to 1, the level for that channel is set at -∞ dB. PC_BEEP supports
motherboard implementations. The intention of routing PC_BEEP through the
STAC9750/51 mixer is to eliminate the requirement for an onboard speaker by guar-
anteeing a connection to speakers connected via the output jack. In order for this to
be viable the PC_BEEP signal needs to reach the output jack at all times. NOTE:
the PC_BEEP is routed to the mono outputs when the STAC9750/51 is in a RESET
state. This is so that Power On Self Test (POST) codes can be heard by the user in
case of a hardware problem with the PC. For further PC_BEEP implementation
details please refer to the AC'97 Technical FAQ sheet. The default value is 0000h,
which corresponds to 0 dB attenuation with mute off.
2-9750-D1-5.2-1003 35
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Register 0Eh (Mic Volume Register) Bit D6 is the Mic boost enable. To select
between 20db or 30db Mic Boost, see register 6Eh, D2 in section 7.5.25; page 49.
36 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Used to select the record source independently for right and left.
2-9750-D1-5.2-1003 37
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
The 1Ch register adjusts the stereo input record gain. Each step corresponds to 1.5
dB. 22.5 dB corresponds to 0F0Fh. The MSB of the register is the mute bit. When
this bit is set to 1, the level for that channel(s) is set at -∞ dB.
Bit Function
3D 3D Stereo Enhancement on/off 1 = on
MIX Mono output select 0 = Mix, 1= Mic
MS Mic select 0 = Mic1, 1 = Mic2
POP BYP DAC bypasses mixer and connects directly to Line Out
LPBK ADC/DAC loopback mode
Table 25. General Purpose Register
38 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
This register is used to control the 3D stereo enhancement function, Sigmatel Sur-
round 3D (SS3D), built into the AC'97 component. Note that register bits DP3-DP2
are used to control the separation ratios in the 3D control for LINE_OUT. SS3D pro-
vides for a wider soundstage extending beyond the normal 2-speaker arrangement.
Note that the 3D bit in the general purpose register (20h) must be set to 1 to enable
SS3D functionality and for the bits in 22h to take effect.
The three separation ratios are implemented as shown in Table 26. The separation
ratio defines a series of equations that determine the amount of depth difference
(High, Medium, and Low) perceived during two-channel playback. The ratios pro-
vide for options to narrow or widen the soundstage.
These bits will reflect the general cause of the first interrupt event generated. It
should be read after interrupt status has been confirmed as interrupting. The
information should be used to scan possible interrupting events in proper pages.
2-9750-D1-5.2-1003 39
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
This read/write register is used to program powerdown states and monitor sub-
system readiness. The EAPD external control is also supported through this regis-
ter.
Bit Function
EAPD External Amplifier Power Down
REF VREF’s up to nominal level
ANL Analog mixers, etc. ready
DAC DAC section ready to playback data
ADC ADC section ready to playback data
Table 27. Powerdown Status Registers
40 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 41
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
42 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
“on-demand” slot data required transfers are allowed. If the VRA bit is 0, the DACs
and ADCs will operate at the default 48 kHz data rate.
The STAC9750/51 supports “on-demand” slot request flags. These flags are
passed from the codec to the AC’97 controller in every audio input frame. Each time
a slot request flag is set (active low) in a given audio frame, the controller will pass
the next PCM sample for the corresponding slot in the audio frame that immediately
follows. The VRA enable bit must be set to 1 to enable “on-demand” data transfers.
If the VRA enable bit is not set, the codec will default to 48 kHz transfers and every
audio frame will include an active slot request flag and data is transferred every
frame.
For variable sample rate output, the codec examines its sample rate control regis-
ters, the state of the FIFOs, and the incoming SDATA_OUT tag bits at the beginning
of each audio output frame to determine which SLOTREQ bits to set active (low).
SLOTREQ bits are asserted during the current audio input frame for active output
slots, which will require data in the next audio output frame.
For variable sample rate input, the tag bit for each input slot indicates whether valid
data is present or not. Thus, even in variable sample rate mode, the codec is always
the master: for SDATA_IN (codec to controller), the codec sets the TAG bit; for
SDATA_OUT (controller to codec), the codec sets the SLOTREQ bit and then
checks for the TAG bit in the next frame. Whenever VRA is set to 0 the PCM rate
registers (2Ch and 32h) are overwritten with BB80h (48 kHz).
[Link]. SPDIF
The SPDIF bit in the Extended Audio Status Control Register is used to enable and
disable the SPDIF functionality within the STAC9750/51. If the SPDIF is set to a 1,
then the function is enabled and when set to a 0 it is disabled.
2-9750-D1-5.2-1003 43
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
44 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Register 3Ah is a read/write register that controls SPDIF functionality and manages
bit fields propagated as channel status (or sub-frame in the V case). With exception
of V, this register should only be written to when the SPDIF transmitter is disabled
(SPDIF bit register 2 Ah is “0”). This ensures that control and status information start
up correctly at the beginning of SPDIF transmission. The default is 2A00h which
sets the SPDIF output sample rate at 48kHz and the normal SPDIF expectations.
1. If pin 48 is held high at powerup, 28h D2 will be low indicating no SPDIF available and the register 3Ah
will then read back 0000h. Pin 48: To Enable SPDIF, use an 1K-10K external pulldown. To Disable
SPDIF, use an 1K-10K external pullup. Do Not leave Pin 48 floating.
2. Bits D15,D13-D00 of this register cannot be written to without first setting Reg 2Ah bit D2=0 (SPDIF
disabled) and Register 28h bit D2=1 (SPDIF avaliable).
2-9750-D1-5.2-1003 45
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7.5.17. Extended Modem Status and Control Register (3Eh) (Used in Revision
CC1 and beyond)
Default: 0100h
D15 D14 D13 D12 D11 D10 D9 D8
RESERVED PRA
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED GPIO
7.5.18. GPIO Pin Configuration Register (4Ch) (Used in Revision CC1 and
beyond)
Default: 0003h
D15 D14 D13 D12 D11 D10 D9 D8
RESERVED
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED GC1 GC0
(GPIO1) (GPIO0)
46 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7.5.20. GPIO Pin Sticky Register (50h) (Used in Revision CC1 and beyond)
Default: 0000h
D15 D14 D13 D12 D11 D10 D9 D8
RESERVED
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED GS1 GS0
(GPIO1) (GPIO0)
7.5.21. GPIO Pin Mask Register (52h)(Used in Revision CC1 and beyond)
Default: 0000h
D15 D14 D13 D12 D11 D10 D9 D8
RESERVED
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED GW1 GW0
(GPIO1) (GPIO0)
2-9750-D1-5.2-1003 47
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7.5.22. GPIO Pin Status Register (54h) (Used in Revision CC1 and beyond)
Default: 0000h
D15 D14 D13 D12 D11 D10 D9 D8
RESERVED
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED GI1 GI0
(GPIO1) (GPIO0)
This read/write register is used to program the digital mixer input status. In the
default state, the PCM DAC path is enabled and the ADC record inputs are dis-
abled.
48 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
The DO1 and DO0 bits control the input source for the PCM to digital output con-
verters. The table describes the available options.
The device Revision register (index 6Ch) contains a software readable revision-spe-
cific code used to identify performance, architectural, or software differences
between various device revisions. Bits 7:0 of the Revision register are user read-
able; bits 15:8 are not used at this time and will return zeros when read. This value
can be used by the audio driver, or miniport driver in the case of WIN98® WDM
approaches, to adjust software functionality to match the feature-set of the
STAC9750/51. This will allow the software driver to identify any required operational
differences between the existing STAC9750/51 and any future versions.
The Analog Special Register has several bits used to control various functions spe-
cific to the STAC9750/51.
2-9750-D1-5.2-1003 49
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Value Function
00 left slot 3, right slot 4
01 left slot 7, right slot 8
10 left slot 6, right slot 9
11 left slot 10, right slot 11
Table 40. ADC data on AC LINK
Value Function
0 20dB
1 30dB
Table 41. Mic Boost Select
50 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
The Analog Current Adjust register (index 72h) is a locked register and can only be
properly written and read from when ABBAh has been written into register 70h. The
BIASx bits allow the analog current to be adjusted with minimal reduction in perfor-
mance. A lower analog current setting is NOT recommended when a 5V analog
supply is used. A lower setting for 3.3V supplies is recommended to reduce power
consumption for notebook computers to its lowest level.
2-9750-D1-5.2-1003 51
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
7.5.26. GPIO Access Register (74h) (Used only in CA3 revision for GPIO)
EAPD Access for ALL revisions is Register 74h.
Default: 0800h
D15 D14 D13 D12 D11 D10 D9 D8
EAPD RESERVED GPIO1 GPIO0 EAPD_OEN RESERVED GPIO1_OEN GPIO0_OEN
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED
52 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 53
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
PR0=0 & ADC=1 PR1=0 & DAC=1 PR2=0 & ANL=1 Warm Reset
Default
Ready =1 Cold Reset
54 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Figure 20 illustrates a state when all the mixers should work with the static volume
settings that are contained in their associated registers. This configuration can be
used when playing a CD (or external LINE_IN source) through STAC9750/51 to the
speakers, while most of the system in low power mode. The procedure for this fol-
lows the previous except that the analog mixer is never shut down.
2-9750-D1-5.2-1003 55
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
56 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 57
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
10. TESTABILITY
The STAC9750/51 has two test modes. One is for ATE in-circuit test and the other
is restricted for SigmaTel’s internal use. STAC9750/51 enters the ATE in circuit
test mode if SDATA_OUT is sampled high at the trailing edge of RESET#. Once in
the ATE test mode, the digital AC-Link outputs (BIT_CLK and SDATA_IN) are
driven to a high impedance state. This allows ATE in-circuit testing of the AC'97
controller. Use of the ATE test mode is the recommended means of removing the
codec from the AC-Link when another codec is to be used as the primary. This case
will never occur during standard operating conditions. Once either of the two test
modes have been entered, the STAC9750/51 must be issued another RESET# with
all AC-link signals held low to return to the normal operating mode.
58 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
LINE_OUT_R
LINE_OUT_L
VREFout
AFILT2
AFILT1
AVdd1
AVss1
VREF
CAP2
NC
NC
NC
36
35
34
33
32
31
30
29
28
27
26
25
MONO_OUT 37 24 LINE_IN_R
AVdd2 38 23 LINE_IN_L
HP_OUT_L 39 22 MIC2
HP_COMM 40 21 MIC1
HP_OUT_R 41 20 CD_R
AVss2 42 19 CD_GND
48-Pin TQFP
GPIO0 43 18 CD_L
GPIO1 44 17 VIDEO_R
CID0 45 16 VIDEO_L
CID1 46 15 AUX_R
EAPD 47 14 AUX_L
SPDIF 48 13 PHONE
DVdd1 1
XTL_IN 2
XTL_OUT 3
BIT_CLK 6
DVss1 4
DVss2 7
SDATA_IN 8
DVdd2 9
SYNC 10
RESET# 11
PC_BEEP 12
SDATA_OUT 5
2-9750-D1-5.2-1003 59
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
60 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Note: * any unused input pins should be tied together through a capacitor (0.1 µF suggested) to ground, except the
MIC inputs which should have their own capacitor to ground if not used.
The CD_GND signal is an AC signal return for the two CD input channels. It is normally biased at about 2.5V.
The name of the pin in the AC97 specification is CD_GND, and this has confused many designers. It should
not have any DC path to GND. Connecting the CD_GND signal directly to ground will change the internal bias
of the entire codec, and cause bad distortion. If there is no analog CD input, then this pin can be No-Connect
2-9750-D1-5.2-1003 61
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
11.3. Filter/References/GPIO
These signals are connected to resistors, capacitors, specific voltages, or provide
general purpose I/O.
62 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
D1
26 a
38
48 pin TQFP
E E1
14
2
2-9750-D1-5.2-1003 63
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
64 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
*Suggested
3.3V or 5V ± 5% 3.3V ± 5%
25 38 1 9
27 pF
AVdd1 AVdd2 DVdd1 DVdd2 2
XTL_IN
24.576 MHz
12
PC_BEEP XTL_OUT
3
13 27 pF
PHONE
5
SDATA_OUT
14 22 Ω
6
AUX_L BIT_CLK
15 8
SDATA_IN EMI 27 pF
AUX_R
Filter
10
16 SYNC
VIDEO_L OPTIONAL
11
RESET#
17
VIDEO_R STAC9750 CID0
45
18 46
CD_L CID1
47
19 EAPD
CD_GND
28
VREFOUT
20
CD_R *OPTIONAL
27
VREF
21
MIC1
31 0.1 µF 1 µF*
NC
22
MIC2 33
NC
23 34
NC
LINE_IN_L
48
24 SPDIF
LINE_IN_R
*OPTIONAL 40
HP_COMM
32
CAP2 44
GPIO1
0.1 µF 1 µF*
43
GPIO0
35
LINE_OUT_L
820 pF 29 36
AFILT1 LINE_OUT_R
37
820 pF 30 MONO_OUT
AFILT2
39
HP_OUT_L
41
AVss1 AVss2 DVss1 DVss2 HP_OUT_R
26 42 4 7
*Terminate ground
plane as close to codec
as possible
Analog Digital
Ground Ground
Figure 23. STAC9750/51 Split Independent Power Supply Operation Typical Connection Diagram
Pin 48: To Enable SPDIF, use an 1K-10K external pulldown. To Disable SPDIF, use an 1K-10K external
pullup. Do Not leave Pin 48 floating.
2-9750-D1-5.2-1003 65
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
Note: 1. All registers not shown and those labeled “RESERVED” can be written to but are don’t care upon read back.
2. PC_BEEP default to 0000h, mute off
3. Register 74h is used for GPIO control in revision CA3.
4. **Registers used in revision CC1 and beyond for GPIO. EAPD is still controled by Register 74.
66 2-9750-D1-5.2-1003
STAC9750/51
Value-Line Two-Channel AC'97 Codecs with Headphone Drive and SPDIF Output
2-9750-D1-5.2-1003 67