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.
16
Loading...
+ 36 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.