STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
61 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.20. Extended Audio Control/Status (2Ah)
Default: 0400h* (*default depends on CODEC ID)
Note: If pin 48 is held high at powerup, the SPDIF is not available and bits D15:D1 can not be written and will
read back zero.
Pin 48: To Enable SPDIF, use an external 1K -10K pulldown resistor. To Disable SPDIF, use an
external 1K -10K pullup resistor. Do NOT leave Pin 48 floating.
D15 D14 D13 D12 D11 D10 D9 D8
VCFG RESERVED SPCV RESERVED
D7 D6 D5 D4 D3 D2 D1 D0
RESERVED SPSA1 SPSA0 RSRVD SPDIF RSRVD VRA enable
Bit(s) Reset Value Name Description
15 VCFG
Determines the SPDIF transmitter behavior when data is not being
transmitted. When asserted, this bit forces the deassertion of the SPDIF
“Validity” flag, which is bit 28 transmitted by the SPDIF sub-frame. The “V” bit
is defined in the SPDIF Control Register (Reg 3Ah).
If “V” = 1 and “VCFG” = 0, then for each S/PDIF sub-frame (Left & Right),
bit[28] “Validity” flag reflects whether or not an internal CODEC transmission
error has occurred. Specifically an internal CODEC error should result in the
“Validity” flag being set to 1.
If “V” = 0 and “VCFG” = 1, In the case where the S/PDIF transmitter does not
receive a valid sample from the AC'97 controller, (Left or Right), the S/PDIF
transmitter should set the “Validity” flag to “0” and pad the “Audio Sample
Word” with “0”s for sub-frame in question. If a valid sample (Left or Right) was
received and successfully transmitted, the “Validity” flag should be “0” for that
sub-frame.
Default state, coming out of reset, for “V” and “VCFG” should be 0 and 0.
These bits can be set via driver .inf options.
14-11 Reserved Reserved
10 0 SPCV
0 = Invalid SPDIF configuration
1 = Valid SPDIF configuration
9:6 0 Reserved Bit not used, should read back 0
5:4 0 SPSA1:SPSA0
SPDIF slot assignment
If CID[1:0] = 00 then SPSA[1:0] resets to 01
If CID[1:0] = 01 then SPSA[1:0] resets to 10
If CID[1:0] = 10 then SPSA[1:0] resets to 10
If CID[1:0] = 11 then SPSA[1:0] resets to 11
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
3 Reserved Reserved
2 0 SPDIF
0 = Disables SPDIF (SPDIF_OUT is high Z) (note 1)
1 = Enable SPDIF
SPDIF is a control register for Reg 3Ah, this bit must be set low i.e. SPDIF
disabled in order to write to Reg 3Ah Bits D15,D13:D0.
STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
62 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.20.1. Variable Rate Sampling Enable
The Extended Audio Status Control register also contains one active bit to enable or disable the
Variable Sampling Rate capabilities of the DACs and ADCs. If the VRA (bit D0) is 1, the variable
sample rate control registers (2Ch and 32h) are active, and “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 STAC9752/9753 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 defaults to 48 KHz transfers
and every audio frame includes an active slot request flag and data transfers every frame.
For variable sample rate output, the CODEC examines its sample rate control registers, 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).
8.1.20.2. SPDIF
The SPDIF bit in the Extended Audio Status Control Register is used to enable and disable the
SPDIF functionality within the STAC9752/9753. If the SPDIF is set to a 1, then the function is
enabled, and when set to a 0 it is disabled.
8.1.20.3. SPCV (SPDIF Configuration Valid)
The SPCV bit is read only and indicates whether or not the SPDIF system is set up correctly. When
SPCV is a 0, it indicates the SPDIF configuration is invalid. When SPCV is a 1, it indicates the
SPDIF configuration is valid.
8.1.20.4. SPSA1, SPSA0 (SPDIF Slot Assignment)
SPSA1 and SPSA0 combine to provide the slot assignments for the SPDIF data. The following
details the slot assignment relationship between SPSA1 and SPSA0.
The STAC9752/9753 are AMAP compliant with the following table.
1 0 Reserved Bit not used, should read back 0
0 0 VRA Enable
0 = VRA Disabled, DAC and ADC set to 48 KHz (Registers 2Ch and 32h
loaded with the value BB80h)
1 = VRA Enabled, Reg. 2Ch & 32h control sample rate
Bit(s) Reset Value Name Description
STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
63 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.21. PCM DAC Rate Registers (2Ch and 32h)
The internal sample rate for the DACs and ADCs are controlled by a value in these read/write regis-
ters (that contain a 16-bit unsigned value between 0 and 65535) representing the conversion rate in
Hertz (Hz). In VRA mode (register 2Ah bit D0 = 1), if the value written to these registers is supported,
that value will be echoed back when read; otherwise the closest (higher in the case of a tie) sample
rate is supported and returned. Per PC 99 / PC 2001 specification, independent sample rates are
supported for record and playback.
Whenever VRA is set to 0 the PCM rate registers (2Ch and 32h) will be loaded with BB80h (48 KHz).
If VRA is set to a 0, any write to this address will be ignored and the rate remains at 48 KHz.
8.1.22. PCM DAC Rate (2Ch)
Default: BB80h (see table20: page63)
8.1.23. PCM LR ADC Rate (32h)
Default: BB80h (see table20: page63)
Table 19. AMAP compliant
CODEC
ID
Function
SPSA = 00
slot assignment
SPSA = 01
slot assignment
SPSA = 10
slot assignment
SPSA = 11
slot assignment
00 2-ch Primary w/SPDIF 3 & 4 7 & 8* 6 & 9 10 & 11
01 2-ch Dock CODEC w/SPDIF 3 & 4 7 & 8 6 & 9* 10 & 11
10 +2-ch Surr w/ SPDIF 3 & 4 7 & 8 6 & 9* 10 & 11
11 +2-ch Cntr/LFE w/ SPDIF 3 & 4 7 & 8 6 & 9 10 & 11*
Note: * indicates the default slot assignment
Table 20. Hardware Supported Sample Rates
Sample Rate SR[15:0] Value
8 KHz 1F40h
11.025 KHz 2B11h
16 KHz 3E80h
22.05 KHz 5622h
32 KHz 7D00h
44.1 KHz AC44h
48 KHz BB80h
D15 D14 D13 D12 D11 D10 D9 D8
SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8
D7 D6 D5 D4 D3 D2 D1 D0
SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0
D15 D14 D13 D12 D11 D10 D9 D8
SR15 SR14 SR13 SR12 SR11 SR10 SR9 SR8
D7 D6 D5 D4 D3 D2 D1 D0
SR7 SR6 SR5 SR4 SR3 SR2 SR1 SR0

STAC9753XXTAEB2X

Mfr. #:
Manufacturer:
Tempo Semiconductor
Description:
Interface - CODECs AC97 2.3 2-CH AUDIO CODEC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet