This document contains information for a new product. Cirrus Logic reserves the right to modify this product without notice.
http://www.cirrus.com
CrystalClear® SoundFusion™ Audio Codec ‘97
CS4297A
March '06
DS318PP6
CrystalClear SoundFusion™ Audio Codec’97
Features
l AC ’97 2.1 Compatible
l Industry Leading Mixed Signal Technology
CS4297A
l Meets or Exceeds the Microsoft
Audio Performance Requirements
l S/PDIF Digital Audio Output
l CrystalClear
3D Stereo Enhancement
PC 99
l 20-bit Stereo Digital-to-Analog Converters
l 18-bit Stereo Analog-to-Digital Converters
l Four Analog Line-level Stereo Inputs for
LINE_IN, CD, VIDEO, and AUX
l Two Analog Line-level Mono Inputs for
Modem and Internal PC Beep
l Dual Stereo Line-level Outputs for
LINE_OUT and ALT_LINE_OUT
l Dual Microphone Inputs
l High Quality Pseudo-Differential CD Input
l Extensive Power Management Support
AC-LINK AND AC’97
REGISTERS
PWR
MGT
SYNC
BIT_CLK
SDATA_OUT
SDATA_IN
RESET#
AC-
LINK
AC’97
REGISTERS
S/PDIF
PCM_DATA
GAIN / MUTE CONTROLS
MIXER / MUX SELECTS
PCM_DATA
Description
The CS4297A is an AC ’97 2.1 compatible stereo audio
codec designed for PC multimedia systems. Using the
industry leading CrystalClear
signal technology, the CS4297A enables the design of
PC 99-compliant desktop, portable, and entertainment
PCs.
Coupling the CS4297A with a PCI audio accelerator or
core logic supporting the AC ’97 interface, implements a
cost effective, superior quality, audio solution. The
CS4297A surpasses PC 99 and AC ’97 2.1 audio quality
standards.
ORDERING INFO
CS4297A-KQZ lead-free 48-pin TQFP 9x9x1.4 mm
CS4297A-JQZ lead-free 48-pin TQFP 9x9x1.4 mm
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries.
Intel is a registered trademark of Intel Corporation.
Crystal Clear and Sound Fusion are trademarks of Cirrus Logic.
Preliminary product information describes products which are in production, but for which full characterization data is not yet available. Advance product information describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided “AS IS” without
warranty of any kind (express or implied). No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, nor for infringements of patents or
other rights of third parties. This document is the property of Cirrus Logic, Inc. and implies no license under patents, copyrights, trademarks, or trade secrets.
No part of this publication may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc. Items from any Cirrus Logic website or disk may be printed for use by the user.
However, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of this publication may be used as a
basis for manufacture or sale of any items without the prior written consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors
and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. A list
of Cirrus Logic, Inc. trademarks and service marks can be found at http://www.cirrus.com.
2
CS4297A
DS318PP63
CS4297A
4.10 Stereo Analog Mixer Input Gain Registers (Index 10h - 18h) ................................. 24
Analog
Total Power Dissipation(Supplies, Inputs, Outputs)--1.25W
Input Current per Pin(Except Supply Pins)-10-10mA
Output Current per Pin(Except Supply Pins)-15-15mA
Analog Input voltage-0.3-AVdd+
Low level input voltageV
High level input voltageV
High level output voltageV
Low level output voltageV
Input Leakage Current (AC-link inputs)-10 -10µA
Output Leakage Current (Tri-stated AC-link outputs)-10 -10µA
Output buffer drive current
BIT_CLK, S/PDIF_OUT
SDATA_IN, EAPD(Note 4)
il
ih
oh
ol
- -0.8V
0.65 x DVdd - -V
0.90 x DVdd 0.99 x DVdd -V
-0.030.10 x DVddV
-
-
24
-
4
-
mA
mA
6
CS4297A
DS318PP67
CS4297A
AC ’97 SERIAL PORT TIMING Standard test conditions unless otherwise noted: T
AVdd = 5.0 V, DVdd = 3.3 V; C
= 55 pF load.
L
ambient
= 25° C,
ParameterSymbolMinTypMaxUnit
RESET Timing
RESET# active low pulse widthT
RESET# inactive to BIT_CLK start-up delayT
1st SYNC active to CODEC READY setT
Vdd stable to Reset inactiveT
rst_low
rst2clk
sync2crd
vdd2rst#
1.0--µs
-40.0-µs
-62.5-µs
100--µs
Clocks
BIT_CLK frequencyF
BIT_CLK periodT
clk_period
clk
-12.288-MHz
-81.4-ns
BIT_CLK output jitter (depends on XTAL_IN source)--750ps
BIT_CLK high pulse widthT
BIT_CLK low pulse widthT
SYNC frequencyF
SYNC periodT
SYNC high pulse widthT
SYNC low pulse widthT
sync_period
sync_high
sync_low
clk_high
clk_low
sync
3640.745ns
3640.745ns
-48-kHz
-20.8-µs
-1.3-µs
-19.5-µs
Data Setup and Hold
Output Propagation delay from rising edge of BIT_CLKT
Input setup time from falling edge of BIT_CLKT
Input hold time from falling edge of BIT_CLKT
Input Signal rise timeT
Input Signal fall timeT
Output Signal rise time(Note 4)T
Output Signal fall time(Note 4)T
co
isetup
ihold
irise
ifall
orise
ofall
81012ns
10--ns
0--ns
2-6ns
2-6ns
246ns
246ns
Misc. Timing Parameters
End of Slot 2 to BIT_CLK, SDATA_IN low (PR4)T
SYNC pulse width (PR4) Warm ResetT
SYNC inactive (PR4) to BIT_CLK start-up delayT
Setup to trailing edge of RESET# (ATE test mode) (Note 4)T
s2_pdown
sync_pr4
sync2clk
setup2rst
Rising edge of RESET# to Hi-Z delay(Note 4)T
off
-.281.0µs
1.0--µs
162.8285-ns
15--ns
--25ns
7
BIT_CLK
8DS318PP6
CS4297A
CS4297A
RESET#
Vdd
BIT_CLK
SYNC
CODEC_READY
T
rst_low
T
vdd2rst#
Figure 1. Power Up Timing
T
sync2crd
T
rst2clk
BIT_CLK
T
orise
SYNC
T
irise
Figure 2. Codec Ready from Startup or Fault Condition
T
clk_highTclk_low
T
sync_high
T
Figure 3. Clocks
T
ifall
sync_period
T
clk_period
T
sync_low
T
ifall
8
BIT_CLK
8DS318PP6
CS4297A
8DS318PP6
CS4297A
DS318PP69
CS4297A
DS318PP69
CS4297A
BIT_CLK
BIT_CLK
BIT_CLK
BIT_CLK
BIT_CLK
SDATA_IN
SDATA_IN
SDATA_IN
SDATA_OUT,
SDATA_OUT,
SDATA_OUT,
SYNC
SYNC
SYNC
Slot 1Slot2
Slot 1Slot2
Slot 1Slot2
T
T
T
co
co
co
T
T
T
isetup
isetup
isetup
Figure 4. Data Setup and Hold
Figure 4.DataSetup and Hold
Figure 4.DataSetup and Hold
T
T
T
ihold
ihold
ihold
CS4297A
CS4297A
CS4297A
SDATA_OUT
SDATA_OUT
SDATA_OUT
SDATA_IN
SDATA_IN
SDATA_IN
SYNC
SYNC
SYNC
Write to0x20DataPR4Don’t Care
Write to0x20DataPR4Don’t Care
Write to0x20DataPR4Don’t Care
T
T
T
s2_pdown
s2_pdown
s2_pdown
T
T
T
Figure 5. PR4 Powerdown and Warm Reset
Figure 5. PR4 Powerdown and Warm Reset
Figure 5. PR4 Powerdown and Warm Reset
RESET#
RESET#
RESET#
T
T
T
setup2rst
setup2rst
setup2rst
SDATA_OUT,
SDATA_OUT,
SDATA_OUT,
SYNC
SYNC
SYNC
T
T
T
off
off
off
sync_pr4
sync_pr4
sync_pr4
T
T
T
sync2clk
sync2clk
sync2clk
SDATA_IN,
SDATA_IN,
SDATA_IN,
BIT_CLK
BIT_CLK
BIT_CLK
Figure 6. Test Mode
Figure 6. TestMode
Figure 6. TestMode
Hi-Z
Hi-Z
Hi-Z
9
9
9
CS4297A
10DS318PP6
CS4297A
2. GENERAL DESCRIPTION
The CS4297A is a mixed-signal serial audio Codec
compliant to the Intel® Audio Codec ‘97 Specifica-tion, revision 2.1 [1]. It is designed to be paired
with a digital controller, typically located on the
PCI bus or integrated within the system core logic
chip set. The controller is responsible for all communications between the CS4297A and the remainder of the system. The CS4297A contains two
distinct functional sections: digital and analog. The
digital section includes the AC-link interface,
S/PDIF interface, serial data port, and power management support. The analog section includes the
analog input multiplexer (mux), stereo output mixer, mono output mixer, stereo Analog-to-Digital
Converters (ADCs), stereo Digital-to-Analog Converters (DACs), and their associated volume controls.
2.1AC-Link
All communication with the CS4297A is established with a 5-wire digital interface to the controller, as shown in Figure 7. This interface is called
the AC-link. All clocking for the serial communication is synchronous to the BIT_CLK signal.
BIT_CLK is generated by the primary audio codec
and is used to clock the controller and any second-
ary audio codecs. Both input and output AC-link
audio frames are organized as a sequence of 256 serial bits forming 13 groups referred to as ‘slots’.
During each audio frame, data is passed bi-directionally between the CS4297A and the controller.
The input frame is driven from the CS4297A on the
SDATA_IN line. The output frame is driven from
the controller on the SDATA_OUT line. The controller is also responsible for issuing reset commands via the RESET# signal. Following a Cold
Reset, the CS4297A is responsible for notifying the
controller that it is ready for operation after synchronizing its internal functions. The CS4297A
AC-link signals must use the same digital supply
voltage as the controller chip, either +5 V or
+3.3 V. See Section 3, AC Link Frame Definition,
for detailed AC-link information.
2.2 Control registers
The CS4297A contains a set of AC ’97 compliant
control registers and a set of Cirrus Logic defined
control registers. These registers control the basic
functions and features of the CS4297A. Read accesses of the control registers by the AC ’97 controller are accomplished with the requested register
index in Slot 1 of a SDATA_OUT frame. The following SDATA_IN frame will contain the read
Digital AC’97
Controller
Figure 7. AC-link Connections
10
SYNC
BIT_CLK
SDATA_OUT
SDATA_IN
RESET#
CODEC
CS4297A
DS318PP611
CS4297A
data in its Slot 2. Write operations are similar, with
the register index in Slot 1 and the write data in Slot
2 of a SDATA_OUT frame. The function of each
input and output frame is detailed in Section 3,
AC Link Frame Definition. Individual register descriptions are found in Section 4, Register Inter-face.
2.3Output Mixer
The CS4297A has two output mixers, illustrated in
Figure 8. The stereo output mixer sums together
the analog inputs to the CS4297A, including the
PC_BEEP and PHONE signals, according to the
settings in the volume control registers. The stereo
output mix is sent to the LINE_OUT and
ALT_LINE_OUT pins on the CS4297A. The
mono output mixer generates a monophonic sum of
the left and right channels from the stereo input
mixer. The mono output mix is sent to the
MONO_OUT output pin on the CS4297A.
2.4Input Mux
The input multiplexer controls which analog input
is sent to the ADCs. The output of the input mux is
converted to stereo 18-bit digital PCM data and
sent to the controller by means of the AC-link
SDATA_IN signal.
2.5Volume Control
The CS4297A volume registers control analog input levels to the input mixer and analog output levels, including the master volume level, and the
alternate volume level. The PC_BEEP volume control uses 3 dB steps with a range of 0 dB to -45 dB
attenuation. All other analog volume controls use
1.5 dB steps. The analog inputs have a mixing
range of +12 dB signal gain to -34.5 dB signal attenuation. The analog output volume controls have
from 0 dB to -94.5 dB attenuation for LINE_OUT
and from 0 dB to -46.5 dB attenuation for
ALT_LINE_OUT and MONO_OUT.
11
CS4297A
12DS318PP6
CS4297A
PC_BEEP
PHONE
PCM_OUT
MIC1
MIC2
LINE
CD
VIDEO
AUX
MIC
SELECT
MAIN D/A
CONVERTERS
DAC
BOOST
VOL
VOL
VOL
VOLVOL
VOLVOLVOL
MUTE
MUTE
MUTE
MUTE
MUTE
MUTE
MUTE
MUTE
PC BEEP BYPASS
ΣΣ
INPUT MIXER
ANALOG STEREO
Σ
ANALOG STEREO
OUTPUT MIXER
STEREO TO
MONO MIXER
Σ
1/2
STEREO TO
MONO MIXER
Σ
1/2
BYPASS
BUFFER
3D
3D OUTPUT
MIXER
DAC DIRECT
MONO OUT
ADC
INPUT
MUX
MODE
SELECT
MASTER
VOLUME
VOLVOL
ALT LINE
VOLUME
MONO
VOLUME
VOL
MAIN ADC
GAIN
VOL
MUTE
MUTE
MUTE
OUTPUT
BUFFER
OUTPUT
BUFFER
OUTPUT
BUFFER
MAIN A/D
CONVERTERS
ADCMUTE
LINE OUT
ALT LINE OUT
MONO OUT
PCM_IN
Figure 8. Mixer Diagram
12
CS4297A
DS318PP613
CS4297A
3. AC LINK FRAME DEFINITION
The AC-link is a bidirectional serial port with data
organized into frames consisting of one 16-bit and
twelve 20-bit time-division multiplexed slots. The
first slot, called the tag slot, contains bits indicating
if the CS4297A is ready to receive data (input
frame) and which, if any, other slots contain valid
data. Slots 1 through 12 contain audio or control/status data. Both the serial data output and input frames are defined from the controller
perspective, not from the CS4297A perspective.
The controller synchronizes the beginning of a
frame with the assertion of the SYNC signal.
Tag PhaseData Phase
Figure 9 shows the position of each bit location
within the frame. The first bit position in a new serial data frame is F0 and the last bit position in the
serial data frame is F255. When SYNC goes active
(high) and is sampled active by the CS4297A (on
the falling edge of BIT_CLK), both devices are
synchronized to a new serial data frame. The data
on the SDATA_OUT pin at this clock edge is the
final bit of the previous frame’s serial data. On the
next rising edge of BIT_CLK, the first bit of Slot 0
is driven by the controller on the SDATA_OUT
pin. On the next falling edge of BIT_CLK, the
CS4297A latches this data in, as the first bit of the
frame.
20.8 µs
(48 kHz)
SYNC
BIT_CLK
Bit Frame Position:
SDATA_OUT
Bit Frame Position:
SDATA_IN
12.288 MHz
81.4 ns
F0F1F2F16F15F14F13F12
F255
Valid
Frame
F0F1F2F16F15F14F13F12F35F56F76F255
Codec
Ready
Slot 1
Valid
Slot 1
Valid
GPIO
INT
0
Slot 2
Valid
Slot 2
Valid
F36F57
Slot 12
Valid
Slot 12
Valid
Slot 0Slot 1Slot 2Slot 3Slot 4Slots 5-12
Codec
Codec
0
ID1
R/W0WD15
ID0
0000
F35
F36
0
F56
D19D18
F57
D19D18D19RD15
F76
D19
F96
D19
F96
D19
Figure 9. AC-link Input and Output Framing
F255
F255
GPIO
0
INT
13
CS4297A
14DS318PP6
CS4297A
3.1AC-Link Serial Data Output Frame
In the serial data output frame, data is passed on the SDATA_OUT pin to the CS4297A from the AC ’97
controller. Figure 9 illustrates the serial port timing.
The PCM playback data being passed to the CS4297A is shifted out MSB first in the most significant bits
of each slot. Any PCM data from the AC ’97 controller that is not 20 bits wide should be left justified in
its corresponding slot and dithered or zero-padded in the unused bit positions.
Bits that are reserved should always be ‘cleared’ by the AC ’97 controller.
3.1.1Serial Data Output Slot Tags (Slot 0)
Bit 1514131211109876543210
Val id
Slot 1
Frame
Valid FrameThe Valid Frame bit determines if any of the following slots contain either valid playback data
Slot [1:2] ValidThe Slot [1:2] Valid bits indicate the validity of data in their corresponding serial data output
Valid
Slot 2
Slot 3
Valid
Valid
for the CS4297A DACs or data for read/write operations. When ‘set’, at least one of the other
AC-link slots contain valid data. If this bit is ‘clear’, the remainder of the frame is ignored.
slots. If a bit is ‘set’, the corresponding output slot contains valid data. If a bit is ‘cleared’, the
corresponding slot will be ignored.
Slot 4
Valid
Slot 5
Valid
Slot 6
Valid
Slot 7
Valid
Slot 8
Valid
Slot 9
Valid
Slot 10
Valid
Reserved
Codec
ID1
Codec
ID0
Slot [3:10] ValidThe Slot [3:10] Valid bits indicate Slot [3:10] contains valid playback data for the CS4297A. If a
Slot Valid bit is ‘set’, the named slot contains valid audio data. If the bit is ‘clear’, the slot will be
ignored. The CS4297A supports alternate slot mapping as defined in the AC ’97 2.1 specification. For more information, see the AC Mode Control Register (Index 5Eh).
Codec ID[1:0]The Codec ID[1:0] bits display the Codec ID of the audio codec being accessed during the cur-
rent AC-link frame. Codec ID[1:0] = 00 indicates the primary codec is being accessed. Codec
ID[1:0] = 01, 10, or 11 indicates one of three possible secondary codecs is being accessed. A
non-zero value of one or more of the Codec ID bits indicates a valid Read or Write Address in
Slot 1, and the Slot 1 R/W bit indicates presence or absence of valid Data in Slot 2.
14
CS4297A
DS318PP615
CS4297A
3.1.2Command Address Port (Slot 1)
Bit 191817161514131211109876543210
R/W RI6RI5RI4RI3RI2RI1RI0000000000000
R/W Read/Write. When this bit is ‘set’, a read of the AC ’97 register specified by the register index
bits will occur in the AC ’97 2.1 audio codec. When the bit is ‘cleared’, a write will occur. For any
read or write access to occur, the Frame Valid bit (F0) must be ‘set’ and the Codec ID[1:0] bits
(F[14:15]) must match the Codec ID of the AC ’97 2.1 audio codec being accessed. Additionally,
for a primary codec, the Slot 1 Valid bit (F1) must be ‘set’ for a read access and both the Slot 1
Valid bit (F1) and the Slot 2 Valid bit (F2) must be ‘set’ for a write access. For a secondary codec, both the Slot 1 Valid bit (F1) and the Slot 2 Valid bit (F2) must be ‘cleared’ for read and
write accesses. See Figure 9 for bit frame positions.
RI[6:0] Register Index. The RI[6:0] bits contain the 7-bit register index to the AC ’97 registers in the
CS4297A. All registers are defined at word addressable boundaries. The RI0 bit must be ‘clear’
to access CS4297A registers.
WD[15:0]Write Data. The WD[15:0] bits contain the 16-bit value to be written to the register. If an access
is a read, this slot is ignored.
NOTE:For any write to an AC ’97 register, the write is defined to be an ‘atomic’ access. This means
that when the Slot 1 Valid bit in output Slot 0 is ‘set’, the Slot 2 Valid bit in output slot 0 should
always be ‘set’ during the same audio frame. No write access may be split across 2 frames.
PD[19:0]Playback Data. The PD[19:0] bits contain the 20-bit PCM playback (2’s complement) data for
the left and right DACs and/or the S/PDIF transmitter. Table 7 on page 29 lists a cross reference
for each function and its respective slot. The mapping of a given slot to a DAC is determined by
the state of the ID[1:0] bits in the Extended Audio ID Register (Index 28h) and by the SM[1:0]
and AMAP bits in the AC Mode Control Register (Index 5Eh).
15
CS4297A
16DS318PP6
CS4297A
3.2AC-Link Audio Input Frame
In the serial data input frame, data is passed on the SDATA_IN pin from the CS4297A to the AC ’97 con-
troller. The data format for the input frame is very similar to the output frame. Figure 9 on page 13 illustrates the serial port timing.
The PCM capture data from the CS4297A is shifted out MSB first in the most significant 18 bits of each
slot. The least significant 2 bits in each slot will be ‘cleared’. If the host requests PCM data from the
AC ’97 Controller that is less than 18 bits wide, the controller should dither and round or just round (but
not truncate) to the desired bit depth.
Bits that are reserved or not implemented in the CS4297A will always be returned ‘cleared’.
3.2.1Serial Data Input Slot Tag Bits (Slot 0)
Bit 1514131211109876543210
Codec
Ready
Codec ReadyThe Codec Ready bit indicates the readiness of the CS4297A AC-link. Immediately after a
Slot 1
Valid
Slot 2
Valid
Slot 3
Valid
Cold Reset this bit will be ‘clear’. Once the CS4297A clocks and voltages are stable, this bit
will be ‘set’. Until the Codec Ready bit is ‘set’, no AC-link transactions should be attempted
by the controller. The Codec Ready bit does not indicate readiness of the DACs, ADCs, Vref,
or any other analog function. Those must be checked in the Powerdown Control/Status Reg-ister (Index 26h) by the controller before any access is made to the mixer registers. Any accesses to the CS4297A while Codec Ready is ‘clear’ are ignored.
Slot 4
Valid
Slot 5
Valid
Slot 6
Valid
Slot 7
Valid
Slot 8
Valid
Slot 9
Valid
Slot 10
Valid
00000
Slot 1 Valid When ‘set’, the Slot 1 Valid bit indicates Slot 1 contains a valid read back address.
Slot 2 Valid When ‘set’, the Slot 2 Valid bit indicates Slot 2 contains valid register read data.
Slot [3:10] Valid When ‘set’, the Slot [3:10] Valid bits indicate Slot [3:10] contains valid capture data from the
CS4297A ADCs. Only if a Slot [3:10] Valid bit is ‘set’ will the corresponding input slot contain
valid data.
3.2.2Status Address Port (Slot 1)
Bit 1918171615141312111098 76 5 4 3210
0RI6RI5RI4RI3RI2RI1RI0000000000Reserved
RI[6:0]Register Index. The RI[6:0] bits echo the AC ’97 register address when a register read has
been requested in the previous frame. The CS4297A will only echo the register index for a
read access. Write accesses will not return valid data in Slot 1.
RD[15:0]Read Data. The RD[15:0] bits contain the register data requested by the controller from the
previous read request. All read requests will return the read address in the input Slot 1 and
the register data in the input Slot 2 on the following serial data frame.
CD[17:0]Capture Data. The D[17:0] bits contain 18-bit PCM (2’s complement) capture data. The map-
ping of a given slot to an ADC is determined by the state of the ID[1:0] bits in the Extended
Audio ID Register (Index 28h) and the SM[1:0] and AMAP bits in the AC Mode Control Register (Index 5Eh). The definition of each slot can be found in Table 7 on page 29.
17
CS4297A
18DS318PP6
CS4297A
3.3AC-Link Protocol Violation - Loss of
SYNC
The CS4297A is designed to handle SYNC protocol violations. The following are situations where
the SYNC protocol has been violated:
•The SYNC signal is not sampled high for exact-
ly 16 BIT_CLK clock cycles at the start of an
audio frame.
•The SYNC signal is not sampled high on the
256th BIT_CLK clock period after the previous
SYNC assertion.
•The SYNC signal goes active high before the
256th BIT_CLK clock period after the previous
SYNC assertion.
Upon loss of synchronization with the controller,
the CS4297A will ‘clear’ the Codec Ready bit in
the serial data input frame until two valid frames
are detected. During this detection period, the
CS4297A will ignore all register reads and writes
and will discontinue the transmission of PCM capture data. In addition, if the LOSM bit in the Misc.Crystal Control Register (Index 60h) is ‘set’ (de-
fault), the CS4297A will mute all analog outputs. If
the LOSM bit is ‘clear’, the analog outputs will not
be muted.
SE[4:0]Crystal 3D Stereo Enhancement. SE[4:0] = 00110, indicating this feature is present.
ID8 18-bit ADC Resolution. The ID8 bit is ‘set’, indicating this feature is present.
ID720-bit DAC resolution. The ID7 bit is ‘set’, indicating this feature is present.
ID4Headphone Output (Alt Line Out). The ID4 bit is ‘set’, indicating this feature is present.
Default1990h. The data in this register is read-only data.
Any write to this register causes a Register Reset to the default state of the audio (Index 00h - 38h) and vendor spe-
cific (Index 5Ah - 7Ah) registers. A read from this register returns configuration information about the CS4297A.
4.2Master Volume Register (Index 02h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute0ML5ML4ML3ML2ML1ML000MR5MR4MR3MR2MR1MR0
MuteMaster Mute. Setting this bit mutes the LINE_OUT_L/R output signals.
ML[5:0]Master Volume Left. These bits control the left master output volume. Each step corresponds
to 1.5 dB gain adjustment, with 00000 = 0 dB. The total range is 0 dB to -94.5 dB attenuation.
MR[5:0]Master Volume Right. These bits control the right master output volume. Each step corresponds
to 1.5 dB gain adjustment, with 00000 = 0 dB. The total range is 0 dB to -94.5 dB attenuation.
Default8000h. This value corresponds to 0 dB attenuation and Mute ‘set’.
20
CS4297A
DS318PP621
CS4297A
4.3Alternate Volume Register (Index 04h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute0ML5
MuteAlternate Mute. Setting this bit mutes the ALT_LINE_OUT_L/R output signals.
ML[4:0]Alternate Volume Left. These bits control the left alternate output volume. Each step corre-
ML4ML3ML2ML1ML000MR5MR4MR3MR2MR1MR0
sponds to 1.5 dB gain adjustment, with 00000 = 0 dB. The total range is 0 dB to -46.5 dB attenuation. See Table 2 for further attenuation levels.
ML5
MR[4:0]Alternate Volume Right. These bits control the right alternate output volume. Each step corre-
MR5
Default8000h. This value corresponds to 0 dB attenuation and Mute ‘set’.
Alternate Volume Left Max Attenuation. Setting ML5 sets the left channel attenuation to
-46.5 dB by forcing ML[4:0] to a ‘1’ state. ML[5:0] will read back 011111 when ML5
‘set’. Table 2 summarizes this behavior.
sponds to 1.5 dB gain adjustment, with 00000 = 0 dB. The total range is 0 dB to -46.5 dB attenuation. See Table 2 for further attenuation levels.
Alternate Volume Right Max Attenuation. Setting MR5 sets the right channel attenuation to
-46.5 dB by forcing MR[4:0] to a ‘1’ state. MR[5:0] will read back 011111 when MR5
‘set’. Table 2 summarizes this behavior.
Mx[5:0]
Write
0000000000000 dB
000001000001-1.5 dB
……...
011111011111-46 . 5 d B
100000011111-46. 5 d B
.........
111111011111- 46 .5 d B
Mx[5:0]
Read
Gain
Level
has been
has been
Table 2. Analog Mixer Output Attenuation
4.4Mono Volume Register (Index 06h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute000000000MM5
MuteMono Mute. Setting this bit mutes the MONO_OUT signal.
MM[5:0] Mono Volume. These bits control the mono output volume. Each step corresponds to 1.5 dB
gain adjustment, with a total available range from 0 dB to -46.5 dB attenuation. See Table 2 for
further attenuation levels.
MM5
Default8000h. This value corresponds to 0 dB attenuation and Mute ‘set’.
Mono Volume Max Attenuation. Setting the MM5 bit sets the mono attenuation to -46.5 dB by
forcing MM[4:0] to a ‘1’ state. MM[5:0] will read back 011111 when MM5
summarizes this behavior.
MM4MM3MM2MM1MM0
has been ‘set’. Table 2
21
CS4297A
22DS318PP6
CS4297A
4.5PC_BEEP Volume Register (Index 0Ah)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute0000000000PV3PV2PV1PV00
MutePC_BEEP Mute. Setting this bit mutes the PC_BEEP input signal.
PV[3:0]PC_BEEP Volume Control. The PV[3:0] bits are used to control the gain levels of the PC_BEEP
input source to the Input Mixer. Each step corresponds to 3 dB gain adjustment, with
0000 = 0 dB. The total range is 0 dB to -45 dB attenuation.
Default0000h. This value corresponds to 0 dB attenuation and Mute ‘clear’.
This register has no effect on the PC_BEEP volume during RESET#.
4.6Phone Volume Register (Index 0Ch)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute0000000000GN4GN3GN2GN1GN0
MutePhone Mute. Setting this bit mutes the Phone input signal.
GN[4:0]Phone Volume Control. The GN[4:0] bits are used to control the gain levels of the Phone input
source to the Input Mixer. Each step corresponds to 1.5 dB gain adjustment, with 01000 = 0 dB.
The total range is +12 dB to -34.5 dB gain. See Table 4 on page 24 for further details.
Default8008h. This value corresponds to 0 dB gain and Mute ‘set’.
22
CS4297A
DS318PP623
CS4297A
4.7Microphone Volume Register (Index 0Eh)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute0000000020dB0GN4GN3GN2GN1GN0
MuteMicrophone Mute. Setting this bit mutes the MIC1 or MIC2 signal. The selection of the MIC1 or
MIC2 input pin is controlled by the MS bit in the General Purpose Register (Index 20h).
GN[4:0]Microphone Volume Control. The GN[4:0] bits are used to control the gain level of the Micro-
phone input source to the Input Mixer. Each step corresponds to 1.5 dB gain adjustment, with
01000 = 0 dB. The total range is +12 dB to -34.5 dB gain. See Table 3 for further details.
20dBMicrophone 20 dB Boost. When ‘set’, the 20dB bit enables the +20 dB microphone boost block.
This bit allows for variable boost of 0 dB or +20 dB. Table 3 summarizes this behavior.
Default8008h. This value corresponds to 0 dB gain and Mute ‘set’.
GN[4:0]
00000+12.0 dB+32.0 dB
00001+10.5 dB+30.5 dB
……...
00111+1.5 dB+21.5 dB
010000.0 dB+20.0 dB
01001-1.5 dB+18.5 dB
……...
11111-34.5 dB-14 . 5 d B
Table 3. Microphone Input Gain Values
Gain Level
20dB = 020dB = 1
23
CS4297A
24DS318PP6
CS4297A
4.8Stereo Analog Mixer Input Gain Registers (Index 10h - 18h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute00GL4GL3GL2GL1GL0000GR4GR3GR2GR1GR0
MuteStereo Input Mute. Setting this bit mutes the respective input signal, both right and left inputs.
GL[4:0]Left Volume Control. The GL[4:0] bits are used to control the gain level of the left analog input
source to the Input Mixer. Each step corresponds to 1.5 dB gain adjustment, with 01000 = 0 dB.
The total range is +12 dB to -34.5 dB gain. See Table 4 for further details.
GR[4:0]Right Volume Control. The GR[4:0] bits are used to control the gain level of the right analog in-
put source to the Input Mixer. Each step corresponds to 1.5 dB gain adjustment, with 01000 =
0 dB. The total range is +12 dB to -34.5 dB gain. See Table 4 for further details.
Default8808h. This value corresponds to 0 dB gain and Mute ‘set’.
The Stereo Analog Mixer Input Gain Registers are listed in Table 5.
Gx[4:0]Gain Level
00000+12.0 dB
00001+10.5 dB
……
00111+1.5 dB
010000.0 dB
01001-1.5 dB
……
11111-3 4. 5 dB
Table 4. Analog Mixer Input Gain Values
Register IndexFunction
10hLine In Volume
12hCD Volume
14hVideo Volume
16hAux Volume
18hPCM Out Volume
Table 5. Stereo Volume Register Index
24
CS4297A
DS318PP625
CS4297A
4.9Input Mux Select Register (Index 1Ah)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
00000SL2SL1SL000000SR2SR1SR0
SL[2:0]Left Channel Source. The SL[2:0] bits select the left channel source to pass to the ADCs for
recording. See Table 6 for possible values.
SR[2:0]Right Channel Source. The SR[2:0] bits select the right channel source to pass to the ADCs for
recording. See Table 6 for possible values.
Default0000h. This value selects the Mic input for both channels.
Sx[2:0]Record Source
000Mic
001CD Input
010Video Input
011Aux Input
100Line Input
101Stereo Mix
110Mono Mix
111Phone Input
Table 6. Input Mux Selection
4.10Record Gain Register (Index 1Ch)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Mute000GL3GL2GL1GL00000GR3GR2GR1GR0
MuteRecord Gain Mute. Setting this bit mutes the input to the L/R ADCs.
GL[3:0]Left ADC Gain. The GL[3:0] bits control the input gain on the left channel of the analog source,
applied after the input mux and before the ADCs. Each step corresponds to 1.5 dB gain adjustment, with 0000 = 0 dB. The total range is 0 dB to +22.5 dB gain.
GR[3:0]Right ADC Gain. The GR[3:0] bits control the input gain on the right channel of the analog
source, applied after the input mux and before the ADCs. Each step corresponds to 1.5 dB gain
adjustment, with 0000 = 0 dB. The total range is 0 dB to +22.5 dB gain.
Default 8000h. This value corresponds to 0 dB gain and Mute ‘set’.
25
CS4297A
26DS318PP6
CS4297A
4.11General Purpose Register (Index 20h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
003D000MIXMSLPBK0000000
3D3D Enable. When ‘set’, the 3D bit enables the CrystalClearTM 3D stereo enhancement. This
function is not available in DAC Direct Mode (DDM).
MIX Mono Output Select. The MIX bit selects the source for the Mono Out output. When ‘set’, the
microphone input is selected. When ‘clear’, the stereo-to-mono mixer is selected.
MSMicrophone Select. The MS bit determines which of the two Mic inputs are passed to the mixer.
When ‘set’, the MIC2 input is selected. When ‘clear’, the MIC1 input is selected.
LPBKLoopback Enable. When ‘set’, the LPBK bit enables the ADC/DAC Loopback Mode. This bit
routes the output of the ADCs to the input of the DACs without involving the AC-link.
Default0000h
4.123D Control Register (Index 22h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000S3S2S1S0
S[3:0]Spacial Enhancement Depth. These bits control the amount of “space” added to the output ste-
reo signal. When S[3:0] = 0000, the minimum amount of spatial enhancement is added. When
S[3:0] = 1111, the maximum amount of spatial enhancement is added. The 3D function is enabled and disabled by the 3D bit in the General Purpose Register (Index 20h).
Default0000h. This value corresponds to minimum spatial enhancement added to the output signal.
26
CS4297A
DS318PP627
CS4297A
4.13Powerdown Control/Status Register (Index 26h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
EAPDPR6PR5PR4PR3PR2PR1PR00000REFANLDACADC
EAPDExternal Amplifier Power Down. The EAPD pin follows this bit and is generally used to power
down external amplifiers.
PR6Alternate Line Out Powerdown. When ‘set’, the alternate line out buffer is powered down.
PR5Internal Clock Disable. When ‘set’, this bit completely powers down both the analog and digital
sections of the CS4297A. The only way to recover from setting this bit is through a Cold Reset
(driving the RESET# signal active).
PR4AC-link Powerdown. When ‘set’, the AC link is powered down (BIT_CLK off). The AC-link can
be restarted through a Warm Reset using the SYNC signal, or a Cold Reset using the RESET#
signal (primary audio codec only).
PR3Analog Mixer Powerdown (Vref off). When ‘set’, the analog mixer and voltage reference are
powered down. When clearing this bit, the ANL, ADC, and DAC bits should be checked before
writing any mixer registers.
PR2Analog Mixer Powerdown (Vref on). When ‘set’, the analog mixer is powered down (the voltage
reference is still active). When clearing this bit, the ANL bit should be checked before writing
any mixer registers.
PR1Front DACs Powerdown. When ‘set’, the DACs are powered down. When clearing this bit, the
DAC bit should be checked before sending any data to the DACs.
PR0L/R ADCs and Input Mux Powerdown. When ‘set’, the ADCs and the ADC input muxes are pow-
ered down. When clearing this bit, no valid data will be sent down the AC link until the ADC bit
goes high.
REFVoltage Reference Ready Status. When ‘set’, indicates the voltage reference is at a nominal
level.
ANLAnalog Ready Status. When ‘set’, the analog output mixer, input multiplexer, and volume con-
trols are ready. When clear, no volume control registers should be written.
DACFront DAC Ready Status. When ‘set’, the DACs are ready to receive data across the AC link.
When clear, the DACs will not accept any valid data.
ADCL/R ADC Ready Status. When ‘set’, the ADCs are ready to send data across the AC link. When
clear, no data will be sent to the Controller.
Default0000h. This value indicates all blocks are powered on. The lower four bits will change as the
CS4297A finishes an initialization and calibration sequence.
The PR[6:0] and the EAPD bits are powerdown control for different sections of the CS4297A as well as external
amplifiers. The REF, ANL, DAC, and ADC bits are read-only status bits which, when ‘set’, indicate that a particular
section of the CS4297A is ready. After the controller receives the Codec Ready bit in input Slot 0, these status bits
must be checked before writing to any mixer registers. See Section 5, Power Management, for more information on
the powerdown functions.
27
CS4297A
28DS318PP6
CS4297A
4.14Extended Audio ID Register (Index 28h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
ID1ID00000AMAP00000000VRA
ID[1:0]Codec Configuration ID. When ID[1:0] = 00, the CS4297A is the primary audio codec. When
ID[1:0] = 01, 10, or 11, the CS4297A is a secondary audio codec. The state of the ID[1:0] bits
is determined at power-up from the ID[1:0]# pins.
AMAPAudio Slot Mapping. The AMAP bit indicates whether the optional AC ’97 2.1 compliant AC-link
slot to audio DAC mapping is supported. This bit is a shadow of the AMAP bit in the AC Mode Control Register (Index 5Eh). The PCM playback and capture slots are mapped according to
Table 7 on page 29.
VRAVariable Rate PCM Audio. The VRA bit indicates whether variable rate PCM audio is supported.
This bit always returns ‘0’, indicating that variable rate PCM audio is not available.
Defaultx200h. Where x is determined by the state of ID[1:0]# input pins. The Extended Audio ID Reg-
SR[15:0]Left/Right ADC Sample Rate. The SR[15:0] bits are read-only bits, and always read BB80h in-
dicating 48 kHz sample rate.
DefaultBB80h. This value corresponds to 48 kHz sample rate.
28
CS4297A
DS318PP629
CS4297A
4.17AC Mode Control Register (Index 5Eh)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000DDMAMAP0SM1SM00000
DDMDAC Direct Mode. This bit controls the source to the line and alternate line output drivers. When
‘set’, the L/R DACs directly drive the line and alternate line outputs by bypassing the audio mixer. When ‘clear’, the audio mixer is the source for the line and alternate line outputs.
AMAPAudio Slot Mapping. This read/write bit controls whether the CS4297A responds to the Codec
ID based slot mapping as outlined in the AC ’97 2.1 specification. The bit is shadowed in the
Extended Audio ID Register (Index 28h). Refer to Table 7 for the slot mapping configurations.
SM[1:0]Slot Map. The SM[1:0] bits define the Slot Mapping for the CS4297A when the AMAP bit is
‘cleared’. Refer to Table 7 for the slot mapping configurations.
Default0080h
Codec IDSlot Map
Slot
Assignment
Mode
AMAP Mode 000XX 1 3434
AMAP Mode 101XX 1 3434
AMAP Mode 210XX 1 7878
AMAP Mode 311XX 1 6969
Slot Map Mode 0XX00 0 3434
Slot Map Mode 1XX01 0 5656
Slot Map Mode 2XX10 0 7878
Slot Map Mode 3XX110910910
ID1 ID0 SM1 SM0
Table 7. Slot Mapping
AMAP
Slot Assignments
DAC,
SPDIF
LRLR
ADC
4.18Misc. Crystal Control Register (Index 60h)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Reserved00Reserved0ReservedLOSM
LOSMLoss of SYNC Mute Enable. The LOSM bit controls the loss of SYNC mute function. If this bit
is ‘set’, the CS4297A will mute all analog outputs for the duration of loss of SYNC. If this bit
is ‘cleared’, the mixer will continue to function normally during loss of SYNC. The CS4297A
expects to sample SYNC ‘high’ for 16 consecutive BIT_CLK periods and then ‘low’ for 240
consecutive BIT_CLK periods, otherwise loss of SYNC becomes true.
SPEN S/PDIF Enable. The SPEN bit enables S/PDIF data transmission on the S/PDIF_OUT pin.
The SPEN bit routes the left and right channel data from the AC ’97 controller, the digital mixer, or the digital effects engine to the S/PDIF transmitter block. The actual data routed to the
S/PDIF block is controlled through the AMAP/SM[1:0] configuration in the AC Mode Control Register (Index 5Eh).
ValValidity. The V bit is mapped to the V bit (bit 28) of every sub-frame. If this bit is ‘0’, the signal
is suitable for conversion or processing.
FsSample Rate. The Fs bit indicates the sampling rate for the S/PDIF data. The inverse of this
bit is mapped to bit 25 of the channel status block. When the Fs bit is ‘clear’, the sampling
frequency is 48 kHz. When ‘set’, the sampling frequency is 44.1 kHz. The actual rate at which
S/PDIF data are being transmitted solely depends on the master clock frequency of the
CS4297A. The Fs bit is merely an indicator to the S/PDIF receiver.
LGeneration Status. The L bit is mapped to bit 15 of the channel status block. For category
codes 001xxxx, 0111xxx and 100xxxx, a value of ‘0’ indicates original material and a value of
‘1’ indicates a copy of original material. For all other category codes the definition of the L bit
is reversed.
CC[6:0]Category Code. The CC[6:0] bits are mapped to bits 8-14 of the channel status block.
EmphData Emphasis. The Emph bit is mapped to bit 3 of the channel status block. If the Emph bit
is ‘1’, 50/15us filter pre-emphasis is indicated. If the bit is ‘0’, no pre-emphasis is indicated.
CopyCopyright. The Copy bit is mapped to bit 3 of the channel status block. If the Copy bit is ‘1’
copyright is not asserted and copying is permitted.
/AudioAudio / Non-Audio. The /Audio bit is mapped to bit 1 of the channel status block. If the /Audio
bit is ‘0’, the data transmitted over S/PDIF is assumed to be digital audio. If the /Audio bit is
‘1’, non-audio data is assumed.
ProProfessional/Consumer. The Pro bit is mapped to bit 0 of the channel status block. If the Pro
bit is ‘0’, consumer use of the audio control block is indicated. If the bit is ‘1’, professional use
is indicated.
Default0000h
For a further discussion of the proper use of the channel status bits see application note AN22: Overview of Digital Audio Interface Data Structures [3].
30
CS4297A
DS318PP631
CS4297A
4.20Vendor ID1 Register (Index 7Ch)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
F7F6F5F4F3F2F1F0S7S6S5S4S3S2S1S0
F[7:0]First Character of Vendor ID. With a value of F[7:0] = 43h, these bits define the ASCII ‘C’
character.
S[7:0]Second Character of Vendor ID. With a value of S[7:0] = 52h, these bits define the ASCII ‘R’
character.
Default4352h. This register contains read-only data.
4.21Vendor ID2 Register (Index 7Eh)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
T7T6T5T4T3T2T1T00DID2DID1DID00REV2 REV1 REV0
T[7:0]Third Character of Vendor ID. With a value of T[7:0] = 59h, these bits define the ASCII ‘Y’
character.
DID[2:0]Device ID. With a value of DID[2:0] = 001, these bits specify the audio codec is a CS4297A.
REV[2:0]Revision. With a value of REV[2:0] = 001, these bits specify the audio codec revision is ‘A’.
Default591xh. This register contains read-only data.
The two Vendor ID registers provide a means to determine the manufacturer of the AC ’97 audio codec. The first
three bytes of the Vendor ID registers contain the ASCII code for the first three letters of Crystal (CRY). The final
byte of the Vendor ID registers is divided into a Device ID field and a Revision field. Table 8 lists the currently defined
Device ID’s. Table 9 lists the current revisions of the CS4297A.
DID[2:0]Part Name
000CS4297
001CS4297A
010CS4294/CS4298
011CS4299
100CS4201
101CS4205
Table 8. Device ID with Corresponding Part Number
REV[2:0]Revision
001A
010B
011C
100D, E, F, G, H
101K
110L
Table 9. Revision Values
31
CS4297A
32DS318PP6
CS4297A
5. POWER MANAGEMENT
5.1AC ’97 Reset Modes
The CS4297A supports three reset methods, as defined in the AC ’97 Specification: Cold AC ’97 Re-set, Warm AC ’97 Reset, Register AC ’97 Reset. A
Cold Reset results in all AC ’97 logic (registers included) initialized to its default state. A Warm Reset leaves the contents of the AC ’97 register set
unaltered. A Register Reset initializes only the
AC ’97 registers to their default states.
5.1.1Cold AC ‘97 Reset
A Cold Reset is achieved by asserting RESET# for
a minimum of 1 µs after the power supply rails
have stabilized. This is done in accordance with the
minimum timing specifications in the AC ’97 Seri-al Port Timing section on page 7. Once deasserted,
all of the CS4297A registers will be reset to their
default power-on states and the BIT_CLK and
SDATA_IN signals will be reactivated.
5.1.2Wa rm A C ’97 Reset
A Warm Reset allows the AC-link to be reactivated
without losing information in the CS4297A registers. A Warm Reset is required to resume from a
D3
state, where the AC-link had been halted yet
hot
full power had been maintained. A primary codec
Warm Reset is initiated when the SYNC signal is
driven high for at least 1 µs and then driven low in
the absence of the BIT_CLK clock signal. The
BIT_CLK clock will not restart until at least 2 normal BIT_CLK clock periods (162.8 ns) after the
SYNC signal is deasserted. A Warm Reset of the
secondary codec is recognized when the primary
codec on the AC-link resumes BIT_CLK generation. The CS4297A will wait for BIT_CLK to be
stable to restore SDATA_IN activity and/or
S/PDIF transmission on the following frame.
5.1.3Register AC ’97 Reset
The third reset mode provides a Register Reset to
the CS4297A. This is available only when the
CS4297A AC-link is active and the Codec Ready
bit is ‘set’. The audio (including extended audio)
registers (Index 00h - 38h) and the vendor specific
registers (Index 5Ah - 7Ah) are reset to their default
states by a write of any value to the Reset Register(Index 00h).
32
CS4297A
DS318PP633
CS4297A
5.2Powerdown Controls
The Powerdown Control/Status Register
(Index 26h) controls the power management func-
tions. The PR[6:0] bits in this register control the
internal powerdown states of the CS4297A. Powerdown control is available for individual subsections
of the CS4297A by asserting any PRx bit or any
combination of PRx bits. Most powerdown states
can be resumed by clearing the corresponding PRx
bit. Table 10 shows the mapping of the power control bits to the functions they manage.
When PR0 is ‘set’, the L/R ADCs and the Input
Mux are shut down and the ADC bit in the Power-down Control/Status Register (Index 26h) is
‘cleared’ indicating the ADCs are no longer in a
ready state. The same is true for the DACs, the analog mixers, and the reference voltage (Vrefout).
When the PR2 or PR3 bit of the mixer is ‘cleared’,
the mixer section will begin a power-on process,
and the corresponding powerdown status bit will be
‘set’ when the hardware is ready.
Shutting down the AC-link by ‘setting’ PR4 causes
the primary Codec to turn off the BIT_CLK and
drive SDATA_IN low. It also ignores SYNC and
SDATA_OUT in their normal capacities. Either a
Cold Reset or a Warm Reset is required to restore
operation to the CS4297A. A Cold Reset will restore all mixer registers to their power-on default
values. A Warm Reset will not alter the values of
any mixer register, except clearing the PR4 bit in
Powerdown Control/Status Register (Index 26h).
The PR5 bit powers down all analog and digital
subsections of the device. A Cold Reset is the only
way to restore operation to the CS4297A after a
PR5 global powerdown.
The CS4297A does not automatically mute any input or output when the powerdown bits are ‘set’.
The software driver controlling the AC ’97 device
must manage muting the input and output analog
signals before putting the part into any power management state. The definition of each PRx bit may
affect a single subsection or a combination of subsections within the CS4297A. Table 11 on page 34
contains the matrix of subsections affected by the
respective PRx function. Table 12 on page 34
shows the different operating power consumptions
levels for different powerdown functions.
PR BitFunction
PR0L/R ADCs and Input Mux Powerdown
PR1Front DACs Powerdown
PR2Analog Mixer Powerdown (Vref on)
PR3Analog Mixer Powerdown (Vref off)
PR4AC-link Powerdown (BIT_CLK off)*
PR5Internal Clock Disable
PR6Alternate Line Out Powerdown
* Applies only to primary codec
Table 10. Powerdown PR Bit Functions
33
CS4297A
34DS318PP6
CS4297A
PR BitADCsDACsMixer
PR0
•
Alternate
Line Out
Analog
ReferenceACLink
Internal
Clock Off
PR1•
PR2•••
PR3•••••
PR4•
PR5•••••••
PR6•
Table 11. Powerdown PR Function Matrix
Power State
Full Power + S/PDIF
I
DVdd
[DVdd=3.3 V]
1
(mA)
30.149.437.9
I
(mA)
DVdd
[DVdd=5 V]
I
AVd d
(mA)
Full Power24.543.437.9
ADCs off (PR0)21.038.129.0
DACs off (PR1)22.139.631.3
Audio off (PR2)22.139.910.7
Vref off (PR3)18.934.845 µA
AC-Link off (PR4)19.335.537.9
Internal Clocks off (PR5)11 µA27 µA45 µA
Alt line out off (PR6)24.543.436.2
RESET11 µA27 µA450 µA
Table 12. Power Consumption by Powerdown Mode
1
Assuming standard resistive load for transformer coupled coaxial S/PDIF output
(Rload = 292 Ohm, DVdd = 3.3 V) (Rload = 415 Ohm, DVdd = 5 V).
General: I
DVdd S/PDIF
= I
DVdd
+ DVdd/Rload/2
34
CS4297A
DS318PP635
CS4297A
6. ANALOG HARDWARE
DESCRIPTION
The analog line-level input hardware consists of
four stereo inputs (LINE_IN_L/R, CD_L/GND/R,
VIDEO_L/R, and AUX_L/R), two selectable
mono microphone inputs (MIC1 and MIC2), and
two mono inputs (PC_BEEP and PHONE). The analog line-level output hardware consists of a mono
output (MONO_OUT), and dual stereo line outputs
(LINE_OUT_L/R and ALT_LINE_OUT_L/R).
This section describes the analog hardware needed
to interface with these pins. The designs presented
in this section comply with specifications detailed
in Chapter 17 of the Microsoft PC Design Guide-lines [7] (referred to as PC 99). For EMI reduction
techniques refer to the application note N165:CS4297A/CS4299 EMI Reduction Techniques [5].
6.1Analog Inputs
All analog inputs to the CS4297A, including
CD_GND, should be capacitively coupled to the
input pins. Unused analog inputs should be tied together and connected through a capacitor to analog
ground or tied to the Vrefout pin directly. The maximum allowed voltage for analog inputs, except the
microphone input, is 1 V
. For the microphone
RMS
input the maximum allowed voltage depends on the
selected boost setting.
6.1.1Line-Level Inputs
connected to the CD analog source ground. Following the reference designs in Figure 11 and
Figure 12 provides extra attenuation of common
mode noise coming from the CD-ROM drive,
thereby producing a higher quality signal. One percent resistors are recommended since closely
matched resistor values provide better common-mode attenuation of unwanted signals. The
circuit shown in Figure 11 can be used to attenuate
a 2 V
shown in Figure 12 can be used for a 1 V
CD input signal by 6 dB. The circuit
RMS
RMS
CD in-
put signal.
Ω
6.8 k
Ω
6.8 k
Ω
6.8 k
Figure 10. Line Input (Replicate for Video and Aux)
6.8 k
CD_R
CD_L
CD_COM
(All resistors 1%)
6.8 k
3.4 k
Ω
Ω
Ω
6.8 k
6.8 k
Ω
AGND
1.0 µF
R
µ
1.0
F
L
Ω
6.8 k
1.0 µF
1.0 µF
2.2 µF
Ω
3.4 k
Ω
CD_R
CD_L
CD_GND
Figure 10 shows circuitry for a line-level stereo in-
Figure 11. Differential 2 V
CD Input
RMS
put. Replicate this circuit for the Line, Video and
Aux inputs. This design attenuates the input by
47 k
1.0 µF
1.0 µF
2.2 µF
Ω
47 k
Ω
CD_R
CD_L
CD_GND
6 dB, bringing the signal from the PC 99 specified
2 V
1V
, to the CS4297A maximum allowed
RMS
.
RMS
6.1.2CD Input
CD_R
CD_L
CD_COM
100
100
100
Ω
Ω
Ω
47 k
Ω
The CD line-level input has an extra pin,
CD_GND, providing a pseudo-differential input
for both CD_L and CD_R. This pin takes the
Figure 12. Differential 1 V
AGND
CD Input
RMS
common-mode noise out of the CD inputs when
35
CS4297A
Figure 13. Microphone Input
36DS318PP6
CS4297A
6.1.3Microphone Inputs
Figure 13 illustrates an input circuit suitable for dynamic and electret microphones. Electret, or phantom-powered, microphones use the right channel
(ring) of the jack for power. The design also supports the recommended advanced frequency response for voice recognition as specified in PC 99.
Note the microphone input to the CS4297A has an
integrated pre-amplifier. Using the 20dB bit in the
Microphone Volume Register (Index 0Eh) the
pre-amplifier gain can be set to 0 dB or 20 dB.
Figure 14 shows an external pre-amplifier circuit
for an additional 18 dB gain.
2 k
Ω
Vrefout
0.1 µF
1 µF
47 k
220 pF
NPO
+
0.33 µF
X7R
Ω
MIC1
or
MIC2
0.33 µF
47
100 pF
NPO
47 k
Ω
6.8 K
Ω
Ω
+
MC33078 or
MC33178
3.3 µF
6.1.4PC Beep Input
The PC_BEEP input is useful for mixing the output
of the “beeper” (timer chip), provided in most PCs,
with the other audio signals. When the CS4297A is
held in reset, PC_BEEP is passed directly to the
line output. This allows the system sounds or
“beeps” to be available before the AC ’97 interface
has been activated. Figure 15 illustrates a typical
input circuit for the PC_BEEP input. If PC_BEEP
is driven from a CMOS gate, the 4.7 kΩ resistor
should be tied to analog ground instead of +5VA.
Although this input is described for a low-quality
“beeper”, it is of the same high-quality as all other
analog inputs and may be used for other purposes.
+5VA (Low Noise) or
AGND if CMOS Source
4.7 k
Ω
PC_BEE P
0.1 µF
X7R
PC-BEEP-BUS
47 k
2.7 nF
X7R
Ω
AGND
Figure 15. PC_BEEP Input
+5 VA
+5 VA
U1A
8
MC33078D
3
+
1
2
-
100
+
AGND
4
AGND
k
Ω
10 µF
6.8
47 k
k
Ω
Ω
68
k
Ω
k
Ω
4
3
5
2
1
AGND
2.7
AGND
0.068 µF
X7R
220 pF 220 pF
CGND
5
6
+
AGND
+5 VA
8
+
4
AGND
220 pF
10 µF
U1B
MC33078D
7
47 k
Ω
AGND
47
47
X7R
k
Ω
k
Ω
1µF
MIC1/MIC2
Figure 14. Microphone Pre-amplifier
36
CS4297A
Figure 16. Modem Connection
DS318PP637
CS4297A
6.1.5Phone Input
One application of the PHONE input is to interface
to the output of a modem analog front end (AFE)
device so that modem dialing signals and protocol
negotiations may be monitored through the audio
system. Figure 16 shows a design for a modem
connection where the output is fed from the
CS4297A MONO_OUT pin through a divider. The
divider ratio shown does not attenuate the signal,
providing an output voltage of 1 V
. If a lower
RMS
output voltage is desired, the resistors can be replaced with appropriate values, as long as the total
load on the output is kept greater than 10 kΩ. The
PHONE input is divided by 6 dB to accommodate
a line-level source of 2 V
RMS
.
6.2Analog Outputs
The analog line-level output section provides two
stereo outputs and a mono output. The
LINE_OUT_L/R, ALT_LINE_OUT_L/R, and
MONO_OUT pins require 680 pF to 1000 pF NPO
capacitors between the corresponding pin and analog ground. Each analog output is DC-biased up to
the Vrefout signal reference, nominally 2.3 V. This
requires the outputs be AC-coupled to external circuitry (AC load must be greater than 10 kΩ) or DC
coupled to a buffer op-amp biased at Vrefout.
6.2.1Stereo Outputs
See Figure 18 for a line-level stereo output reference design. See Figure 17 for a recommended
headphone stereo output reference design.
6.2.2Mono Output
The mono output, MONO_OUT, can be either a
sum of the left and right output channels, attenuated by 6 dB to prevent clipping at full scale, or the
selected Mic signal. The mono out channel can
drive the PC internal mono speaker using an appropriate buffer circuit
PHONE
MONO_OUT
6.8 k
Ω
1.0 µF
0 Ω
6.8 k
Ω
AGNDAGND
ALT_LINE_OUT_R
Vrefout
ALT_LINE_OUT_L
Figure 17. Alternate Line Output as Headphone Output
1.0 µF
47 k
Ω
1000 pF
1000 pF
NPO
AGND
PHONE
MONO_OUT
27 k
Ω
27 k
Ω
1000 pF
NPO
39 k
2
-
3
+
TDA1308
5
+
6
-
39 k
Ω
22 pF
NPO
22 pF
NPO
Ω
TDA1308
2
1
3
ALT_LINE_OUT_R
ALT_LINE_OUT_L
VREFOUT
1000 pF
+
220 µF
22 pF
NPO
4
1
2
27 k
Ω
1000 pF
NPO
NPO
AGND
0.1 µF
1 µF
Y5V
AGND
1
3
2
6
5
ELEC
4
3
220 µF
39 k
Ω
ELEC
22 pF
NPO
7
+
TDA1308
10
Ω
+
+
HP_OUT_R
1/4 WATT
Ω
10
HP_OUT_L
1/4 WATT
34
47 k
Ω
1
2
AGND
Figure 18. Stereo Output
220 µF
1
ELEC
+
220
7
µ
ELEC
+
47 k
10 Ω
Watt
1/4
AGND
47 k
1/4
10 Ω
Watt
Ω
F
Ω
Headphone
Out
37
CS4297A
38DS318PP6
CS4297A
6.3Miscellaneous Analog Signals
The AFLT1 and AFLT2 pins must have a 1000 pF
NPO capacitor to analog ground. These capacitors
provide a single-pole low-pass filter at the inputs to
the ADCs. This makes low-pass filters at each analog input pin unnecessary.
The REFFLT pin must have a 1 µF and a 0.1 µF capacitor connected to analog ground with a short,
wide trace to this pin (see Figure 21 in Section 8,
Grounding and Layout, for an example). The 1 µF
capacitor must not be replaced with any value higher than 1 µF. No other connection should be made,
as any coupling onto this pin will degrade the analog performance of the CS4297A. Likewise, digital
signals should be kept away from REFFLT for similar reasons.
The Vrefout pin is typically 2.3 V and provides a
common mode signal for single-supply external
circuits. Vrefout only supports light DC loads and
should be buffered if AC loading is needed. For
typical use the Vrefout pin should have a 1 µF and
a 0.1 µF capacitor connected to analog ground.
6.4Power Supplies
The power supplies providing analog power should
be as clean as possible to minimize coupling into
the analog section which could degrade analog performance. The analog power pins, AVdd1 and
AVdd2, supply power to all the analog circuitry on
the CS4297A. The +5 V analog supply should be
generated from a linear voltage regulator (7805
type) connected to a +12 V supply. This helps isolate the analog circuitry from noise typically found
on +5 V digital supplies. A typical voltage regulator circuit for analog power using a
MC78M05CDT +5 V regulator is shown in
Figure 19. The digital power pins, DVdd1 and
DVdd2, should be connected to the same digital
supply as the controller AC-link interface. The digital interface on the CS4297A may operate at either
+3.3 V or +5 V and proper connection of these pins
will depend on the digital power supply of the controller.
6.5Reference Design
See Section 11 for a CS4297A reference design.
+12VD
MC78M05CDT
1
IN
+
Y5V
0.1µF
38
ELEC
10µF
Figure 19. Voltage Regulator
GND
2
OUT
3
Y5V
0.1µF
+5VA
AGNDDGND
+
ELEC
10µF
CS4297A
DS318PP639
CS4297A
7. SONY/PHILIPS DIGITAL
INTERFACE (S/PDIF)
The S/PDIF digital output is used to interface the
CS4297A to consumer audio equipment external to
the PC. This output provides an interface for storing digital audio data or playing digital audio data
to digital speakers. Figure 20 illustrates the circuits
necessary for implementing the IEC-958 optical or
consumer interface. For further information on
S/PDIF operation see application note AN22: Over-view of Digital Audio Interface Data Structures [3].
For further information on S/PDIF recommended
transformers see application note AN134: AES andS/PDIF Recommended Transformers [4].
8. GROUNDING AND LAYOUT
Figure 21 on page 40 shows the conceptual layout
for the CS4297A. The decoupling capacitors
should be located physically as close to the pins as
possible. Also note the connection of the REFFLT
decoupling capacitors to the ground return trace
connected directly to the ground return pin, AVss1.
cuitry. All analog components and traces should be
located over the analog ground plane and all digital
components and traces should be located over the
digital ground plane.
The common connection point between the two
ground planes (required to maintain a common
ground voltage potential) should be located under
the CS4297A. The AC-link digital interface connection traces should be routed such that the digital
ground plane lies underneath these signals (on the
internal ground layer). This applies along the entire
length of these traces from the AC ’97 controller to
the CS4297A.
Refer to the Application Note AN18: Layout and
Design Rules for Data Converters and Other
Mixed Signal Devices [2] for more information on
layout and design rules.
It is strongly recommended that separate analog
and digital ground planes be used. Separate ground
planes keep digital noise and return currents from
modulating the CS4297A ground potential and degrading performance. The digital ground pins
should be connected to the digital ground plane and
kept separate from the analog ground connections
of the CS4297A and any other external analog cir-
The PC_BEEP input is intended to allow the PC system POST (Power On Self-Test) tones to pass
through to the audio subsystem. The PC_BEEP input has two connections: the first connection is to the
analog output mixer, the second connection is directly to the LINE_OUT stereo outputs. While the
RESET# pin is actively being asserted and the BCFG pin is left floating, the PC_BEEP bypass path to
the LINE_OUT outputs is enabled. While the CS4297A is in normal operation mode, with RESET#
deasserted or BCFG grounded, PC_BEEP is a monophonic source to the analog output mixer. The
maximum allowable input is 1 V
reference and requires AC-coupling to external circuitry. If this input is not used, it should be connected
to the Vrefout pin or AC-coupled to analog ground.
PHONE - Analog Mono Source, Input, Pin 13
This analog input is a monophonic source to the analog output mixer. It is intended to be used as a
modem subsystem input to the audio subsystem. The maximum allowable input is 1 V
This input is internally biased at the Vrefout voltage reference and requires AC-coupling to external
circuitry. If this input is not used, it should be connected to the Vrefout pin or AC-coupled to analog
ground.
MIC1 - Analog Mono Source, Input, Pin 21
(sinusoidal). This input is internally biased at the Vrefout voltage
RMS
CS4297A
(sinusoidal).
RMS
This analog input is a monophonic source to the analog output mixer. It is intended to be used as a
desktop microphone connection to the audio subsystem. The CS4297A internal mixer’s microphone
input is MUX selectable with either MIC1 or MIC2 as the input. The maximum allowable input is 1 V
(sinusoidal). This input is internally biased at the Vrefout voltage reference and requires AC-coupling to
external circuitry. If this input is not used, it should be connected to the Vrefout pin or AC-coupled to
analog ground.
MIC2 - Analog Mono Source, Input, Pin 22
This analog input is a monophonic source to the analog output mixer. It is intended to be used as an
alternate microphone connection to the audio subsystem. The CS4297A internal mixer’s microphone
input is MUX selectable with either MIC1 or MIC2 as the input. The maximum allowable input is 1 V
(sinusoidal). This input is internally biased at the Vrefout voltage reference and requires AC-coupling to
external circuitry. If this input is not used, it should be connected to the Vrefout pin or AC-coupled to
analog ground.
LINE_IN_L, LINE_IN_R - Analog Line Source, Inputs, Pins 23 and 24
These inputs form a stereo input pair to the CS4297A. The maximum allowable input is 1 V
(sinusoidal). These inputs are internally biased at the Vrefout voltage reference and require AC-coupling
to external circuitry. If these inputs are not used, they should both be connected to the Vrefout pin or
both AC-coupled, with separate AC-coupling caps, to analog ground.
CD_L, CD_R - Analog CD Source, Inputs, Pins 18 and 20
These inputs form a stereo input pair to the CS4297A. It is intended to be used for the Red Book CD
audio connection to the audio subsystem. The maximum allowable input is 1 V
inputs are internally biased at the Vrefout voltage reference and require AC-coupling to external circuitry.
If these inputs are not used, they should both be connected to the Vrefout pin or both AC-coupled, with
separate AC-coupling caps, to analog ground.
(sinusoidal). These
RMS
RMS
RMS
RMS
CD_GND - Analog CD Common Source, Input, Pin 19
This analog input is used to remove common mode noise from Red Book CD audio signals. The
impedance on the input signal path should be one half the impedance on the CD_L and CD_R input
paths. This pin requires AC-coupling to external circuitry. If this input is not used, it should be connected
to the Vrefout pin or AC-coupled to analog ground.
42
VIDEO_L, VIDEO_R - Analog Video Audio Source, Inputs, Pins 16 and 17
DS318PP643
CS4297A
These inputs form a stereo input pair to the CS4297A. It is intended to be used for the audio signal
output of a video device. The maximum allowable input is 1 V
internally biased at the Vrefout voltage reference and require AC-coupling to external circuitry. If these
inputs are not used, they should both be connected to the Vrefout pin or both AC-coupled, with separate
AC-coupling caps, to analog ground.
AUX_L, AUX_R - Analog Auxiliary Source, Inputs, Pins 14 and 15
CS4297A
(sinusoidal). These inputs are
RMS
These inputs form a stereo input pair to the CS4297A. The maximum allowable input is 1 V
(sinusoidal). These inputs are internally biased at the Vrefout voltage reference and require AC-coupling
to external circuitry. If these inputs are not used, they should both be connected to the Vrefout pin or
both AC-coupled, with separate AC-coupling caps, to analog ground.
LINE_OUT_L, LINE_OUT_R - Analog Line-Level, Outputs, Pins 35 and 36
These signals are analog outputs from the stereo output mixer. The full-scale output voltage for each
output is nominally 1 V
reference and require either AC-coupling to external circuitry or DC-coupling to a buffer op-amp biased
at the Vrefout voltage. These pins need a 680-1000 pF NPO capacitor attached to analog ground.
ALT_LINE_OUT_L, ALT _LINE_OUT_R - Analog Alternate Line-Level, Outputs, Pins 39 and 41
These signals are analog outputs from the stereo output mixer. The full-scale output voltage for each
output is nominally 1 V
reference and require either AC-coupling to external circuitry or DC-coupling to a buffer op-amp biased
at the Vrefout voltage. These pins need a 680-1000 pF NPO capacitor attached to analog ground.
MONO_OUT - Analog Mono Line-Level, Output, Pin 37
This signal is an analog output from the stereo-to-mono mixer or MIC1/2. The full-scale output voltage
for this output is nominally 1 V
reference and requires either AC-coupling to external circuitry or DC-coupling to a buffer op-amp biased
at the Vrefout voltage. This pin needs a 680-1000 pF NPO capacitor attached to analog ground.
(sinusoidal). These outputs are internally biased at the Vrefout voltage
RMS
(sinusoidal). These outputs are internally biased at the Vrefout voltage
RMS
(sinusoidal). This output is internally biased at the Vrefout voltage
RMS
RMS
Clock and Configuration
XTL_IN - Crystal Input/Clock Input, Pin 2
In primary mode this pin requires either a 24.576 MHz crystal, with the other pin attached to XTL_OUT,
or an external CMOS clock. The crystal frequency must be 24.576 MHz and designed for fundamental
mode, parallel resonance operation. If an external CMOS clock is used to drive this pin, it must run at
24.576 MHz. In secondary mode all timing is derived from the BIT_CLK input signal and this pin should
be left floating.
XTL_OUT - Crystal Output, Pin 3
This pin is used when a crystal is placed between XTL_OUT and XLT_IN. If an external 24.576 MHz
clock is used on XTL_IN, this pin must be left floating with no traces or components connected to it. In
secondary mode this pin should be left floating.
ID1#, ID0# - Codec ID, Inputs, Pins 45 and 46
These pins select the Codec ID and mode of operation for the CS4297A. They are only sampled after
the rising edge of RESET#. These pins are internally pulled up to the digital supply voltage and should
be left floating for logic ‘0’ or tied to digital ground for logic ‘1’. When both pins are left floating the
CS4297A is the primary codec. If either or both pins are tied to ground the CS4297A is a secondary
codec.
This signal is the voltage reference used internal to the CS4297A. A 0.1 µF and a 1.0 µF (must not be
larger than 1 µF) capacitor with short, wide traces must be connected to this pin. No other connections
should be made to this pin.
Vrefout - Voltage Reference, Output, Pin 28
All analog inputs and outputs are centered around Vrefout, nominally 2.3 Volts. This pin may be used to
level shift external circuitry. This pin cannot drive any DC loads, thus any external loading must be
buffered.
AFLT1 - Left ADC Channel Antialiasing Filter, Input, Pin 29
This pin needs a 1000 pF NPO capacitor connected to analog ground.
AFLT2 - Right ADC Channel Antialiasing Filter, Input, Pin 30
This pin needs a 1000 pF NPO capacitor connected to analog ground.
FLTI, FLTO - 3D Filter, Input, Pin 33 and 34
A 1000 pF capacitor must be connected between FLTI and FLTO if the 3D function is used.
FLT3D - 3D Filter, Input, Pin 32
A 0.01 µF capacitor must be connected from this pin to AGND if the 3D function is used.
BCFG - Beep Configuration, Input, Pin 31
This pin is the configuration control for the PC_BEEP bypass path. If this pin is grounded, the bypass
path is disabled. If this pin is left floating, the PC_BEEP bypass path is enabled.
CS4297A
Misc. Digital Interfaces
S/PDIF_OUT - Sony/Philips Digital Interface, Output, Pin 48
This pin generates the S/PDIF digital output from the CS4297A when the SPEN bit in the S/PDIF
Control Register (Index 68h) is ‘set’. This output may be used to directly drive a resistive divider and
coupling transformer to an RCA-type connector for use with consumer audio equipment.
This pin is used to control the powerdown state of an audio amplifier external to the CS4297A. The
output is controlled by the EAPD bit in the Powerdown Ctrl/Stat Register (Index 26h). It is driven as a
normal CMOS output and defaults low (‘0’) upon power-up.
44
AC-Link
DS318PP645
CS4297A
RESET# - AC ’97 Chip Reset, Input, Pin 11
This active low signal is the asynchronous Cold Reset input to the CS4297A. The CS4297A must be
reset before it can enter normal operating mode.
SYNC - AC-Link Serial Port Sync pulse, Input, Pin 10
This signal is the serial port timing signal for the AC-link. Its period is the reciprocal of the maximum
sample rate, 48 kHz. The signal is generated by the controller, synchronous to BIT_CLK. SYNC is an
asynchronous input when the CS4297A is configured as a primary audio codec and is in a PR4
powerdown state. A series terminating resistor of 47 Ω should be connected on the signal near the
SYNC source.
BIT_CLK - AC-Link Serial Port Master Clock, Input/Output, Pin 6
This input/output signal controls the master clock timing for the AC-link. In primary mode, this signal is a
12.288 MHz output clock derived from a 24.576 MHz crystal on the XTL_IN input clock. When the
CS4297A is in secondary mode, this signal is an input which controls the AC-link serial interface and
generates all internal clocking including the AC-link serial interface timing and the analog sampling
clocks. A series terminating resistor of 47 Ω should be connected on this signal close to the CS4297A in
primary mode or close to the BIT_CLK source in secondary mode.
CS4297A
SDATA_OUT - AC-Link Serial Data Input Stream to AC ’97, Input, Pin 5
This input signal receives the control information and digital audio output streams. The data is clocked
into the CS4297A on the falling edge of BIT_CLK. A series terminating resistor of 47 Ω should be
connected on this signal near the controller.
SDATA_IN - AC-Link Serial Data Output Stream from AC ’97, Output, Pin 8
This output signal transmits the status information and digital audio input streams from the ADCs. The
data is clocked out of the CS4297A on the rising edge of BIT_CLK. A series terminating resistor of 47 Ω
should be connected on this signal as close to the CS4297A as possible.
Power Supplies
DVdd1, DVdd2 - Digital Supply Voltage, Pins 1 and 9
Digital supply voltage for the AC-link section of the CS4297A. These pins can be tied to +5 V digital or
to +3.3 V digital. The CS4297A and controller AC-link should share a common digital supply
DVss1, DVss2 - Digital Ground, Pins 4 and 7
Digital ground connection for the AC-link section of the CS4297A. These pins should be isolated from
analog ground currents.
AVdd1, AVdd2 - Analog Supply Voltage, Pins 25 and 38
Analog supply voltage for the analog and mixed signal sections of the CS4297A. These pins must be
tied to the analog +5 V power supply. It is strongly recommended that +5 V be generated from a voltage
regulator to ensure proper supply currents and noise immunity from the rest of the system.
AVss1, AVss2 - Analog Ground, Pins 26 and 42
Ground connection for the analog, mixed signal, and substrate sections of the CS4297A. These pins
should be isolated from digital ground currents.
45
10. PARAMETER AND TERM DEFINITIONS
46DS318PP6
CS4297A
AC ’97 Specification
Refers to the Audio Codec ’97 Component Specification Ver 2.1 published by the Intel
AC ’97 Controller or Controller
Refers to the control chip which interfaces to the audio codec AC-link. This has been also called DC ’97
for Digital Controller ’97 [6].
AC ’97 Registers or Codec Registers
Refers to the 64-field register map defined in the AC ’97 Specification.
ADC
Refers to a single Analog-to-Digital converter in the CS4297A. “ADCs” refers to the stereo pair of
Analog-to-Digital converters. The CS4297A ADCs have 18-bit resolution.
Codec
Refers to the chip containing the ADCs, DACs, and analog mixer. In this data sheet, the codec is the
CS4297A.
DAC
CS4297A
®
Corporation [6].
Refers to a single Digital-to-Analog converter in the CS4297A. “DACs” refers to the stereo pair of
Digital-to-Analog converters. The CS4297A DACs have 20-bit resolution.
dB FS A
dB FS is defined as dB relative to full-scale. The “A” indicates an A weighting filter was used.
Differential Nonlinearity
The worst case deviation from the ideal code width. Units in LSB.
Dynamic Range (DR)
DR is the ratio of the RMS full-scale signal level divided by the RMS sum of the noise floor, in the
presence of a signal, available at any instant in time (no change in gain settings between
measurements). Measured over a 20 Hz to 20 kHz bandwidth with units in dB FS A.
FFT
Fast Fourier Transform.
Frequency Response (FR)
FR is the deviation in signal level verses frequency. The 0 dB reference point is 1 kHz. The amplitude
corner, Ac, lists the maximum deviation in amplitude above and below the 1 kHz reference point. The
listed minimum and maximum frequencies are guaranteed to be within the Ac from minimum frequency
to maximum frequency inclusive.
Fs
Sampling Frequency.
Interchannel Gain Mismatch
For the ADCs, the difference in input voltage to get an equal code on both channels. For the DACs, the
difference in output voltages for each channel when both channels are fed the same code. Units are in
dB.
46
Interchannel Isolation
DS318PP647
CS4297A
The amount of 1 kHz signal present on the output of the grounded AC-coupled line input channel with 1
kHz, 0 dB, signal present on the other line input channel. Units are in dB.
Line-level
Refers to a consumer equipment compatible, voltage driven interface. The term implies a low driver
impedance and a minimum 10
Paths
A-D: Analog in, through the ADCs, onto the serial link.
D-A: Serial interface inputs through the DACs to the analog output.
A-A: Analog in to Analog out (analog mixer).
PC 99
kΩ load impedance.
CS4297A
Refers to the PC 99 System Design Guide published by the Microsoft
PLL
Phase Lock Loop. Circuitry for generating a desired clock from an external clock source.
Resolution
The number of bits in the output words to the DACs, and in the input words to the ADCs.
Signal to Noise Ratio (SNR)
SNR, similar to DR, is the ratio of an arbitrary sinusoidal input signal to the RMS sum of the noise floor,
in the presence of a signal. It is measured over a 20 Hz to 20 kHz bandwidth with units in dB.
S/PDIF
Sony/Phillips Digital Interface. This interface was established as a means of digitally interconnecting
consumer audio equipment. The documentation for S/PDIF has been superseded by the IEC-958
consumer digital interface document.
SRC
Sample Rate Converter. Converts data derived at one sample rate to a differing sample rate. The
CS4297A operates at a fixed sample frequency of 48 kHz. The internal sample rate converters are used
to convert digital audio streams playing back at other frequencies to 48 kHz.
®
Corporation [7].
Total Harmonic Distortion plus Noise (THD+N)
THD+N is the ratio of the RMS sum of all non-fundamental frequency components, divided by the RMS
full-scale signal level. It is tested using a -3 dB FS input signal and is measured over a 20 Hz to 20 kHz
bandwidth with units in dB FS.
47
11. REFERENCE DESIGN
48DS318PP6
CS4297A
CS4297A
J4
4
3
LINE OUT
ELEC
+
C15 10uF
ABITCLK
ASDIN
ASYNC
ASDOUT
ARST#
AC LINK
PCI Audio Controller
or ICH Controller
C11
0.1uF
X7R
C10
0.1uF
X7R
+5VA+12V
U1 M C78M05ACDT
C6
10uF
ELEC
+
C5
0.1uF
X7R
3
OUT
GND
2
IN
1
C4
C3
+
+3.3VD
C9
0.1uF
X7R
AGND
0.1uF
X7R
10uF
ELEC
U3
C8
0.1uF
X7R
AGND
R847
R747
36
41
5
6
AVdd2
38
AVdd1
25
42
26
9
1
BIT_CLK
AVss2
AVss1
CS4297A
DVdd2
DVdd1
DVss1
DVss2
4
7
35
11
10
8
SYNC
RESET#
SDATA_IN
SDATA_OUT
LINE_OUT_R
LINE_OUT_L
PC_BEEP
AUX_L
AUX_R
CD_R
CD_GND
12
14
15
18
20
19
DGND
PHONO-1/8
5
2
1
R13
R12
ELEC
+
C17 10uF
37
39
31
MONO_OUT
ALT_LINE_OUT_L
ALT_LINE_OUT_R
LINE_IN_L
LINE_IN_R
MIC1
CD_L
23
24
22
21
AGND
220K
AGND
220K
AGND
J6
TOTX-173
6
5
4
3
1
C18
NPO
1000pF
AGND
C19
NPO
1000pF
AGND
43
44
40
47
45
46
48
nc6
nc7
BCFG
MIC2
nc5
EAPD
ID0#
ID1#
S/PDIF_OUT
XTL_OUT
3
XTL_IN
2
FLTO
FLTI
FLT3D
AFLT2
AFLT1
PHONE
Vrefout
REFFLT
VIDEO_R
VIDEO_L
32
30
29
13
28
27
17
16
C29
1000pF
34
33
C28
0.01uF
C27
1000pF
C26
1000pF
C25
0.1uF
C24
1uF
2
S/PDIF OUT
+5VD
NPO
X7R
NPO
NPO
X7R
Y5V
Y1
DGND
R21
C31
0.1uF
X7R
DGND
C34
22pF
NPO
DGND
24.576 MHz
(50 PPM)
C33
22pF
NPO
DGND
AGND
AGND
Figure 23. CS4297A Reference Design
C23
0.1uF
X7R
60 mil trace
GND_TIE
DGND
Tie at one point only
under the codec
Y5V
C30
C32
10uF
ELEC
+
2
1
PHONO-1/8
AGND
AGND
X7R
C1 0.1uF
C2
2700pF
X7R
R2
6.8K
R1 47K
2
1
J1
PC SPEAKER
IN
C22
1uF
Y5V
R19 1.5K
R18 2.2K
4
J7
MIC IN
1uF
R20 100
5
3
1uF
1uF
1uF
Y5V
1uF
Y5V
C7
AGND
R3 6. 8K
AGND
DGND
2X1HDR-SN/PB
AUX IN
C12
R4 6. 8K
J2
R6 6. 8K
R5 6. 8K
2
1
3
4
1uF
Y5V
C13
R9 100K
AGND
AGND
4X1HDR-AU
CD IN
1uF
Y5V
1uF
Y5V
C16
C14
R10 100K
R11 100K
2
1
3
4
J3
4X1HDR-AU
Y5V
C20
R14 6.8K
AGND
4
J5
LINE IN
Y5V
C21
R16 6.8K
R15 6.8K
2
1
5
3
PHONO-1/8
+5VA
R17 6.8K
AGND
AGND
48
12. REFERENCES
DS318PP649
CS4297A
1) Cirrus Logic, Audio Quality Measurement Specification, Version 1.0, 1997