CS4299-KQ Cirrus Logic, CS4299-KQ Datasheet

no-image

CS4299-KQ

Manufacturer Part Number
CS4299-KQ
Description
CrystalClear SoundFusion Audio Codec 97
Manufacturer
Cirrus Logic
Datasheet
Features
l
l
l
l
l
l
l
l
l
l
l
Preliminary Product Information
P.O. Box 17847, Austin, Texas 78760
(512) 445 7222 FAX: (512) 445 7581
http://www.cirrus.com
AC ’97 2.1 Compatible
Industry Leading Mixed Signal Technology
20-bit Stereo Digital-to-Analog Converters
18-bit Stereo Analog-to-Digital Converters
Sample Rate Converters
Four Analog Line-level Stereo Inputs for
LINE_IN, CD, VIDEO, and AUX
Two Analog Line-level Mono Inputs for
Modem and Internal PC Beep
Dual Stereo Line-level Outputs for
LINE_OUT and ALT_LINE_OUT
Dual Microphone Inputs
High Quality Pseudo-Differential CD Input
Extensive Power Management Support
SDATA_OUT
SDATA_IN
BIT_CLK
RESET#
SYNC
CrystalClear
AC-LINK AND AC’97
REGISTERS
REGISTERS
S/PDIF
AC’97
PWR
MGT
LINK
AC-
SoundFusion
GAIN / MUTE CONTROLS
This document contains information for a new product.
Cirrus Logic reserves the right to modify this product without notice.
SRC
SRC
MIXER / MUX SELECTS
PCM_DATA
PCM_DATA
Copyright  Cirrus Logic, Inc. 2001
l
l
l
Description
The CS4299 is an AC ’97 2.1 compatible stereo audio
codec designed for PC multimedia systems. Using the
industry leading CrystalClear
signal technology, the CS4299 enables the design of
PC 99-compliant desktop, portable, and entertainment
PCs.
Coupling the CS4299 with a PCI audio accelerator or
core logic supporting the AC ’97 interface, implements a
cost effective, superior quality, audio solution. The
CS4299 surpasses PC 99 and AC ’97 2.1 audio quality
standards.
ORDERING INFO
Meets or Exceeds the Microsoft
Audio Performance Requirements
S/PDIF Digital Audio Output
CrystalClear
(All Rights Reserved)
CS4299-KQ
CS4299-JQ
Audio Codec ’97
ANALOG INPUT MUX
AND OUTPUT MIXER
20 bits
18 bits
DAC
ADC
3D Stereo Enhancement
48-pin TQFP
48-pin TQFP
OUTPUT
INPUT
MIXER
MUX
Σ
delta-sigma and mixed
CS4299
9x9x1.4 mm
9x9x1.4 mm
LINE
CD
AUX
VIDEO
MIC1
MIC2
PHONE
PC_BEEP
LINE_OUT
ALT_LINE_OUT
MONO_OUT
PC 99
DS319PP5
JUN ‘01
1

Related parts for CS4299-KQ

CS4299-KQ Summary of contents

Page 1

... Coupling the CS4299 with a PCI audio accelerator or core logic supporting the AC ’97 interface, implements a cost effective, superior quality, audio solution. The CS4299 surpasses PC 99 and AC ’97 2.1 audio quality standards. ORDERING INFO CS4299-KQ CS4299-JQ ANALOG INPUT MUX AND OUTPUT MIXER SRC PCM_DATA ...

Page 2

... 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 CS4299 ...

Page 3

... Figure 2. Codec Ready from Startup or Fault Condition ........................................................... 8 Figure 3. Clocks ........................................................................................................................ 8 Figure 4. Data Setup and Hold.................................................................................................. 9 Figure 5. PR4 Powerdown and Warm Reset ............................................................................ 9 Figure 6. Test Mode .................................................................................................................. 9 Figure 7. AC-link Connections ................................................................................................ 10 Figure 8. Mixer Diagram.......................................................................................................... 12 Figure 9. AC-link Input and Output Framing ........................................................................... 13 Figure 10. Line Input (Replicate for Video and Aux) ...............................................................35 ........................................................28 CS4299 41 3 ...

