Cirrus-logic CS4202 User Manual

Browse online or download User Manual for Hardware Cirrus-logic CS4202. Cirrus Logic CS4202 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 66
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Preliminary Product Information
This document contains information for a new product.
Cirrus Logic reserves the right to modify this product without notice.
1
Copyright © Cirrus Logic, Inc. 2005
(All Rights Reserved)
http://www.cirrus.com
CS4202
Audio Codec ’97 with Headphone Amplifier
Features
! AC ’97 2.2 Compliant
! Exceeds the Microsoft
®
PC 2001 Audio
Performance Requirements
! Integrated High-Performance Headphone
Amplifier
! On-chip PLL for use with External Clock
Sources
! Integrated High-Performance Microphone
Pre-Amplifier
! Automatic Jack Sense through GPIO
! BIOS-Driver Interface for Audio Feature
Configuration through Software
! S/PDIF Digital Audio Output
! I
2
S Serial Digital Outputs Enable Cost
Effective Six Channel Applications
! Independent Simultaneous S/PDIF and Six
Channel Audio Playback
! 20-bit Stereo Digital-to-Analog Converters
! 18-bit Stereo Analog-to-Digital Converters
! Sample Rate Converters
! Three Analog Line-level Stereo Inputs
! High Quality Pseudo-Differential CD Input
! Two Analog Line-level Mono Inputs
! Dual Microphone Inputs
! Stereo and Mono Line-level Outputs
! Extensive Power Management Support
Description
The CS4202 is an AC ’97 2.2 compliant stereo audio co-
dec designed for PC multimedia systems. It uses
industry leading delta-sigma and mixed signal technolo-
gy. This advanced technology and these features are
designed to help enable the design of PC 99 and
PC 2001 compliant high-quality audio systems for desk-
top, portable, and entertainment PCs.
Coupling the CS4202 with a PCI audio accelerator or
core logic supporting the AC ’97 interface implements a
cost effective, superior quality audio solution. The
CS4202 surpasses PC 99, PC 2001, and AC ’97 2.2 au-
dio quality standards.
ORDERING INFO
CS4202-JQZ, Lead Free 48-pin TQFP 9x9x1.4 mm
AC '97
REGISTERS
LINE
CD
AUX
VIDEO
MIC1
MIC2
PHONE
PC_BEEP
LINE_OUT
HP_OUT
MONO_OUT
ANALOG INPUT MUX
AND OUTPUT MIXER
AC-LINK AND AC '97
REGISTERS
PCM_DATA
GAIN / MUTE CONTROLS
INPUT
MUX
Σ
OUTPUT
MIXER
MIXER / MUX SELECTS
AC-
LINK
PWR
MGT
TEST
SYNC
BIT_CLK
SDATA_OUT
SDATA_IN
RESET#
PCM_DATA
SRC
SRC
ID0#
ID1#
GPIO, S/PDIF
SERIAL DATA PORT
EAPD
SPDIF_OUT
GPIO[4:0]
SDOUT,LRCLK,SCLK
18 bit
ADC
20 bit
DAC
Σ
INPUT
MIXER
JULY '05
DS549PP2
Page view 0
1 2 3 4 5 6 ... 65 66

Summary of Contents

Page 1 - Description

Preliminary Product InformationThis document contains information for a new product.Cirrus Logic reserves the right to modify this product without not

Page 2 - TABLE OF CONTENTS

CS420210 DS549PP2BIT_CLKTrst_lowTrst2clkTvdd2rst#VddRESET#Figure 1. Power Up TimingFigure 2. Codec Ready from Start-up or Fault ConditionBIT_CLKTsyn

Page 3

CS4202DS549PP2 11BIT_CLKTisetupTiholdTcoSDATA_OUT,SYNCSDATA_INFigure 4. Data Setup and HoldBIT_CLKTs2_pdownSDATA_INSDATA_OUTSYNCWrite to 0x20 Data PR

Page 4 - LIST OF FIGURES

CS420212 DS549PP22. GENERAL DESCRIPTIONThe CS4202 is a mixed-signal serial audio codecwith integrated headphone power amplifier com-pliant with the In

Page 5 - LIST OF TABLES

CS4202DS549PP2 132.2 Control RegistersThe CS4202 contains a set of AC ’97 compliantcontrol registers, and a set of Cirrus Logic definedcontrol registe

Page 6

