24-Bit, Multi-Standard D/A Converter for Digital Audio
Features
24 Bit Conversion
Up to 192 kHz Sample Rates
120 dB Dynamic Range
-100 dB THD+N
Supports PCM, DSD and External
Interpolation filters
Advanced Dynamic-Element Matching
Low Clock Jitter Sensitivity
Digital De-emphasis for 32 kHz, 44.1 kHz and
48 kHz
External Reference Input
I
SCLK
LRCK
SDATA
SERIAL INTERFACE
AND FORMAT SELECT
Description
The CS4397 is a complete high performance 24-bit
48/96/192 kHz stereo digital-to-analog conversion system. The device includes a digital interpolation filter
followed by a oversampled multi-bit delta-sigma modulator which drives dynamic-element-matching (DEM)
selection logic. The output from the DEM block controls
the input to a multi-element switched capacitor DAC/lowpass filter, with fully-differential outputs. This multi-bit architecture features significantly lower out-of-band noise
and jitter sensitivity than traditional 1-bit designs, and the
advanced DEM guarantees low noise and distortion at
all signal levels.
ORDERING INFORMATION
CS4397-KS-10° to 70° C 28-pin Plastic SOIC
CS4397-KSZ -10° to 70° C 28-pin Plastic SOIC Lead free
CDB4397Evaluation Board
C Mode ................................................................. 27
2
S ........................................................................................... 32
CS4397
Contacting Cirrus Logic Support
For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at:
http://www.cirrus.com/corporate/contacts/
“The I2C-Bus Specification: Version 2.0” Philips Semiconductors, December 1998.
http://www.semiconductors.philips.com
Preliminary product information describes products which are in production, but for which full characterization data is not yet available. Advance product information descr ibes products which are in development and subj ect to development changes . Cirrus Logic, Inc. has made best eff orts to ensure that the information
contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided “AS IS” without warranty of
any kind (express or implied). No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, nor for infringements of patents or ot her rights
of third parties. This document is the property of Cirrus Logic, Inc. and implies no license under patents, copyrights, trademarks, or trade secrets. No part of
this publicati on may be copied, reproduced, stored i n a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photograp hic, or
otherwise) without the prior written consent of Cirrus Logic, Inc. Items from any Cirrus Logic website or di sk may be printed for use by the user. However, no
part of the printout or electronic files may be copied, reproduced, sto red in a retrieval syst em, or t ransmitted, in any form or by any means (electronic, mechanical,
photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of thi s publication may be used as a basis for manufacture
or sale of any items without the prior written consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing
in this document may be trademarks or ser vice marks of their respective owners which may be registered in some jurisdictions. A list of Cirrus Logic, Inc. trademarks and service marks can be found at http://www.cirr us.com.
DS333F13
1.0 CHARACTERISTICS/SPECIFICATIONS
CS4397
ANALOG CHARACTERISTICS (T
Full-Scale Output Sine Wave, 997 Hz; MCLK = 12.288 MHz; SCLK = 3.072 MHz, Measurement Bandwidth 10 Hz
to 20 kHz, unless otherwise specified. Test load R
2. Performance limited by 16-bit quantization noise.
4DS333F1
ANALOG CHARACTERISTICS (Continued)
CS4397
ParameterSymbolVD = 3 VVD = 5 V
Power Supplies
Supply Currentnormal operation
VA = 5 Vnormal operation
power-down state
Power Dissipation normal operation
VA = 5 Vpower-down
Power Supply Rejection Ratio (1 kHz)(Note 3)
(120 Hz)
ParameterSymbolMin
MinTypMax MinTypMax
I
A
I
D
ID + I
A
PSRR-
-
20
-
TBD
-
60
--TBD
0.3
60
-
40
TBD
TBD
TBD---TBD
-
20
-
TBD
-
-
30
0.3
-
-
60
-
-
40
TypM ax
TBD
TBD
-
TBD-mW
-
-
Unit
mA
mA
µA
mW
dB
dB
Unit
Analog Output
Full Scale Differential Output VoltageTBD1.4VREFTBDVpp
Common Mode Voltage-0.5VREF-VDC
Interchannel Gain Mismatch-0.1-dB
Gain Drift-100-ppm/°C
Differential DC Offset-2.0TBDmV
AC-Load ResistanceR
Load CapacitanceC
Interchannel Isolation(1 kHz)-90-dB
L
L
1--kΩ
--100pF
Notes: 3. Valid with the recommended capacitor values on FILT+ and CMOUT as shown in Figure 1. Increasing
the capacitance will also increase the PSRR.
DS333F15
CS4397
ANALOG CHARACTERISTICS (Continued)
ParameterSymbolMinTypMaxUnit
Combined Digital and On-chip Analog Filter Response - Single Speed Mode
Passband(Note 4)
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-.020-+0.015dB
Passband Ripple--±0.0001dB
StopBand.5465--Fs
StopBand Attenuation(Note 5)102--dB
Group Delay(Note 6)tgd-37/Fs-s
De-emphasis Error(Note 7)
Fs = 32 kHz
(Relative to 1 kHz)Fs = 44.1 kHz
Fs = 48 kHz
Combined Digital and On-chip Analog Filter Response - Double Speed Mode
Passband(Note 4)
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.017-0.035dB
Passband Ripple--±0.0008dB
StopBand.570--Fs
StopBand Attenuation(Note 5)82--dB
Group Delaytgd-20/Fs-s
Combined Digital and On-chip Analog Filter Response - Quad-Speed Mode
Passband(Note 4)
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz0-+0.015dB
Passband Ripple--±0.00065dB
StopBand0.635--Fs
StopBand Attenuation(Note 5)83--dB
Group Delaytgd-11/Fs-s
-
-
-
-
-
0
0
-
-
-
-
-
-
-
-
-
-
-
0.470
0.492
±0.10
±0.10
±0.13
0.448
0.486
0.385
0.472
dB
dB
dB
Fs
Fs
Fs
Fs
Fs
Fs
Notes: 4. Response is clock dependent and will scale with Fs. Note that the response plots (
been normalized to Fs and can be de-normalized by multiplying the X-axis scale by Fs.
5. For Single-Speed Mode, the Measurement Bandwidth is 0.5465 Fs to 1.4 Fs.
For Double-Speed Mode, the Measurement Bandwidth is 0.570 Fs to 1.4 Fs.
For Quad-Speed Mode, the Measurement Bandwidth is 0.635 Fs to 1.3 Fs.
6. Group Delay for Fs=48 kHz 37/48 kHz=770 µs
7. De-emphasis is available only in Single Speed Mode.
6DS333F1
Figures 9-28
) have
CS4397
ANALOG CHARACTERISTICS - DSD MODE (T
Logic "0" = AGND; Full-Scale Output Sine Wave, 997 Hz; Measurement Bandwidth 10 Hz to 20 kHz, unless otherwise specified. Test load R
ParameterSymbolMinTypMaxUnit
= 1 kΩ, CL = 10 pF)
L
= 25 °C; Logic "1" = VD = 5 V; VA = 5V;
A
Dynamic Performance - DSD Mode
Dynamic Range(Note 1)
unweighted
A-Weighted
Total Harmonic Distortion + Noise(Note 1)
0 dB
-20 dB
-60 dB
THD+N
TBD
TBD
-
-
-
117
120
-100
-94
-54
-
-
TBD
TBD
TBD
dB
dB
dB
dB
dB
Analog Output - DSD Mode
Full Scale Differential Output Voltage(Note 8)TBD1.2VREFTBDVpp
Common Mode Voltage-0.5VREF-VDC
Interchannel Gain Mismatch-0.1-dB
Gain Drift-100-ppm/°C
Differential DC Offset-2.0TBDmV
Combined Digital and On-chip Analog Filter Response - DSD Mode
Passband(Note 4)
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.013-0dB
Group Delaytgd-0.2/Fs-s
-
-
-
-
0.95
2.70
Fs
Fs
Notes: 8. Assumes a DSD modulation index of 0.7.
DS333F17
CS4397
ANALOG CHARACTERISTICS - 8X INTERPOLATOR MODE (T
VD = 5 V; VA = 5V; Logic "0" = AGND; Full-Scale Output Sine Wave, 997 Hz; Base Band Fs = 48 kHz, SCLK =
6.144 MHz, Measurement Bandwidth 10 Hz to 20 kHz, unless otherwise specified. Test load R
10 pF)
ParameterSymbolMinTypMaxUnit
= 25 °C; Logic "1" =
A
= 1 kΩ, CL =
L
Dynamic Performance Mode
Dynamic Range(Note 1)
unweighted
A-Weighted
Total Harmonic Distortion + Noise(Note 1)
0 dB
-20 dB
-60 dB
THD+N
TBD
TBD
-
-
-
117
120
-100
-97
-57
-
-
TBD
TBD
TBD
dB
dB
dB
dB
dB
Analog Output
Full Scale Differential Output VoltageTBD0.7VREFTBDVpp
Common Mode Voltage-0.5VREF-VDC
Interchannel Gain Mismatch-0.1-dB
Gain Drift-100-ppm/°C
Differential DC Offset-2.0TBDmV
Combined Digital and On-chip Analog Filter Response - 8x Interpolator Mode
Passband(Note 4)
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.0008-0dB
Passband Ripple--0dB
StopBand6.08--Fs
StopBand Attenuation(Note 9)56--dB
Group Delaytgd-0.9/Fs-s
-
-
-
-
2.10
3.52
Fs
Fs
Notes: 9. Measurement Bandwidth is 6.08 to 9.6 Fs
8DS333F1
CS4397
DIGITAL CHARACTERISTICS (T
ParametersSymbol Min TypMaxUnits
High-Level Input VoltageVD = 5 V
Low-Level Input VoltageVD = 5 V
Input Leakage CurrentI
Input Capacitance-8-pF
Maximum MUTEC Drive Current-3-mA
= 25°C; VD = 3.0V - 5.25V)
A
V
VD = 3 V
VD = 3 V
IH
V
IL
in
2.0
2.0
-
-
--±10µA
-
-
-
-
-
-
0.8
0.8
V
V
V
V
ABSOLUTE MAXIMUM RATINGS (AGND = 0 V, all voltages with respect to ground.)
ParameterSymbol Min MaxUnit
DC Power Supply: Positive Analog
Positive Digital
Reference Voltage
Input Current, Any Pin Except SuppliesI
Digital Input VoltageV
Ambient Operating Temperature (power applied)T
Storage TemperatureT
WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation
is not guaranteed at these extremes.
VA
VD
VREF
in
IND
A
stg
-0.3
-0.3
-0.3
-±10mA
-0.3(VD)+0.4V
-55125°C
-65150°C
6.0
6.0
VA
V
V
V
RECOMMENDED OPERATING CONDITIONS
ParameterSymbol Min TypMaxUnit
DC Power Supply: Positive Digital
Positive Analog
Reference Voltage
Specified Temperature RangeT
VD
VA
VREF
(DGND = 0V; all voltages with respect to ground)
3.0
4.75
TBD
A
-10-70°C
3.3
5.0
5.0
5.25
5.25
VA
V
V
V
DS333F19
CS4397
SWITCHING CHARACTERISTICS (T
1 = VD = 5.25 to 3.0 Volts; C
=20pF)
L
= -10 to 70°C; Logic 0 = AGND = DGND; Logic
A
ParameterSymbol Min TypMaxUnit
Input Sample Rate (Single-speed mode)
(Double-speed mode)
(Quad-speed mode)
Fs
Fs
Fs
16
50
100
-
-
-
50
100
200
kHz
kHz
kHz
LRCK Duty Cycle455055%
MCLK Frequency (Single-speed 256 Fs,
Double speed 128 Fs or Quad-speed 64 Fs)
MCLK Frequency (Single-speed 384 Fs,
Double speed 192 Fs or Quad-speed, 96 Fs
MCLK Frequency (Single-speed 512 Fs,
Double speed 256 Fs or Quad-speed, 128 Fs
MCLK Frequency (Single-speed 768 Fs,
Double speed 384 Fs or Quad-speed, 192 Fs
4.096
6.144
8.192
12.288
-12.8MHz
-19.2MHz
-25.6MHz
-38.4MHz
MCLK Duty Cycle405060%
SCLK Frequency (Single-speed mode)
(Double-speed mode)
(Quad-speed mode)
SCLK rising to LRCK edge delayt
SCLK rising to LRCK edge setup timet
SDATA valid to SCLK rising setup timet
SCLK rising to SDATA hold timet
Enabling this function will initiate a calibration to minimize the differential DC offset. This function will be
automatically reset following completion of the calibration sequence.
CALMODE
M4M3M2M1M0PDN
0Disabled : CAL complete
1Enabled : CAL initiated
Table 1.
3.2 SOFT MUTE
Mode Control Register (address 01h)
76543210
CAL
MUTE
M4M3M2M1M0PDN
Access:
R/W in I2C and SPI.
Default:
0 - Enabled
Function:
The analog outputs will ramp to a muted state when enabled. The ramp requires 1152 left/right clock cycles in Single Speed, 2304 cycles in Double Speed and 4608 cycles in Quad Speed mode. The bias voltage on the outputs will be retained and MUTEC
The analog outputs will ramp to a normal state when this function transitions from the enabled to disabled
state. The ramp requires 1152 left/right clock cycles in Single Speed, 2304 cycles in Double Speed and
4608 cycles in Quad Speed mode. The MUTEC
MUTE
0Enabled
1Disabled
will go low at the completion of the ramp period.
will go high immediately on disabling of MUTE.
MODE
Table 2.
16DS333F1
CS4397
3.3 MODE SELECT
Mode Control Register (address 01h)
76543210
CALMUTE
Access:
R/W in I2C and SPI.
Default:
00000
Function:
The Mode Select pins determine the operational mode of the device as detailed in Tables 9-14. The options include:
Selection of the Digital Interface Format which determines the required relationship between the
Left/Right clock, serial clock and serial data as detailed in Figures 29-33
Selection of the standard 15 µs/50 µs digital de-emphasis filter response, Figure 28, which requires reconfiguration of the digital filter to maintain the proper filter response for 32, 44.1 or 48 kHz sample rates.
Selection of the appropriate clocking mode to match the input sample rates.
M4M3M2M1M0PDN
Access to the Direct Stream Digital Mode
Access to the 8x Interpolation Input Mode
3.4 POWER DOWN
Mode Control Register (address 01h)
76543210
CALMUTE
M4M3M2M1M0PDN
Access:
R/W in I2C and SPI.
Default:
1 - Powered Down
Function:
The analog and digital sections will be placed into a power-down mode when this function is enabled. This
bit must be cleared to resume normal operation.
PDNMODE
0Disabled
1Enabled
Table 3.
DS333F117
4.0 PIN DESCRIPTION - PCM MODE
CS4397
ResetRST
See DescriptionM4(AD0/CS
See DescriptionM3(AD1/CDIN)FILT-Reference Ground
See DescriptionM2(SCL/CCLK)CMOUTCommon ModeS Voltage
See Description M0(SDA/CDOUT)AOUTL-Differential Output
Digital GroundDGNDAOUTL+Differential Output
Digital PowerVDVAAnalog Power
Digital PowerVDAGNDAnalog Ground
Digital GroundDGNDAOUTR+Differential Output
Master ClockMCLKAOUTR-Differential Output
Serial ClockSCLKAGNDAnalog Ground
Left/Right ClockLRCKMUTEC
Serial DataSDATAC/H
See DescriptionM1MUTE
Reset - RST
Pin 1, Input
Function:
The device enters a low power mode and all internal state machines registers are reset when low. When
high, the device will be in a normal operation mode .
1
1
)FILT+Reference Filter
2
2
3
4
5
5
6
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
VREFVoltage Reference
Mute Control
Control port/Hardware select
Soft Mute
Digital Ground - DGND
Pins 6 and 9, Inputs
Function:
Digital ground reference.
Digital Power - VD
Pins 7 and 8, Input
Function:
Digital power supply. Typically 5.0 to 3.0 VDC.
Master Clock - MCLK
Pin 10, Input
Function:
The master clock frequency must be either 256x, 384x, 512x or 768x the input sample rate in Single
Speed Mode; either 128x, 192x 256x or 384x the input sample rate in Double Speed Mode; or 64x, 96x
128x or 192x the input sample rate in Quad Speed Mode. Tables 4-6 illustrate the standard audio sample
rates and the required master clock frequencies.
Table 6. Quad Speed (100 to 200 kHz sample rates) Common Clock Frequencies
Serial Clock - SCLK
Pin 11, Input
Function:
MCLK (MHz)
256x384x512x768x
Table 4. Single Speed (16 to 50 kHz sample rates) Common Clock Frequencies
MCLK (MHz)
128x192x256x384x
MCLK (MHz)
64x96x128x192x
Clocks individual bits of serial data into the SDATA pin. The required relationship between the Left/Right
clock, serial clock and serial data is defined by either the Mode Control Byte in Control Port Mode or the
M0 - M4 pins in Hardware Mode. The options are detailed in Figures 29-33
Left/Right Clock - LRCK
Pin 12, Input
Function:
The Left/Right clock determines which channel is currently being input on the serial audio data input,
SDATA. The frequency of the Left/Right clock must be at the input sample rate. Audio samples in
Left/Right sample pairs will be simultaneously output from the digital-to-analog converter whereas
Right/Left pairs will exhibit a one sample period difference. The required relationship between the
Left/Right clock, serial clock and serial data is defined by the Mode Control Byte and the options are detailed in Figures 29-33
Serial Audio Data - SDATA
Pin 13, Input
Function:
Two's complement MSB-first serial data is input on this pin. The data is clocked into SDATA via the serial
clock and the channel is determined by the Left/Right clock. The required relationship between the
Left/Right clock, serial clock and serial data is defined by the Mode Control Byte and the options are detailed inin Figures 29-33
Soft Mute - MUTE
Pin 15, Input
Function:
The analog outputs will ramp to a muted state when enabled. The ramp requires 1152 left/right clock cy-
DS333F119
CS4397
cles in Single Speed, 2304 cycles in Double Speed and 4608 cycles in Quad Speed mode. The bias voltage on the outputs will be retained and MUTEC
The analog outputs will ramp to a normal state when this function transitions from the enabled to disabled
state. The ramp requires 1152 left/right clock cycles in Single Speed, 2304 cycles in Double Speed and
4608 cycles in Quad Speed mode. The MUTEC
The converter analog outputs will mute when enabled. The bias voltage on the outputs will be retained
and MUTEC
will go active during the mute period.
will go active at the completion of the ramp period.
will release immediately on setting MUTE = 1.
Mute
0
1
Control Port / Hardware Mode Select - C/H
Pin 16, Input
Function:
Determines if the device will operate in either the Hardware Mode or Control Port Mode.
C/H
0
1
Mute Control - MUTEC
Pin 17, Output
Function:
The
Mute Control pin goes low during power-up initialization, reset, muting, master clock to left/right clock
frequency ratio is incorrect or power-down. This pin is intended to be used as a control for an external mute
circuit to prevent the clicks and pops that can occur in any single supply system. Use of Mute Control is not
mandatory but recommended for designs requiring the absolute minimum in extraneous clicks
Analog Ground - AGND
Pins 18 and 21, Inputs
Function:
Analog ground reference.
DESCRIPTION
Enabled
Normal operation mode
DESCRIPTION
Hardware Mode Enabled
Control Port Mode Enabled
and pops.
Differential Analog Outpus - AOUTR- , AOUTR+ and AOUTL- , AOUTL+
Pins 19, 20, 23 and 24, Outputs
Function:
The full scale differential analog output level is specified in the Analog Characteristics specifications table.
Analog Power - VA
Pin 22, Input
Function:
Power for the analog and reference circuits. Typically 5VDC.
20DS333F1
Common Mode Voltage - CMOUT
Pin 25, Output
Function:
Filter connection for internal bias voltage, typically 50% of VREF. Capacitors must be connected from
CMOUT to analog ground, as shown in Figure 6. CMOUT has a typical source impedence of 25 kΩ and
any current drawn from this pin will alter device performance
Reference Ground - FILT-
Pin 26, Input
Function:
Ground reference for the internal sampling circuits. Must be connected to analog ground.
Reference Filter - FILT+
Pin 27, Output
Function:
Positive reference for internal sampling circuits. External capacitors are required from FILT+ to analog
ground, as shown in Figure 6. The recommended values will typically provide 60 dB of PSRR at 1 kHz
and 40 dB of PSRR at 120 Hz. FILT+ is not intended to supply external current.
CS4397
Voltage Reference Input- VREF
Pin 28, Input
Function:
Analog voltage reference. Typically 5VDC.
HARDWARE MODE
Mode Select - M0, M1, M2, M3, M4
Pins 2, 3, 4, 5 and 14, Inputs
Function:
The Mode Select pins determine the operational mode of the device as detailed in Tables 9-14. The options include;
Selection of the Digital Interface Format which determines the required relationship between the
Left/Right clock, serial clock and serial data as detailed in Figures 29-33
Selection of the standard 15 µs/50 µs digital de-emphasis filter response, Figure 28, which requires reconfiguration of the digital filter to maintain the proper filter response for 32, 44.1 or 48 kHz sample rates.
Selection of the appropriate clocking mode to match the input sample rates.
Access to the Direct Stream Digital Mode
Access to the 8x Interpolation Input Mode
CONTROL PORT MODE
Address Bit 0 / Chip Select - AD0 / CS
Pin 2, Input
Function:
In I2C mode, AD0 is a chip address bit. CS is used to enable the control port interface in SPI mode. The
device will enter the SPI mode at anytime a high to low transition is detected on this pin. Once the device
has entered the SPI mode, it will remain until either the part is reset or undergoes a power-down cycle.
DS333F121
Address Bit 1 / Control Data Input - AD1/CDIN
Pin 3, Input
Function:
In I2C mode, AD1 is a chip address bit. CDIN is the control data input line for the control port interface in
SPI mode.
Serial Control Interface Clock - SCL/CCLK
Pin 4, Input
Function:
In I2C mode, SCL clocks the serial control data into or from SDA/CDOUT.
In SPI mode, CCLK clocks the serial data into AD1/CDIN and out of SDA/CDOUT.
Serial Control Data I/O - SDA/CDOUT
Pin 5, Input/Output
Function:
In I2C mode, SDA is a data input/output. CDOUT is the control data output for the control port interface in
SPI mode.
M1 - Mode Select
CS4397
Pin 14, Input
Function:
This pin is not used in Control Port Mode and must be terminated to ground.
22DS333F1
5.0 PIN DESCRIPTION - DSD MODE
CS4397
Refer to PCM modeRST VREFRefer to PCM mode
Refer to PCM mode M4(ADO/CS
Refer to PCM modeM3(AD1/CDIN)FILT-Refer to PCM mode
Refer to PCM modeM2(SCL/CCLK)CMOUTRefer to PCM mode
Refer to PCM mode M0(SDA/CDOUT)AOUTL-Refer to PCM mode
Refer to PCM modeDGNDAOUTL+Refer to PCM mode
Refer to PCM modeVDVARefer to PCM mode
Refer to PCM modeVDAGNDRefer to PCM mode
Refer to PCM modeDGNDAOUTR+Refer to PCM mode
Master ClockMCLKAOUTR-Refer to PCM mode
DSD Serial ClockDSD_SCLKAGNDRefer to PCM mode
Master Clock ModeCLKMODE MUTEC
Left Channel DataDSD_LC/H
Right Channel DataDSD_RMUTE
Master Clock - MCLK
Pin 10, Input
Function:
The master clock frequency must be either 4x or 6x the DSD data rate for 64x oversampled DSD data
and 2x or 3x the DSD data rate for 128x oversampled DSD data, refer to Table 7.
1
1
)FILT+Refer to PCM mode
2
2
3
4
5
5
6
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
Refer to PCM mode
Refer to PCM mode
Refer to PCM mode
CLKMODE
Pin 12, Input
Function:
This pin determines the allowable Master Clock to DSD data ratio as defined in Table 7.
DSD Over-
Sampling Ratio
DSD Serial Clock - DSD_SCLK
Pin 11, Input
Function:
Clocks the individual bits of the DSD audio data into the DSD_L and DSD_R pins.
Audio Data - DSD_L and DSD_R
Pins 13 and 14, Inputs
Function:
Direct Stream Digital audio data is clocked into DSD_L and DSD_R via the DSD serial clock.
CLKMODE
01
64x4x6x
128x2x3x
Table 7. MCLK to DSD Data Rate Clock Ratios
DS333F123
6.0 PIN DESCRIPTION - 8X INTERPOLATOR MODE
CS4397
Refer to PCM mode RST VREFRefer to PCM mode
Refer to PCM mode M4(AD0/CS) FILT+Refer to PCM mode
Refer to PCM mode M3(AD1/CDIN) FILT-Refer to PCM mode
Refer to PCM mode M2(SCL/CCLK) CMOUTRefer to PCM mode
Refer to PCM mode M0(SDA/CDOUT) AOUTL-Refer to PCM mode
Refer to PCM mode DGND AOUTL+Refer to PCM mode
Refer to PCM mode VD VARefer to PCM mode
Refer to PCM mode VD AGNDRefer to PCM mode
Refer to PCM mode DGND AOUTR+Refer to PCM mode
Master Clock MCLK AOUTR-Refer to PCM mode
Bit Clock BCKIAGNDRefer to PCM mode
Word Clock WCKIMUTEC
Left Channel Data DIL C/H
Right Channel Data DIR MUTE
Master Clock - MCLK
Pin 10, Input
Function:
The master clock frequency must be either 32x, 48x, 64x or 96x the input sample rate. Table 8 illustrates
the standard audio sample rates and the required master clock frequencies.
1
1
2
2
3
4
5
5
6
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
Refer to PCM mode
Refer to PCM mode
Refer to PCM mode
Sample Rate
(kHz)
32 x 88.192012.288016.38424.576
44.1 x 811.289616.934422.57933.869
48 x 812.288018.432024.57636.864
Bit Clock - BCKI
Pin 11, Input
Function:
Clocks the individual serial data bits into the DIL and DIR pins. Refer to Figure 33
Word Clock - WCKI
Pin 12, Input
Function:
The word clock determines which channel is currently being input on the serial audio data input, SDATA.
The frequency of the word clock must be at 8x the baseband sample rate. Refer to Figure 33.
Serial Audio Data - DIR and DIL
Pins 12 and 13, Inputs
Function:
Two's complement MSB-first serial data is input on these pins. The data is clocked into DIL and DIR via
the bit clock. Refer to Figure 33.
MCLK (MHz)
32x48x64x96x
Table 8. Common Clock Frequencies
24DS333F1
7.0 APPLICATIONS
7.1 Recommended Power-up Sequence
1. Hold RST low until the power supplies, master, and left/right clocks are stable.
2. Bring RST high.
CS4397
DS333F125
CS4397
8.0 CONTROL PORT INTERFACE
The control port is used to load all the internal settings of the CS4397. The operation of the control port
may be completely asynchronous to the audio sample rate. 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 I2C, with the CS4397 operating as a slave device in both modes. If
I2C operation is desired, AD0/CS should be tied to VD or DGND. If the CS4397 ever detects a high to low
transition on AD0/CS after power-up, SPI mode will be selected.
8.1 SPI Mode
In SPI mode, CS is the CS4397 chip select signal, CCLK is the control port bit clock, CDIN is the input
data line from the microcontroller, CDOUT is the data output and the chip address is 0010000. The data
is clocked on the rising edge of CCLK.
Figure 7 shows the operation of the control port in SPI mode. To write to a register, bring CS low. The first
7 bits on CDIN form the chip address, and must be 0010000. The eighth bit is a read/write indicator (R/W).
The next 8 bits form the Memory Address Pointer (MAP), which is set to 01h. The next 8 bits are the data
which will be placed into the register designated by the MAP.
8.2 I2C Mode
In I2C mode, SDA is a bi-directional data line. Data is clocked into and out of the part by the clock, SCL,
with the clock to data relationship as shown in Figure 3. There is no CS pin. Pins AD0 and AD1 form the
partial chip address and should be tied to VD or DGND as required. The 7-bit address field, which is the
first byte sent to the CS4397, must be 00100(AD1)(AD0) where (AD1) and (AD0) match the setting of the
AD0 and AD1 pins. The eighth bit of the address byte is the R/W bit (high for a read, low for a write). If
the operation is a write, the next byte is the Memory Address Pointer, MAP, which selects the register to
be read or written. The MAP is then followed by the data to be written. If the operation is a read, then the
contents of the register pointed to by the MAP will be output after the chip address.
For more information on I2C, please see “The I2C-Bus Specification: Version 2.0”, listed in the References
section.
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth (typically 10Hz to 20kHz), including distortion components. Expressed in decibels.
Dynamic Range
The ratio of the full scale 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 measurement over the specified bandwidth
made with a -60 dBFS signal. 60 dB is then added to the resulting measurement to refer the measurement
to full scale. This technique ensures that the distortion components are below the noise level and do not
effect 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.
Interchannel Isolation
A measure of crosstalk between the left and right channels. Measured for each channel at the converter's
output with all zeros to the input under test and a full-scale signal applied to the other channel. Units in
decibels.
Interchannel Gain Mismatch
CS4397
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.
10.0 REFERENCES
1) "How to Achieve Optimum Performance from Delta-Sigma A/D & D/A Converters" by Steven Harris.
Paper presented at the 93rd Convention of the Audio Engineering Society, October 1992.
2) CDB4397 Evaluation Board Datasheet
3) “The I2C-Bus Specification: Version 2.0” Philips Semiconductors, December 1998.
http://www.semiconductors.philips.com