Page 4

... Table 4. Analog Mixer Input Gain Values................................................................................24 Table 5. Stereo Volume Register Index ..................................................................................24 Table 6. Input Mux Selection...................................................................................................25 Table 7. Slot Mapping ............................................................................................................29 Table 8. Device ID with Corresponding Part Number .............................................................31 Table 9. Revision Values.........................................................................................................31 Table 10. Powerdown PR Bit Functions..................................................................................33 Table 11. Powerdown PR Function Matrix ..............................................................................34 Table 12. Power Consumption by Powerdown Mode .............................................................34 4 CS4299 ...

Page 5

... Parameter definitions are given in the Section 10, Parameter and Term Definitions. 3. Path refers to the signal path used to generate this data. These paths are defined in the Section 10, Parameter and Term Definitions. 4. This specification is guaranteed by silicon characterization not production tested. Standard test conditions unless otherwise noted: T CS4299-KQ Symbol Path Min (Note 3) A-D ...

Page 6

... Supply Pins) (Power Applied) (AVss1 = AVss2 = DVss1 = DVss2 = 0 V) Symbol +3.3 V Digital DVdd1, DVdd2 +5 V Digital DVdd1, DVdd2 Analog AVdd1, AVdd2 (AVss = DVss = 0 V) Symbol Min 0.65 x DVdd ih V 0.90 x DVdd 0.99 x DVdd -10 -10 - (Note 4) - CS4299 Min Typ Max - 3.0 - Min Typ Max -0.3 - 6.0 -0.3 - 6.0 -0 ...

Page 7

... T clk_low F sync T sync_period T sync_high T sync_low isetup T ihold T irise T ifall (Note 4) T orise (Note 4) T ofall T s2_pdown T 1.0 sync_pr4 T 162.8 sync2clk setup2rst (Note 4) T off CS4299 = 25° C, ambient Typ Max Unit µ µs - 40.0 - µs - 62.5 - µ 12.288 - MHz - 81 750 40.7 45 ...

Page 8

... BIT_CLK RESET# Vdd BIT_CLK SYNC CODEC_READY Figure 2. Codec Ready from Startup or Fault Condition BIT_CLK T orise SYNC T irise 8 T rst_low T vdd2rst# Figure 1. Power Up Timing T sync2crd clk_high clk_low clk_period T ifall T T sync_high sync_low T sync_period Figure 3. Clocks CS4299 T rst2clk T ifall ...

Page 9

... Slot 1 SDATA_OUT Write to 0x20 SDATA_IN SYNC RESET# SDATA_OUT, SYNC SDATA_IN, BIT_CLK isetup Figure 4. Data Setup and Hold Slot 2 Data PR4 Don’t Care T s2_pdown Figure 5. PR4 Powerdown and Warm Reset T setup2rst T off Figure 6. Test Mode CS4299 T ihold T T sync_pr4 sync2clk Hi-Z 9 ...

Page 10

... During each au- dio frame, data is passed bi-directionally between the CS4299 and the controller. The input frame is driven from the CS4299 on the SDATA_IN line. The output frame is driven from the controller on the SDATA_OUT line ...

Page 11

... In addition, the Intel (ICHx) specification requires support for five more audio rates (8, 11.025, 16, 22.05, and 32). The CS4299 supports all these rate, as shown in Table 7 on page 29. 2.4 Output Mixer The CS4299 has two output mixers, illustrated in Figure 8 ...

Page 12

... ANALOG STEREO 3D OUTPUT OUTPUT MIXER MIXER STEREO TO MONO MIXER Σ 1/2 Σ STEREO TO MONO MIXER 1/2 Figure 8. Mixer Diagram CS4299 BYPASS BUFFER DAC DIRECT MASTER MODE VOLUME OUTPUT MUTE BUFFER ALT LINE VOLUME OUTPUT MUTE BUFFER MONO OUT MONO SELECT ...

