–0.5 dB Step Size
–Zero Crossing, Click-Free Transitions
Popguard
–Minimizes the Effects of Output Transients
Filtered Line-Level Outputs
Selectable Serial Audio Interface Formats
–Left-Justified up to 24-bit
–I²S up to 24-bit
–Right-Justified 16-, 18-, 20-, and 24-bit
Selectable 50/15 µs De-Emphasis
®
Technology
A/D Features
Multi-Bit Delta Sigma Modulator
104 dB Dynamic Range
-95 dB THD+N
Stereo 2:1 Input Multiplexer
Programmable Gain Amplifier (PGA)
–± 12 dB Gain, 0.5 dB Step Size
–Zero Crossing, Click-Free Transitions
Pseudo-Differential Stereo Line Inputs
Stereo Microphone Inputs
–+32 dB Gain Stage
–Low-Noise Bias Supply
Up to 192 kHz Sampling Rates
Selectable Serial Audio Interface Formats
–Left-Justified up to 24-bit
–I²S up to 24-bit
High-Pass Filter or DC Offset Calibration
http://www.cirrus.com
Copyright Cirrus Logic, Inc. 2012
(All Rights Reserved)
AUG '12
DS657F3
CS4265
System Features
Synchronous IEC60958-3 Transmitter
–Up to 192 kHz Sampling Rates
–75 Drive Capability
Serial Audio Data Input Multiplexer
Internal Digital Loopback
Supports Master or Slave Operation
Mute Output Control
Power-Down Mode
–Available for A/D, D/A, CODEC, Mic
Preamplifier
+3.3 V to +5 V Analog Power Supply
+3.3 V to +5 V Digital Power Supply
Direct Interface with 1.8 V to 5 V Logic Levels
Supports I²C
®
Control Port Interface
General Description
The CS4265 is a highly integrated stereo audio CODEC. The CS4265 performs stereo analog-to-digital
(A/D) and digital-to-analog (D/A) conversion of up to
24-bit serial values at sample rates up to 192 kHz.
A 2:1 stereo input multiplexer is included for s electing
between line-level or microphone-level inputs. The microphone input path includes a +32 dB gain stage and
a low noise bias voltage supply. The PGA is available
for line or microphone inputs and provides gain or attenuation of 12 dB in 0.5 dB steps.
The output of the PGA is followed by an advanced 5thorder, multi-bit delta sigma modulator and digital filtering/decimation. Sampled data is transmitted by the
serial audio interface at rates from 4 kHz to 192 kHz in
either Slave or Master Mode.
The D/A converter is based on a 4th-order multi-bit delta
sigma modulator with an ultra-linear low-pass filter and
offers a volume control that operates with a 0.5 dB step
size. It in corporates selectable soft ramp and zero
crossing transition functions to eliminate clicks and
pops.
Standard 50/15 s de-emphasis is availa ble for a
44.1 kHz sample rate for compatibility with digital audio
programs mastered using the 50 /15 s pre-emphasis
technique.
Integrated level translators allow ea sy interfacing between the CS4265 and other devices operating over a
wide range of logic levels.
The CS4265 is available in a 32-pin QFN package for
both Commercial (-10° to +70° C) and Automotive (-40°
to +105° C) grade. The CDB4265 is also available for
device evaluation and implementation suggestions.
Please refer to “Ordering Information” on page 57 for
complete details.
Table 13. Example Gain and Attenuation Settings ................................................................................... 40
Table 14. PGA Soft Cross or Zero Cross Mode Selection ........................................................................ 41
Table 15. Analog Input Selection .............................................................................................................. 41
Table 16. Digital Volume Control Example Settings ................................................................................. 42
Table 17. DAC Soft Cross or Zero Cross Mode Selection ........................................................................ 43
Table 18. Transmitter Digital Interface Formats ........................................................................................ 45
CS4265
6DS657F3
1. PIN DESCRIPTIONS
109
8
7
6
5
4
3
2
1
11
12
13141516
17
18
19
20
21
22
23
24
25
262728
29
303132
Top-Down (Through Package) View
32-Pin QFN Package
TXOUT
VD
DGND
MCLK
LRCK
SCLK
SDOUT
SDIN1
SGND
AFILTA
AFILTB
VQ
FILT+
MICIN1
MICIN2
MICBIAS
SDA
SCL
VLC
RESET
VA
AGND
AINA
AINB
SDIN2
TXSDIN
VLS
MUTEC
AOUTB
AOUTA
AGND
VA
Thermal Pad
CS4265
Pin Name#Pin Description
SDA1SerialControl Data (Input/Output) - Bidirectional data line for the I²C control port.
SCL2Serial Control Port Clock (Input) - Serial clock for the I²C control port.
VLC
RESET
VA5Analog Power (Input) - Positive power for the internal analog section.
AGND6Analog Ground (Input) - Ground reference for the internal analog section.
AINA
AINB
SGND9Signal Ground (Input) - Ground reference for the analog line inputs.
AFILTA
AFILTB
VQ12Quiescent Voltage (Output) - Filter connection for internal quiescent voltage.
FILT+13Positive Voltage Reference (Output) - Positive reference voltage for the internal sampling circuits.
MICIN1
MICIN2
MICBIAS
3Control Port Power (Input) - Determines the required signal level for the control port interface. Refer to
the Recommended Operating Conditions for appropriate voltages.
4Reset (Input) - The device enters a low-power mode when this pin is driven low.
7,
Analog Input (Input) - The full-scale level is specified in the ADC Analog Characteristics specification
8
table.
10,
Antialias Filter Connection (Output) - Antialias filter connection for the ADC inputs.
11
14,
Microphone Input (Input) - The full-scale level is specified in the ADC Analog Characteristics specifica-
are specified in the DC Electrical Characteristics table.
DS657F37
VA17Analog Power (Input) - Positive power for the internal analog section.
AGND18Analog Ground (Input) - Ground reference for the internal analog section.
AOUTA
AOUTB
MUTEC
VLS
TXSDIN23Transmitter Serial Audio Data Input (Input) - Input for two’s complement serial audio data.
SDIN224Serial Audio Data Input 2 (Input) - Input for two’s complement serial audio data.
SDIN125Serial Audio Data Input 1 (Input) - Input for two’s complement serial audio data.
SDOUT26Serial Audio Data Output (Output) - Output for two’s complement serial audio data.
SCLK27Serial Clock (Input/Output) - Serial clock for the serial audio interface.
LRCK
MCLK29Master Clock (Input) - Clock source for the delta-sigma modulators.
DGND30Digital Ground (Input) - Ground reference for the internal digital section.
VD31Digital Power (Input) - Positive power for the internal digital section.
TXOUT32Transmitter Line Driver Output (Output) - IEC60958-3 driver output.
Thermal Pad-Thermal Pad - Thermal relief pad for optimized heat dissipation.
19, 20 Analog Audio Output (Output) - The full scale output level is specified in the DAC Analog Characteris-
tics specification table.
21Mute Control (Output) - This pin is active during power-up initialization, reset, muting, when master
clock left/right clock frequency ratio is incorrect, or power-down.
22Serial Audio Interface Power (Input) - Determines the required signal level for the serial audio inter-
face. Refer to the Recommended Operating Conditions for appropriate voltages.
28Lef t Righ t Clock(Input/Output) - Determines which channel, Left or Right, is currently active on the
serial audio data line.
CS4265
8DS657F3
2. CHARACTERISTICS AND SPECIFICATIONS
SPECIFIED OPERATING CONDITIONS
AGND = DGND = 0 V; All voltages with respect to ground.
ParametersSymbol Min NomMaxUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)T
VA
VD
VLS
VLC
Notes:1. Maximum of VA+0.25 V or 5.25 V, whichever is less.
ABSOLUTE MAXIMUM RATINGS
AGND = DGND = 0 V All voltages with respect to ground. (Note 2)
ParameterSymbolMinM axUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Input Current(Note 3)
Analog Input Voltage
Digital Input VoltageLogic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)
Storage Temperature
VLS
VLC
V
V
V
A
VA
VD
I
in
INA
IND-S
IND-C
T
A
T
stg
CS4265
3.13
3.13
1.71
1.71
-10-+70C
AGND-0.3VA+0.3V
5.0
3.3
3.3
3.3
-0.3
-0.3
-0.3
-0.3
-10mA
-0.3
-0.3
-50+125C
-65+150C
5.25
(Note 1)
5.25
5.25
+6.0
+6.0
+6.0
+6.0
VLS+0.3
VLC+0.3
V
V
V
V
V
V
V
V
V
V
2.Operation beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
3.Any pin except supplies. Transient currents of up to ±100 mA on the analog input pins will not cause
SCR latch-up.
DS657F39
CS4265
DAC ANALOG CHARACTERISTICS
Test Conditions (unless otherwise specified): AGND = DGND = 0 V; VA = 3.13 V to 5.25 V; VD = 3.13 V to 5.25 V
or VA + 0.25 V, whichever is less; VLS = VLC = 1.71 V to 5.25 V; T
+85° C for Automotive; Output test signal: 997 Hz full-scale sine wave; Test load R
Figure 1), Fs = 48/96/192 kHz. Measurement Bandwidth 10 Hz to 20 kHz; All Connections as shown in Figure 9 on
page 23.
Commercial GradeAutomotive Grade
Parameter
SymbolMinTypMaxMinTypMaxUnit
Dynamic Performance for VA = 4.75 V to 5.25 V
Dynamic Range(Note 4)
18 to 24-BitA-Weighted
unweighted
16-BitA-Weighted
unweighted
Total Harmonic Distortion + Noise(Note 4)
18 to 24-Bit0 dB
-20 dB
-60 dB
16-Bit0 dB
-20 dB
-60 dB
THD+N
98
95
90
87
-
-
-
-
-
-
Dynamic Performance for VA = 3.13 V to 3.46 V
Dynamic Range(Note 4)
18 to 24-BitA-Weighted
unweighted
16-BitA-Weighted
unweighted
Total Harmonic Distortion + Noise(Note 4)
18 to 24-Bit0 dB
-20 dB
-60 dB
16-Bit0 dB
-20 dB
-60 dB
Interchannel Isolation(1 kHz)-100--100-dB
THD+N
95
92
88
85
-
-
-
-
-
-
DC Accuracy
Interchannel Gain Mismatch-0.10.25-0.10.25dB
Gain Drift-100--100-ppm/°C
Analog Output
Full Scale Output Voltage0.60*VA 0.65*VA 0.70*VA 0.60*VA 0.65*VA 0.70*VAV
DC Current draw from an AOUT pin(Note 5)I
AC-Load Resistance(Note 6)R
Load Capacitance(Note 6)C
Output ImpedanceZ
OUT
L
L
OUT
--10--10A
3--3- -k
--100--100pF
-150- -150-
= -10° to +70° C for Commercial or -40° to
104
101
96
93
-90
-81
-41
-93
-73
-33
101
98
93
90
-87
-78
-38
-90
-70
-30
A
-
-
-
-
-84
-
-
-87
-
-
-
-
-
-
-79
-
-
-82
-
-
= 3 k, CL = 10 pF (see
L
96
93
88
85
-
-
-
-
-
-
93
90
86
83
-
-
-
-
-
-
104
101
96
93
-90
-81
-41
-93
-73
-33
101
98
93
90
-87
-78
-38
-90
-70
-30
-
-
-
-
-82
-
-
-85
-
-
-
-
-
-
-77
-
-
-80
-
-
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
pp
4.One-half LSB of triangular PDF dither added to data.
5.Guaranteed by design. The DC current draw represents the allowed current draw from the AOUT pin
due to typical leakage through the electrolytic DC blocking capacitors.
10DS657F3
CS4265
6.Guaranteed by design. See Figure 2. RL and CL reflect the recommended minimum resistance and
maximum capacitance required for the internal op-amp’s stability. C
internal output amp; increasing C
beyond 100 pF can cause the internal op-amp to become unstable.
L
affects the dominant pole of the
L
DAC COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE
Parameter (Note 7,10)SymbolMinTypMaxUnit
Combined Digital and On-chip Analog Filter Response Single-Speed Mode
Combined Digital and On-chip Analog Filter Response Double-Speed Mode
Passband (Note 7)to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.15-+0.15dB
StopBand0.5770--Fs
StopBand Attenuation(Note 8)55--dB
Group Delaytgd-5/Fs-s
0
0
-
-
0.22
0.501
Fs
Fs
Combined Digital and On-chip Analog Filter Response Quad-Speed Mode
Passband (Note 7)to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.12-0dB
StopBand0.7--Fs
StopBand Attenuation(Note 8)51--dB
Group Delaytgd-2.5/Fs-s
0
0
-
-
0.110
0.469
Fs
Fs
7.Filter response is guaranteed by design.
8.For Single-Speed Mode, the Measurement Bandwidth is 0.5465 Fs to 3 Fs.
For Double-Speed Mode, the Measurement Bandwidth is 0.577 Fs to 1.4 Fs.
For Quad-Speed Mode, the Measurement Bandwidth is 0.7 Fs to 1 Fs.
9.De-emphasis is available only in Single-Speed Mode.
10. Response is clock dependent and will scale with Fs. Note that the amplitude vs. frequency plots of this
data (Figures 18 to 27) have been normalized to Fs and can be de-normalized by multiplying the X-axis
scale by Fs.
DS657F311
AOUTx
AGND
3.3µF
V
out
R
L
C
L
Figure 1. DAC Output Test LoadFigure 2. Maximum DAC Loading
100
50
75
25
2.5
51015
Safe Operating
Region
Capacitive Load -- C (pF)
L
Resistive Load -- R (k)
L
125
3
20
CS4265
12DS657F3
CS4265
ADC ANALOG CHARACTERISTICS
Test conditions (unless otherwise specified): AGND = DGND = 0 V; VA = 3.13 V to 5.25 V; VD = 3.13 V to 5.25 V
or VA + 0.25 V, whichever is less; VLS = VLC = 1.71 V to 5.25 V; T
+85° C for Automotive; Input test signal: 1 kHz sine wave; measurement bandwidth is 10 Hz to 20 kHz;
Fs = 48/96/192 kHz.; All connections as shown in Figure 9 on page 23.
Line-Level Inputs
ParameterSymbolMinTyp Max Unit
Dynamic Performance for VA = 4.75 V to 5.25 V
Dynamic Range
PGA Setting: -12 dB to +6 dB
A-weighted
unweighted
(Note 13)40 kHz bandwidth unweighted
PGA Setting: +12 dB Gain
A-weighted
unweighted
(Note 13) 40 kHz bandwidth unweighted
Total Harmonic Distortion + Noise(Note 12)
PGA Setting: -12 dB to +6 dB
-1 dB
-20 dB
-60 dB
(Note 13) 40 kHz bandwidth -1 dB
PGA Setting: +12 dB Gain
-1 dB
-20 dB
-60 dB
(Note 13) 40 kHz bandwidth -1 dB
THD+N
Dynamic Performance for VA = 3.13 V to 3.46 V
Dynamic Range
PGA Setting: -12 dB to +6 dB
A-weighted
unweighted
(Note 13) 40 kHz bandwidth unweighted
PGA Setting: +12 dB Gain
A-weighted
unweighted
(Note 13)40 kHz bandwidth unweighted
Total Harmonic Distortion + Noise (Note 12)
PGA Setting: -12 dB to +6 dB
-1 dB
-20 dB
-60 dB
(Note 13) 40 kHz bandwidth -1 dB
PGA Setting: +12 dB Gain
-1 dB
-20 dB
-60 dB
(Note 13) 40 kHz bandwidth -1 dB
THD+N
Line-Level Inputs
ParameterSymbol
Interchannel Isolation-90-dB
= -10° to +70° C for Commercial or -40° to
A
98
95
-
92
89
-
-
-
-
-
-
-
-
-
93
90
-
89
86
-
-
-
-
-
-
-
-
-
104
101
98
98
95
92
-95
-81
-41
-92
-92
-75
-35
-89
101
98
95
95
92
89
-92
-78
-38
-84
-89
-72
-32
-81
-89
-86
-86
-83
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
Commercial Grade
UnitMinTyp Max
DS657F313
CS4265
DC Accuracy
Gain Error--10%
Gain Drift-100-ppm/°C
Line-Level Input Characteristics
Full-scale Input Voltage0.51*VA0.57*VA0.63*VAV
Input Impedance(Note 11)6.126.87.48k
Maximum Interchannel Input Impedance
Mismatch
-5-%
Line-Level and Microphone-Level Inputs
Commercial Grade
ParameterSymbol
DC Accuracy
Interchannel Gain Mismatch-0.1-dB
Programmable Gain Characteristics
Gain Step Size-0.5-dB
Absolute Gain Step Error--0.4dB
11. Valid when the line-level inputs are selected.
12. Referred to the typical line-level full-scale input voltage
13. Valid for Double- and Quad-Speed Modes only.
14. Valid when the microphone-level inputs are selected.
DS657F315
CS4265
ADC DIGITAL FILTER CHARACTERISTICS
Parameter (Notes 15, 17)SymbolMinTypMaxUnit
Single-Speed Mode
Passband(-0.1 dB)0-0.4896Fs
Passband Ripple--0.035dB
Stopband0.5688--Fs
Stopband Attenuation70--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
Double-Speed Mode
Passband(-0.1 dB)0-0.4896Fs
Passband Ripple--0.025dB
Stopband0.5604--Fs
Stopband Attenuation69--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
Quad-Speed Mode
Passband(-0.1 dB)0-0.2604Fs
Passband Ripple--0.025dB
Stopband0.5000--Fs
Stopband Attenuation60--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
High-Pass Filter Characteristics
Frequency Response-3.0 dB
-0.13 dB(Note 16)
Phase Deviation@ 20 Hz(Note 16)-10 -Deg
Passband Ripple-- 0dB
Filter Settling Time
-12/Fs -s
-9/Fs -s
-5/Fs -s
-120-
5
10
/Fss
-
Hz
Hz
15. Filter response is guaranteed by design.
16. Response shown is for Fs = 48 kHz.
17. Response is clock-dependent and will scale with Fs. Note that the response plots (Figures 30 to 41) are
normalized to Fs and can be de-normalized by multiplying the X-axis scale by Fs.
16DS657F3
CS4265
DC ELECTRICAL CHARACTERISTICS
AGND = DGND = 0 V, all voltages with respect to ground. MCLK=12.288 MHz; Fs=48 kHz; Master Mode.
ParameterSymbolMinTypMaxUnit
Power Supply CurrentVA = 5 V
(Normal Operation)VA = 3.3 V
VD, VLS, VLC = 5 V
VD, VLS, VLC = 3.3 V
Power Supply CurrentVA = 5 V
(Power-Down Mode) (Note 18)VLS, VLC, VD=5 V
Power Consumption
(Normal Operation)VA, VD, VLS, VLC = 5 V
VA, VD, VLS, VLC = 3.3 V
(Power-Down Mode)VA, VD, VLS, VLC = 5 V
Power Supply Rejection Ratio (1 kHz)(Note 19)PSRR-55-dB
VQ Characteristics
Quiescent VoltageVQ-0.5 x VA-VDC
DC Current from VQ(Note 20)I
VQ Output ImpedanceZ
FILT+ Nominal VoltageFILT+-VA-VDC
Microphone Bias VoltageMICBIAS-0.8 x VA-VDC
Current from MICBIASI
I
I
I
I
I
I
MB
A
A
D
D
A
D
-
-
-
Q
Q
-
-
-
-
-
-
-
-
-
-- 1A
-4.5 -k
-- 2mA
41
37
39
23
0.50
0.54
400
198
4.2
50
45
47
28
-
-
485
241
-
mA
mA
mA
mA
mA
mA
mW
mW
mW
18. Power-Down Mode is defines as RESET
= Low with all clock and data lines held static and no analog
input.
19. Valid with the recommended capacitor values on FILT+ and VQ as shown in the Typical Connection
Diagram.
20. Guaranteed by design. The DC current draw represents the allowed current draw due to typical leakage
through the electrolytic de-coupling capacitors.
DS657F317
CS4265
DIGITAL INTERFACE CHARACTERISTICS
Test conditions (unless otherwise specified): AGND = DGND = 0 V; VLS = VLC = 1.71 V to 5.25 V.
Parameters (Note 21)Symbol Min TypMaxUnits
High-Level Input Voltage
VL = 1.71 VSerial Port
Control Port
VL > 2.0 VSerial Port
Control Port
Low-Level Input VoltageSerial Port
Control Port
High-Level Output Voltage at I
= 2 mASerial Port
o
Control Port
MUTEC
TXOUT
Low-Level Output Voltage at I
= 2 mASerial Port
o
Control Port
MUTEC
TXOUT
Input Leakage CurrentI
Input Capacitance(Note 22)--1pF
Maximum MUTEC Drive Current-3-mA
21. Serial Port signals include: MCLK, SCLK, LRCK, SDIN1, SDIN2, TXSDIN, SDOUT.
Control Port signals include: SCL, SDA, RESET
Start Condition Hold Time (prior to first clock pulse)t
Clock Low timet
Clock High Timet
Setup Time for Repeated Start Conditiont
SDA Hold Time from SCL Falling(Note 24)t
SDA Setup time to SCL Risingt
Rise Time of SCL and SDA(Note 25)t
Fall Time SCL and SDA(Note 25)t
Setup Time for Stop Conditiont
Acknowledge Delay from SCL Fallingt
buf
hdst
low
high
sust
hdd
sud
rc
fc
susp
ack
scl
irs
, t
, t
500-ns
250-ns
rd
fd
3001000ns
CS4265
-100kHz
4.7-µs
4.0-µs
4.7-µs
4.0-µs
4.7-µs
0-µs
-1µs
-300ns
4.7-µs
24. Data must be held for sufficient time to bridge the transition time, t
25. Guaranteed by design.
, of SCL.
fc
22DS657F3
3. TYPICAL CONNECTION DIAGRAM
VLS
10 µF
+3.3V to +5V
47 µF
VQ
FILT+
0.1 µF
10 µF
0.1 µF
10 µF
0.1 µF
+1.8V
to +5V
DGND
VLC
0.1 µF
+1.8V
to +5V
SCL
SDA
RST
2 k
Note 1
LRCK
SDIN1
AGND
Digital Audio
Processor
Micro-
Controller
MCLK
SCLK
0.1 µF
VAVD
* Capacitors must be C0G or equivalent
Digital Audio
Output
2.2nF
AFILTA
AFILTB
MICIN1
MICIN2
Microphone Input 1
Microphone Input 2
2.2nF
SDIN2
TXOUT
TXSDIN
SDOUT
CS4265
2 k
0.1 µF
10 µF
MICBIAS
**
+3.3V to +5V
SGNDSignal Ground
MUTEC
Mute
Drive
AOUTA
AOUTB
470
470
3.3 µF
C
Optional
Analog
Muting
3.3 µF
10 k
10 k
C
R
ext
R
ext
See Note 2
*
*
AIN1A
Left Analog Input 1
10 µF
10 µF
1800 pF
1800 pF
100 k
100 k
100
100
AIN1B
Right Analog Input 1
*
*
10 µF
10 µF
10 µF
Note 1: Resistors are required for I²C control
port operation
For best response to Fs/2 :
4704
470
ext
ext
RFs
R
C
This circuitry is i ntended for applications where the CS4265
connects di rectly to an unbalanced out put of t he design . For i nternal
routing applications please see the DAC Analog Output
Characteristics section for loading limitations.
Note 2 :
R
L
R
L
Note 3
Note 3: The value of RL is dictated by the
microphone carter idge .
VA
0.1 µF
AGND
47 k
Note 4: Sets the LSB of the 7-bit chip address.
See the I²C Control Port Description and
Timing section.
Note 4
Figure 9. Typical Connection Diagram
CS4265
DS657F323
4. APPLICATIONS
4.1Recommended Power-Up Sequence
1.Hold RESET low until the power supply, MCLK, and LRCK are stable. In this state, the Control Port is
reset to its default settings.
2.Bring RESET
trol port will be accessible.
3.The desired register settings can be loaded while the PDN bit remains set.
4.Clear the PDN bit to initiate the power-up sequence.
4.2System Clocking
The CS4265 will operate at sampling frequencies from 4 kHz to 200 kHz. This range is divided into three
speed modes as shown in Table 1.
high. The device will remain in a low power state with the PDN bit set by default. The con-
MCLK/LRCK must maintain an integer ratio as shown in Table 2. The LRCK frequency is equal to Fs, the
frequency at which audio samples for each channel are clocked into or out of the device. The FM bits (See
“Functional Mode (Bits 7:6)” on page 38.) and the MCLK Freq bits (See “MCLK Frequency - Address 05h”
on page 39.) configure the device to generate the proper clocks in Master Mode, and receive the proper
clocks in Slave Mode. Table 2 illustrates several standard audio sample rates and the required MCLK and
LRCK frequencies.
LRCK
(kHz)
32
44.1
48
64
88.2
96
128
176.4
192
Mode
64x96x128x192x256x384x512x768x1024x
----8.192012.288016.384024.576032.7680
----11.289616.934422.579233.868045.1584
----12.288018.432024.576036.864049.1520
--8.192012.288016.384024.576032.7680--
--11.289616.934422.579233.868045.1584--
--12.288018.432024.576036.864049.1520--
8.192012.288016.384024.576032.7680----
11.289616.934422.579233.868045.1584----
12.288018.432024.576036.864049.1520----
MCLK (MHz)
QSM
Table 2. Common Clock Frequencies
DSM
SSM
24DS657F3
In both Master and Slave Modes, the external MCLK must be divided down based on the MCLK/LRCK
ratio to achieve a post-divider MCLK/LRCK ratio of 256x for SSM, 128x for DSM, or 64x for QSM. Table 3
lists the appropriate dividers.
MCLK/LRCK RatioMCLK Dividers
4.2.2Master Mode
As a clock master, LRCK and SCLK will operate as outputs. LRCK and SCLK are internally derived from
MCLK with LRCK equal to Fs and SCLK equal to 64 x Fs as shown in Figure 10.
In Slave Mode, SCLK and LRCK operate as inputs. The Left/Right clock signal must be equal to the sample rate, Fs, and must be synchronously derived from the supplied master clock, MCLK.
The serial bit clock, SCLK, must be synchronously derived from the master clock, MCLK, and be equal to
128x, 64x, 48x or 32x Fs, depending on the desired speed mode. Refer to Table 4 for required clock ra-
tios.
When using operational amplifiers in the input circuitry driving the CS4265, a small DC offset may be driven
into the A/D converter. The CS4265 includes a high-pass filter after the decimator to remove any DC offset
DS657F325
CS4265
which could result in recording a DC level, possibly yielding clicks when switching between devices in a multichannel system.
The high-pass filter continuously subtracts a measure of the DC offset from the output of the decimation
filter. If the HPFFreeze bit (See “ADC High-Pass Filter Freeze (Bit 1)” on page 39.) is set during normal operation, the current value of the DC offset for the each channel is frozen and this DC offset will continue to
be subtracted from the conversion result. This feature makes it possible to perform a system DC offset calibration by:
1.Running the CS4265 with the high-pass filter enabled until the filter settles. See the ADC Digital Filter
Characteristics section for filter settling time.
2.Disabling the high-pass filter and freezing the stored DC offset.
A system calibration performed in this way will eliminate offsets anywhere in the signal path between the
calibration point and the CS4265.
26DS657F3
4.4Analog Input Multiplexer, PGA, and Mic Gain
PGA
MUX
+32 dB
AINA
MICIN1
Channel B
PGA Gain Bits
Out to ADC
Channel A
Out to ADC
Channel B
MUX
+32 dB
AINB
MICIN2
PGA
Analog Input
Selection Bits
Channel A
PGA Gain Bits
Figure 11. Analog Input Architecture
The CS4265 contains a stereo 2-to-1 analog input multiplexer followed by a programmable gain amplifier
(PGA). The input multiplexer is able to select either a line-level input source, or a mic-level input source, and
route it to the PGA. The mic-level input passes through a +32 dB gain stage prior to the input multiplexer,
allowing it to be used for microphone-level signals without the need for any external gain. The PGA stage
provides 12 dB of gain or attenuation in 0.5 dB steps. Figure 11 shows the architecture of the input multiplexer, PGA, and mic gain stages.
The “Analog Input Selection (Bit 0)” on page 41 outlines the bit settings necessary to control the input multiplexer and mic gain. “Channel B PGA Control - Address 07h” on page 40 and “Channel A PGA Control -
Address 08h” on page 40 outline the register settings necessary to control the PGA . By default, the line-
level input is selected by the input multiplexer, and the PGA is set to 0 dB.
CS4265
4.5Input Connections
The analog modulator samples the input at 6.144 MHz (MCLK=12.288 MHz). The digital filter will reject signals within the stopband of the filter. However, there is no rejection for input signals which are
6.144 MHz) the digital passband frequency, where n=0,1,2,... Refer to the Typical Connection Diagram
(n
for the recommended analog input circuit that will attenuate noise energy at 6.144 MHz. The use of capacitors which have a lar ge voltage coefficient (such as ge neral-purpose ceramics) must be avoided since
these can degrade signal linearity. Any unused analog input pairs should be left unconnected.
4.5.1Pseudo-Differential Input
The CS4265 implements a pseudo-differential input stage. The SGND input is intended to be used as a
pseudo-differential reference signal. This feature allows for common mode noise rejection with singleended signals. Figure 12 shows a basic diagram outlining the internal implementation of the pseudo-differential input stage. The Typical Connection Diagram shows the recommended pseudo-differential input
DS657F327
topology. If pseudo-differential input functionality is not required, simply connect the SGND pin to AGND
+
-
VA
+
-
AINA
AINB
SGND
In to PG A
In to PG A
10 µF
0.1 µF
Note: If pseudo-differential input functionality is not required, the
connections shown with dashed line should be added.
Figure 12. Pseudo-Differential Input Stage
CS4265
through the parallel combination of a 10 µF and a 0.1 µF capacitor.
4.6Output Connections
The CS4265 DACs implement a switched-capacitor filter, followed by a continuous time low-pass filter. Its
response, combined with tha t of the digital interpolator, is sh own in Section 8. “DAC Filter Plots” on
page 48”. The recommended external analog circuitry is shown in the Typical Connection Diagram.
CS4265
The CS4265 DAC does not include phase or amplitude compensation for an external filter. Therefore, the
DAC system phase and amplitude response is dependent on the external analog circuitry.
4.7Output Transient Control
The CS4265 uses Popguard® technology to minimize the effects of output transients during power-up and
power-down. This technique eliminates the audio transients commonly produced by single-ended, singlesupply converters when it is implemented with external DC-blocking capacitors connected in series with the
audio outputs. To make best use of this feature, it is necessary to understand its operation.
4.7.1Power-Up
When the device is initially powered-up, the DAC outputs AOUTA and AOUTB are clamped to VQ, which
is initially low. After the PDN bit is released (set to ‘0’), the outputs begin to ramp with VQ towards the
nominal quiescent voltage. This ramp takes approximately 200 ms to complete. The gradual voltage
ramping allows time for the external DC-blocking capacitors to charge to VQ, effectively blocking the quiescent DC voltage. Audio output will begin after approximately 2000 sample periods.
4.7.2Power-Down
To prevent audio transients at power-down, the DC-blocking capacitors must fully discharge before turning off the power. In order to do this, either the PDN should be set or the device should be reset about
250 ms before removing power. During this time, the voltage on VQ and the DAC outputs will gradually
discharge to GND. If power is removed before this 250 ms time period has passed, a transient will occur
when the VA supply drops below that of VQ. There is no minimum time for a power cycle; power may be
re-applied at any time.
4.7.3Serial Interface Clock Changes
When changing the clock ratio or sample rate, it is recommended that zero data (or near zero data) be
present on the selected SDIN pin for at least 10 LRCK samples before the change is made. During the
28DS657F3
clocking change, the DAC outputs will always be in a zero-data state. If non-zero serial audio input is
Gain
dB
-10dB
0dB
Frequency
T2 = 15 µs
T1=50 µs
F1F2
3.183 kHz10.61 kHz
Figure 13. De-Emphasis Curve
present at the time of switching, a slight click or pop may be heard as the DAC output automatically goes
to its zero-data state.
4.8DAC Serial Data Input Multiplexer
The CS4265 contains a 2-to-1 serial data input multiplexer. This allows two se parate data sources to be
input into the DAC witho ut the use of any external multiplexing components. “Section 6.6.1 “DAC SDIN
Source (Bit 7)” on page 40” describes the control port settings necessary to control the multiplexer.
4.9De-Emphasis Filter
The CS4265 includes on-chip digital de-emphasis optimized for a sample rate of 44.1 kHz. The filter response is shown in Figure 13. The frequency response of the de-emphasis curve scales proportionally with
changes in sample rate, Fs. Please see Section 6.3.3 “De-Emphasis Control (Bit 1)” on page 38 for de-em-
phasis control.
The de-emphasis feature is included to accommodate audio recordings that utilize 50/15 s pre-emphasis
equalization as a means of noise reduction.
De-emphasis is only available in Single-Speed Mode.
CS4265
4.10Internal Digital Loopback
The CS4265 supports an internal digital loopback mode in which the output of the ADC is routed to the input
of the DAC. This mode may be activated by setting the LOOP bit in the Signal Selection register (See “Signal
Selection - Address 06h” section on page 40).
When this bit is set, the status of the DAC_DIF[1:0] bits in register 03h will be disregarded by the CS4265.
Any changes made to the DAC_DIF[1:0] bits while the LOOP bit is set will have no impact on operation until
the LOOP bit is cleared, at which time the Digital Interface Format of the DAC will operate according to the
format selected by the DAC_DIF[1:0] bits. While the LOOP bit is set, data will be present on the SDOUT pin
in the format selected by the ADC_DIF bit in register 04h.
DS657F329
4.11Mute Control
LPF
+V
EE
-V
EE
560
Audio
Out
2 k
10 k
-V
EE
+V
A
MMUN2111LT1
AOUT
MUTEC
AC
Couple
47 k
Figure 14. Suggested Active-Low Mute Circuit
CS4265
The MUTEC pin becomes active during power-up initialization, reset, muting, if the MCLK to LRCK ratio is
incorrect, and during power-down. The MUTEC
circuit in order to add off-chip mute capability.
Use of the Mute Control function is not mandatory but recommended for designs requiring the absolute minimum in extraneous clicks and pops. Also, use of the Mute Control function can enable the system designer
to achieve idle channel noise/signal-to-noise ratios which are only limited by the external mute circuit. The
MUTEC
pin is an active-low CMOS driver. See Figure 14 for a suggested active-low mute circuit.
CS4265
pin is intended to be used as control for an external mute
4.12AES3 Transmitter
The CS4265 includes an IEC60958-3 digital audio transmitter. A comprehensive buffering scheme provides
write access to the channel status data. This buffering scheme is described in the “Channel Status Buffer
Management” section on page 53.
The IEC60958-3 transmitter encodes and transmits audio and digital data according to the IEC60958-3
(S/PDIF) interface standard. The transmitter receives audio data from the inp ut pin TXSDIN and control
clocks from the PCM Serial Interface. Audio and control data are multiplexed together and bi-phase mark
encoded. The resulting bit stream is driven from the output pin TXOUT to an output connector either directly
or through a transformer. The transmitter is clocked from the clock input pin MCLK.
The channel status (C) bits in the transmitted data stream are taken from storage areas within the CS4265.
The user can manually access the internal storage of the CS4265 to configure the transmitted channel status data. The “Channel Status Buffer Management” section describes the method of manually accessing
the storage areas. The CS4265 transmits all zeros in the user (U) data fields.
4.12.1TxOut Driver
The line driver is a low skew, low impedance, single-ended output capable of driving cables directly. The
driver is set to ground during reset (RESET
30DS657F3
= LOW), when no transmit clock is provided, and optionally
under the control of a register bit. The CS4265 also allows immediate muting of the IEC60958-3 transmitter audio data through a control register bit.
External components are used to terminate and isolate the external cable from the CS4265. These components are detailed in the “External IEC60958-3 Transmitter Components” section on page 52.
4.12.2Mono Mode Operation
An IEC60958-3 stream may be used in more than one way to transmit 192 kHz sample rate data. One
method is to double the frame rate of the current format. This results is a stereo signal with a sample rate
of 192 kHz. An alternate method is implemented using the two sub-frames in a 96 kHz frame rate
IEC60958-3 signal to carry consecutive samples of a mono signal, resulting in a 192 kHz sample rate
stream. This allows older equipment, whose IEC60958-3 transmitters and receivers are not rated for
192 kHz frame rate operation, to handle 192 kHz sample rate information. In this “mono mode”, two cables are needed for stereo data transfer. The CS4265 offers Mono Mode operation. The CS4265 is placed
into and out of Mono Mode with the MMT control bit.
In Mono Mode, the input port will run at the audio sample rate (Fs), while the IEC60958-3 transmitter
frame rate will be at Fs/2. Consecutive left or right channel serial audio data samples may be selected for
transmission on the A and B sub-frames, and the channel status block transmitted is also selectable.
Using Mono Mode is only necessary if the incoming audio sample rate is already at 192 kHz and contains
both left and right audio data words. The “Mono Mode” IEC60958-3 output stream may also be achieved
by keeping the CS4265 in normal stereo mode and placing consecutive audio samples in the left and right
positions in an incoming 96 kHz word-rate data stream.
CS4265
4.13I²C Control Port Description and Timing
The control port is used to access the registers, allowing the CS4265 to be configured for the desired operational modes and formats. The operation of the control port may be completely asynchronous with respect
to the audio sample rates. However, to avoid potential interference problems, the control port pins should
remain static if no operation is required.
SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL. A 47 k pull-up
or pull-down on the SDOUT pin will set AD0, the least significant bit of the chip address. A pull-up to VLS
will set AD0 to ‘1’ and a pull-down to DGND will set AD0 to ‘0’. The state of the SDOUT pin is sensed and
AD0 is set upon the release of RESET
The signal timings for a read and write cycle are shown in Figure 15 and Figure 16. A Start condition is defined as a falling transition of SDA while the clock is high. A Stop condition is a rising transition while the
clock is high. All other transitions of SDA occur while the clock is low. The first byte sent to the CS4265 after
a Start condition consists of a 7-bit chip address field and an R/W
upper 6 bits of the 7-bit address field are fixed at 100111. To communicate with a CS4265, the chip address
field, which is the first byte sent to the CS4265, should match 100111 followed by the setting of AD0. The
eighth bit of the address is the R/W
er (MAP), which selects the register to be read or written. If the operation is a read, the contents of the register pointed to by the MAP will be output. Following each data byte, the memory address pointer will
automatically increment to facilitate block reads and writes of successive registers. Each byte is separated
by an acknowledge bit. The ACK bit is output from the CS4265 after each input byte is read, and is input to
the CS4265 from the microcontroller after each transmitted byte.
.
bit. If the operation is a write, the next byte is the Memory Address Point-
bit (high for a read, low for a write). The
DS657F331
CS4265
4 5 6 7 24 25
SCL
CHIP ADDRESS (WRITE)MAP BYTEDATA
DATA +1
START
ACK
STOP
ACKACKACK
1 0 0 1 1 1 AD0 0
SDA
7 6 5 4 3 2 1 0 7 6 1 07 6 1 07 6 1 0
0 1 2 3 8 9 12 16 17 18 19 10 11 13 14 15 27 28
26
DATA +n
Figure 15. Control Port Timing, I²C Write
SCL
CHIP ADDRESS (WRITE)
MAP BYTE
DATA
DATA +1
START
ACK
STOP
ACK
ACK
ACK
1 0 0 1 1 1 AD0 0
SDA
1 0 0 1 1 1 AD0 1
CHIP ADDRESS (READ)
START
7 6 5 4 3 2 1 0
7 07 07 0
NO
16 8 9 12 13 14 15 4 5 6 7 0 1 20 21 22 23 24
26 27 28
2 3 10 11 17 18 19 25
ACK
DATA + n
STOP
Figure 16. Control Port Timing, I²C Read
Since the read operation cannot set the MAP, an aborted write operation is used as a preamble. As shown
in Figure 16, the write operation is aborted after the acknowledge for the MAP byte by sending a stop condition. The following pseudocode illustrates an aborted write operation followed by a read operation.
Send start condition.
Send 100111x0 (chip address & write operation).
Receive acknowledge bit.
Send MAP byte.
Receive acknowledge bit.
Send stop condition, aborting write.
Send start condition.
Send 100111x1(chip address & read operation).
Receive acknowledge bit.
Receive byte, contents of selected register.
Send acknowledge bit.
Send stop condition.
4.14Status Reporting
The CS4265 has comprehensive status reporting capabilities. Many conditions can be reported in the status
register, as listed in the status register descriptions. See “Status - Address 0Dh” on page 43. Each source
may be masked off through mask register bits. In addition, each source may be set to ris ing edge, falling
edge, or level sensitive. Combined with the option of level-sensitive or edge-sensitive modes within the microcontroller, many different configurations are possible, depending on the needs of the equipment design-
32DS657F3
er.
4.15Reset
When RESET is low, the CS4265 enters a low-power mode and all internal states are reset, including the
control port and registers, the outputs are muted. When RESET
al, and the desired settings should be loaded into the control registers. Writing a 0 to the PDN bit in the Power Control register will then cause the part to leave the low-power state and begin operation.
The delta-sigma modulators settle in a matter of microseconds after the analog section is powered, either
through the application of power or by setting the RESET
much longer to reach a final value due to the presence of external capacitance on the FILT+ pin. During this
voltage reference ramp delay, both SDOUT and DAC outputs will be automatically muted.
CS4265
is high, the control port becomes operation-
pin high. However, the voltage reference will take
It is recommended that RESET
operating condition to prevent power-glitch-related issues.
be activated if the analog or digital supplies drop below the recommended
4.16Synchronization of Multiple Devices
In systems where multiple ADCs are required, care must be taken to achieve simultaneous sampling. To
ensure synchronous sampling, the master clocks a nd left/right clocks mu st be the same for all o f the
CS4265s in the system. If only one master clock source is needed, one solution is to place one CS4265 in
Master Mode, and slave all of the other CS4265s to the one master. If multiple master clock sources are
needed, a possible solution would be to supply all clocks from the same external source and time the
CS4265 reset with the inactive edge of master clock. This will ensure that all converters begin sampling on
the same clock edge.
4.17Grounding and Power Supply Decoupling
As with any high-resolution converter, the CS4265 requires careful attention to power supply and grounding
arrangements if its po tential performance is to b e realized. Figure 9 shows the recommended power arrangements, with VA connected to a clean supply. VD, which powers the digital filter, may be run from the
system logic supply (VLS or VLC) or may be powered from the analog supply (VA) via a resistor. In this
case, no additional devices should be powered from VD. Power supply decoupling capacitors should be as
near to the CS4265 as possible, with the low value ceramic capacitor being the nearest. All signals, especially clocks, should be kept away from the FILT+ and VQ pins in order to avoid unwanted coupling into the
modulators. The FILT+ and VQ decoupling capacitors, particularly the 0.1 µF, must be positioned to minimize the electrical path from FILT+ and AGND. The CS4265 evaluation board demonstrates the optimum
layout and power supply arrangements. To minimize digital noise, connect the CS4265 digital outputs only
to CMOS inputs.
4.18Package Considerations
The CS4265 is available in the compact QFN package. The under side of the QFN package reveals a large
metal pad that serves as a thermal relief to provide for maximum heat dissipation. This pad must mate with
an equally dimensioned copper pad on the PCB and must be electrically connected to ground. A series of
vias should be used to connect this copper pad to one or more larger ground planes on other PCB layers.
In split ground systems, it is recommended that this thermal pad be connected to AGND for best performance. The CS4265 evaluation board demonstrates the optimum thermal pad and via configuration.
DS657F333
CS4265
5. REGISTER QUICK REFERENCE
This table shows the register names and their associated default values.
AddrFunction76543210
01h Chip IDPART3PART2PART1PART0REV3REV2REV1REV0
11010001
02h Power ControlFreezeReserved Reserved ReservedPDN_MICPDN_ADCPDN_DACPDN
00000001
03h DAC Control 1Reserved Reserved DAC_DIF1 DAC_DIF0ReservedMuteDACDeEmphReserved
This register is Read-Only. Bits 7 through 4 are the part number ID, which is 1101b (0Dh), and the remaining
bits (3 through 0) indicate the device revision as shown in Table 5 below.
This function allows modifications to be made to certain control port bits without the changes taking effect
until the Freeze bit is disabled. To make multiple changes to these bits take effect simultaneously, set the
Freeze bit, make all changes, then clear the Freeze bit. The bits affected by the Freeze function are listed
in Table 6.
NameRegisterBit(s)
MuteDAC03h2
MuteADC04h2
Gain[5:0]07h5:0
Gain[5:0]08h5:0
Vol[7:0]0Ah7:0
Vol[7:0]0Bh7:0
TxMute0Eh4
6.2.2Power-Down MIC (Bit 3)
Function:
The microphone preamplifier block will enter a low-power state whenever this bit is set.
6.2.3Power-Down ADC (Bit 2)
Table 6. Freeze-able Bits
Function:
The ADC pair will remain in a reset state whenever this bit is set.
36DS657F3
CS4265
6.2.4Power-Down DAC (Bit 1)
Function:
The DAC pair will remain in a reset state whenever this bit is set.
6.2.5Power-Down Device (Bit 0)
Function:
The device will enter a low-power state whenever this bit is set. The power-down bit is set by default and
must be cleared before normal operation can occur. The contents of the control registers are retained
when the device is in power-down.
The required relationship between LRCK, SCLK and SDIN for the DAC is defined by the DAC Digital Interface Format and the options are detailed in Table 7 and Figures 5-7.
DAC_DIF1 DAC_DIF0DescriptionFormatFigure
00Left Justified, up to 24-bit data (default)05
01I²S, up to 24-bit data16
10Right-Justified, 16-bit Data27
11Right-Justified, 24-bit Data37
6.3.2Mute DAC (Bit 2)
Function:
The DAC outputs will mute and the MUTEC
active high, it should be noted that the MUTEC
will be retained when this bit is set. The muting function is effected, similar to attenuation changes, by the
DACSoft and DACZero bits in the DAC Control 2 register.
T able 7. DAC Digital Interface Formats
pin will become active when this bit is set. Though this bit is
pin is active low. The common mode voltage on the outputs
DS657F337
6.3.3De-Emphasis Control (Bit 1)
Gain
dB
-10dB
0dB
Frequency
T2 = 15 µs
T1=50 µs
F1F2
3.183 kHz10.61 kHz
Figure 17. De-Emphasis Curve
Function:
The standard 50/15 s digital de-emphasis filter response, Figure 17, may be implemented for a sample
rate of 44.1 kHz when the DeEmph bit is configured as shown in Table 8. NOTE: De-emphasis is available
only in Single-Speed Mode.
DeEmphDescription
0Disabled (default)
144.1 kHz de-emphasis
Table 8. De-Emphasis Control
CS4265
6.4ADC Control - Address 04h
76543210
FM1FM0ReservedADC_DIFReservedMuteADCHPFFreezeM/S
6.4.1Functional Mode (Bits 7:6)
Function:
Selects the required range of sample rates.
FM1FM0Mode
00Single-Speed Mode: 4 to 50 kHz sample rates
01Double-Speed Mode: 50 to 100 kHz sample rates
10Quad-Speed Mode: 100 to 200 kHz sample rates
11Reserved
Table 9. Functional Mode Selection
6.4.2ADC Digital Interface Format (Bit 4)
Function:
The required relationship between LRCK, SCLK and SDOUT is defined by the ADC Digital Interface Format bit. The options are detailed in Table 10 and may be seen in Figure 5 and Figure 6.
38DS657F3
ADC_DIFDescriptionFormatFigure
0Left-Justified, up to 24-bit data (default)05
1I²S, up to 24-bit data16
Table 10. ADC Digital Interface Formats
6.4.3Mute ADC (Bit 2)
Function:
When this bit is set, the serial audio output of the both ADC channels is muted.
6.4.4ADC High-Pass Filter Freeze (Bit 1)
Function:
When this bit is set, the internal high-pass filter is disabled. The current DC offset value will be frozen and
continue to be subtracted from the conversion result. See “High-Pass Filter and DC Offset Calibration” on
page 25.
6.4.5Master / Slave Mode (Bit 0)
Function:
This bit selects either master or slave operation for the serial audio port. Setting this bit selects Master
Mode, while clearing this bit selects Slave Mode.
CS4265
6.5MCLK Frequency - Address 05h
76543210
Reserved
MCLK
Freq2
MCLK
Freq1
MCLK
Freq0
ReservedReservedReservedReserved
6.5.1Master Clock Dividers (Bits 6:4)
Function:
Sets the frequency of the supplied MCLK signal. See Table 11 for the appropriate settings.
This bit is used to select the serial audio data source for the DAC as shown in Table 12.
SDINSel SettingDAC Data Source
0SDIN1
1SDIN2
Table 12. DAC SDIN Source Selection
6.6.2Digital Loopback (Bit 1)
Function:
When this bit is set, an internal digital loopback from the ADC to the DAC will be enabled. Please refer to
“Internal Digital Loopback” on page 29.
6.7Channel B PGA Control - Address 07h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
6.7.1Channel B PGA Gain (Bits 5:0)
Function:
See “Channel A PGA Gain (Bits 5:0)” on page 40.
6.8Channel A PGA Control - Address 08h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
6.8.1Channel A PGA Gain (Bits 5:0)
Function:
Sets the gain or attenuation for the ADC input PGA stage. The gain may be adjusted from -12 dB to
+12 dB in 0.5 dB steps. The gain bits are in two’s complement with the Gain0 bit set for a 0.5 dB step.
Register settings outside of the ±12 dB range are reserved and must not be used. See Table 13 for example settings.
6.9.1PGA Soft Ramp or Zero Cross Enable (Bits 4:3)
Function:
Soft Ramp Enable
Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods.
See Table 14.
Zero Cross Enable
Zero Cross Enable dictates that signal-level changes, either by attenuation changes or muting, will occur
on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal
does not encounter a zero crossing. The zero cross function is independently monitored and implemented
for each channel. See Table 14.
Soft Ramp and Zero Cross Enable
Soft Ramp and Zero Cross Enable dictate that signal-level changes, either by attenuation changes or muting, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will
occur after a time-out period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. See Table 14.
PGASoftPGAZeroCrossMode
00Changes to affect immediately
01Zero Cross enabled
10Soft Ramp enabled
11Soft Ramp and Zero Cross enabled (default)
Table 14. PGA Soft Cross or Zero Cross Mode Selection
6.9.2Analog Input Selection (Bit 0)
Function:
These bits are used to select the input source for the PGA and ADC. Please see Table 15.
SelectPGA/ADC Input
0Microphone-Level Input
1Line-Level Input
Table 15. Analog Input Selection
6.10DAC Channel A Volume Control - Address 0Ah
See 6.11DAC Channel B Volume Control - Address 0Bh.
DS657F341
CS4265
6.11DAC Channel B Volume Control - Address 0Bh
76543210
Vol7Vo l6Vol5Vol4Vol3Vol2Vol1Vol0
6.11.1Volume Control (Bits 7:0)
Function:
The digital volume control allows the user to attenuate the signal in 0.5 dB increments from 0 to -127 dB.
The Vol0 bit activates a 0.5 dB attenuation when set, and no attenuation when cleared. The Vol[7:1] bits
activate attenuation equal to their decimal equivalent (in dB). Example volume settings are decoded as
shown in Table 16. The volume changes are implemented as dictated by the DACSoft and DACZeroCross bits in the DAC Control 2 register (see Section 6.12.1).
Binary CodeVolume Setting
000000000 dB
00000001-0.5 dB
00101000-20 dB
00101001-20.5 dB
6.12.1DAC Soft Ramp or Zero Cross Enable (Bits 7:6)
Function:
Soft Ramp Enable
Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods.
See Table 17.
Zero Cross Enable
Zero Cross Enable dictates that signal-level changes, either by attenuation changes or muting, will occur
on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal
does not encounter a zero crossing. The zero cross function is independently monitored and implemented
for each channel. See Table 17.
Soft Ramp and Zero Cross Enable
Soft Ramp and Zero Cross Enable dictate that signal-level changes, either by attenuation changes or muting, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will
occur after a time-out period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sam-
42DS657F3
CS4265
ple rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. See Table 17.
DACSoftDACZeroCrossMode
00Changes to affect immediately
01Zero Cross enabled
10Soft Ramp enabled
11Soft Ramp and Zero Cross enabled (default)
Table 17. DAC Soft Cross or Zero Cross Mode Selection
6.12.2Invert DAC Output (Bit 5)
Function:
When this bit is set, the output of the DAC is inverted.
For all bits in this register, a ‘1’ means the associated condition has occurred at least once since the register
was last read. A ‘0’ means the associated condition has NOT occurred since the last reading of the register.
Status bits that are masked off in the associated mask register will always be ‘0’ in this register. This register
defaults to 00h.
6.13.1E to F C-Buffer Transfer
Function:
Indicates the completion of an E to F C-buffer transfer. See “Channel Status Buffer Management” on
page 53 for more information.
6.13.2Clock Error (Bit 3)
Function:
Indicates the occurrence of a clock error condition.
6.13.3ADC Overflow (Bit 1)
Function:
Indicates the occurrence of an ADC overflow condition.
6.13.4ADC Underflow (Bit 0)
Function:
Indicates the occurrence of an ADC underflow condition.
The bits of this register serve as a mask for the Status sources found in the register “Status - Address 0Dh”
on page 43. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect the status
register. If a mask bit is set to 0, the error is masked, meaning that its occurrence will not affect the status
register. The bit positions align with the corresponding bits in the Status register.
The two Status Mode registers form a 2-bit code for each Status register function. There are three ways to
update the Status register in accordance with the status condition. In the Rising-Edge Active Mode, the status bit becomes active on the arriva l of the c ondition. In the Falling-Ed ge Active Mode, the status bit becomes active on the removal of the condition. In Level-Active Mode, the status bit is ac tive during the
condition.
00 - Rising edge active
01 - Falling edge active
10 - Level active
11 - Reserved
6.17.1E to F C-Data Buffer Transfer Inhibit (Bit 6)
Function:
When cleared, C-data E to F buffer transfers are allowed. When set, C-data E to F buffer transfers are
inhibited. See “IEC60958-3 Channel Status (C) Bit Management” on page 53.
6.17.2C-Data Access Mode (Bit 5)
Function:
When cleared, the C-data buffer will operate in One-byte control port access mode. When set, the C-data
buffer will operate in Two-byte control port access mode. See “IEC60958-3 Channel Status (C) Bit Man-
agement” on page 53.
44DS657F3
CS4265
6.18Transmitter Control 2 - Address 12h
76543210
Tx_DIF1Tx_DIF0TxOffTxMuteVMMTMMTCSMMTLR
6.18.1Transmitter Digital Interface Format (Bits 7:6)
Function:
The required relationship between LRCK, SCLK and SDIN for the transmitter is defined by the Transmitter
Digital Interface Format and the options are detailed in Table 18 and Figures 5-7.
Tx_DIF1Tx_DIF0DescriptionFormatFigure
00Left Justified, up to 24-bit data (default)05
01I²S, up to 24-bit data16
10Right-Justified, 16-bit Data27
11Right-Justified, 24-bit Data37
Table 18. Tr ansmitter Digital Interface Formats
6.18.2Transmitter Output Driver Control (Bit 5)
Function:
When this bit is cleared, the transmitter output pin driver will be in the normal operational mode. When
set, the transmitter output pin driver will drive to a constant 0 V.
6.18.3Transmitter Mute Control (Bit 4)
Function:
When this bit is cleared, the transmitter data will be in the normal operational mode. When set, the transmitter will output all zero data.
6.18.4Transmitted Validity Bit Control (Bit 3)
Function:
This bit sets the transmitted Validity bit level.
When this bit is cleared, valid linear PCM audio data is indicated. When this bit is set, invalid or non-linear
PCM audio data is indicated.
6.18.5Transmitter Mono/S tereo Operation Control (Bit 2)
Function:
When this bit is cleared, the transmitter will operate in stereo mode. When set, the transmitter will operate
in Mono Mode with one input channel’s data output in both A and B subframes (see “IEC60958-3 Channel
Status (C) Bit Management” on page 53) and the CS data defined by the MMTCS bit (see Section 6.18.6).
6.18.6Mono Mode CS Data Source (Bit 1)
Function:
When this bit is cleared, the transmitter will transmit the channel A CS data in the A subframe and the
channel B CS data in the B subframe.
When this bit is set, the transmitter will transmit the CS data defined for the channel selected by the
MMTLR bit in both the A and B subframes.
DS657F345
6.18.7Mono Mode Channel Selection (Bit 0)
Function:
When this bit is cleared, channel A input data will be transmitted in both channel A and B subframes in
mono mode. When this bit is set, channel B input data will be transmitted in both channel A and B subframes in Mono Mode.
CS4265
46DS657F3
7. PARAMETER DEFINITIONS
Dynamic Range
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth. Dynamic Range is a signal-to-noise ratio measurement over the specified bandwidth made with
a -60 dBFS signal. 60 dB is added to resulting measurement to refer the measurement to full scale. This
technique ensures that the distortion components are below the noise level and do not affect the measurement. This measurement technique has been accepted by the Audio Engineering Society, AES17-1991,
and the Electronic Industries Association of Japan, EIAJ CP-307. Expressed in decibels.
Total Harmonic Distortion + Noise
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured
at -1 and -20 dBFS as suggested in AES17-1991 Annex A.
Frequency Response
A measure of the amplitude response variation from 10 Hz to 20 kHz relative to the amplitude response at
1 kHz. Units in decibels.
Interchannel Isolation
A measure of crosstalk between the left and right channels. Measured for each channel at the converter's
output with no signal to the input under test and a full-scale signal applied to the other channel. Units in decibels.
CS4265
Interchannel Gain Mismatch
The gain difference between left and right channels. Units in decibels.
Gain Drift
The change in gain value with temperature. Units in ppm/°C.
This section details the external components required to interface the IEC60958-3 transmitter to cables and fiberoptic components.
10.1IEC60958-3 Transmitter External Components
The IEC60958-3 specifications call for an unbalanced drive circuit with an output impedance of 75
and an output drive level of 0.5 volts peak-to-peak ±20% when measured across a 75 load using no cable.
The circuit shown in Figure 42 provides the proper output impedance and drive level using standard 1% resistors. If VD is driven from +3.3 V, use resistor values of 243 in place of the 374 resistor and a 107
resistor in place of the 90.9 resistor. The standard connector for a consumer application is an RCA phono
socket.
The TXOUT pin may be used to drive TTL or CMOS gates as shown in Figure 43. This circuit may be used
for optical connectors for digital audio as they typically implement TTL or CMOS compatible inputs. This circuit is also useful when driving multiple digital audio outputs as RS422 line drivers typically implement TTL
compatible inputs.
10.2Isolating Transformer Requirements
Please refer to Cirrus application note AN134: AES and SPDIF Recommended Transformers for resources
on transformer selection.
52DS657F3
CS4265
Control Port
To
AES3
Transmitter
E
24
words
8-bits8-bits
AB
F
Transmit
Data
Buffer
Figure 44. Channel Status Data Buffer Structure
11.CHANNEL STATUS BUFFER MANAGEMENT
The CS4265 has a comprehensive channel status (C) data buffering scheme which allows the user to manage the
C data through the control port.
11.1IEC60958-3 Channel Status (C) Bit Management
The CS4265 contains sufficient RAM to store a full block of C data for both A and B channels (192x2 = 384
bits). The user may read from, or write to, these RAM buffers through the control port.
The CS4265 manages the flow of channel status data at the block level, meaning that entire blocks of channel status information are buffered at the input, synchronized to the output time base, and then transmitted.
The buffering scheme involves a cascade of two block-sized buffers, named E and F, as shown in Figure 44.
The MSB of each byte represents the first bit in the serial C data stream. For example, the MSB of byte 0
(which is at control port address 13h) is the consumer/professional bit for channel status block A.
The E buffer is accessible from the control port, allowing read and writing of the C data. The F buffer is used
as the source of C data for the IEC60958-3 transmitter. The F buffer accepts block transfers from the E buffer.
DS657F353
11.1.1Accessing the E Buffer
Read the Status Register
(Reg 0Dh)
If set, clear E to F inhibit
Write E data
Optionally set E to F inhibit
Is the EFTC bit set?
Configure the EFTC status bit as
Rising Edge active.
Begin
Yes
No
Figure 45. Flowchart for Writing the E Buffer
The user can monitor the data being transferred by reading the E buffer, which is mapped into the register
space of the CS4265, through the control port. The user can modify the data to be transmitted by writing
to the E buffer.
The E buffer is only accessible when an MCLK signal is applied to the CS4265 and the device is out of
the power-down state (the PDN bit in register 02h is cleared). If either of these conditions is not met, the
values stored in the E buffer will not change when written via the control port.
The user can configure the status register such that EFTC bit is set whenever an E to F transfer completes. With this configuration in place, periodic polling of the status register allows determination of the
time periods acceptable for E buffer interaction.
Also provided is an “E to F” inhibit bit. The “E to F” buffer transfer is disabled whenever the user sets this
bit. This may be used whenever “long” control port interactions are occurring.
A flowchart for reading and writing to the E buffer is shown in Figure 45. For writing, the sequence starts
after an E to F transfer, which is based on the output time base.
CS4265
11.2Serial Copy Management System (SCMS)
The CS4265 allows read/modify/write access to all the channel status bits. For consumer mode SCMS compliance, the host microcontroller needs to manipulate the Category Code, Copy bit and L bit appropriately.
11.3Channel Status Data E Buffer Access
The E buffer is organized as 24 x 16-bit words. For each word, the most significant byte is the A channel
54DS657F3
data, and the least significant byte is the B channel data (see Figure 44).
There are two methods of accessing this memory, known as One-Byte Mode and Two-Byte Mode. The desired mode is selected through a control register bit.
11.3.1One-By te Mode
In many applications, the channel status blocks for the A and B channels will be identical. In this situation,
if the user reads a byte from one of the channel's blocks, the corresponding byte for the other channel will
be the same. Similarly, if the user wrote a byte to one channel's block, it would be necessary to write the
same byte to the other block. One-Byte Mode takes advantage of the often identical nature of A and B
channel status data.
When reading data in One-Byte Mode, a single byte is returned, which can be from channel A or B data,
depending on a register control bit. If a write is being done, the CS4265 expects a single byte to be input
to its control port. This byte will be written to both the A and B locations in the addressed word.
One-Byte Mode saves the user substantial control port access time, as it effectively accesses two byte’s
worth of information in 1 byte's worth of access time. If the control port's auto increment addressing is used
in combination with this mode, multi-byte accesses such as full-block reads or writes can be done especially efficiently.
11.3.2Two-Byte Mode
There are those applications in which the A and B channel status blocks will not be the same, and the
user is interested in accessing both blocks. In these situations, Two-Byte Mode should be used to access
the E buffer.
In this mode, a read will cause the CS4265 to output two bytes from its control port. The first byte out represents the A channel status data, and the second byte represents the B channel status data. Writing is
similar, in that two bytes must now be input to the CS4265's control port. The A channel status data is
first; B channel status data is second.
1. Dimensioning and tolerance per ASME Y 14.5M-1995.
2. Dimensioning lead width applies to the plated terminal and is measured between 0.20 mm and 0.25 mm
13.THERMAL CHARACTERISTICS AND SPECIFICATIONS
from the terminal tip.
ParametersSymbolMinTypMaxUnits
Package Thermal Resistance2 Layer Board
Allowable Junction Temperature
4 Layer Board
JA
-
-
--125
52
38
-
-
°C/Watt
°C/Watt
C
56DS657F3
CS4265
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative.
To find the one nearest you, go to www.cirrus.com
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe 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). Customers are advised to obtain the latest version of relevant
information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale
supplied at the time of order acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus
for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third
parties. This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights,
copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent
does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE
IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD
TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED
IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER’S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER
AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH
THESE USES.
Cirrus Logic, Cirrus, the Cirrus Logic logo designs, and Popguard are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be
trademarks or service marks of their respective owners.
I²C is a registered trademark of Philips Semiconductor.
– Removed the MAP auto-increment functional description from the I²C Control Port Description and Timing
section beginning on page 31.
F1
F2
F3
– Added device revision information to the Chip ID - Register 01h description on page 36.
– Updated the VQ Output Impedance specification in the DC Electrical Characteristics table on page 17.
– Updated the Microphone Interchannel Isolation specification in the ADC Analog Characteristics table on page 15.
– Added Automotive Grade
– Updated the DAC Analog Characteristics table on page 10.
– Updated the ADC Analog Characteristics table on page 13.
– Updated the DC Electrical Characteristics table on page 17.
– Updated the Digital Interface Characteristics table on page 18.
– Updated the Switching Characteristics - Serial Audio Port table on page 19.
– Updated the Typical Connection Diagram on page 23.
– Switched Channel B PGA Control - Address 07h on page 40 and Channel A PGA Control - Address 08h on
page 40.
– Added Table 3.
DS657F357
Loading...
+ 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.