CS420214 DS549PP2VOLMUTEVOLMUTEVOLMUTEVOL VOLMUTEVOL VOL VOLMUTEBOOSTΣΣ1/2OUTPUTBUFFERHEADPHONEAMPLIFIEROUTPUTBUFFERVOL VOLADCINPUTMUXVOLADCMUTEPCM_OU

Page 7 - MIXER CHARACTERISTICS

CS4202DS549PP2 153. AC-LINK FRAME DEFINITIONThe AC-link is a bi-directional serial port with dataorganized into frames consisting of one 16-bit andtwe

Page 8

CS420216 DS549PP23.1 AC-Link Serial Data Output FrameIn the serial data output frame, data is passed on the SDATA_OUT pin to the CS4202 from the AC ’9

Page 9 -

CS4202DS549PP2 173.1.3 Command Data Port (Slot 2)WD[15:0] Write Data. The WD[15:0] bits contain the 16-bit value to be written to the register. If an

Page 10 - Figure 3. Clocks

CS420218 DS549PP23.2 AC-Link Serial Data Input FrameIn the serial data input frame, data is passed on the SDATA_IN pin from the CS4202 to the AC ’97 c

Page 11 - Figure 6. Test Mode

CS4202DS549PP2 193.2.3 Status Data Port (Slot 2)RD[15:0] Read Data. The RD[15:0] bits contain the register data requested by the controller from the p

Page 12 - 2.1 AC-Link

CS42022 DS549PP2 TABLE OF CONTENTS1. CHARACTERISTICS AND SPECIFICATIONS ... 7ANA

Page 13 - 2.6 Volume Control

CS420220 DS549PP23.3 AC-Link Protocol Violation - Loss of SYNCThe CS4202 is designed to handle SYNC protocolviolations. The following are situations w

Page 14 - 14 DS549PP2

CS4202DS549PP2 214. REGISTER INTERFACE Reg Register Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Default00hReset 0 0 0 0 0 0 0 ID8 ID7

Page 15 - 3. AC-LINK FRAME DEFINITION

CS420222 DS549PP24.1 Reset Register (Index 00h) ID8 18-bit ADC Resolution. The ID8 bit is ‘set’, indicating this feature is present.ID7 20-bit DAC res

Page 16

CS4202DS549PP2 234.3 Mono Volume Register (Index 06h)Mute Mono Mute. Setting this bit mutes the MONO_OUT output signal. MM[5:0] Mono Volume Control. T

Page 17

CS420224 DS549PP24.6 Microphone Volume Register (Index 0Eh)Mute Microphone Mute. Setting this bit mutes the MIC1 or MIC2 signal. The selection of the

Page 18

CS4202DS549PP2 254.7 Analog Mixer Input Gain Registers (Index 10h - 18h)Mute Stereo Input Mute. Setting this bit mutes the respective input signal, bo

Page 19

CS420226 DS549PP24.8 Input Mux Select Register (Index 1Ah)SL[2:0] Left Channel Source. The SL[2:0] bits select the left channel source to pass to the

Page 20 - 20 DS549PP2

CS4202DS549PP2 274.9 Record Gain Register (Index 1Ch) Mute Record Gain Mute. Setting this bit mutes the input to the L/R ADCs.GL[3:0] Left ADC Gain. T

Page 21 - 4. REGISTER INTERFACE

CS420228 DS549PP24.10 General Purpose Register (Index 20h) MIX Mono Output Path. This bit controls the source of the mono output driver. When ‘cle

Page 22 - Mute 0 ML5

CS4202DS549PP2 294.11 Powerdown Control/Status Register (Index 26h)EAPD External Amplifier Power Down. The EAPD pin follows this bit and is generally

Page 23

CS4202DS549PP2 34.4 PC_BEEP Volume Register (Index 0Ah)... 244.5 Phone Volume R

Page 24

CS420230 DS549PP24.12 Extended Audio ID Register (Index 28h)ID[1:0] Codec ID. These bits indicate the current codec configuration. When ID[1:0] = 00,

Page 25

CS4202DS549PP2 314.13 Extended Audio Status/Control Register (Index 2Ah)SPCV S/PDIF Configuration Valid. This read-only bit indicates the status of th

Page 26 - 00000SL2SL1SL000000SR2SR1SR0