Page 13

... The first slot, called the tag slot, contains bits indicating if the CS4299 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 ...

Page 14

... AC-Link Serial Data Output Frame In the serial data output frame, data is passed on the SDATA_OUT pin to the CS4299 from the AC ’97 controller. Figure 9 illustrates the serial port timing. The PCM playback data being passed to the CS4299 is shifted out MSB first in the most significant bits of each slot. Any PCM data from the AC ’ ...

Page 15

... 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 CS4299. All registers are defined at word addressable boundaries. The RI0 bit must be ‘clear’ to access CS4299 registers. 3.1.3 Command Data Port (Slot 2) ...

Page 16

... AC-Link Audio Input Frame In the serial data input frame, data is passed on the SDATA_IN pin from the CS4299 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 illus- trates the serial port timing. ...

Page 17

... 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 Reg- ister (Index 5Eh). The definition of each slot can be found in Table 8 on page 30 CS4299 Reserved ...

Page 18

... SYNC assertion. Upon loss of synchronization with the controller, the CS4299 will ‘clear’ the Codec Ready bit in the serial data input frame until two valid frames are detected. During this detection period, the CS4299 will ignore all register reads and writes and will discontinue the transmission of PCM capture data ...

Page 19

... Fs L CC6 CC5 CC4 CC3 CC2 CC1 CC0 Table 1. Mixer Registers CS4299 Default 0 0 ID4 MR5 MR4 MR3 MR2 MR1 MR0 0 MR5 MR4 MR3 MR2 MR1 MR0 0 MM5 MM4 MM3 MM2 MM1 MM0 ...

Page 20

... 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 CS4299. 4.2 Master Volume Register (Index 02h) ...

Page 21

... Level 000000 000000 0 dB 000001 000001 -1.5 dB … … ... 011111 011111 -46.5 dB 100000 011111 -46.5 dB ... ... ... 111111 011111 -46.5 dB Table 2. Analog Mixer Output Attenuation D10 CS4299 MR5 MR4 MR3 MR2 MR1 MM5 MM4 MM3 MM2 MM1 D0 MR0 D0 MM0 21 ...

Page 22

... The total range is + -34.5 dB gain. See Table 4 on page 24 for further details. Default 8008h. This value corresponds gain and Mute ‘set’. 22 D10 D10 CS4299 PV3 PV2 PV1 PV0 GN4 GN3 GN2 GN1 ...

Page 23

... This value corresponds gain and Mute ‘set’. D10 20dB Gain Level GN[4:0] 20dB = 0 20dB = 1 00000 +12.0 dB +32.0 dB 00001 +10.5 dB +30.5 dB … … ... 00111 +1.5 dB +21.5 dB 01000 0.0 dB +20.0 dB 01001 -1.5 dB +18.5 dB … … ... 11111 -34.5 dB -14.5 dB Table 3. Microphone Input Gain Values CS4299 GN4 GN3 GN2 GN1 D0 GN0 23 ...

Page 24

... Table 4. Analog Mixer Input Gain Values Register Index Function 10h Line In Volume 12h CD Volume 14h Video Volume 16h Aux Volume 18h PCM Out Volume Table 5. Stereo Volume Register Index CS4299 GR4 GR3 GR2 GR1 D0 GR0 ...

Page 25

... Video Input 011 Aux Input 100 Line Input 101 Stereo Mix 110 Mono Mix 111 Phone Input Table 6. Input Mux Selection D10 GL2 GL1 GL0 0 0 CS4299 SR2 SR1 GR3 GR2 GR1 D0 ...

Page 26

... General Purpose Register (Index 20h). Default 0000h. This value corresponds to minimum spatial enhancement added to the output signal. 26 D10 MIX MS LPBK 0 D10 CS4299 stereo enhancement. This ...

