) - The full scale level is specified in the ADC Analog Characteristics
AUXOUTA
AUXOUTB
VA
AGND
AOUTA
AOUTB
MUTEC
VLS
SDIN
SCLK2
LRCK2
MCLK2
SDOUT
SCLK1
LRCK1
28,
Auxiliary Analog Audio Output (
impedance. See “Auxiliary Output Source Select (Bits 6:5)” on page 43.
29
Analog Power
30
31,
Analog Ground (
32
33,
DAC Analog Audio Output (
acteristics specification table.
34
Mute Control
35
clock to left/right clock frequency ratio is incorrect, or power-down.
Serial Audio Interface Power (
36
face. Refer to the Recommended Operating Conditions for appropriate voltages.
Serial Audio Data Input (
37
(Input)
Input
(Output)
- Positive power for the internal analog section.
) - Ground reference for the internal analog section.
- This pin is active during power-up initialization, reset, muting, when master
Input
38Serial Port 2 Serial Bit Clock
Serial Port 2 Left Right Clock
39
active on the serial audio input data line.
Master Clock 2 (
40
lators.
Input/Output
41Serial Audio Data Output (
Serial Port 1 Serial Bit Clock
42
Serial Port 1 Left Right Clock
43
active on the serial audio output data line.
Output
) - Analog output from either the DAC, the PGA block, or high
Output
) - The full scale output level is specified in the DAC Analog Char-
Input
) - Determines the required signal level for the serial audio inter-
) - Input for two’s complement serial audio data.
(Input/Output
(Input/Output
) -Optional asynchronous clock source for the DAC’s delta-sigma modu-
Output
) - Output for two’s complement serial audio data.
(Input/Output
(Input/Output
) - Serial bit clock for serial audio interface 2.
) - Determines which channel, Left or Right, is currently
) - Serial bit clock for serial audio interface 1.
) - Determines which channel, Left or Right, is currently
6
CS4245
7
CS4245
2. CHARACTERISTICS AND SPECIFICATIONS
(All Min/Max characteristics and specifications are guaranteed over the Specified Operating Conditions. Typical
performance characteristics and specifications are derived from measurements taken at nominal supply voltages
and T
SPECIFIED OPERATING CONDITIONS (AGND = DGND = 0 V; All voltages with respect to
ground.)
ABSOLUTE MAXIMUM RATINGS (AGND = DGND = 0 V All voltages with respect to ground.) (Note
1)
= 25°C.)
A
ParametersSymbol Min NomMaxUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)T
ParameterSymbolMinTypMaxUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Input Current(Note 2)I
Analog Input Voltage V
Digital Input VoltageLogic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)T
Storage TemperatureT
VA
VD
VLS
VLC
VLS
VLC
V
IND-S
V
IND-C
A
VA
VD
in
INA
stg
3.1
3.1
1.71
1.71
-10-+70°C
-0.3
-0.3
-0.3
-0.3
AGND-0.3-VA+0.3V
-0.3
-0.3
A
-20-+85°C
-65-+150°C
5.0
3.3
3.3
3.3
-
-
-
-
--±10mA
--VLS+0.3
5.25
5.25
5.25
5.25
+6.0
+6.0
+6.0
+6.0
VLC+0.3VV
V
V
V
V
V
V
V
V
Notes: 1. Operation beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
2. Any pin except supplies. Transient currents of up to ±100 mA on the analog input pins will not cause
SCR latch-up.
8
CS4245
DAC ANALOG CHARACTERISTICS (Full-Scale Output Sine Wave, 997 Hz; Test load R
C
= 10 pF (see Figure 1), Fs = 48/96/192 kHz. Measurement Bandwidth 10 Hz to 20 kHz, unless otherwise speci-
L
= 3 kΩ,
L
fied.) Synchronous mode.
All Speed Modes
Parameter
SymbolMinTypMaxUnit
Dynamic Performance for VA = 5 V
Dynamic Range(Note 3)
18 to 24-Bitunweighted
A-Weighted
16-Bitunweighted
A-Weighted
Total Harmonic Distortion + Noise(Note 3)
18 to 24-Bit0 dB
-20 dB
-60 dB
16-Bit0 dB
-20 dB
-60 dB
THD+N
96
99
87
90
102
105
93
96
-
-
-
-
-
-
-95
-82
-42
-93
-73
-33
-
-
-
-
-89
-76
-36
-87
-67
-27
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
Dynamic Performance for VA = 3.3 V
Dynamic Range(Note 3)
18 to 24-Bitunweighted
A-Weighted
16-Bitunweighted
A-Weighted
Total Harmonic Distortion + Noise(Note 3)
18 to 24-Bit0 dB
-20 dB
-60 dB
16-Bit0 dB
-20 dB
-60 dB
THD+N
93
96
85
88
99
102
90
93
-
-
-
-
-
-
-92
-79
-39
-90
-70
-30
-
-
-
-
-84
-71
-31
-82
-62
-22
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
Interchannel Isolation(1 kHz)-100-dB
DC Accuracy
Interchannel Gain Mismatch-0.10.25dB
Gain Drift-100-ppm/°C
Analog Output
Full Scale Output Voltage0.60*VA0.65*VA0.70*VAV
DC Current draw from an AOUT pin(Note 4)I
OUT
AC-Load Resistance(Note 5)R
Load Capacitance(Note 5)C
Output ImpedanceZ
L
L
OUT
--10µA
3--kΩ
--100pF
-100-Ω
pp
Note:3. One-half LSB of triangular PDF dither added to data.
4. 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.
5. Guaranteed by design. See Figure 2. R
and CL reflect the recommended minimum resistance and
L
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
9
CS4245
DAC COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE
Parameter (Note 6,9)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 6)to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-.05-+.2dB
StopBand.5770--Fs
StopBand Attenuation(Note 7)55--dB
Group Delaytgd-5/Fs-s
Combined Digital and On-chip Analog Filter Response Quad Speed Mode
Passband (Note 6)to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz0-+0.00004dB
StopBand0.7--Fs
StopBand Attenuation(Note 7)51--dB
Group Delaytgd-2.5/Fs-s
0
0
0
0
0
0
-
-
-
-
-
-
.4780
.4996
.4650
.4982
0.397
0.476
Fs
Fs
Fs
Fs
Fs
Fs
Notes: 6. Filter response is guaranteed by design.
7. 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.
8. De-emphasis is available only in Single Speed Mode.
9. Response is clock dependent and will scale with Fs. Note that the amplitude vs. frequency plots of this
data (Figures 21 to 30) have been normalized to Fs and can be de-normalized by multiplying the X-axis
scale by Fs.
10
CS4245
125
3.3µF
AOUTx
AGND
Figure 1. DAC Output Test Load
100
L
V
out
R
L
C
L
75
50
Safe Operating
Region
25
Capacitive Load -- C (pF)
2.5
51015
3
Resistive Load -- R (kΩ)
L
20
Figure 2. Maximum DAC Loading
11
CS4245
ADC ANALOG CHARACTERISTICS Test conditions (unless otherwise specified): Input test sig-
nal is a 1 kHz sine wave; measurement bandwidth is 10 Hz to 20 kHz. Fs = 48/96/192 kHz. Synchronous mode.
11. Referred to the typical line level full-scale input voltage
12. Valid for Double and Quad Speed Modes only.
13. Valid when the microphone level inputs are selected.
CS4245
ADC DIGITAL FILTER CHARACTERISTICS
Parameter (Note 14, 16)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 15)
Phase Deviation@ 20Hz(Note 15)-10-Deg
Passband Ripple--0dB
Filter Settling Time10
-12/Fs-s
-9/Fs -s
-5/Fs -s
-120-
5
/Fss
-
Hz
Hz
Note: 14. Filter response is guaranteed by design.
15. Response shown is for Fs equal to 48 kHz.
16. Response is clock dependent and will scale with Fs. Note that the response plots (Figures 33 to 44) are
normalized to Fs and can be de-normalized by multiplying the X-axis scale by Fs.
15
CS4245
AUXILIARY OUTPUT ANALOG CHARACTERISTICS Test conditions (unless otherwise
specified): Synchronous mode, Fs = 48/96/192 kHz. Input test signal is a 1 kHz sine wave; measurement bandwidth
is 10 Hz to 20 kHz.
VA = 5 V
ParameterSymbolMin Typ MaxUnit
Dynamic Performance with PGA Output Selected, Line Level Input
Dynamic Range(Note 18)
PGA Setting: -12 dB to +6 dB
A-weighted
unweighted
PGA Setting: +12 dB Gain
A-weighted
unweighted
Total Harmonic Distortion + Noise(Note 18)
PGA Setting: -12 dB to +12 dB
-1 dB
-20 dB
-60 dB
Dynamic Performance with PGA Output Selected, Mic Level Input
Dynamic Range(Note 18)
PGA Setting: -12 dB to 0 dB
A-weighted
unweighted
THD+N
99
96
93
90
-
-
-
77
74
105
102
99
96
-80
-82
-42
83
80
-
-
-
-
-74
-
-
-
-
dB
dB
dB
dB
dB
dB
dB
dB
dB
PGA Setting: +12 dB
A-weighted
unweighted
Total Harmonic Distortion + Noise(Note 18)
PGA Setting: -12 dB to 0 dB
-1 dB
-20 dB
-60 dB
PGA Setting: +12 dB
-1 dB
Dynamic Performance with DAC Output Selected
Dynamic Range(Notes 17, 18)
18 to 24-BitA-Weighted
unweighted
16-BitA-Weighted
unweighted
Total Harmonic Distortion + Noise (Notes 17, 18)
16 to 24-Bit0 dB
-20 dB
-60 dB
THD+N
THD+N
65
62
99
96
90
87
71
68
-
-
-
-
-
-
-
-74
-60
-20
-68
105
102
96
93
-80
-82
-42
-
-
-68
-
-
-
-
-
-
-
-74
-
-
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
16
CS4245
17
CS4245
AUXILIARY OUTPUT ANALOG CHARACTERISTICS (CONT’D)
VA = 5V or 3.3V
ParameterSymbolMin Typ MaxUnit
DC Accuracy
Interchannel Gain Mismatch-0.1-dB
Gain Error-
Gain Drift-
Analog Output
Full-Scale Output Voltage
PGA Output Selected
DAC Output Selected
Frequency Response 10 Hz to 20 kHz-0.1dB-+0.1dBdB
Analog In to Analog Out Phase Shift(Note 19)-180-deg
DC Current draw from an AUXOUT pinI
AC-Load ResistanceR
Load CapacitanceC
Output ImpedanceZ
OUT
L
L
OUT
-
-
--1µA
100--kΩ
--20pF
-1-kΩ
±5
-
±100-ppm/°C
0.56*VA
0.7*VA
VA
0.75*VA
V
V
%
pp
pp
Notes: 19. Valid only when PGA output is selected.
18
CS4245
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 Current VA = 5 V
(Normal Operation) VA = 3.3 V
VD, VLS, VLC = 5 V
VD, VLS, VLC = 3.3 V
Power Supply Current. VA = 5 V
(Power-Down Mode) (Note 20). 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 21)PSRR-60-dB
VQ Characteristics
Quiescent Voltage 1VQ1-0.5 x VA-VDC
DC Current from VQ1(Note 22)I
VQ1 Output ImpedanceZ
Quiescent Voltage 2VQ2-0.5 x VA-VDC
DC Current from VQ2(Note 22)I
VQ2 Output ImpedanceZ
FILT1+ Nominal VoltageFILT1+-VA-VDC
FILT2+ Nominal VoltageFILT2+-VA-VDC
Microphone Bias VoltageMICBIAS-0.8 x VA-VDC
Current from MICBIASI
I
A
I
A
I
D
I
D
I
A
I
D
-
-
-
Q1
Q1
Q2
Q2
MB
-
-
-
-
-
-
-
-
-
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
-- 1µA
-23 -kΩ
-- 1µA
-23 -kΩ
-- 2mA
Notes: 20. Power Down Mode is defines as RESET
input.
21. Valid with the recommended capacitor values on FILT1+, FILT2+, VQ1 and VQ2 as shown in the
Typical Connection Diagram.
22. Guaranteed by design. The DC current draw represents the allowed current draw due to typical leakage
through the electrolytic de-coupling capacitors.
= Low with all clock and data lines held static and no analog
19
DIGITAL INTERFACE CHARACTERISTICS
Parameters (Note 23)Symbol Min TypMaxUnits
High-Level Input VoltageSerial Port
Control Port
Low-Level Input VoltageSerial Port
Control Port
High-Level Output Voltage at I
Low-Level Output Voltage at I
=2 mASerial Port
o
Control Port
MUTEC
=2 mASerial Port
o
Control Port
MUTEC
CS4245
V
IH
V
IH
V
IL
V
IL
V
OH
V
OH
V
OH
V
OL
V
OL
V
OL
0.7xVLS
0.7xVLC
-
-
VLS-1.0
VLC-1.0
VA-1. 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
0.2xVLS
0.2xVLC
-
-
-
0.4
0.4
0.4
V
V
V
V
V
V
V
V
V
V
Input Leakage CurrentI
in
--±10µA
Input Capacitance(Note 24)--1pF
Maximum MUTEC Drive Current-3-mA
Minimum OVFL Active Time
6
10
---------- ---------LRCK1
µs
Notes: 23. Serial Port signals include: MCLK1, MCLK2, SCLK1, SCLK2, LRCK1, LRCK2, SDIN, SDOUT.
Control Port signals include: SCL/CCLK, SDA/CDOUT, AD0/CS
, AD1/CDIN, RESET, INT, OVFL.
24. Guaranteed by design.
20
CS4245
SWITCHING CHARACTERISTICS - SERIAL AUDIO PORT 1 (Logic ‘0’ = DGND = 0 V;
Logic ‘1’ = VL, C
Sample RateSingle Speed Mode
MCLK Specifications
MCLK1 Input Frequency fmclk1.024-51.200MHz
MCLK1 Input Pulse Width High/Lowt
Master Mode
LRCK1 Duty Cycle-50-%
SCLK1 Duty Cycle-50-%
SCLK1 falling to LRCK1 edget
SCLK1 falling to SDOUT validt
Slave Mode
LRCK1 Duty Cycle405060%
SCLK1 Period
= 20 pF) (Note 25)
L
ParameterSymbolMinTypMaxUnit
Double Speed Mode
Quad Speed Mode
Single Speed Mode
Double Speed Mode
Quad Speed Mode
Fs
Fs
Fs
clkhl8- -ns
slr
sdo
t
sclkw
t
sclkw
t
sclkw
4
50
100
-
-
-
50
100
200
-10-10ns
0-32ns
9
10
------------- --------
128()Fs
9
10
----------- -------
64()Fs
9
10
----------- ------64()Fs
-
-
-
-
-
-
kHz
kHz
kHz
ns
ns
ns
SCLK1 Pulse Width Hight
SCLK1 Pulse Width Lowt
SCLK1 falling to LRCK1 edget
SCLK1 falling to SDOUT validt
25. See figures 3 and 4 on page 22.
sclkh
sclkl
slr
sdo
30--ns
48--ns
-10-10ns
0-32ns
21
LRCK1
Output
SCLK1
Output
SDOUT
t
t
sdo
CS4245
slr
LRCK1
Input
SCLK1
Input
SDOUT
Figure 3. Master Mode Timing - Serial Audio Port 1
t
sclkh
t
sclkw
t
t
slr
sdo
t
sclkl
22
Figure 4. Slave Mode Timing - Serial Audio Port 1
CS4245
SWITCHING CHARACTERISTICS - SERIAL AUDIO PORT 2 (Logic ‘0’ = DGND = 0 V;
Logic ‘1’ = VL, C
Sample RateSingle Speed Mode
MCLK Specifications
MCLK2 Input Frequency fmclk1.024-51.200MHz
MCLK2 Input Pulse Width High/Lowt
Master Mode
LRCK2 Duty Cycle-50-%
SCLK2 Duty Cycle-50-%
SCLK2 falling to LRCK edget
SDIN valid to SCLK2 rising setup timet
SCLK2 rising to SDIN hold timet
Slave Mode
LRCK2 Duty Cycle405060%
SCLK2 Period
= 20 pF) (Note 26)
L
ParameterSymbolMinTypMaxUnit
Double Speed Mode
Quad Speed Mode
Single Speed Mode
Double Speed Mode
Quad Speed Mode
Fs
Fs
Fs
clkhl8- -ns
slr
sdis
sdih
t
sclkw
t
sclkw
t
sclkw
4
50
100
-
-
-
50
100
200
-10-10ns
16--ns
20--ns
9
10
------------- --------
128()Fs
9
10
----------- -------
64()Fs
9
10
----------- ------64()Fs
-
-
-
-
-
-
kHz
kHz
kHz
ns
ns
ns
SCLK2 Pulse Width Hight
SCLK2 Pulse Width Lowt
SCLK2 falling to LRCK2 edget
SDIN valid to SCLK2 rising setup timet
SCLK2 rising to SDIN hold timet
26. See figures 5 and 6 on page 24.
sclkh
sclkl
slr
sdis
sdih
30--ns
48--ns
-10-10ns
16--ns
20--ns
23
LRCK2
Output
SCLK2
Output
CS4245
t
slr
SDIN
LRCK2
Input
SCLK2
Input
t
sdis
Figure 5. Master Mode Timing - Serial Audio Port 2
t
slr
t
sclkh
t
sclkw
t
sdih
t
sclkl
24
SDIN
t
sdis
Figure 6. Slave Mode Timing - Serial Audio Port 2
t
sdih
CS4245
Left Channel
LRCK
SCLK
SDATA+3 +2 +1
MSB
-1 -2 -3 -4 -5
Channel A - Left
+5 +4
Figure 7. Format 0, Left Justified up to 24-Bit Data
Channel A - Left
LRCK
SCLK
SDATA+3 +2 + 1
MSB
-1 -2 -3 -4 -5+3 +2 +1
Left Channel
+5 +4
Figure 8. Format 1, I²S up to 24-Bit Data
LRCK
SCLK
Channel A - Left
LeftChannel
LSB
LSB
MSB
-1 -2 -3 -4
MSB
-1 -2 -3 -4
Channel B - Right
Right Channel
+3 +2 +1
+5 +4
Channel B - Right
Right Channel
+5 +4
Channel B - Right
RightChannel
LSB
LSB
SDATA
+6
LSB+5 +4 +3 +2
MSB-1 -2 -3 -4 -5
32 clocks
-6
+5 +4 +3 +2
+1 LSB
MSB-1-2-3-4-5
-6
+6
Figure 9. Format 2, Right Justified 16-Bit Data.
Format 3, Right Justified 24-Bit Data.
+1 LSB
25
SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT
p
(Inputs: Logic 0 = DGND, Logic 1 = VLC, C
Parameter SymbolMinMaxUnit
SCL Clock Frequencyf
RESET
Rising Edge to Startt
Bus Free Time Between Transmissionst
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 27)t
SDA Setup time to SCL Risingt
Rise Time of SCL and SDA(Note 28)t
Fall Time SCL and SDA(Note 28)t
Setup Time for Stop Conditiont
Acknowledge Delay from SCL Fallingt
=30pF)
L
scl
irs
buf
hdst
low
high
sust
hdd
sud
rc
fc
susp
ack
-100kHz
500-ns
4.7-µs
4.0-µs
4.7-µs
4.0-µs
4.7-µs
0-µs
250-ns
-1µs
-300ns
4.7-µs
3001000ns
CS4245
Notes: 27. Data must be held for sufficient time to bridge the transition time, t
28. Guaranteed by design.
RST
t
irs
StopS ta rt
SDA
SCL
t
buf
t
hdst
t
low
t
t
high
hdd
t
sud
t
ack
Figure 10. Control Port Timing - I²C Format
, of SCL.
fc
Repeated
Start
t
sust
t
t
hdst
Stop
rd
t
t
rc
t
fd
fc
t
sus
26
SWITCHING CHARACTERISTICS - CONTROL PORT - SPI FORMAT
(Inputs: Logic 0 = DGND, Logic 1 = VLC, CL=30pF)
ParameterSymbol Min TypMax Units
CS4245
CCLK Clock Frequencyf
RESET
CS
CS
Rising Edge to CS Falling.
High Time Between Transmissionst
Falling to CCLK Edget
CCLK Low Timet
CCLK High Timet
CDIN to CCLK Rising Setup Timet
CCLK Rising to DATA Hold Time(Note 29)t
CCLK Falling to CDOUT Stablet
Rise Time of CDOUTt
Fall Time of CDOUTt
Rise Time of CCLK and CDIN(Note 30)t
Fall Time of CCLK and CDIN(Note 30)t
sck
t
srs
csh
css
scl
sch
dsu
dh
pd
r1
f1
r2
f2
0-6.0MHz
500-ns
1.0--µs
20--ns
66--ns
66--ns
40--ns
15--ns
--50ns
--25ns
--25ns
--100ns
--100ns
Notes: 29. Data must be held for sufficient time to bridge the transition time of CCLK.
30. For f
<1 MHz.
sck
RSTt
srs
CS
CCLK
CDIN
CDOUT
t
t
t
dsu
t
css
t
r2
Figure 11. Control Port Timing - SPI Format
scl
t
sch
f2
t
dh
t
pd
t
csh
27
CS4245
28
CS4245
4. APPLICATIONS
4.1Recommended Power-Up Sequence
1) Hold RESET low until the power supply, MCLK1, MCLK2 (if used), LRCK1 and LRCK2 are stable. In this state,
the Control Port is reset to its default settings.
2) Bring RESET
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 CS4245 will operate at sampling frequencies from 4 kHz to 200 kHz. This range is divided into three speed
modes as shown in Table 1 below.
high. The device will remain in a low power state with the PDN bit set by default. The control port
ModeSampling Frequency
Single Speed
Double Speed
Quad Speed
Table 1. Speed Modes
4-50 kHz
50-100 kHz
100-200 kHz
The CS4245 has two serial ports which may be operated synchronously or asynchronously. Serial port 1 consists
of the SCLK1 and LRCK1 signals and clocks the serial audio output, SDOUT. Serial port 2 consists of the SCLK2
and LRCK2 signals and clocks the serial audio input, SDIN.
Each serial port may be independently placed into Single, Double, or Quad Speed mode. The serial ports may also
be independently placed into Master or Slave mode.
4.2.1Synchronous / Asynchronous Mode
By default, the CS4245 operates in synchronous mode with both serial ports synchronous to MCLK1. In this mode,
the serial ports may operate at different synchronous rates as set by the ADC_FM and DAC_FM bits, and MCLK2
does not need to be provided (the MCLK2 pin may be left unconnected).
If the Asynch bit is set (see “Asynchronous Mode (Bit 0)” on page 43), the CS4245 will operate in asynchronous
mode. The serial ports will operate asynchronously with Serial Port 1 clocked from MCLK1 and Serial Port 2 clocked
from MCLK2. In this mode, the serial ports may operate at different asynchronous rates.
4.2.2Master Clock
In asynchronous mode MCLK1/LRCK1 and MCLK2/LRCK2 must maintain an integer ratio. In synchronous mode
MCLK1/LRCK1 and MCLK1/LRCK2 must maintain an integer ratio. Some common ratios are 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 ADC_FM and DAC_FM bits and the MCLK Freq bits (see page 42) 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.
29
CS4245
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----
QSM
MCLK (MHz)
DSM
SSM
Table 2. Common Clock Frequencies
4.2.3Master Mode
As a clock master, LRCK and SCLK will operate as outputs. The two serial ports may be independently placed into
Master or Slave mode. Each LRCK and SCLK is internally derived from its respective MCLK with LRCK equal to Fs
and SCLK equal to 64 x Fs as shown in Figure 13.
00
01
LRCK1
10
00
÷4
÷2
01
SCLK1
÷1
10
÷1
÷1. 5
÷2
÷3
÷4
000
001
010
011
100
÷256
÷128
÷64
4.2.4Slave Mode
In Slave mode, SCLK and LRCK operate as inputs. Each serial port may be independently placed into Slave mode.
The Left/Right clock signal must be equal to the sample rate, Fs. If operating in asynchronous mode, LRCK1 must
be synchronously derived from MCLK1 and LRCK2 must be synchronously derived from MCLK2. If operating in synchronous mode, LRCK1, and LRCK2 must be synchronously derived from MCLK1. For more information on synchronous and asynchronous modes, see “Synchronous / Asynchronous Mode” on page 29.
30
CS4245
For each serial port, the serial bit clock must be equal to 128x, 64x, 48x or 32x Fs depending on the desired speed
mode. If operating in asynchronous mode, the serial bit clock SCLK1 must be synchronously derived from MCLK1
and SCLK2 must be synchronously derived from MCLK2. If operating in synchronous mode, SCLK1, and SCLK2
must be synchronously derived from MCLK1. Refer to Table 3 for required serial bit clock to Left/Right clock ratios.
When using operational amplifiers in the input circuitry driving the CS4245, a small DC offset may be driven into the
A/D converter. The CS4245 includes a high pass filter after the decimator to remove any DC offset 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 page 42) 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 CS4245 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 CS4245.
4.4Analog Input Multiplexer, PGA, and Mic Gain
The CS4245 contains a stereo 6-to-1 analog input multiplexer followed by a programmable gain amplifier (PGA).
The input multiplexer can select one of 6 possible stereo analog input sources and route it to the PGA.
Analog inputs 4A and 4B are able to insert a +32 dB gain stage before the input multiplexer, allowing them 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 14 shows the architecture of the input multiplexer, PGA, and mic gain stages.
AIN1A
AIN2A
AIN3A
AIN4A/MICIN1
AIN5A
AIN6A
AIN1B
AIN2B
AIN3B
AIN4B/MICIN2
AIN5B
AIN6B
+32 dB
+32 dB
Analog Input
Selec tio n Bits
MUX
PGAMU X
Channel A
PGA Ga in Bits
Channel B
PGA Ga in Bits
PGA
Out to ADC
Channel A
Out to ADC
Channel B
Figure 14. Analog Input Architecture
The “Analog Input Selection (Bits 2:0)” section on page 45 outlines the bit settings necessary to control the input
multiplexer and mic gain. “Channel A PGA Control - Address 07h” on page 43 and “Channel B PGA Control - Ad-
31
CS4245
dress 08h” on page 44 outlines the register settings necessary to control the PGA. By default, line level input 1 is
selected, and the PGA is set to 0 dB.
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 (n
passband frequency, where n=0,1,2,... Refer to the Typical Connection Diagram for the recommended analog input
circuit that will attenuate noise energy at 6.144 MHz. The use of capacitors which have a large voltage coefficient
(such as general purpose ceramics) must be avoided since these can degrade signal linearity. Any unused analog
input pairs should be left unconnected.
4.6Output Connections
The CS4245 DAC’s implement a switched-capacitor filter followed by a continuous time low pass filter. Its response,
combined with that of the digital interpolator, is shown in the “DAC Filter Plots” section beginning on page 50. The
recommended external analog circuitry is shown in the Typical Connection Diagram.
The CS4245 DAC is a linear phase design and does not include phase or amplitude compensation for an external
filter. Therefore, the DAC system phase and amplitude response will be dependent on the external analog circuitry.
4.7Output Transient Control
The CS4245 uses Popguard™ technology to minimize the effects of output transients during power-up and powerdown. This technique eliminates the audio transients commonly produced by single-ended single-supply 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.
× 6.144 MHz) the digital
4.7.1Power-up
When the device is initially powered-up, the audio outputs AOUTA and AOUTB are clamped to VQ2 which is initially
low. After the PDN bit is released (set to ‘0’) the DAC outputs begin to ramp with VQ2 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 VQ2, 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 bit should be set or the device should be reset about 250 ms before removing power. During this time, the voltage on VQ2 and the DAC outputs discharge gradually 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
VQ2. 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 DAC clock ratio or sample rate it is recommended that zero data (or near zero data) be present
on SDIN for at least 10 LRCK samples before the change is made. During the clocking change the DAC outputs will
always be in a zero data state. If non-zero serial audio input is present at the time of switching, a slight click or pop
may be heard as the DAC output automatically goes to it’s zero data state.
4.8Auxiliary Analog Output
The CS4245 includes an auxiliary analog output through the AUXOUT pins. These pins can be configured to output
the analog input to the ADC as selected with the input MUX and gained or attenuated with the PGA, the analog output of the DAC, or alternatively they may be set to high-impedance. See the “Auxiliary Output Source Select (Bits
6:5)” section on page 43 for information on configuring the auxiliary analog output.
32
CS4245
The auxiliary analog output can source very little current. As current from the AUXOUT pins increases, distortion will
increase. For this reason, a high input impedance buffer must be used on the AUXOUT pins to achieve full performance. Refer to the Auxiliary Output Analog Characteristics table on page 18 for acceptable loading conditions.
4.9De-Emphasis Filter
The CS4245 includes on-chip digital de-emphasis optimized for a sample rate of 44.1 kHz. The filter response is
shown in Figure 15. The frequency response of the de-emphasis curve will scale proportionally with changes in sample rate, Fs. Please see section 6.3.4 for de-emphasis 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.
Gain
dB
T1=50 µs
0dB
T2 = 15 µs
-10dB
F1F2
3.183 kHz10.61 kHz
Figure 15. De-Emphasis Curve
Frequency
4.10Internal Digital Loopback
The CS4245 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 (06h - See page 43). To
use this mode, the ADC and DAC must be operating at the same synchronous sample rate.
When this bit is set, the status of the DAC_DIF[1:0] bits in register 03h will be disregarded by the CS4245. 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.
4.11Mute Control
The MUTEC pin becomes active during power-up initialization, reset, muting, if the MCLK2 to LRCK2 ratio is incorrect in asynchronous mode or the MCLK1 to LRCK2 ratio is incorrect in synchronous mode, and during power-down.
The MUTEC
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
pin is intended to be used as control for an external mute circuit in order to add off-chip mute capability.
33
CS4245
channel noise/signal-to-noise ratios which are only limited by the external mute circuit. The MUTEC pin is an activelow CMOS driver. See Figure 16 below for a suggested active-low mute circuit.
+V
EE
AOUT
CS4245
MUTEC
LPF
AC
Couple
-V
EE
+V
A
MMUN2111LT1
47 kΩ
-V
EE
560 Ω
2 kΩ
10 kΩ
Audio
Out
Figure 16. Suggested Active-Low Mute Circuit
4.12Control Port Description and Timing
The control port is used to access the registers, allowing the CS4245 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.
The control port has 2 modes: SPI and I²C, with the CS4245 acting as a slave device. SPI mode is selected if there
is a high to low transition on the AD0/CS
connecting the AD0/CS
pin through a resistor to VLC or DGND, thereby permanently selecting the desired AD0 bit
address state.
pin, after the RESET pin has been brought high. I²C mode is selected by
4.12.1 SPI Mode
In SPI mode, CS is the CS4245 chip select signal, CCLK is the control port bit clock (input into the CS4245 from the
microcontroller), CDIN is the input data line from the microcontroller, CDOUT is the output data line to the microcontroller. Data is clocked in on the rising edge of CCLK and out on the falling edge.
Figure 17 shows the operation of the control port in SPI mode. To write to a register, bring CS
bits on CDIN form the chip address and must be 1001111. The eighth bit is a read/write indicator (R/W
should be low to write. The next eight bits form the Memory Address Pointer (MAP), which is set to the address of
the register that is to be updated. The next eight bits are the data which will be placed into the register designated
by the MAP. During writes, the CDOUT output stays in the Hi-Z state. It may be externally pulled high or low with a
47 kΩ resistor, if desired.
There is a MAP auto increment capability, enabled by the INCR bit in the MAP register. If INCR is a zero, the MAP
will stay constant for successive read or writes. If INCR is set to a 1, the MAP will auto-increment after each byte is
read or written, allowing block reads or writes of successive registers.
To read a register, the MAP has to be set to the correct address by executing a partial write cycle which finishes (CS
high) immediately after the MAP byte. The MAP auto increment bit (INCR) may be set or not, as desired. To begin
a read, bring CS
low, send out the chip address and set the read/write bit (R/W) high. The next falling edge of CCLK
34
low. The first seven
), which
CS4245
will clock out the MSB of the addressed register (CDOUT will leave the high impedance state). If the MAP auto increment bit is set to 1, the data for successive registers will appear consecutively.
CS
CCLK
CHIP
ADDRESS
1001111
R/W
MSB
LSB
MSB
LSB
CDIN
CDOUT
CHIP
ADDRESS
1001111
High Impedance
MAP = Memory Address Pointer, 8 bits, MSB first
R/W
MAP
DATA
MSB
byte 1
LSB
byte n
Figure 17. Control Port Timing in SPI Mode
4.12.2 I²C Mode
In I²C mode, SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL. There is no
CS
pin. Pins AD0 and AD1 form the two least significant bits of the chip address and should be connected through
a resistor to VLC or DGND as desired. The state of the pins is sensed while the CS4245 is being reset.
The signal timings for a read and write cycle are shown in Figure 18 and Figure 19. 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 CS4245 after a Start condition consists
of a 7 bit chip address field and a R/W
are fixed at 10011. To communicate with a CS4245, the chip address field, which is the first byte sent to the CS4245,
should match 10011 followed by the settings of the AD1 and AD0. The eighth bit of the address is the R/W
operation is a write, the next byte is the Memory Address Pointer (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. Setting the auto
increment bit in MAP allows successive reads or writes of consecutive registers. Each byte is separated by an acknowledge bit. The ACK bit is output from the CS4245 after each input byte is read, and is input to the CS4245 from
the microcontroller after each transmitted byte.
bit (high for a read, low for a write). The upper 5 bits of the 7-bit address field
bit. If the
SCL
SDA
0 1 2 38 91216 17 18 1910 1113 14 1527 28
CHIP ADDRESS (WRITE)MAP BYTEDATA
1 0 0 1 1 AD1 AD0 0
START
4 5 6 724 25
INCR 6 5 4 3 2 1 07 6 1 07 6 1 07 6 1 0
ACK
Figure 18. Control Port Timing, I²C Write
26
DATA +1
DATA +n
ACKACKACK
STOP
35
CS4245
2 310 1117 18 1925
SCL
CHIP ADDRESS (WRITE)MAP BYTE
SDA1 0 0 1 1 AD1 AD0 1
1 0 0 1 1 AD1 AD0 0
START
INCR 6 5 4 3 2 1 0
ACK
168 912 13 14 154 5 6 7 0 120 21 22 23 24
STOP
ACK
START
CHIP ADDRESS (READ)
26 27 28
DATA
7 07 07 0
ACK
DATA +1
ACK
DATA + n
NO
ACK
STOP
Figure 19. Control Port Timing, I²C Read
Since the read operation can not set the MAP, an aborted write operation is used as a preamble. As shown in
Figure 19, 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 10011xx0 (chip address & write operation).
Receive acknowledge bit.
Send MAP byte, auto increment off.
Receive acknowledge bit.
Send stop condition, aborting write.
Send start condition.
Send 10011xx1(chip address & read operation).
Receive acknowledge bit.
Receive byte, contents of selected register.
Send acknowledge bit.
Send stop condition.
Setting the auto increment bit in the MAP allows successive reads or writes of consecutive registers. Each
byte is separated by an acknowledge bit.
36
CS4245
4.13Interrupts and Overflow
The CS4245 has a comprehensive interrupt capability. The INT output pin is intended to drive the interrupt input pin
on the host microcontroller. The INT pin may function as either an active high CMOS driver or an active low opendrain driver (see “Active High/Low (Bit 0)” on page 46). When configured as active low open-drain, the INT pin has
no active pull-up transistor, allowing it to be used for wired-OR hook-ups with multiple peripherals connected to the
microcontroller interrupt input pin. In this configuration, an external pull-up resistor must be placed on the INT pin for
proper operation.
Many conditions can cause an interrupt, as listed in the interrupt status register descriptions. See “Interrupt Status
- Address 0Dh” on page 46. Each source may be masked off through mask register bits. In addition, each source
may be set to rising 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 designer.
The CS4245 also has a dedicated overflow output. The OVFL pin functions as active low open drain and has no
active pull-up transistor, thereby requiring an external pull-up resistor. The OVFL pin outputs an OR of the ADCOverflow and ADCUnderflow conditions available in the Interrupt Status register, however, these conditions do not
need to be unmasked for proper operation of the OVFL pin.
4.14 Reset
When RESET is low, the CS4245 enters a low power mode and all internal states are reset, including the control
port and registers, and the outputs are muted. When RESET
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
reach a final value due to the presence of external capacitance on the FILT1+ and FILT2+ pins. During this voltage
reference ramp delay, both SDOUT and DAC outputs will be automatically muted.
It is recommended that RESET
condition to prevent power glitch related issues.
be activated if the analog or digital supplies drop below the recommended operating
pin high. However, the voltage reference will take much longer to
is high, the control port becomes operational and the
4.15Synchronization 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 and left/right clocks must be the same for all of the CS4245’s in the system. If only one master clock source is needed, one solution is to place one CS4245 in Master Mode, and slave all
of the other CS4245’s 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 CS4245 reset with the inactive edge of master clock.
This will ensure that all converters begin sampling on the same clock edge.
4.16Grounding and Power Supply Decoupling
As with any high resolution converter, the CS4245 requires careful attention to power supply and grounding arrangements if its potential performance is to be realized. Figure 12 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 CS4245 as possible, with the low
value ceramic capacitor being the nearest. All signals, especially clocks, should be kept away from the FILT1+,
FILT2+, VQ1 and VQ2 pins in order to avoid unwanted coupling into the modulators. The FILT1+, FILT2+, VQ1 and
VQ2 decoupling capacitors, particularly the 0.1 µF, must be positioned to minimize the electrical path from FILT1+
and FILT2+ and AGND. The CS4245 evaluation board demonstrates the optimum layout and power supply arrangements. To minimize digital noise, connect the CS4245 digital outputs only to CMOS inputs.
37
CS4245
5. REGISTER QUICK REFERENCE
This table shows the register names and their associated default values.
AddrFunction76543210
01h Chip ID
02h Power ControlFreezeReserved Reserved ReservedPDN_MICPDN_ADCPDN_DACPDN
03h DAC Control 1
04h ADC Control
05h MCLK
Frequency
06h Signal Selec-
tion
07h PGA Ch B Gain
Control
08h PGA Ch A Gain
Control
09h Analog Input
Control
0Ah DAC Ch A Vol-
ume Control
0Bh DAC Ch B Vol-
ume Control
0Ch DAC Control 2
0Dh Interrupt Status Reserved Reserved Reserved Reserved ADCClkErrDACClkErrADCOvflADCUndrfl
This register is Read-Only. Bits 7 through 4 are the part number ID which is 1100b (0Ch) and the remaining bits (3 through 0) are for the chip revision.
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 4 below.
NameRegisterBit(s)
MuteDAC03h2
MuteADC04h2
Gain[5:0]07h5:0
Gain[5:0]08h5:0
Vol[7:0]0Ah7:0
Vol[7:0]0Bh7:0
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)
Function:
The ADC pair will remain in a reset state whenever this bit is set.
6.2.4Power Down DAC (Bit 1)
Function:
The DAC pair will remain in a reset state whenever this bit is set.
Table 4. Freeze-able Bits
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 6 and Figures 7-9.
Table 6. DAC Digital Interface Formats
DAC_DIF1 DAC_DIF0DescriptionFormatFigure
00Left Justified, up to 24-bit data (default)07
01
The DAC outputs will mute and the MUTEC pin will become active when this bit is set. Though this
bit is active high, it should be noted that the MUTEC pin is active low. The common mode voltage on
the outputs 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.
6.3.4De-Emphasis Control (Bit 1)
Function:
The standard 50/15 µs digital de-emphasis filter response, Figure 20, may be implemented for a sample rate of 44.1 kHz when the DeEmph bit is configured as shown in Table 7 below. NOTE: De-emphasis is available only in Single-Speed Mode.
Table 7. De-Emphasis Control
DeEmphDescription
0Disabled (default)
144.1 kHz de-emphasis
18
40
Gain
dB
0dB
-10dB
CS4245
T1=50 µs
T2 = 15 µs
F1F2
3.183 kHz10.61 kHz
Figure 20. De-Emphasis Curve
Frequency
6.3.5DAC Master / Slave Mode (Bit 0)
Function:
This bit selects either master or slave operation for serial audio port 2. Setting this bit will select master
mode, while clearing this bit will select slave mode.
Selects the required range of output sample rates.
Table 8. Functional Mode Selection
ADC_FM1ADC_FM0Mode
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
6.4.2ADC Digital Interface Format (Bit 4)
Function:
The required relationship between LRCK1, SCLK1 and SDOUT is defined by the ADC Digital Interface Format bit. The options are detailed in Table 9 and may be seen in Figure 7 and 8.
Table 9. ADC Digital Interface Formats
ADC_DIFDescriptionFormatFigure
0Left Justified, up to 24-bit data (default)07
1
2
S, up to 24-bit data
I
18
41
CS4245
6.4.3Mute ADC (Bit 2)
Function:
When this bit is set, the serial audio output of the both ADC channels will be muted.
6.4.4ADC High Pass Filter Freeze (Bit 1)
Function:
When this bit is set, the internal high-pass filter will be 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 31.
6.4.5ADC Master / Slave Mode (Bit 0)
Function:
This bit selects either master or slave operation for serial audio port 1. Setting this bit will select master
mode, while clearing this bit will select slave mode.
6.5MCLK Frequency - Address 05h
76543210
Reserved
MCLK1
Freq2
MCLK1
Freq1
MCLK1
Freq0
Reserved
MCLK2
Freq2
MCLK2
Freq1
MCLK2
Freq0
6.5.1Master Clock 1 Frequency (Bits 6:4)
Function:
Sets the frequency of the supplied MCLK1 signal. See Table 10 below for the appropriate settings.
Table 10. MCLK1 Frequency
MCLK1 DividerMCLK1 Freq2 MCLK1 Freq1 MCLK1 Freq0
÷1000
÷1.5001
÷2010
÷3011
÷4100
Reserved101
Reserved11x
6.5.2Master Clock 2 Frequency (Bits 2:0)
Function:
Sets the frequency of the supplied MCLK2 signal. See Table 11 below for the appropriate settings.
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 33.
6.6.3Asynchronous Mode (Bit 0)
Function:
When this bit is set, the DAC and ADC may be operated at independent an asynchronous sample
rates derived from MCLK1 and MCLK2. When this bit is cleared, the DAC and ADC must operate at
synchronous sample rates derived from MCLK1.
6.7Channel A PGA Control - Address 07h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
6.7.1Channel A PGA Gain (Bits 5:0)
Function:
See “Channel B PGA Gain (Bits 5:0)” on page 44.
43
CS4245
6.8Channel B PGA Control - Address 08h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
6.8.1Channel B 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 on page 45.
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 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 on page 45.
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 on page 45.
44
Table 14. PGA Soft Cross or Zero Cross Mode Selection
PGASoftPGAZeroCrossMode
00Changes to affect immediately
01Zero Cross enabled
10Soft Ramp enabled
11Soft Ramp and Zero Cross enabled (default)
6.9.2Analog Input Selection (Bits 2:0)
Function:
These bits are used to select the input source for the PGA and ADC. Please see Table 15 below.
Table 15. Analog Input Multiplexer Selection
Sel2Sel1Sel0PGA/ADC Input
000Microphone Level Inputs (+32 dB Gain Enabled)
001Line Level Input Pair 1
010Line Level Input Pair 2
011Line Level Input Pair 3
100Line Level Input Pair 4
101Line Level Input Pair 5
110Line Level Input Pair 6
111Reserved
CS4245
6.10DAC Channel A Volume Control - Address 0Ah
See 6.11 DAC Channel B Volume Control - Address 0Bh
6.11DAC Channel B Volume Control - Address 0Bh
76543210
Vol7Vol6Vol5Vol4Vol3Vol2Vol1Vol0
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 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).
Table 16. Digital Volume Control Example Settings
Binary CodeVolume Setting
000000000 dB
00000001-0.5 dB
00101000-20 dB
00101001-20.5 dB
6.12.1 DAC 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 on page 46.
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 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 17 on page 46.
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 17 on page 46.
Table 17. DAC Soft Cross or Zero Cross Mode Selection
DACSoftDACZeroCrossMode
00Changes to affect immediately
01Zero Cross enabled
10Soft Ramp enabled
11Soft Ramp and Zero Cross enabled (default)
6.12.2 Invert DAC Output (Bit 5)
Function:
When this bit is set, the output of the DAC will be inverted.
6.12.3 Active High/Low (Bit 0)
Function:
When this bit is set, the INT pin will function as an active high CMOS driver.
When this bit is cleared, the INT pin will function as an active low open drain driver and will require an
external pull-up resistor for proper operation.
For all bits in this register, a ‘1’ means the associated interrupt condition has occurred at least once
since the register was last read. A ‘0’ means the associated interrupt condition has NOT occurred
46
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.1 ADC Clock Error (Bit 3)
Function:
Indicates the occurrence of an ADC clock error condition.
6.13.2 DAC Clock Error (Bit 2)
Function:
Indicates the occurrence of a DAC clock error condition.
6.13.3 ADC Overflow (Bit 1)
Function:
Indicates the occurrence of an ADC overflow condition.
6.13.4 ADC 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 “Interrupt Status
- Address 0Dh” on page 46. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect the INT pin and the status register. If a mask bit is set to 0, the error is masked, meaning that its occurrence will not affect the INT pin or the status register. The bit positions align with the
corresponding bits in the Status register.
The two Interrupt Mode registers form a 2-bit code for each Interrupt Status register function. There
are three ways to set the INT pin active in accordance with the interrupt condition. In the Rising edge
active mode, the INT pin becomes active on the arrival of the interrupt condition. In the Falling edge
active mode, the INT pin becomes active on the removal of the interrupt condition. In Level active
mode, the INT pin remains active during the interrupt condition.
00 - Rising edge active
01 - Falling edge active
10 - Level active
11 - Reserved
47
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.
CS4245
Interchannel Gain Mismatch
The gain difference between left and right channels. Units in decibels.
Gain Error
The deviation from the nominal full-scale analog output for a full-scale digital input.
Gain Drift
The change in gain value with temperature. Units in ppm/°C.
Offset Error
The deviation of the mid-scale transition (111...111 to 000...000) from the ideal. Units in mV.
– Updated the VA power-down mode supply current specification on
page 19.
Table 18. Revision History
CS4245
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Representative.
To find the one nearest to you go to www.cirrus.com
IMPORTANT NOTICE
“Preliminary” product information descri bes products that are in production, but for which full characterization data is not available. Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe that the inf ormation contained in this document is accurate and reliabl e. However, the information is subject to change without notice and
is provided “AS IS” without warranty of any kind (express or i mplied). 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, patent infringement, and limitati on of liability. No responsibilit y is assumed by Cirrus for the use of
this information, including use of this information as the basi s for manufacture or sale of any items, or for infringement of patents or other rights of thi rd parties. This
document is the property of Cirrus and by f urnishing 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 onl y 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 APPLICATI ONS 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, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLI CATIONS (INCLUDING MEDICAL DEVICES, AIRCRAFT SYSTEMS OR COMPONENTS AND PERSONAL OR AUTOMOTIVE SAFETY OR
SECURITY DEVICES). INCLUSION OF CI RRUS PRODUCTS IN SUCH APPLICATIONS I S 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 CRIT ICAL 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 l ogo 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 thei r respective owners.
I2C is a register ed trademark of Phil ips Semiconductor. Purchase of I2C Components of Cirrus Logic, Inc., or one of its sublic ensed Associated Companies c onveys
a license under the Philips I2C Patent Rights to use those components in a standard I2C system.
54
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.