CS420232 DS549PP24.14 Audio Sample Rate Control Registers (Index 2Ch - 32h) SR[15:0] Sample Rate Select. The Audio Sample Rate Control Registers (Inde

Page 27

CS4202DS549PP2 334.15 S/PDIF Control Register (Index 3Ah)V Validity. The V bit is mapped to the V bit (bit 28) of every sub-frame. If this bit is ‘cle

Page 28 - 000000MIXMSLPBK0000000

CS420234 DS549PP24.16 Extended Modem ID Register (Index 3Ch) ID[1:0] Codec ID. These bits indicate the current codec configuration. When ID[1:0] = 00,

Page 29

CS4202DS549PP2 354.19 GPIO Pin Polarity/Type Configuration Register (Index 4Eh) GP[4:0] GPIO Pin Configuration. This register defines the GPIO input p

Page 30

CS420236 DS549PP24.21 GPIO Pin Wakeup Mask Register (Index 52h) GW[4:0] GPIO Pin Wakeup. This register provides a mask for determining if an input GPI

Page 31

CS4202DS549PP2 37from the ADC output.TMM True Mono Mode. The TMM bit controls the source of the stereo-to-mono mixer that feeds into the mono out sele

Page 32

CS420238 DS549PP24.24 Misc. Crystal Control Register (Index 60h)DPC DAC Phase Control. This bit controls the phase of the PCM stream sent to the DACs

Page 33

CS4202DS549PP2 394.25 Serial Port Control Register (Index 6Ah)SDEN Serial Data Output Enable. The SDEN bit enables transmission of serial data on the

Page 34

CS42024 DS549PP210.4 Power Supplies ... 531

Page 35 - 00000000000GS4GS3GS2GS1GS0

CS420240 DS549PP24.26 BIOS-Driver Interface Control Registers (Index 70h - 72h)E[15:0] Event Configuration. The E[15:0] bits control the BIOS-Driver I

Page 36

CS4202DS549PP2 414.28 Vendor ID1 Register (Index 7Ch)F[7:0] First Character of Vendor ID. With a value of F[7:0] = 43h, these bits define the ASCII ‘C

Page 37

CS420242 DS549PP25. SERIAL DATA PORTS5.1 OverviewThe CS4202 implements two serial data outputports that can be used for multi-channel expansion.Each s

Page 38

CS4202DS549PP2 435.3 Serial Data FormatsIn order to support a wide variety of serial audioDACs, the CS4202 can transmit serial data in fourdifferent f

Page 39

CS420244 DS549PP26. SONY/PHILIPS DIGITAL INTERFACE (S/PDIF)The S/PDIF digital output is used to interface theCS4202 to consumer audio equipment extern

Page 40

CS4202DS549PP2 458. POWER MANAGEMENT8.1 AC ’97 Reset ModesThe CS4202 supports four reset methods, as de-fined in the AC ’97 Specification: Cold Reset,

Page 41

CS420246 DS549PP28.2 Powerdown ControlsThe Powerdown Control/Status Register(Index 26h) controls the power management func-tions. The PR[6:0] bits in

Page 42 - 5.2 Multi-Channel Expansion

CS4202DS549PP2 47PR Bit ADCs DACs MixerAnalog ReferenceACLinkInternal Clock Off HeadphonePR0•PR1 •PR2 ••• •PR3 ••• • •PR4 •PR5 •• •PR6 •Table 16. Powe

Page 43 - 5.3 Serial Data Formats

CS420248 DS549PP29. CLOCKINGThe CS4202 may be operated as a primary or sec-ondary codec. As a primary codec, the system clockfor the AC-link may be ge

Page 44 - 7. EXCLUSIVE FUNCTIONS

CS4202DS549PP2 4922 pF 22 pF24.576 MHzDGNDXTL_OUTXTL_INFigure 17. External Crystal External Clock on XTL_INID1# ID0#AC-Link Timing ModeCodec IDClock

Page 45 - DS549PP2 45

CS4202DS549PP2 5LIST OF TABLESTable 1. Register Overview for the CS4202 ...22Table 2

Page 46 - 8.2 Powerdown Controls

CS420250 DS549PP210.ANALOG HARDWARE DESCRIPTIONThe analog input section consists of four stereoline-level inputs (LINE_L/R, CD_L/C/R,VIDEO_L/R, and AU

Page 47 - + DVdd/Rload/2

CS4202DS549PP2 51Mic Volume Register (Index 0Eh) the pre-amplifiergain can be set to 0 dB, 10 dB, 20 dB, or 30 dB. 10.1.4 PC Beep Input The PC_BEEP i

Page 48 - 9.3 Secondary Codec Operation

CS420252 DS549PP2the part behaves as specified in AC ’97. As shown inFigure 24, if the HPCFG pin is grounded, the part be-haves as if HP_OUT was the o

Page 49 - 24.576 MHz

CS4202DS549PP2 53digital supply as the controller’s AC-link interface.Since the digital interface on the CS4202 may oper-ate at either +3.3 V or +5 V,

Page 50 - CD Input

CS420254 DS549PP211. GROUNDING AND LAYOUTFigure 26 on page 55 shows the conceptual layoutfor the CS4202 in XTAL or OSC clocking modes.The decoupling c

Page 51 - 10.2.1 Stereo Outputs

CS4202DS549PP2 55 AnalogGroundPin 10.1 µF1000 pFNPO2.2µF0.1 µFY5V0.1 µFY5VY5V0.1 µFY5VAVdd2AVAFLT2REFFLTAVss1AVdd1AFLT1Via to +5VD or +3.3VDVia to +5V

Page 52 - 10.4 Power Supplies

CS420256 DS549PP212. PIN DESCRIPTIONS CS4202 48-pinPackage Layout36 35 34 33 32 31 30 29 28 27 26 251314151617181920212223241 2 3 4 5 6 7 8 9 10 11

Page 53 - 10.5 Reference Design

CS4202DS549PP2 57Audio I/O PinsPC_BEEP - Analog Mono Source, Input, Pin 12The PC_BEEP input is intended to allow the PC system POST (Power On Self-Tes

Page 54 - 11. GROUNDING AND LAYOUT

CS420258 DS549PP2VIDEO_L, VIDEO_R - Analog Video Audio Source, Inputs, Pins 16 and 17These inputs form a stereo input pair to the CS4202. It is intend

Page 55 - DS549PP2 55

CS4202DS549PP2 59AFLT1 - Left ADC Channel Antialiasing Filter, Input, Pin 29This pin needs a 1000 pF NPO capacitor connected to analog ground.AFLT2 -

Page 56 - Package Layout

CS42026 DS549PP21. CHARACTERISTICS AND SPECIFICATIONSANALOG CHARACTERISTICS (Standard test conditions unless otherwise noted: Tambient = 25° C, AVdd =

Page 57 - Audio I/O Pins

CS420260 DS549PP2Clock and Configuration PinsXTL_IN - Crystal Input / Clock Input, Pin 2This pin requires either a 24.576 MHz crystal, with the other

Page 58

CS4202DS549PP2 61GPIO2 - General Purpose I/O, Input/Output, Pin 32This pin is a general purpose I/O pin that can be used to interface with various ext

Page 59 - AC-Link Pins

CS420262 DS549PP213.PARAMETER AND TERM DEFINITIONSAC ’97 SpecificationRefers to the Audio Codec ’97 Component Specification Ver 2.2 published by the I

Page 60 - Misc. Digital Interface Pins

CS4202DS549PP2 63Interchannel IsolationThe amount of 1 kHz signal present on the output of the grounded AC-coupled line input channel with 1kHz, 0 dB,

Page 61 - Power Supply Pins

CS420264 DS549PP214.REFERENCE DESIGN R186.8KC23 1uFY5VR14 6.8KC3122pFNPOC22 1uFY5VC3222pFNPOJ112R11 6.8KR4 220KJ443521C252.2uFY5VC310uFELEC+R9 47

Page 62

CS4202DS549PP2 6515.REFERENCES1) Cirrus Logic, Audio Quality Measurement Specification, Version 1.0, 1997http://www.cirrus.com/products/papers/meas/me

Page 63

CS420266 DS549PP216.PACKAGE DIMENSIONSINCHES MILLIMETERSDIM MIN NOM MAX MIN NOM MAXA --- 0.055 0.063 --- 1.40 1.60A1 0.002 0.004 0.006 0.05 0.10 0.15B

Page 64 - 14.REFERENCE DESIGN

CS4202DS549PP2 7ANALOG CHARACTERISTICS (Continued) MIXER CHARACTERISTICS ABSOLUTE MAXIMUM RATINGS (AVss1 = AVss2 = DVss1 = DVss2 = 0 V)RECO

Page 65 - 15.REFERENCES

CS42028 DS549PP2DIGITAL CHARACTERISTICS (AVss1 = AVss2 = DVss1 = DVss2 = 0 V) Parameter Symbol Min Typ Max UnitDVdd = 3.3VLow level input voltage V

Page 66 - 48L LQFP PACKAGE DRAWING

CS4202DS549PP2 9AC ’97 SERIAL PORT TIMING Standard test conditions unless otherwise noted: Tambient = 25° C, AVdd = 5.0 V, DVdd = 3.3 V; CL = 55 pF lo

Comments to this Manuals

No comments