Page 27

... The REF, ANL, DAC, and ADC bits are read-only status bits which, when ‘set’, indicate that a particular sec- tion of the CS4299 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 ...

Page 28

... Slot Request bits for the currently active DAC slots will be fixed at ‘0’. Default 0000h 28 D10 AMAP D10 CS4299 VRA D0 VRA ...

Page 29

... BB80 Bh, Ch, Dh, Eh Table 7. Standard Sample Rates D10 SR9 SR8 SR7 SR6 SR5 SR4 SR3 SR2 SR[15:12 SR5 SR4 SR3 SR2 CS4299 D1 D0 SR1 SR0 D1 D0 SR1 SR0 29 ...

Page 30

... Loss of SYNC Mute Enable. The LOSM bit controls the loss of SYNC mute function. If this bit is ‘set’, the CS4299 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 CS4299 ex- pects to sample SYNC ‘ ...

Page 31

... 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 CS4299. The Fs bit is merely an indicator to the S/PDIF receiver. L Generation Status. The L bit is mapped to bit 15 of the channel status block. For category codes 001xxxx, 0111xxx and 100xxxx, a value of ‘ ...

Page 32

... 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] = 011, these bits specify the audio codec is a CS4299. REV[2:0] Revision. With a value of REV[2:0] = 001, these bits specify the audio codec revision is ‘A’. ...

Page 33

... 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 CS4299 registers will be reset to their de- fault power-on states and the BIT_CLK and SDATA_IN signals will be reactivated. 5.1.2 Warm AC ’ ...

Page 34

... The PR[6:0] bits in this register control the internal powerdown states of the CS4299. Power- down control is available for individual subsections of the CS4299 by asserting any PRx bit or any com- bination of PRx bits. Most powerdown states can be resumed by clearing the corresponding PRx bit. Table 11 shows the mapping of the power control bits to the functions they manage. When PR0 is ‘ ...

Page 35

... Ohm, DVdd = 3.3 V) (Rload = 415 Ohm, DVdd = 5 V). General DVdd/Rload/2 DVdd S/PDIF DVdd Alternate Analog Line Out Reference Link • • • • • • I (mA) I (mA) DVdd DVdd I [DVdd=5 V] 29.1 50.2 30.1 49.4 24.5 43.4 21.0 38.1 22.1 39.6 22.1 39.9 18.9 34.8 19.3 35.5 11 µA 27 µA 24.5 43.4 11 µA 27 µA CS4299 AC Internal Clock Off • • • (mA) AVdd 37.9 37.9 37.9 29.0 31.3 10.7 45 µA 37.9 45 µA 36.2 450 µA 35 ...

Page 36

... Figure 10 shows circuitry for a line-level stereo in- put. Replicate this circuit for the Line, Video and Aux inputs. This design attenuates the input by 6 dB, bringing the signal from the PC 99 specified the CS4299 maximum allowed 1 V RMS 6.1.2 CD Input The CD line-level input has an extra pin, CD_GND, providing a pseudo-differential input for both CD_L and CD_R ...

Page 37

... The design also sup- ports the recommended advanced frequency re- sponse for voice recognition as specified in PC 99. Note the microphone input to the CS4299 has an integrated pre-amplifier. Using the 20dB bit in the Microphone Volume Register (Index 0Eh) the pre-amplifier gain can be set dB. ...

Page 38

... Figure 16 shows a design for a modem connection where the output is fed from the CS4299 MONO_OUT pin through a divider. The divider ratio shown does not attenuate the signal, providing an output voltage output voltage is desired, the resistors can be re- placed with appropriate values, as long as the total load on the output is kept greater than 10 kΩ ...

Page 39

... The analog power pins, AVdd1 and AVdd2, supply power to all the analog circuitry on the CS4299. The +5 V analog supply should be generated from a linear voltage regulator (7805 type) connected to a +12 V supply. This helps iso- late the analog circuitry from noise typically found digital supplies ...

