STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
28 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
4.6.2.2. CODEC Initiates Wake-up
The STAC9752/9753 (running off Vaux) can trigger a wake event (PME#) by transitioning
SDATA_IN from low to high and holding it high until either a warm or cold reset is observed on the
AC-Link. This functionality is typically implemented in modem CODECs that detect ring, Caller ID,
etc.
Note that when the AC-Link is either programmed to the low power mode or shut off completely,
BIT_CLK may stop if the primary CODEC is supplying the clock, which shuts down the AC-Link
clock to the Secondary CODEC
1
. In order for a Secondary CODEC to react to an external event
(phone ringing), it must support an independent clocking scheme for any PME# associated logic that
must be kept alive when the AC-Link is down. This includes logic to asynchronously drive
SDATA_IN to a logic high-level which signals a wake request to the AC‘97 Digital Controller.
4.6.3. CODEC Reset
There are three types of AC‘97 reset:
a cold reset where all AC‘97 logic (most registers included) is initialized to its default state
a warm reset where the contents of the AC‘97 register set are left unaltered
a register reset which only initializes the AC‘97 registers to their default states
4.6.3.1. Cold AC‘97 Reset
A cold reset is achieved by asserting RESET# (low) for the minimum specified time, then subse-
quently de-asserting RESET# (high). BIT_CLK and SDATA_IN will be activated, or re-activated as
the case may be, and all AC‘97 control registers will be initialized to their default power on reset val-
ues.
RESET# is an asynchronous AC‘97 input.
4.6.3.2. Warm AC‘97 Reset
A warm AC‘97 reset will re-activate the AC-Link without altering the current AC‘97 register values. A
warm reset is signaled by driving SYNC high for a minimum of 1 µs in the absence of BIT_CLK.
Within normal audio frames, SYNC is a synchronous AC‘97 input. However, in the absence of
BIT_CLK, SYNC is treated as an asynchronous input used in the generation of a warm reset to
AC‘97.
AC‘97 MUST NOT respond with the activation of BIT_CLK until SYNC has been sampled low again
by AC‘97. This will preclude the false detection of a new audio frame.
4.6.3.3. Register AC‘97 Reset
Most registers in an AC device can be restored to their default values by performing a write (any
value) to the Reset Register, 00h.
1. Secondary CODECs always configure the BIT_CLK pin as an input.
STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
29 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5. AC-LINK DIGITAL INTERFACE
5.1. Overview
AC-Link is the 5 pin digital serial interface that links the AC‘97 CODEC to the Controller. The
AC-Link protocol is a bi-directional, fixed clock rate, serial digital stream. AC-Link handles multiple
input and output PCM audio streams, as well as control register accesses employing a time division
multiplexed (TDM) scheme that divides each audio frame into 12 outgoing and 12 incoming data
streams, each with 20-bit sample resolution.
The STAC9752/9753 DACs, ADCs, and SPDIF can be assigned to slots 3&4, 6&9, 7&8 or 10&11.
Figure 14. Bi-directional AC-Link Frame with Slot assignments
Table 4. AC-Link output slots (transmitted from the Controller)
Slot Name Description
0 SDATA_OUT TAG
MSBs indicate which slots contain valid data; LSBs convey
CODEC ID
1 Control CMD ADDR write port Read/write command bit plus 7-bit CODEC register address
2 Control DATA write port 16-bit command register write data
3, 4 PCM L&R DAC playback 20-bit PCM data for Left and Right channels
5 Modem Line 1 DAC 16-bit modem data for modem Line 1 output
6, 7, 8, 9 PCM Center, Surround L&R, LFE 20-bit PCM data for Center, Surround L&R, LFE channels
10 Modem Line 2 DAC 16-bit modem data for modem Line 2 output
11 Modem handset DAC 16-bit modem data for modem Handset output
12 Modem I/O control GPIO write port for modem Control
12 CODEC IRQ Can be used by CODEC if a modem CODEC is not present.
10-11 SPDIF Out Optional AC-Link bandwidth for SPDIF output
10-12 Double rate audio
Optional AC-Link bandwidth for 88.2 KHz or 96 KHz on L, C, R
channels
PCM
MIC
Vendor
RSVD
Vendor
RSVD
LINE2
ADC
HSET
ADC
Vendor
RSVD
STATUS
ADDR
OUTGOING STREAMS
(Controller output - SDATA_OUT)
INCOMING STREAMS
(codec output - SDATA_IN)
SYNC
TAG PHASE
DATA PHASE
PCM
LEFT
CMD
ADDR
NA
PCM
LSURR
PCM
LFE
SPDIFTAG
CMD
DATA
PCM
RT
PCM
CTR
PCM
RSURR
SPDIF
IO
CTRL
PCM
LEFT
LINE1
ADC
TAG
STATUS
DATA
PCM
RT
IO
STATUS
SLOTS
0 1 2 3 4 5 6 7 8 9 10 11 12
Slot 12 can be used by the
AC'97 Codec if a Modem
Codec is not present.
STAC9752/9753
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
IDT™
30 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC’97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.2. AC-Link Serial Interface Protocol
The AC‘97 Controller signals synchronization of all AC-Link data transactions. The AC‘97 CODEC,
Controller, or external clock source drives the serial bit clock (BIT_CLK) onto AC-Link, which the
AC‘97 Controller then qualifies with a synchronization signal (SYNC) to construct audio frames.
SYNC, fixed at 48 KHz, is derived by dividing down the serial bit clock (BIT_CLK). BIT_CLK, fixed at
12.288 MHz, provides the necessary clocking granularity to support 12 20-bit outgoing and incoming
time slots. AC-Link serial data is transitioned on each rising edge of BIT_CLK. The receiver of
AC-Link data (CODEC for outgoing data and Controller for incoming data) samples each serial bit on
the falling edges of BIT_CLK.
The AC-Link protocol provides for a special 16-bit time slot (Slot 0) wherein each bit conveys a valid
tag for its corresponding time slot within the current audio frame. A 1 in a given bit position of slot 0
indicates that the corresponding time slot within the current audio frame has been assigned to a data
stream, and contains valid data. If a slot is tagged invalid, it is the responsibility of the source of the
data (AC‘97 CODEC for the input stream, AC‘97 Controller for the output stream), to stuff all bit posi-
tions with 0 during that slot’s active time.
SYNC remains high for a total duration of 16 BIT_CLKs at the beginning of each audio frame. The
portion of the audio frame where SYNC is high is defined as the “Tag Phase”. The remainder of the
audio frame where SYNC is low is defined as the “Data Phase”.
Additionally, for power savings, all clock, sync, and data signals can be halted. This requires that an
AC‘97 CODEC be implemented as a static design to allow its register contents to remain intact when
entering a power savings mode.
5.2.1. AC-Link Variable Sample Rate Operation
The AC-Link serial interconnect defines a digital data and control pipe between the Controller and
the CODEC. The AC-Link supports 12 20-bit slots at 48 KHz on SDATA_IN and SDATA_OUT. The
time division multiplexed (TDM) “slot-based” architecture supports a per-slot valid tag infrastructure
that the source of each slot’s data sets or clears to indicate the validity of the slot data within the cur-
rent audio frame. This tag infrastructure can be used to support transfers between Controller and
CODEC at any sample rate.
5.2.2. Variable Sample Rate Signaling Protocol
AC-Link’s tag infrastructure imposes FIFO requirements on both sides of the AC-Link. For example,
in passing a 44.1 KHz stream across the AC-Link, for every 480 audio output frames that are sent
across, 441 of them must contain valid sample data. Does the AC‘97 Digital Controller pass all 441
PCM samples followed by 39 invalid slots? Or does the AC‘97 Digital Controller evenly interleave
Table 5. The AC-Link input slots (transmitted from the CODEC)
Slot Name Description
0 SDATA_IN TAG MSBs indicate which slots contain valid data
1 STATUS ADDR read port MSBs echo register address; LSBs indicate which slots request data
2 STATUS DATA read port 16-bit command register read data
3, 4 PCM L&R ADC record 20-bit PCM data from Left and Right inputs
5 Modem Line 1 ADC 16-bit modem data from modem Line1 input
6-11 PCM ADC Record 20-bit PCM data - Alternative Slots for Input
12 GPIO Status GPIO read port and interrupt status

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