Page 40

... CS4299 ground potential and de- grading performance. The digital ground pins should be connected to the digital ground plane and kept separate from the analog ground connections of the CS4299 and any other external analog cir- R S/PDIF_OUT 1 SPDO/SDO2 DVdd 3 ...

Page 41

... Via to +5VA 0.1 µF Y5V AVdd2 Via to Analog Ground AVss2 Digital Ground Pin 1 0.1 µF DVdd1 Y5V Via to +5VD or +3.3VD Figure 21. Conceptual Layout for the CS4299 Vrefout to via 1000 pF NPO 1 µF AFLT1 AVss1 AVdd1 AFLT2 REFFLT Via to Analog Ground Analog Ground Via to Digital Ground ...

Page 42

... DVss2 SDATA_IN DVdd2 SYNC RESET# PC_BEEP Figure 22. Pin Locations for the CS4299 CS4299 LINE_OUT_R 36 LINE_OUT_L 35 FLTO 34 FLTI 33 FLT3D 32 BPCFG 31 AFLT2 30 AFLT1 29 Vrefout 28 REFFLT ...

Page 43

... 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 CS4299 intended to be used for the Red Book CD audio connection to the audio subsystem. The maximum allowable input inputs are internally biased at the Vrefout voltage reference and require AC-coupling to external circuitry ...

Page 44

... 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 CS4299 is the primary codec. If either or both pins are tied to ground the CS4299 is a secondary codec. ...

Page 45

... Analog Reference, Filters, and Configuration REFFLT - Internal Reference Voltage, Input, Pin 27 This signal is the voltage reference used internal to the CS4299. 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. ...

Page 46

... Power Supplies DVdd1, DVdd2 - Digital Supply Voltage, Pins 1 and 9 Digital supply voltage for the AC-link section of the CS4299. These pins can be tied digital or to +3.3 V digital. The CS4299 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 CS4299 ...

Page 47

... Refers to the chip containing the ADCs, DACs, and analog mixer. In this data sheet, the codec is the CS4299. DAC Refers to a single Digital-to-Analog converter in the CS4299. “DACs” refers to the stereo pair of Digital-to-Analog converters. The CS4299 DACs have 20-bit resolution defined as dB relative to full-scale. The “ ...

Page 48

... SRC Sample Rate Converter. Converts data derived at one sample rate to a differing sample rate. The CS4299 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. 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 ...

Page 49

... REFERENCE DESIGN GND AVdd2 38 AVdd1 25 AVss2 42 AVss1 26 DVdd2 9 DVdd1 1 XTL_OUT 3 XTL_IN 2 FLTO 34 FLTI 33 CS4299 49 ...

Page 50

... Version 6.0, February 1998 3) Cirrus Logic, AN22: Overview of Digital Audio Interface Data Structures, Version 2.0, February 1998 4) Cirrus Logic, AN134: AES and S/PDIF Recommended Transformers, Version 2, April 1999 5) Cirrus Logic, AN165: CS4297A/CS4299 EMI Reduction Techniques, Version 1.0, September 1999 ® 6) Intel , Audio Codec ’97 Component Specification, Revision 2.1, May 1998 http://developer.intel.com/ial/scalableplatforms/audio/index.htm ® ...

Page 51

... JEDEC Designation: MS022 ∝ L INCHES NOM MAX 0.055 0.063 0.004 0.006 0.009 0.011 0.354 0.366 0.28 0.280 0.354 0.366 0.28 0.280 0.020 0.024 0.24 0.030 4° 7.000° CS4299 A A1 MILLIMETERS MIN NOM MAX --- 1.40 0.05 0.10 0.17 0.22 8.70 9.0 BSC 6.90 7.0 BSC 8.70 9.0 BSC 6.90 7.0 BSC 0.40 0.50 BSC 0.45 0.60 0.00° 4° 7.00° 1.60 0.15 0.27 9 ...

Page 52

...

Related keywords