Cirrus Logic CS4364 User Manual

CS4364
103 dB, 192 kHz 6-Channel D/A Converter
Features
Advanced Multi-bit Delta Sigma Architecture24-bit ConversionAutomatic Detection of Sample Rates up to
103 dB Dynamic Range-88 dB THD+NSingle-Ended Output ArchitectureDirect Stream Digital
®
(DSD
Non-Decimating Volume Control – On-Chip 50 kHz Filter – Matched PCM and DSD Analog Ou tput
Levels
Selectable Digital FiltersVolume Control with 1/2-dB Step Size and Soft
Ramp
Low Clock-Jitter Sensitivity+5 V Analog Supply, +2.5 V Digital SupplySeparate 1.8 to 5 V Logic Supplies for the
Control and Serial Ports
™)
Mode
Description
The CS4364 is a complete 6-channel digital-to-analog system. This D/A system includes digital de-emphasis, half-dB step size volume control, ATAPI channel mix­ing, selectable fast and slow digital interpolation filters followed by an oversampled, multi-bit delta sigma mod­ulator which includes mismatch shaping technology that eliminates distortion due to capacitor mismatch. Follow­ing this stage is a multi-element switched capacitor stage and low-pass filter with single-ended analog outputs.
The CS4364 also has a proprietary DSD processor which allows for volume control and 50 kHz on-chip fil­tering without an intermediate decimation stage. It also offers an optional path for direct DSD conve r sion by di­rectly using the multi-element switched capacitor array.
The CS4364 accepts PCM data at sample rates from 4 kHz to 216 kHz, DSD audio data, and delivers excel­lent sound quality. These featu res are ideal for multi­channel audio systems including SACD players, A/V re­ceivers, digital TV’s, mixing consoles, effects processors, and sound cards.
This product is available in 48-pin LQFP package in Commercial (-40°C to +85°C) temperature grade. See
“Ordering Information” on page 4 9 for complete details.
Control Port Supply = 1.8 V to 5 V
Hardware Mode or
2
I
C/SPI Software Mode
Control Data
Reset
Serial Audio Port Supply = 1.8 V to 5 V
PCM Serial Audio Input
DSD Audio
Input
http://www.cirrus.com
Level Translator
Level Translator
Register/Hardware
Configuration
Volume
Controls
6
DSD Processor
-Volume control
Serial Interface
-50 kHz filter
Digital Supply = 2.5 V
Digital Filters
Copyright © Cirrus Logic, Inc. 2008
(All Rights Reserved)
Multi-bit ∆Σ Modulators
Analog Supply = 5 V
Internal Voltage
Reference
Switch-Cap
DAC and
Analog Filters
Extern al Mute
Control
6
6
Six Channels of Single-Ended Outputs
Mute S i gnals
MAY '08
DS619F1
TABLE OF CONTENTS
1. PIN DESCRIPTION................................................................................................................................. 6
2. CHARACTERISTICS AND SPECIFICATIONS...................................................................................... 8
RECOMMENDED OPERATING CONDITIONS .......................................................................................... 8
ABSOLUTE MAXIMUM RATINGS............................................................................................................... 8
DAC ANALOG CHARACTERISTICS........................................................................................................... 9
POWER AND THERMAL CHARACTERISTICS........................................................................................ 10
COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE............................................ 11
COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE............................................ 12
DSD COMBINED DIGITAL & ON-CHIP ANALOG FILTER RESPONSE ..................................................12
DIGITAL CHARACTERISTICS ............... ... ... ... ... .... ... ... ... .... ... ... ... .... ......................................... .... ............ 13
SWITCHING CHARACTERISTICS - PCM ................................................................................................ 14
SWITCHING CHARACTERISTICS - DSD.................................................................................................15
SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT.................................................... 16
SWITCHING CHARACTERISTICS - CONTROL PORT - SPI FORMAT....................... ... ... ... ... .... ... ... ... ... 17
3. TYPICAL CONNECTION DIAGRAM .............................................................................................. 18
4. APPLICATIONS ................................................................................................................................... 20
4.1 Master Clock.................................................................................................................................. 20
4.2 Mode Select.................................................................................................................................. 21
4.3 Digital Interface Formats ............................................................................................................... 22
4.3.1 OLM #1 ................................................................................................................................ 23
4.3.2 OLM #2 ................................................................................................................................ 23
4.4 Oversampling Modes..................................................................................................................... 23
4.5 Interpolation Filter.......................................................................................................................... 24
4.6 De-Emphasis................................................................................................................................. 24
4.7 ATAPI Specification....................................................................................................................... 25
4.8 Direct Stream Digital (DSD) Mode. ... ... ... .... ... .......................................... ... ... .... ... ... ... ... .... ... ......... 25
4.9 Grounding and Power Supply Arrangements................................................................................ 26
4.9.1 Capacitor Placement............................................................................................................ 26
4.10 Analog Output and Filtering...................... ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... ................ 26
4.11 The MUTEC Outputs................................................ ... ... .... ... .......................................... ............ 27
4.12 Recommended Power-Up Sequence.......................................................................................... 28
4.12.1 Hardware Mode............................................................... ... ... .... ... ...................................... 28
4.12.2 Software Mode...................................................... .... ... ... ... ................................................ 28
4.13 Recommended Procedure for Switching Operational Modes...................................................... 29
4.14 Control Port Interface .................................................................................................................. 29
4.14.1 MAP Auto Increment.......................................................................................................... 29
4.14.2 I²C Mode ................................................................... ... ... ... ... .... ......................................... 29
4.14.3 SPI Mode ........................................................................... ... .... ... ...................................... 30
4.15 Memory Address Pointer (MAP)................................................................................................. 31
4.15.1 INCR (Auto Map Increment Enable) .................................................................................. 31
4.15.2 MAP4-0 (Memory Address Pointer) ................................................................................... 31
5. REGISTER QUICK REFERENCE ....................................................................................................... 32
6. REGISTER DESCRIPTION .................................................................................................................. 33
6.1 Chip Revision (Address 01h)................................................................................................
6.1.1 Part Number ID (PART) [Read Only] ......... .... ... ... ... .... ......................................... ................ 33
6.1.2 Revision ID (REV) [Read Only]............................................................................................ 33
6.2 Mode Control 1 (Address 02h) ...................................................................................................... 33
6.2.1 Control Port Enable (CPEN) ................................................................................................33
6.2.2 Freeze Controls (FREEZE)..................................................................................................33
6.2.3 PCM/DSD Selection (DSD/PCM)......................................................................................... 34
6.2.4 DAC Pair Disable (DACx_DIS) ............................................................................................ 34
6.2.5 Power Down (PDN).............................................................................................................. 34
CS4364
......... 33
2 DS619F1
CS4364
6.3 PCM Control (Address 03h) .......................................................................................................... 34
6.3.1 Digital Interface Format (DIF)........ .... ... ... ... .... ... .......................................... ... ... ... .... ............ 34
6.3.2 Functional Mode (FM).......................................................................................................... 35
6.4 DSD Control (Address 04h)........... .......................................... ... .......................................... ......... 35
6.4.1 DSD Mode Digital Interface Format (DSD_DIF) .................................................................. 35
6.4.2 Direct DSD Conversion (DIR_DSD)........ ... .... ... ... ... .... ... .......................................... ... ......... 36
6.4.3 Static DSD Detect (STATIC_DSD) ...................................................................................... 36
6.4.4 Invalid DSD Detect (INVALID_DSD).................................................................................... 36
6.4.5 DSD Phase Modulation Mode Select (DSD_PM_MODE).................................................... 36
6.4.6 DSD Phase Modulation Mode Enable (DSD_PM_EN) ........................................................ 36
6.5 Filter Control (Address 05h) .......................................................................................................... 37
6.5.1 Interpolation Filter Select (FILT_SEL).................................................................................. 37
6.6 Invert Control (Address 06h) ................................................... ... ... ... .... ... ... ... .... ............................ 37
6.6.1 Invert Signal Polarity (INV_xx) ... ... .... ... ....................................... ... ... ... .... ... ... ... ... ................ 37
6.7 Group Control (Address 07h) ........................................................................................................ 37
6.7.1 Mute Pin Control (MUTEC1, MUTEC0) ............................................................................... 37
6.7.2 Channel A Volume = Channel B Volume (Px_A=B)............................................................. 37
6.7.3 Single Volume Control (SNGLVOL)..................................................................................... 38
6.8 Ramp and Mute (Address 08h) ..................................................................................................... 38
6.8.1 Soft Ramp and Zero Cross Control (SZC) ........................................................................... 38
6.8.2 Soft Volume Ramp-Up After Error (RMP_UP) ..................................................................... 39
6.8.3 Soft Ramp-Down Before Filter Mode Change (RMP_DN)................................................... 39
6.8.4 PCM Auto-Mute (PAMUTE)................................................................................................. 39
6.8.5 DSD Auto-Mute (DAMUTE) ................................................................................................. 39
6.8.6 MUTE Polarity and DETECT (MUTEP1:0)..... ...................................................................... 40
6.9 Mute Control (Address 09h) .......................................................................................................... 40
6.9.1 Mute (MUTE_xx)........................................ .... ... ... ... ....................................... ... ... .... ... ......... 40
6.10 Mixing Control (Address 0Ah, 0Dh, 10h, 13h) ............. ... .... ... ... ................................................... 40
6.10.1 De-Emphasis Control (PX_DEM1:0).................................................................................. 40
6.10.2 ATAPI Channel Mixing and Muting (ATAPI) ...................................................................... 41
6.11 Volume Control (Address 0Bh, 0Ch, 0Eh, 0Fh, 11h, 12h)........................................................... 42
6.11.1 Digital Volume Control (xx_VOL7:0) .................................................................................. 42
6.12 PCM Clock Mode (Address 16h)................................................................................................. 42
6.12.1 Master Clock Divide by 2 Enable (MCLKDIV).................................................................... 42
7. FILTER RESPONSE PLOTS ............................................................................................................... 43
8. REFERENCES...................................................................................................................................... 47
9. PARAMETER DEFINITIONS................................................................................................................ 47
10. PACKAGE DIMENSIONS ............................................................. .......................................... ......... .. 48
11. ORDERING INFORMATION ......................................................... ... ... ... ............................................ 49
12. REVISION HISTORY .................................................... ... ... ... .... ... ................................................... .. 50
DS619F1 3
LIST OF FIGURES
Figure 1. Serial Audio Interface Timing...................................................................................................... 14
Figure 2. Direct Stream Digital - Serial Audio Input Timing........................................................................ 15
Figure 3. Direct Stream Digital - Serial Audio Input Timing for Phase Modulation Mode........................... 15
Figure 4. Control Port Timing - I²C Format................................................................................................. 16
Figure 5. Control Port Timing - SPI Format................................................................................................ 17
Figure 6. Typical Connection Diagram, Software Mode.............................................................................18
Figure 7. Typical Connection Diagram, Hardware Mode........................ ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... ... 19
Figure 8. Format 0 - Left-Justified up to 24-bit Data .................................................................................. 22
Figure 9. Format 1 - I²S up to 24-bit Data .................................................................................................. 22
Figure 10. Format 2 - Right-Justified 16-bit Data....................................................................................... 22
Figure 11. Format 3 - Right-Justified 24-bit Data....................................................................................... 22
Figure 12. Format 4 - Right-Justified 20-bit Data....................................................................................... 22
Figure 13. Format 5 - Right-Justified 18-bit Data....................................................................................... 23
Figure 14. Format 8 - One Line Mode 1..................................................................................................... 23
Figure 15. Format 9 - One Line Mode 2..................................................................................................... 23
Figure 16. De-Emphasis Curve.................................................................................................................. 24
Figure 17. ATAPI Block Diagram (x = channel pair 1, 2, or 3) ................................................................... 25
Figure 18. DSD Phase Modulation Mode Diagram....................................................................................26
Figure 19. Full-Scale Output...................................................................................................................... 27
Figure 20. Recommended Output Filter..................................................................................................... 27
Figure 21. Recommended Mute Circuitry .................................................................................................. 28
Figure 22. Control Port Timing, I²C Mode.................................. ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... .... ............ 30
Figure 23. Control Port Timing, SPI Mode................................. ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... .... ............ 31
Figure 24. Single-Speed (fast) Stopband Rejection................................................................................... 43
Figure 25. Single-Speed (fast) Transition Band......................................................................................... 43
Figure 26. Single-Speed (fast) Transition Band (detail)............................................................................. 43
Figure 27. Single-Speed (fast) Passband Ripple.................................................... ... .... ... ... ... ... ................ 43
Figure 28. Single-Speed (slow) Stopband Rejection .............................................................. ... .... ... ... ...... 43
Figure 29. Single-Speed (slow) Transition Band........................................................................................ 43
Figure 30. Single-Speed (slow) Transition Band (detail)............................................................................ 44
Figure 31. Single-Speed (slow) Passband Ripple...................................................................................... 44
Figure 32. Double-Speed (fast) Stopband Rejection ................................................................................. 44
Figure 33. Double-Speed (fast) Transition Band........................................................................................ 44
Figure 34. Double-Speed (fast) Transition Band (detail)............................................................................ 44
Figure 35. Double-Speed (fast) Passband Ripple...................................................................................... 44
Figure 36. Double-Speed (slow) Stopband Rejection................................................................................ 45
Figure 37. Double-Speed (slow) Transition Band................................ ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... . ..... 45
Figure 38. Double-Speed (slow) Transition Band (detail)................................. ... ... ... .... ... ... ... ... .... ... ... ... ... 45
Figure 39. Double-Speed (slow) Passband Ripple.................................................................................
Figure 40. Quad-Speed (fast) Stopband Rejection....................................... .... ... ... ... .... ............................ 45
Figure 41. Quad-Speed (fast) Transition Band .......................................................................................... 45
Figure 42. Quad-Speed (fast) Transition Band (detail)........................ ... ... ... .... ... ... ... .... ... ... ... ................... 46
Figure 43. Quad-Speed (fast) Passband Ripple........................................................................................ 46
Figure 44. Quad-Speed (slow) Stopband Rejection................................................................................... 46
Figure 45. Quad-Speed (slow) Transition Band......................................................................................... 46
Figure 46. Quad-Speed (slow) Transition Band (detail)............................................................................. 46
Figure 47. Quad-Speed (slow) Passband Ripple....................................................................................... 46
CS4364
... 45
4 DS619F1
LIST OF TABLES
Table 1. Single-Speed Mode Standard Frequencies ................................................................................ 20
Table 2. Double-Speed Mode Standard Frequencies............................................................................... 20
Table 3. Quad-Speed Mode Standard Frequencies ......................................................................... ... ... .. 20
Table 4. PCM Digital Interface Format, Hardware Mode Options............................................................. 21
Table 5. Mode Selection, Hardware Mode Options .................................................................................. 21
Table 6. Direct Stream Digital (DSD), Hardware Mode Options ............................................................... 21
Table 7. Digital Interface Formats - PCM Mode........................................................................................ 35
Table 8. Digital Interface Formats - DSD Mode ........................................................................................ 35
Table 9. ATAPI Decode .......................................................................... ... ... .... ... ... ... ............................... 41
Table 10. Example Digital Volume Settings.............................................................................................. 42
CS4364
DS619F1 5

1. PIN DESCRIPTION

DSD3
DSD2 DSD1
VD
GND
MCLK
LRCK
SDIN1
SCLK
M4(TST)
SDIN2
M3(TST)
TST
DSD6
DSD5
DSD4
48 47 46 45 44 43 42 41 40 39 38 37
1
2
3
4
5
6
7
8
9
10
11
2
1
13 14 15 16 17 18 19 20 21 22
CS4364
MUTE1
TST
TST_OUT
VLS
DSD_SCLK
AOUT1
23 24
AOUT2
TST_OUT
36
35
34
33
32
31
30
29
28
27
26
25
CS4364
TST_OUT AOUT3 AOUT4 TST_OUT VA GND TST_OUT AOUT5 AOUT6 TST_OUT MUTE2 MUTE3
TST
SDIN3
M0(AD0/CS)
M1(SDA/CDIN)
M2(SCL/CCLK)
VQ
VLC
RST
FILT+
MUTE5
MUTE6
MUTE4
Pin Name # Pin Description
VD 4
GND
MCLK 6
LRCK 7 SDIN1
SDIN2 SDIN3
SCLK 9 Serial Clock (Input) - Serial clocks for the serial audio interface.
TST
RST
VA 32
VLS 43
VLC 18
VQ 21 Quiescent Voltage (Output) - Filter connection for internal quiescent voltage.
Digital Power (Input) - Positive power supply for the digital section. Refer to the Recommended Operating Conditions for appropriate voltages.
5
Ground (Input) - Ground reference. Should be connected to analog ground.
31
Master Clock (Input) - Clock source for the delta-sigma modulator and digital filters. Table 1 illus- trates several standard audio sample rates and the required master clock frequencies.
Left Right Clock (Input) - Determines which channel, Left or Right, is currently active on the serial audio data line. The frequency of the left/right clock must be at the audio sample rate, Fs.
8
1113Serial Data Input (Input) - Input for two’s complement serial audio data.
14 4445Test - These pins need to be tied to analog ground.
Reset (Input) - The device enters a low power mode and all internal registers are reset to their
19
default settings when low. Analog Power (Input) - Positive power supply for the analog section. Refer to the Recommended
Operating Conditions for appropriate voltages. Serial Audio Interface Power (Input) - Determines the required signal level for the serial audio
interface. Refer to the Recommended Operating Conditions for appropriate voltages. Control Port Power (Input) - Determines the required signal level for the control port and hard-
ware mode configuration pins. Refer to the Recommended Operating Conditions for appropriate voltages.
6 DS619F1
CS4364
Pin Name # Pin Description
Positive Voltage Reference (Output) - Positive reference voltage for the internal sampling cir-
FILT+ 20
AOUT1 AOUT2 AOUT3 AOUT4 AOUT5 AOUT6
MUTEC1 MUTEC2 MUTEC3 MUTEC4 MUTEC5 MUTEC6
40, 37
TST_OUT
36, 33 30, 27
Hardware Mode Definitions
M0 M1 M2 M3 M4
Software Mode Definitions
SCL/CCLK 15
SDA/CDIN 16
AD0/CS
TST
DSD Definitions
DSD1, DSD2 DSD3, DSD4 DSD5, DSD6
DSD_SCLK 42 DSD Serial Clock (Input) - Serial clock for the Direct Stream Digital serial audio interface.
47,46
cuits. Requires the capacitive decoupling to analog ground as shown in the Typical Connection Diagram.
39 38 35
Analog Output (Output) - The full scale analog output level is specified in the Analog Character-
34
istics specification table. 29 28
41 26 25
Mute Control (Output) - These pins are intended to be used as a control for external mute circuits 24
on the line outputs to prevent the clicks and pops that can occur in any single supply system. 23 22
Test Output - These pins need to be floating and not connected to any trace or plane.
17 16
Mode Selection (Input) - Determines the operational mode of the device as detailed in Tables 4 15
and 5. 12
10
Serial Control Port Clock (Input) - Serial clock for the serial control port. Requires an external
pull-up resistor to the logic interface voltage in I²C
gram.
Serial Control Port Data (Input/Output) - SDA is a data I/O line in I²C mode and is open drain,
requiring an external pull-up resistor to the logic interface voltage, as shown in the Typical Con-
nection Diagram; CDIN is the input data line for the control port interface in SPI™ mode.
Address Bit 0 (I²C) / Control Port Chip Select (SPI) (Input) - AD0 is a chip address pin in I²C 17
mode; CS 10
Test - These pins need to be tied to analog ground. 12
3, 2
1, 48
Direct Stream Digital Input (Input) - Input for Direct Stream Digital serial audio data.
is the chip select signal for SPI mode.
®
mode as shown in the Typical Connection Dia-
DS619F1 7
CS4364

2. CHARACTERISTICS AND SPECIFICATIONS

RECOMMENDED OPERATING CONDITIONS

(GND = 0 V; all voltages with respect to ground.)
Parameters Symbol Min Typ Max Units
DC Power Supply Analog power
Digital internal power
Serial data port interface power
Control port interface power
Ambient Operating Temperature (Power Applied) -CQZ T
VA
VD VLS VLC
A
4.75
2.37
1.71
1.71
-40 - +85 °C
5.0
2.5
5.0
5.0
5.25
2.63
5.25
5.25
V V V V

ABSOLUTE MAXIMUM RATINGS

(GND = 0 V; all voltages with respect to ground.)
Parameters Symbol Min Max Units
DC Power Supply Analog power
Digital internal power
Serial data port interface power
Control port interface power Input Current Any Pin Except Supplies I Digital Input Voltage Serial data port interface
Control port interface Ambient Operating Temperature (power applied) T Storage Temperature T
WARNING:Operation at or beyond these limits may result in permanent damage to the device. Normal operation
is not guaranteed at these extremes.
V
V
VA
VD VLS VLC
in
IND-S
IND-C
op
stg
-0.3
-0.3
-0.3
-0.3
10mA
-0.3
-0.3
-55 125 °C
-65 150 °C
6.0
3.2
6.0
6.0
VLS+ 0.4 VLC+ 0.4
V V V V
V V
8 DS619F1
CS4364

DAC ANALOG CHARACTERISTICS

Test Conditions (unless otherwise indicated): VA = VLS = VLC = 5 V; VD = 2.5 V; TA = 25 °C; Full-Scale 997 Hz input sine wave
“Typical Connection Diagram” on page 18; Measurement Bandwidth 10 Hz to 20 kHz.
FS = 48 kHz, 96 kHz, 192 kHz and DSD
Dynamic Range 24-bit A-weighted
Total Harmonic Distortion + Noise 24-bit -0 dB
Idle Channel Noise / Signal-to-noise ratio - 100 - dB Interchannel Isolation (1 kHz) - 110 - dB
DC Accuracy
Interchannel Gain Mismatch - 0.1 - dB Gain Drift - 100 - ppm/°
Analog Output
Full Scale Differential- PCM, DSD processor Output Voltage (Note 3) Direct DSD Mode
Output Impedance Z Max DC Current draw from an AOUT pin I Min AC-Load Resistance R Max Load Capacitance C Quiescent Voltage V Max Current draw from V
(Note 1); Tested under max ac-load resistance; Valid with FILT+ and VQ capacitors as shown in
Parameters Symbol Min Typ Max Unit
16-bit A-weighted
(Note 2) unweighted
(Note 2) 16-bit 0 dB
Q
unweighted
-20 dB
-60 dB
-20 dB
-60 dB
THD+N -
V
FS
64%•V 47%•V
OUT
OUTmax
L L
Q
I
QMAX
97 94
-
-
-
-
-
-
-
A A
- 130 -
-1.0-mA
-3-k
- 100 - pF
- 50% VA-VDC
-10-µA
103 100
97 94
-88
-80
-40
-88
-74
-34
66%•V 48%•V
-
-
-
-
-82
-74
-34
-
-
-
dB dB dB dB
dB dB dB dB dB dB
C
A A
68%•V 49%•V
Vpp
A
Vpp
A
Notes:
1. One-half LSB of triangular PDF dither is added to data.
2. Performance limited by 16-bit quantization noise.
3. V
is tested under load RL and includes attenuation due to Z
FS
OUT
DS619F1 9
CS4364

POWER AND THERMAL CHARACTERISTICS

Parameters Symbol Min Typ Max Units
Power Supplies
Power Supply Current normal operation, VA= 5 V
(Note 4) VD= 2.5 V
(Note 5) Interface current, VLC=5 V
VLS=5 V
(Note 6) power-down state (all supplies)
Power Dissipation (Note 4) VA = 5V, VD = 2.5V
normal operation
(Note 6) power-down
Package Thermal Resistance multi-layer
dual-layer
Power Supply Rejection Ratio (Note 7) (1 kHz) (60 Hz)
Notes:
4. Current consumption increases with increasing FS within a given spe ed mode and is signal dependant. Max values are based on highest FS and highest MCLK.
5. I
6. Power Down Mode is defined as RST
measured with no external loading on the SDA pin.
LC
pin = Low with all clock and data lines held static.
7. Valid with the recommended capacitor values on FILT+ and VQ as shown in Figures 6 and 7.
I
A
I
D
I
LC
I
LS
I
pd
θ
JA
θ
JA
θ
JC
PSRR -
-
-
-
-
-
-
-
-
-
-
-
63 18
2
84
200
360
1
48 65 15
60 40
69 22
-
-
-
400
-
-
-
-
-
-
mA mA
µA µA µA
mW mW
°C/Watt °C/Watt °C/Watt
dB dB
10 DS619F1
CS4364

COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE

The filter characteristics have been normalized to the sample rate (Fs) and can be referenced to the desired sam­ple rate by multiplying the given characteristic by Fs. (See (Note 12))
Parameter
Combined Digital and On-chip Analog Filter Response - Single-Speed Mode - 48 kHz
Passband (Note 9) to -0.01 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB
StopBand 0.547 - - Fs StopBand Attenuation (Note 10) 102 - - dB Group Delay - 10.4/Fs - s De-emphasis Error (Note 11) Fs = 32 kHz (Relative to 1 kHz) Fs = 44.1 kHz
Combined Digital and On-chip Analog Filter Response - Double-Speed Mode - 96 kHz
Passband (Note 9) to -0.01 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB
StopBand .583 - - Fs StopBand Attenuation (Note 10) 80 - - dB Group Delay - 6.15/Fs - s
Combined Digital and On-chip Analog Filter Response - Quad-Speed Mode - 192 kHz
Passband (Note 9) to -0.01 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB
StopBand .635 - - Fs StopBand Attenuation (Note 10) 90 - - dB Group Delay - 7.1/Fs - s
to -3 dB corner
Fs = 48 kHz
to -3 dB corner
to -3 dB corner
0 0
-
-
-
0 0
0 0
Fast Roll-Off
-
-
-
-
-
-
-
-
-
.454 .499
±0.36 ±0.21 ±0.14
.430 .499
.105 .490
UnitMin Typ Max
Fs Fs
dB dB dB
Fs Fs
Fs Fs
Notes:
8. Slow Roll-off interpolation filter is only available in Software Mode.
9. Response is clock dependent and will scale with Fs.
10. For Single-Speed Mode, the Measurement Bandwidth is from stopband to 3 Fs. For Double-Speed Mode, the Measurement Bandwidth is from stopband to 3 Fs. For Quad-Speed Mode, the Measurement Bandwidth is from stopband to 1.34 Fs.
11. De-emphasis is available only in Single-Speed Mode; Only 44.1 kHz De-emphasis is available in Hardware Mode.
12. Amplitude vs. Frequency plots of this data are available in the “Filter Response Plots” on page 43.
DS619F1 11
CS4364

COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE

(CONTINED)
Slow Roll-Off (Note 8)
Parameter
Single-Speed Mode - 48 kHz
Passband (Note 9) to -0.01 dB corner
to -3 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB StopBand .583 - - Fs StopBand Attenuation (Note 10) 64 - - dB Group Delay - 7.8/Fs - s De-emphasis Error (Note 11) Fs = 32 kHz (Relative to 1 kHz) Fs = 44.1 kHz
Fs = 48 kHz
0 0
-
-
-
-
-
-
-
-
0.417
0.499
±0.36 ±0.21 ±0.14
Double-Speed Mode - 96 kHz
Passband (Note 9) to -0.01 dB corner
to -3 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB StopBand .792 - - Fs StopBand Attenuation (Note 10) 70 - - dB Group Delay - 5.4/Fs - s
0 0
-
-
.296 .499
Quad-Speed Mode - 192 kHz
Passband (Note 9) to -0.01 dB corner
to -3 dB corner Frequency Response 10 Hz to 20 kHz -0.01 - +0.01 dB StopBand .868 - - Fs StopBand Attenuation (Note 10) 75 - - dB Group Delay - 6.6/Fs - s
0 0
-
-
.104 .481
UnitMin Typ Max
Fs Fs
dB dB dB
Fs Fs
Fs Fs

DSD COMBINED DIGITAL & ON-CHIP ANALOG FILTER RESPONSE

Parameter Min Typ Max Unit
DSD Processor Mode
Passband (Note 9) to -3 dB corner 0 - 50 kHz Frequency Response 10 Hz to 20 kHz -0.05 - +0.05 dB Roll-off 27 - - dB/Oct
Direct DSD Mode
Passband (Note 9) to -0.1 dB corner
to -3 dB corner Frequency Response 10 Hz to 20 kHz -0.1 - 0 dB
0 0
-
-
26.9
176.4
kHz kHz
12 DS619F1
CS4364

DIGITAL CHARACTERISTICS

Parameters Symbol Min Typ Max Units
Input Leakage Current (Note 13) I
in
Input Capacitance - 8 - pF High-Level Input Voltage Serial I/O
Control I/O
Low-Level Input Voltage Serial I/O
Control I/O
Low-Level Output Voltage (IOL= -1.2 mA) Control I/O = 3.3 V, 5 V
Control I/O = 1.8 V, 2.5 V MUTEC auto detect input high voltage V MUTEC auto detect input low voltage V Maximum MUTEC Drive Current I MUTEC High-Level Output Voltage V MUTEC Low-Level Output Voltage V
V V
V V
V V
max
IH IH
IL IL
OL OL
IH
IL
OH OL
13. Any pin except supplies. Transient currents of up to ±100 mA on the input pins will not cause SCR latch-up
--±10µA
70% 70%
-
-
-
-
-
-
-
-
-
-
-
-
30% 30%
20% 25%
70% - - VA
--30%VA
-3-mA
-VA-V
-0-V
V
LS
V
LC
V
LS
V
LC
V
LC
V
LC
DS619F1 13
CS4364

SWITCHING CHARACTERISTICS - PCM

(Inputs: Logic 0 = GND, Logic 1 = VLS, CL = 30 pF)
Parameters Symbol Min Max Units
RST pin Low Pulse Width (Note 14) MCLK Frequency 1.024 55.2 MHz MCLK Duty Cycle (Note 15) 45 55 % Input Sample Rate - LRCK (Manual selection) Single-Speed Mode
Double-Speed Mode
Quad-Speed Mode
Input Sample Rate - LRCK (Auto detect) Single-Speed Mode
Double-Speed Mode
Quad-Speed Mode
F F F
Fs Fs Fs
s s s
LRCK Duty Cycle 45 55 % SCLK Duty Cycle 45 55 % SCLK High Time t SCLK Low Time t LRCK Edge to SCLK Rising Edge t SCLK Rising Edge to LRCK Falling Edge t SDIN Setup Time Before SCLK Rising Edge t SDIN Hold Time After SCLK Rising Edge t
sckh
sckl lcks lckd
ds
dh
1-ms
4
50
100
4
84
170
54 108 216
54 108 216
kHz kHz kHz
kHz kHz kHz
8-ns 8-ns 5-ns 5-ns 3-ns 5-ns
Notes:
14. After powering up, RST
should be held low until after the power supplies and clocks are settled.
15. See Tables 1 - 3 for suggested MCLK frequencies.
LRCK
SCLK
SDINx

Figure 1. Serial Audio Interface Timing

t
lcks
t
sckh
t
t
ds
dh
MSB
t
sckl
MSB-1
14 DS619F1
CS4364

SWITCHING CHARACTERISTICS - DSD

(Logic 0 = AGND = DGND; Logic 1 = VLS; CL=30pF)
Parameter Symbol Min Typ Max Unit
MCLK Duty Cycle 40 - 60 % DSD_SCLK Pulse Width Low t DSD_SCLK Pulse Width High t DSD_SCLK Frequency (64x Oversampled)
(128x Oversampled) DSD_A / _B valid to DSD_SCLK rising setup time t DSD_SCLK rising to DSD_A or DSD_B hold time t DSD clock to data transition (Phase Modulation Mode) t
DSD_SCLK
sclkl
sclkh
sdlrs
sdh
dpm
t
sclkl
160 - - ns 160 - - ns
1.024
2.048 20 - - ns 20 - - ns
-20 - 20 ns
t
sclkh
-
-
3.2
6.4
MHz MHz
sdlrstsdh
t
DSDxx

Figure 2. Direct Stream Digital - Serial Audio Input Timing

t
dpm
DSD_SCLK
(128Fs)
DSD_SCLK
(64Fs)
DSDxx

Figure 3. Direct Stream Digital - Serial Audio Input Timing for Phase Modulation Mode

t
dpm
DS619F1 15
SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT
(Inputs: Logic 0 = GND, Logic 1 = VLC, CL=30pF)
Parameter Symbol Min Max Unit
CS4364
SCL Clock Frequency f
Rising Edge to Start t
RST Bus Free Time Between Transmissions t Start Condition Hold Time (prior to first clock pulse) t Clock Low time t Clock High Time t Setup Time for Repeated Start Condition t SDA Hold Time from SCL Falling (Note 16) t SDA Setup time to SCL Rising t Rise Time of SCL and SDA t Fall Time SCL and SDA t Setup Time for Stop Condition t Acknowledge Delay from SCL Falling t
Notes:
16. Data must be held for sufficient time to bridge the transition time, t
hdst
high sust
rc
fc
susp
scl irs
buf
low
hdd sud
, t , t
ack
rc fc
- 100 kHz
500 - ns
4.7 - µs
4.0 - µs
4.7 - µs
4.0 - µs
4.7 - µs 0-µs
250 - ns
-1µs
- 300 ns
4.7 - µs
300 1000 ns
, of SCL.
fc
RST
SDA
SCL
t
irs
Stop S ta rt
t
buf
hdd
t
high
t
sud
t
t
hdst
low
t
Figure 4. Control Port Timing - I²C Format
Repeated
Start
t
t
sust
hdst
Stop
t
f
t
r
t
susp
16 DS619F1

SWITCHING CHARACTERISTICS - CONTROL PORT - SPI FORMAT

(Inputs: Logic 0 = GND, Logic 1 = VLC, CL=30pF)
Parameter Symbol Min Max Unit
CS4364
CCLK Clock Frequency f
Rising Edge to CS Falling t
RST CCLK Edge to CS CS
High Time Between Transmissions t Falling to CCLK Edge t
CS CCLK Low Time t CCLK High Time t CDIN to CCLK Rising Setup Time t CCLK Rising to DATA Hold Time (Note 18) t Rise Time of CCLK and CDIN (Note 19) t Fall Time of CCLK and CDIN (Note 19) t
Falling (Note 17) t
sclk
srs
spi
csh
css
scl sch dsu
dh
r2 f2
Notes:
17. t
only needed before first falling edge of CS after RST rising edge. t
spi
18. Data must be held for sufficient time to bridge the transition time of CCLK.
19. For F
< 1 MHz.
SCK
RST
t
srs
-6MHz 500 - ns 500 - ns
1.0 - µs 20 - ns 66 - ns 66 - ns 40 - ns 15 - ns
-100ns
-100ns
= 0 at all other times.
spi
CS
t
t
spi
css
t
scl
t
sch
t
csh
CCLK
t
r2
t
f2
CDIN
t

Figure 5. Control Port Timing - SPI Format

DS619F1 17
dsu
t
dh

3. TYPICAL CONNECTION DIAGRAM

CS4364
+1.8 V to +5 V
+1.8 V to +5 V
+2.5 V
PCM
Digital
Audio
Source
DSD
Audio
Source
Micr o-
Controller
Note*: Necessary for
contr ol port
operation
1 µF
220 Ω
470 Ω
470 Ω
2 K
I
+
0.1 µF
Note*
0.1 µF
2 K
+5 V
11 13
43
6 7 9
8
0.1 µF
MCLK LRCK SCLK
VLS
SDIN 1 SDIN 2
SDIN 3
VD
0.1 µF
4
VA
32
AOUT1
AOUT2
AOUT3
39
38
35
+
1 µF
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
CS4364
34
AOUT4
3
DSD1
2
DSD2
1
DSD3
48
DSD4
47
DSD5
46
DSD6
42
DSD_SCLK
19
RST
15
SCL/CCLK
16
SDA/CDI N
17
ADO/CS
18
VLC
TST_OUT
GND
5
2
C
GND
TST*
31
*Pins: 10, 12,
14, 44, 45
AOUT5
AOUT6
MUTEC1 MUTEC2
MUTEC3 MUTEC4
MUTEC5
MUTEC6
FILT+
CMOUT
29
28
41
25 24
23 22
Pins: 27, 30, 33,
26
20
21
0.1 µ
36, 37, 40
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Mute Drive
0.1 µ
1 µF
F
+
+
F
47 µF

Figure 6. Typical Connection Diagram, Software Mode

18 DS619F1
CS4364
+1.8 V to +5 V
+1.8 V to +5 V
+2. 5 V
PCM Digital Audio
Source
DSD Audio
Source
Stand-Alone
Mode
Configuration
220 Ω
470 Ω
470 Ω
1 µF
Optional
47 K
+
0.1 µF
0.1 µF
11 13
43
48
47 46 42
10 12
15 16
17 19
18
0.1 µF
6 7 9
8
3 2 1
MCLK LRCK
SCLK SDIN 1
SDIN 2 SDIN 3
VLS
DSDA1 DSDB1
DSDA2
DSDB2
DSDA3
DSDB3 DSD_SCLK
M4 M3
M2 M1
M0
RST
VLC
4
VD
CS4364
32
V A
AOUT1
MUTEC1
AOUT2
MUTEC2
AOUT3
MUTEC3
AOUT4
MUTEC4
AOUT5
MUTEC5
AOUT6
MUTEC6
FILT+
CMOUT
0.1 µF
39
41
38
26
35
25
34
24
29
23
28
22
20
21
+
1 µF
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
Analog Conditioning
and Muting
F
1 µF
0.1 µ
+
0.1 µ
+5 V
+
47 µF
F
GND
5
TST_OUT
GND
31
*Pins : 14,
TST*
44, 45
Pins: 27, 30, 33,
36, 37, 40

Figure 7. Typical Connection Diagram, Hardware Mode

DS619F1 19
CS4364

4. APPLICATIONS

The CS4364 serially accepts twos complement formatted PCM data at standard audio sample rates including 48,
44.1 and 32 kHz in SSM, 96, 88.2 a nd 64 kHz in DSM, and 192, 176.4 and 128 kHz in QSM. Audio data is input via the serial data input pins (SDINx). The Left/Right Clock (LRCK) determines which channel is currently being input on SDINx, and the Serial Clock (SCLK) clocks audio data into the input data buffer. For more information on serial audio interfaces see AN282 “The 2-Channel Serial Audio Interface: A Tutoria l”.
The CS4364 can be configured in Hardware Mode by the M0, M1, M2, M3 and M4 pins and in Software Mode through I²C or SPI.

4.1 Master Clock

MCLK/LRCK must be an integer ratio as shown in Tables 1 - 3. The LRCK frequency is equal to Fs, the frequency at which words for each channel are input to the device. The MCLK-to-LRCK frequency ratio and speed mode is detected automatically during the initialization sequence by counting the number of MCLK transitions during a single LRCK period and by detecting the absolute speed of MCLK. Internal dividers are then set to generate the proper internal clocks. Tables 1 - 3 illustrate several standard audio sample rates and the required MCLK and LRCK frequencies. Please note there is no required phase relationship, but MCLK, LRCK and SCLK must be synchronous.
Sample Rate
(kHz)
32 8.1920 12.2880 16.3840 24.5760 32.7680 36.8640
44.1 11.2896 16.9344 22.5792 33.8688 45.1584 48 12.2880 18.4320 24.5760 36.8640 49.1520
256x 384x 512x 768x 1024x 1152x

Table 1. Single-Speed Mode Standard Frequencies

Sample Rate
(kHz)
64 8.1920 12.2880 16.3840 24.5760 32.7680
88.2 11.2896 16.9344 22.5792 33.8688 45.1584
96 12.2880 18.4320 24.5760 36.8640 49.1520
128x 192x 256x 384x 512x

Table 2. Double-Speed Mode Standard Frequencies

Sample Rate
(kHz)
176.4 11.2896 16.9344 22.5792 33.8688 45.1584 192
64x 96x 128x 192x 256x
12.2880 18.4320 24.5760 36.8640 49.1520

Table 3. Quad-Speed Mode Standard Frequencies

MCLK (MHz)
MCLK (MHz)
MCLK (MHz)
= Denotes clock ratio and sample rate combinations which are NOT supported under auto
speed-mode detection. Please see “Switching Characteristics - PCM” on page 14.
20 DS619F1

4.2 Mode Select

In Hardware Mode, operation is determined by the Mode Select pins. The states of these pins are continu­ally scanned for any changes; however, the mode should only be changed while the device is in reset (RST
pin low) to ensure prope r switching from one mod e to another. These pin s require co nnection to sup­ply or ground as outlined in Figure 7. For M0, M1, and M2, supply is VLC. For M3 and M4, supply is VLS.
Tables 4 - 6 show the decode of these pins.
In Software Mode, the operational mode and data format are set in the FM and DIF registers. See “PCM
Control (Address 03h)” on page 34.
CS4364
M1
(DIF1)
M0
(DIF0)
00 01
10 11
M4 M3 M2
(DEM)
000 001 010 011 100 101 11 Table 6
DESCRIPTION FORMAT FIGURE
Left Justified, up to 24-bit data
2
I
S, up to 24-bit data Right Justified, 16-bit Data Right Justified, 24-bit Data

Table 4. PCM Digital Interface Format, Hardware Mode Options

M1 M0 DESCRIPTION
Single-Speed without De-Emphasis (4 kHz to 50 kHz sample rates) Single-Speed with 44.1 kHz De-Emphasis; see Figure 16 Double-Speed (50 kHz to 100 kHz sample rates)
Table 4
Quad-Speed (100 kHz to 200 kHz sample rates) Auto Speed-Mode Detect (32 kHz to 200 kHz sample rates) Auto Speed-Mode Detect with 44.1 kHz De-Emphasis; see Figure 16 DSD Processor Mode

Table 5. Mode Selection, Hardware Mode Options

0 8 1 9
2 10 3 11
M2 M1 M0 DESCRIPTION
000 001 010 011 100 101 110 111

Table 6. Direct Stream Digital (DSD), Hardware Mode Options

64x oversampled DSD data with a 4x MCLK to DSD data rate 64x oversampled DSD data with a 6x MCLK to DSD data rate 64x oversampled DSD data with a 8x MCLK to DSD data rate 64x oversampled DSD data with a 12x MCLK to DSD data rate 128x oversampled DSD data with a 2x MCLK to DSD data rate 128x oversampled DSD data with a 3x MCLK to DSD data rate 128x oversampled DSD data with a 4x MCLK to DSD data rate 128x oversampled DSD data with a 6x MCLK to DSD data rate
DS619F1 21

4.3 Digital Interface Formats

The serial port operates as a slave and supports the I²S, Le ft- Justified, Right-Justified, and One-Line Mo de (OLM) digital interface format s with varying bit depths from 16 to 32 as shown in Figures 8-15. Data is clocked into the DAC on the rising edge. OLM configurations are only supported in Software Mode.
CS4364
LRCK
SCLK
SDINx +3 +2 +1+5 +4
MSB LSB MSB LSB
-1 -2 -3 -4 -5
Left Channel

Figure 8. Format 0 - Left-Justified up to 24-bit Data

LRCK
SCLK
SDINx +3 +2 +1+5 +4
LRCK
SCLK
SDINx
MSB
-2 -3 -4 -5
-1
15 14 13 12 11 10
Left Channel
Left Channel
-2 -3 -4
-1
LSB LSB
MSB
-1
-2 -3 -4
Figure 9. Format 1 - I²S up to 24-bit Data
Right Channel
6543210987
15 14 13 12 11 10
Right Channel
+3 +2 +1+5 +4
Right Channel
+3 +2 +1+5 +4
6543210987

Figure 10. Format 2 - Right-Justified 16-bit Data

Left Channel
65432107

Figure 11. Format 3 - Right-Justified 24-bit Data

Right Channel
23 22 21 20 19 18
65432107
LRCK
SCLK
SDINx
32 clocks
0
23 22 21 20 19 18
32 clocks
LRCK
SCLK
SDINx
10
Left Channel
17 16 17 16
19 18 19 18
15 14 13 12 11 10

Figure 12. Format 4 - Right-Justified 20-bit Data

32 clocks
6543210987
15 14 13 12 11 10
Right Channel
6543210987
22 DS619F1
CS4364
LRCK
SCLK
SDINx
10

4.3.1 OLM #1

OLM #1 serial audio interface format operates in Single-, Double-, or Quad-Speed Mode and will slave to SCLK at 128 Fs. Six channels of MSB first 20-bit PCM data are input on SDIN1.
LRCK
SCLK
SDIN1
DAC_A1
20 clks

4.3.2 OLM #2

Left Channel
17 16 17 16
15 14 13 12 11 10
32 clocks

Figure 13. Format 5 - Right-Justified 18-bit Data

64 clks 64 clks
Left Channel Right Channel
LSBMSB
LSBMSB LSBMSB LSBMSB LSBMSB LSBMSB MSB
DAC_A2 DAC_A3 DAC_B1 DAC_B2 DAC_B3
20 clks 20 clks 20 clks 20 clks 20 clks
6543210987
Figure 14. Format 8 - One Line Mode 1
Right Channel
15 14 13 12 11 10
6543210987
OLM #2 serial audio interface format operates in Single-, Double-, or Quad-Speed Mode and will slave to SCLK at 256 Fs. Six channels of MSB first 24-bit PCM data are input on SDIN1.
128 clks
LRCK
SCLK
SDIN1
LSBMSB
DAC_A1
24 clks
Left Channel Right Channel
DAC_A2 DAC_A3 DAC_B1 DAC_B2 DAC_B3
24 clks 24 clks 24 clks 24 clks 24 clks

4.4 Oversampling Modes

The CS4364 operates in one of three oversampling mode s based on the input sample rate. Mo de selection is determined by the M4, M3 and M2 pins in Hardware Mode or the FM bits in Software Mode. Single-Speed Mode supports input sample rates up to 50 kHz and uses a 128x oversampling ratio. Double-Speed Mode supports input sample rates up to 100 kHz and uses an oversampling ratio of 64x. Quad-Speed Mode sup­ports input sample rates up to 200 kHz and uses an oversampling ratio of 32x.
The auto speed-mode detect feature allows for the automatic selection of speed mode based off of the in­coming sample rate. This allows the CS4364 to accept a wide range of sample rates with no external inter­vention necessary. The auto speed-mode detect feature is available in both Hardware and Software Mod e.
128 clks
LSBMSB LSBMSB LSBMSB LSBMSB LSBMSB MSB
Figure 15. Format 9 - One Line Mode 2
DS619F1 23

4.5 Interpolation Filter

To accommodate the increasingly complex requirements of digital audio systems, the CS4364 incorporates selectable interpolation filters for each mode of operation. A “fast” and a “slow” roll-off filter is available in each of Single-, Double-, or Quad-Speed Modes. These filters have been designed to accommodate a va­riety of musical tastes and styles. The FILT_SEL bit is used to select which filter is used (see the “Parameter
Definitions” on page 47 for more details).
When in Hardware Mode, only the “fast” roll-off filter is available. Filter specifications can be found in Section 2, and filter response plots can be found in Figures 24 to 47.

4.6 De-Emphasis

The CS4364 includes on-chip digital de-emphasis filters. The de-emphasis feature is included to accommo­date older audio recordings that utilize pre-emphasis equalization as a means of noise reduction. Figure 16 shows the de-emphasis curve. The frequency response of the de-emphasis curve will scale proportionally with changes in sample rate, Fs if the input sample rate does not match the coe fficient which has been se­lected.
In Software Mode the required de-emphasis filter coefficients for 32 kHz, 44.1 kHz, or 48 kHz are selected via the de-emphasis control bits.
In Hardware Mode only the 44.1 kHz coefficient is ava ilable (enab led thro ugh the M2 pin). If the inp ut sam­ple rate is not 44.1 kHz and de-emphasis has bee n selected then the corner frequencies of the de-emphasis filter will be scaled by a factor of the actual Fs over 44,100.
CS4364
Gain
dB
0dB
-10dB
T1=50 µs
T2 = 15 µs
F1 F2
3.183 kHz 10 .61 kHz

Figure 16. De-Emphasis Curve

Frequency
24 DS619F1

4.7 ATAPI Specification

The CS4364 implements the channel mixing functions of the ATAPI CD-ROM specification. The ATAPI functions are applied per A-B pair. Refer to Table 9 on page 41 and Figure 17 for additional informa­tion.
CS4364
Left Chan
SDINx
Right Channel
nel
Audio Data
ΣΣ
Audio Data

Figure 17. ATAPI Block Diagram (x = channel pair 1, 2, or 3)

4.8 Direct Stream Digital (DSD) Mode

In Software Mode the DSD/PCM bits (Reg. 02h) are used to configure the device for DSD mode. The DSD_DIF bits (Reg 04h) then control the expected DSD rate and MCLK ratio.
The DIR_DSD bit (Reg 04h) selects between two proprietary methods for DSD to analog conversion. The first method uses a decimation free DSD processing technique which allows for features such as matched PCM level output, DSD volume control, and 50kHz on chip filt er. T he sec ond me thod send s the D SD data directly to the on-chip switched-capacitor filter for conversion (without the above mentioned features).
A Channel
Volume Control
BChannel
Volume Control
MUTE
MUTE
AoutAx
AoutBx
The DSD_PM_EN bit (Reg. 04h) selects Phase Mod ulation (data plus data inverted) as the style of data input. In this mode the DSD_PM_Mode bit selects whether a 128Fs or 64x clock is used for phase modu­lated 64x data (see Figure 18). Use of Phase Modulation Mode may not directly effect the performance of the CS4364, but may lower the sensitivity to board level routing of the DSD data signals.
The CS4364 can detect errors in the DSD data which does not comply with the SACD specification. The STATIC_DSD and INVALID_DSD bits (Reg. 04h) allow the CS4364 to alter th e incoming invalid DSD d ata. Depending on the error, the data may either be attenuated or replaced with a muted DSD signal (the MUTEC pins would be set according to the DAMUTE bit (Reg. 08h)).
More information for any of these register bits can be found in the “Parameter Definitions” on page 47. The DSD input structure and analog outputs are des igned to handle a nominal 0 dB-SACD (50% modulation
index) at full rated performance. Signals of +3 dB-SACD may be applied for brief periods of time however, performance at these levels is not guaranteed. If sustained +3 dB-SACD levels are required, the digital vol­ume control should be set to -3.0 dB. This same volume control register affects PCM output levels. There is no need to change the volume control setting between PCM and DSD in order to have the 0 dB output levels match (both 0 dBFS and 0 dB-SACD will output at -3 dB in this case).
DS619F1 25
DSD Normal Mode
CS4364
DSD Phase
Modulation Mode
Not Used
BCKA
(64Fs)
DSD_SCLK
Not Used
DSDAx,
DSDBx
D1
D1D0 D2

Figure 18. DSD Phase Modulation Mode Diagram

4.9 Grounding and Power Supply Arrangements

As with any high resolution converter, the CS4364 requires care ful attention to power supply and gro unding arrangements if its potential performance is to be realized. The Typical Connection Diagram shows the rec­ommended power arrangements, with VA, VD, VLC, and VLS connected to clean supplies. If the ground planes are split between digital ground and analog gro und, the GND pins of the CS4364 should be connect­ed to the analog ground plane.
D1
D2D0
DSD_SCLK
DSD_SCLK
DSDAx,
DSDBx
Not Used
BCKA
(128Fs)
BCKD (64Fs)
All signals, especially clocks, should be kept away from the FILT+ and VQ pins in order to avoid unwanted coupling into the DAC.

4.9.1 Capacitor Placement

Decoupling capacitors should be placed as close to the DAC as possible, with the low value ceramic ca­pacitor being the closest. To further minimize impedance, these capa citors should be located on the same layer as the DAC. If desired, all supply pins with similar voltage ratings may be connected to the same supply, but a decoupling capacitor should still be placed on each supply pin.
Note: All decoupling capacitors should be referenced to analog ground. The CDB4364 evaluation board demonstrates the optimum layout and power supply arrangements.

4.10 Analog Output and Filtering

The CS4364 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.
Figure 19 shows how the full-scale analog output level specification is derived. Figure 20 shows how the recommended output filtering with location for optional mute circuit.
26 DS619F1
AOUT
CS4364
4.175 V
2.5 V
0.825 V
Full-Scale Output Level= AOUT= 3.35 Vpp

Figure 19. Full-Scale Output

4.11 The MUTEC Outputs

The MUTEC1 pins have an auto-polarity detect feature. The MUTEC output pins are high impedance at the time of reset. The external mute circuitry needs to be self biased into an active state in order t o be muted during reset. Upon release of reset, the CS4364 will detect the status of the MUTEC pins (high or low) and will then select that state as the polarity to drive when the mutes become active. The external-bias voltage level that the MUTEC pins see at the time of release of reset must meet the “MUTEC auto detect input high/low voltage” specs as outlined in the Digital Characteristics section.
Figure 21 shows a single example of both an active high and an active low mute drive circuit. In these de-
signs, the pull-up and pull-down resistors ha ve been es pecially chosen to meet the input high /low threshold when used with the MMUN2111 and MMUN22 1 1 intern a l bias re sist an ce s of 10 kΩ.
Use of the Mute Control function is not mandatory but recommended for designs requiring the absolu te min­imum 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.

Figure 20. Recommended Output Filter

DS619F1 27

Figure 21. Recommended Mute Circuitry

4.12 Recommended Power-Up Sequence

CS4364

4.12.1 Hardware Mode

1. Hold RST low until the power supplies and configuration pins are stable, and the master and left/right clocks are locked to the appropriate frequencies, as discussed in Section 4.1. In this state, the registers are reset to the default settings, FILT+ will remain low, and VQ will be connected to VA/2. If RST
can not be held low long enough the SDINx pins should remain static low until all other clocks
are stable, and if possible the RST
2. Bring RST Hardware power-up sequence after approximately 512 LRCK cycles in Single-Speed Mode (1024 LRCK cycles in Double-Speed Mode, and 2048 LRCK cycles in Quad-Speed Mode).
high. The device will remain in a low power state with FILT+ low and will initiate the

4.12.2 Software Mode

1. Hold RST low until the power supply is stable, and the master and left/right clocks are locked to the appropriate frequencies, as discussed in Section 4.1. In this state, the registers are reset to the default settings, FILT+ will remain low, and VQ will be connected to VA/2.
2. Bring RST Single-Speed Mode (1024 LRCK cycles in Double-Speed Mode, and 2048 LRCK cycles in Quad­Speed Mode).
3. In order to reduce the chances of clicks and pops, perform a write to the CP_EN bit prior to the completion of approximately 512 LRCK cycles in Single-Speed Mode (1024 LRCK cycles in Double­Speed Mode, and 2048 LRCK cycles in Quad-Speed Mode). The desired register settings can be loaded while keeping the PDN bit set to 1. Set the RMP_UP and RMP_DN bits to 1, then set the format and mode control bits to the desired settings.
high. The device will remain in a low power state with FILT+ low for 512 LRCK cycles in
should be toggled low again once the system is stable.
If more than the stated number of LRCK cycles passes before CPEN bit is written then the chip will enter Hardware Mode and begin to operate with the M0-M4 as the mode setting s. CPEN bit may be written at anytime, even after the Hardware sequence has begu n. It is advised that if the CPEN bit can not be set in time then the SDINx pins should remain static low (this way no audio data can be
28 DS619F1
converted incorrectly by the Hardware Mode settings).
4. Set the PDN bit to 0. This will initiate the power-up sequence, which lasts approximately 50 µs.

4.13 Recommended Procedure for Switching Operational Modes

For systems where the absolute minimum in clicks and pops is required, it is recommended that the MUTE bits are set prior to changing significant DAC functions (such as changing sample rates or clock sources). The mute bits may then be released after clocks have settled and the proper modes have been set.
It is required to have the de vice held in reset if the minimum high/low time specs of MCLK can not be met during clock source changes.

4.14 Control Port Interface

The control port is used to load all t he internal reg ister setting s in order to op erate in Softwar e Mode (see the “Parameter Definitions” on page 47). The operation of the control port may be completely asynchronous with the audio sample rate. However, to avoid potential interference problems, the control port pins should remain static if no operation is required.
CS4364
The control port operates in one of two mod es:

4.14.1 MAP Auto Increment

The device has MAP (memory address pointer) auto increment capability enabled by the INCR bit (also the MSB) of the MAP. If INCR is set to 0, MAP will stay constant for successive SPI writes. If INCR is set to 1, MAP will auto increment after each byte is written, allowing block reads or writes of successive registers.
4.14.2 I²C Mode
In the I²C Mode, data is clocked in to and out of the bi-direc tional serial control data line, SDA, by the serial control port clock, SCL (see Figure 22 for the clock to data relationship). There is no CS ables the user to alter the chip address (001100[AD0][R/W quired, before powering up the device. If the device ever detects a high to low transition on the AD0/CS pin after power-up, SPI Mode will be selected.
4.14.2.1 I²C Write
To write to the device, follow the procedure below while adhe ring to the contr ol port Switching Spe cifica­tions in Section 2.
1. Initiate a START condition to the
001100. The seventh bit must match the setting of the AD0 pin, and the eighth must be 0. The eighth bit of the address byte is the R/W
2. Wait for an acknowledge (ACK) from the part, then write to the memory address pointer, MAP. This byte points to the register to be written.
3. Wait for an acknowledge (ACK) from the part, then write the desired data to the register pointed to by the MAP.
4. If the INCR bit (see Section 4.14.1) is set to 1, repeat the previous step until all the desired registers are written, then initiate a STOP condition to the bus.
5. If the INCR bit is set to 0 and further a repeated START condition and follow the procedure detailed fr om step 1. If no further writes to other registers are desired, initiate a STOP condition to the bus.
I²C or SPI.
I²C writes or reads and
pin. Pin AD0 en-
]) and should be tied to VLC or GND as re-
I²C bus followed by the address byte. The upper 6 bits must be
bit.
I²C writes to other registers are desired, it is necessary to initiate
DS619F1 29
CS4364
4.14.2.2 I²C Read
To read from the device, follow the procedure below while adhering to the control port Switching Specifica­tions.
1. Initiate a START condition to the
I²C bus followed by the address byte. The upper 6 bits must be
001100. The seventh bit must match the setting of the AD0 pin, and the eighth must be 1. The eighth bit of the address byte is the R/W
bit.
2. After transmitting an acknowledge (ACK), the device will then transmit the contents of the register pointed to by the MAP. The MAP register will contain the address of the last register written to the MAP, or the default address (see Section 4.14.1) if an
I²C read is the first operation performed on the
device.
3. Once the device has transmitted the contents of the regi ste r po inted to by the MAP, issue an ACK.
4. If the INCR bit is set to 1, the device will continue to transmit the contents of successive registers. Con­tinue providing a clock and issue an ACK after each byte until all the desired registers are read, then initiate a STOP condition to the bus.
5. If the INCR bit is set to 0 and further a repeated START condition and follow the procedure detailed from steps 1 and 2 from the instructions followed by step 1 of the
I²C reads from other registers are desired, it is necessary to initiate
I²C Write
I²C Read section. If no further reads from other registers are de-
sired, initiate a STOP condition to the bus.
Note 1
SDA
SCL
Start
001100
ADDR AD0
R/W
ACK
DATA 1-8
ACK
DATA 1-8
ACK
Stop
Note: If operation is a write, this byte contains the Memory Address Pointer, MAP.

4.14.3 SPI Mode

In SPI Mode, data is clocked into the serial control data line, CDIN, by the serial control port clock, CCLK (see Figure 23 for the clock to data relationship). There is no AD0 pin. Pin CS is used to control SPI writes to the control port. When the device detects a high to low transition on the AD0/CS
pin after power-up, SPI Mode will be selected. All signals are inputs and data is clocked in on the
rising edge of CCLK.
4.14.3.1 SPI Write
To write to the device, follow the procedure below while adhering to the control port Switching Specifica­tions in Section 2.
1. Bring CS
2. The address byte on the CDIN pin must then be 00110000.
3. Write to the memory address pointer, MAP. This byte points to the register to be written.
4. Write the desired data to the register pointed to by the MAP.
5. If the INCR bit (see Section 4.14.1) is set to 1, repeat the previous step until all the desired registers are written, then bring CS
Figure 22. Control Port Timing, I²C Mode
is the chip select signal and
low.
high.
30 DS619F1
CS4364
6. If the INCR bit is set to 0 and further SPI writes to other registers are desired, it is necessary to bring CS
high, and follow the procedure detailed from s tep 1. If no further writes to other registers are de-
sired, bring CS
high.
CS
CCLK
CDIN
CHIP
ADDRESS
0011000
MAP = Memory Address Pointer
Figure 23. Control Port Timing, SPI Mode
R/W
MAP
MSB
byte 1
DATA
LSB
byte n

4.15 Memory Address Pointer (MAP)

76543210
INCR Reserved Reserved MAP4 MAP3 MAP2 MAP1 MAP0
00000000

4.15.1 INCR (Auto Map Increment Enable)

Default = ‘0’ 0 - Disabled 1 - Enabled

4.15.2 MAP4-0 (Memory Address Pointer)

Default = ‘00000’
DS619F1 31
CS4364

5. REGISTER QUICK REFERENCE

Addr Function 7 6 5 4 3 2 1 0
01h Chip Revision PART4 PART3 PART2 PART1 PART0 REV2 REV1 REV0
default 0 1 1 0 0 x x x
02h Mode Control CPEN FREEZE DSD/PCM
default00000001
03h PCM Control DIF3 DIF2 DIF1 DIF0 Reserved Reserved FM1 FM0
default00000011
04h DSD Control DSD_DIF2 DSD_DIF1 DSD_DIF0 DIR_DSD STATIC_DSDINVALID_DSDDSD_PM_MDDSD_PM_
default00001000
05h Filter Control Reserved Reserved Reserved Reserved Reserved Reserved Reserved FILT_SEL
default00000000
06h Invert Control Reserved Reserved INV_B3 INV_A3 INV_B2 INV_A2 INV_B1 INV_A1
default00000000
07h Group Control MUTEC1 MUTEC0 Reserved P1_A=B P2_A=B P3_A=B Reserved SNGLVOL
default00000000
08h Ramp and Mute SZC1 SZC0 RMP_UP RMP_DN PAMUTE DAMUTE MUTE_P1 MUTE_P0
default10111100
09h Mute Control Reserved Reserved MUTE_B3 MUTE_A3 MUTE_B2 MUTE_A2 MUTE_B1 MUTE_A1
default00000000
0Ah Mixing Control
Pair 1 (AOUTx1)
default00001001
0Bh Vol. Control A1 A1_VOL7 A1_VOL6 A1_VOL5 A1_VOL4 A1_VOL3 A1_VOL2 A1_VOL1 A1_VOL0
default00000000
0Ch Vol. Control B1 B1_VOL7 B1_VOL6 B1_VOL5 B1_VOL4 B1_VOL3 B1_VOL2 B1_VOL1 B1_VOL0
default00000000
0Dh Mixing Control
Pair 2 (AOUTx1)
default00001001
0Eh Vol. Control A2 A2_VOL7 A2_VOL6 A2_VOL5 A2_VOL4 A2_VOL3 A2_VOL2 A2_VOL1 A2_VOL0
default00000000
0Fh Vol. Control B2 B2_VOL 7 B2_VOL6 B2_VOL5 B2_VOL4 B2_VOL3 B2_VOL2 B2_VOL1 B2_VOL0
default00000000
10h Mixing Control
Pair 3 (AOUTx1)
default00001001
11h Vol. Control A3 A3_VOL7 A3 _VOL6 A3_VOL5 A3_VOL4 A3_VOL3 A3_VOL2 A3_VOL1 A3_VOL0
default00000000
12h Vol. Control B3 B3_VOL7 B3_VOL6 B3_VOL5 B3_VOL4 B3_VOL3 B3 _VOL2 B3_VOL1 B3_VOL0
default00000000
16h PCM clock mode Reserved Reserved MCLKDIV Reserved Reserved Reserved Reserved Reserved
default00000000
Reserved P1_DEM1 P1_DEM0 P1ATAPI4 P1ATAPI3 P1ATAPI2 P1ATAPI1 P1ATAPI0
Reserved P2_DEM1 P2_DEM0 P2ATAPI4 P2ATAPI3 P2ATAPI2 P2ATAPI1 P2ATAPI0
Reserved P3_DEM1 P3_DEM0 P3ATAPI4 P3ATAPI3 P3ATAPI2 P3ATAPI1 P3ATAPI0
Reserved DAC3_DIS DAC2_DIS DAC1_DIS PDN
EN
32 DS619F1
CS4364

6. REGISTER DESCRIPTION

Note: All registers are read/write in I²C Mode and write only in SPI, unless otherwise noted.

6.1 Chip Revision (Address 01h)

76543210
PART4 PART3 PART2 PART1 PART0 REV2 REV1 REV0
01100- - -

6.1.1 Part Number ID (PART) [Read Only]

01100 - CS4364

6.1.2 Revision ID (REV) [Read Only]

000 - Revision A0 001 - Revision B0
Function: This read-only register can be used to identify the model and revision number of the device.

6.2 Mode Control 1 (Address 02h)

76543210
CPEN FREEZE DSD/PCM
00000001
Reserved DAC3_DIS DAC2_DIS DAC1_DIS PDN

6.2.1 Control Port Enable (CPEN)

Default = 0 0 - Disabled 1 - Enabled
Function: This bit defaults to 0, allowing the device to power-up in Stand-Alone Mode. The Control Port Mode can
be accessed by setting this bit to 1. This will allow the operation of the device to be controlled by the reg­isters and the pin definitions will conform to Control Port Mode. To accomplish a clean power-up, the user should write this bit within 10 ms following the release of Reset.

6.2.2 Freeze Controls (FREEZE)

Default = 0 0 - Disabled 1 - Enabled
Function: This function allows modifications to be made to the registers without the changes taking effect until the
FREEZE is disabled. To make multiple changes in the Control port registers take effect simultaneously, enable the FREEZE Bit, make all register changes, then Disable the FREEZE bit.
DS619F1 33

6.2.3 PCM/DSD Selection (DSD/PCM)

Default = 0 0 - PCM 1 - DSD
Function: This function selects DSD or PCM Mode. The appropriate data and clocks should be present before
changing modes, or else MUTE should be selected.

6.2.4 DAC Pair Disable (DACx_DIS)

Default = 0 0 - DAC Pair x Enabled 1 - DAC Pair x Disabled
Function: When the bit is set, the respective DAC channel pair (AOUTAx and AOUTBx) will remain in a reset state.
It is advised that changes to these bits be made while th e power-d own (PDN) bit is enabled to eliminate the possibility of audible artifacts.

6.2.5 Power Down (PDN)

CS4364
Default = 1 0 - Disabled 1 - Enabled
Function: The entire device will enter a low-power state when this function is enabled, and the contents of the control
registers are retained in this mode. The power-down bit defaults to ‘enabled’ on power-up and must be disabled before normal operation in Control Port Mode can occur.

6.3 PCM Control (Address 03h)

76543210
DIF3 DIF2 DIF1 DIF0 Reserved Reserved FM1 FM0
00000011

6.3.1 Digital Interface Format (DIF)

Default = 0000 - Format 0 (Left Justified, up to 24-bit data ) Function: These bits select the interface format fo r the serial audio input. The DSD/PCM
PCM or DSD Mode is selected. The required relationship between the Left/Right clock, serial clock and serial data is defined by the Digital
Interface Format and the options are detailed in Figures 8-15.
bit determines whether
Note: While in PCM Mode, the DIF bits should only be changed when the power- down (PDN) bi t is set to ensure proper switching from one mode to another.
34 DS619F1
CS4364
DIF3 DIF2 DIF1 DIF0 DESCRIPTION Format FIGURE
0000 0001 0010 0011 0100 0101 1000 1001 XXXX
Table 7. Digital Interface F orm ats - PCM Mode

6.3.2 Functional Mode (FM)

Default = 11 00 - Single-Speed Mode (4 to 50 kHz sample rates) 01 - Double-Speed Mode (50 to 100 kHz sample rates) 10 - Quad-Speed Mode (100 to 200 kHz sample rates) 11 - Auto Speed Mode detect (32 kHz to 200 kHz sample rates)
Function:
Left Justified, up to 24-bit data I2S, up to 24-bit data Right Justified, 16-bit data Right Justified, 24-bit data Right Justified, 20-bit data Right Justified, 18-bit data One-line Mode 1, 24-bit Data One-line Mode 2, 20-bit Data All other combinations are Reserved
0 8 1 9 2 10 3 11 4 12 5 13 8 14 9 15
Selects the required range of input sample rates or Auto Speed Mode.

6.4 DSD Control (Address 04h)

765 4 3 2 1 0
DSD_DIF2 DSD_DIF1 DSD_DIF0 DIR_DSD STATIC_DSD INVALID_DSD DSD_PM_MD DSD_PM_EN
000 0 1 1 0 0

6.4.1 DSD Mode Digital Interface Format (DSD_DIF)

Default = 000 - Format 0 (64x oversampled DSD data with a 4x MCLK to DSD data rate) Function: The relationship between the oversampling ratio of the DSD audio data and the required Master clock to
DSD data rate is defined by the Digital Interface Format pins. The DSD/PCM
DIF2 DIF1 DIFO DESCRIPTION
0 0 0 64x oversampled DSD dat a w it h a 4 x MCL K to DSD data rate 0 0 1 64x oversampled DSD dat a w it h a 6 x MCL K to DSD data rate 0 1 0 64x oversampled DSD dat a w it h a 8 x MCL K to DSD data rate 0 1 1 64x oversampled DSD data w it h a 12x MC LK to DSD data rate 1 0 0 128x oversampled DSD data with a 2x MCLK to DSD data rate. 1 0 1 128x oversampled DSD data with a 3x MCLK to DSD data rate. 1 1 0 128x oversampled DSD data with a 4x MCLK to DSD data rate. 1 1 1 128x oversampled DSD data with a 6x MCLK to DSD data rate.
bit determines whether PCM or DSD Mode is selected.
T able 8. Digital Interface Formats - DSD Mode
DS619F1 35

6.4.2 Direct DSD Conversion (DIR_DSD)

Function: When set to 0 (default), DSD input data is sent to the DSD processor for filtering and volume control fu nc-
tions. When set to 1, DSD input data is sent directly to the switched capacitor DACs for a pure DSD conversion.
In this mode, the full-scale DSD and PCM levels will not be matched (see Section 2), the dynamic range performance may be reduced, the volume control is inactive, and the 50 kHz low-pass filter is not available (see Section 2 for filter specifications).

6.4.3 Static DSD Detect (STATIC_DSD)

Function: When set to 1 (default), the DSD processor che cks for 28 consecutive zeroes or ones and, if detected,
sends a mute signal to the DACs. The MUTEC pins will eventually go active according to the DAMUTE register.
When set to 0, this function is disabled.

6.4.4 Invalid DSD Detect (INVALID_DSD)

CS4364
Function: When set to 1, the DSD processor checks for greater than 24 out of 28 bits of the same value and, if de-
tected, will attenuate the data sent to the DACs. The MUTEC pins go active according to the DAMUTE register.
When set to 0 (default), this function is disabled.

6.4.5 DSD Phase Modulation Mode Select (DSD_PM_MODE)

Function: When set to 0 (default), the 128Fs (BCKA) clock should be input to DSD_SCLK for Phase Modulation
Mode. (See Figure 16 on page 24.) When set to 1, the 64Fs (BCKD) clock should be input to DSD_SCLK for Phase Modulation Mode.

6.4.6 DSD Phase Modulation Mode Enable (DSD_PM_EN)

Function: When set to 1, DSD Phase Modulation Input Mod e is enable d and the DSD_PM_MODE bit should be set
accordingly. When set to 0 (default), this function is disabled (DSD normal mode).
36 DS619F1
CS4364

6.5 Filter Control (Address 05h)

76543210
Reserved Reserved Reserved Reserved Reserved Reserved Reserved FILT_SEL
00000000

6.5.1 Interpolation Filter Select (FILT_SEL)

Function: When set to 0 (default), the Interpolation Filter has a fast roll off. When set to 1, the Interpolation Filter has a slow roll off.
The specifications for each filter can be found in the Analog characteristics table, and re sponse plots can be found in Figures 22 to 45.

6.6 Invert Control (Address 06h)

76543210
Reserved Reserved INV_B3 INV_A3 INV_B2 INV_A2 INV_B1 INV_A1
00000000

6.6.1 Invert Signal Polarity (INV_xx)

Function: When set to 1, this bit inverts the signal polarity of channel xx. When set to 0 (default), this function is disabled.

6.7 Group Control (Address 07h)

76543210
MUTEC1 MUTEC0 Reserved P1_A=B P2_A=B P3_A=B Reserved SNGLVOL
00000000

6.7.1 Mute Pin Control (MUTEC1, MUTEC0)

Default = 00
00 - Six mute control signals 01, 10 - One mute control signal 11 - Three mute control signals
Function: Selects how the internal mute control signals are routed to the MUTEC1 through MUTEC6 pins. When
set to ‘00’, there is one mute control signal for each channel: AOUT1A on MUTEC1, AOUT1B on MUTEC2, etc. When set to ‘01’ or ‘10’, there is a single mute control signal on the MUTEC1 pin . When set to ‘11’, there are three mute control signals, one for each stereo pair: AOUT1A and AOUT1B on MUTEC1, AOUT2A and AOUT2B on MUTEC2, and AOUT3A and AOUT3B on MUTEC3.

6.7.2 Channel A Volume = Channel B Volume (Px_A=B)

Default = 0
0 - Disabled 1 - Enabled
DS619F1 37
CS4364
Function: The AOUTAx and AOUTBx volume levels are independently controlled by the A and the B Channel Vol-
ume Control Bytes when this function is disabled. The volume on both AOUTAx and AOUTBx are deter­mined by the A Channel Attenuation and Volume Control Bytes (per A-B pair), and the B Channel Bytes are ignored when this function is enabled.

6.7.3 Single Volume Control (SNGLVOL)

Default = 0
0 - Disabled 1 - Enabled
Function: The individual channel volume levels are independently controlled by their respective Volume Control
Bytes when this function is disabled. The volume on all channels is determined by the A1 Channel Volume Control Byte, and the other Volume Control Bytes are ignored when this function is enabled.

6.8 Ramp and Mute (Address 08h)

76543210
SZC1 SZC0 RMP_UP RMP_DN PAMUTE DAMUTE MUTE_P1 MUTE_P0
10111100

6.8.1 Soft Ramp and Zero Cross Control (SZC)

Default = 10
00 - Immediate Change 01 - Zero Cross 10 - Soft Ramp 11 - Soft Ramp on Zero Crossings
Function: Immediate When Immediate Change is selected all level changes will take effect immediately in one step. Zero Cross 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 impl emented for each channel.
Soft Ramp Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramp-
ing, 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. Soft Ramp on Zero Crossing
Change
Soft Ramp and Zero Cross Enable dictates 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
38 DS619F1
sample rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel.

6.8.2 Soft Volume Ramp-Up After Error (RMP_UP)

Function: An un-mute will be performed after executing an LRCK/MCLK ratio change or error, and after changing
the Functional Mode. When set to 1 (default), this un-mute is effected, similar to attenuation changes, by the Soft and Zero
Cross bits in the Volume and Mixing Control register. When set to 0, an immediate un-mute is performed in these instances. Note: For best results, it is recommended that this feature be used in conjunction with the RMP_DN bit.

6.8.3 Soft Ramp-Down Before Filter Mode Change (RMP_DN)

Function: If either the FILT_SEL or DEM bits are changed the DAC will stop conversion for a period of time to
change its filter values. This bit selects how the data is effected prior to and after the change of the filter values.
CS4364
When set to 1 (default), a mute will be performed prior to executing a filter mode change and an un-mute will be performed after executing the filter mode change. This mute and un-mute are effected, similar to attenuation changes, by the Soft and Zero Cross bits in the Volume and Mixing Control register.
When set to 0, an immediate mute is performed prior to executing a filter mode change. Note: For best results, it is recommended that this feature be used in conjunction with the RMP_UP bit.

6.8.4 PCM Auto-Mute (PAMUTE)

Function: When set to 1 (default) the Digital-to-Analog converter output will mute following the reception of 8192
consecutive audio samples of static 0 or -1. A single sample of non-static data will release the mute. De­tection and muting is done independently for each channel. The quiescent voltage on the output will be retained and the Mute Control pin will go active during the mute period.
When set to 0 this function is disabled.

6.8.5 DSD Auto-Mute (DAMUTE)

Function: When set to 1 (default) the Digital-to-Analog converter output will mute following the reception of 256 re-
peated 8-bit DSD mute patterns (as defined in the SACD specification).
A single bit not fitting the repeated mute pattern (mentioned above) will release the mute. Detection and muting is done independently for each channel. The quiescent voltage on the output will be retained and the Mute Control pin will go active during the mute period.
DS619F1 39

6.8.6 MUTE Po larity and DETECT (MUTEP1:0)

Default = 00 00 - Auto polarity detect, selected from MUTEC1 pin 01 - Reserved 10 - Active low mute polarity 11 - Active high mute polarity
Function: Auto mute polarity detect (00) See Section 4.11 on page 27 for the description. Active low mute polarity (10)
CS4364
When RST released and after this bit is set, the MUTEC output pins will be active low polarity.
Active high mute polarity (11) At reset time the outputs are high impedance and will need to be biased active. Once reset has been re-
leased and after this bit is set, the MUTEC output pins will be active high polarity.
is low the outputs are high impedance and will need to be biased active. Once reset has been

6.9 Mute Control (Address 09h)

76543210
Reserved Reserved MUTE_B3 MUTE_A3 MUTE_B2 MUTE_A2 MUTE_B1 MUTE_A1
00000000

6.9.1 Mute (MUTE_xx)

Default = 0 0 - Disabled 1 - Enabled
Function: The Digital-to-Analog converter output will mute when enabled. The quiescent voltage on the output will
be retained. The muting function is affected, similarly to attenuation changes, by the Soft and Zero Cross bits. The MUTE pins will go active during the mute period according to the MUTEC bits.

6.10 Mixing Control (Address 0Ah, 0Dh, 10h, 13h)

76543210
Reserved Px_DEM1 Px_DEM0 PxATAPI4 PxATAPI3 PxATAPI2 PxATAPI1 PxA TAPI0
00001001

6.10.1 De-Emphasis Control (PX_DEM1:0)

Default = 00 00 - Disabled 01 - 44.1 kHz 10 - 48 kHz 11 - 32 kHz
Function:
40 DS619F1
CS4364
Selects the appropriate digital filter to maintain the standard 15 µs/50 µs digital de-emphasis filter re­sponse at 32, 44.1 or 48 kHz sample rates. (Figure 16 on page 24)
De-emphasis is only available in Single-Speed Mode.

6.10.2 ATAPI Channel Mixing and Muting (ATAPI)

Default = 01001 - AOUTAx=aL, AOUTBx=bR (Stereo) Function: The CS4364 implements the channel mixing functions of the ATAPI CD-ROM specification. The ATAPI
functions are applied per A-B pair. Refer to Table 9 and Figure 17 for additional information.
ATAPI4 ATAPI3 ATAPI2 ATAPI1 ATAPI0 AOUTAx AOUTBx
0 0 0 0 0 MUTE MUTE 00001 MUTE bR 00010 MUTE bL 00011 MUTE b[(L+R)/2] 00100 aR MUTE 00101 aR bR 00110 aR bL 00111 aR b[(L+R)/2] 01000 aL MUTE 01001 aL bR 01010 aL bL 01011 aL b[(L+R)/2] 0 1 1 0 0 a[(L+R)/2] MUTE 01101 a[(L+R)/2] bR 01110 a[(L+R)/2] bL 0 1 1 1 1 a[(L+R)/2] b[(L+R)/2] 1 0 0 0 0 MUTE MUTE 10001 MUTE bR 10010 MUTE bL 1 0 0 1 1 MUTE [(bL+aR)/2] 10100 aR MUTE 10101 aR bR 10110 aR bL 1 0 1 1 1 aR [(aL+bR)/2] 11000 aL MUTE 11001 aL bR 11010 aL bL 1 1 0 1 1 aL [(aL+bR)/2] 1 1 1 0 0 [(aL+bR)/2] MUTE 1 1 1 0 1 [(aL+bR)/2] bR 1 1 1 1 0 [(bL+aR)/2] bL 1 1 1 1 1 [(aL+bR)/2] [(aL+bR)/2]
Table 9. ATAPI Decode
DS619F1 41
CS4364

6.11 Volume Control (Address 0Bh, 0Ch, 0Eh, 0Fh, 11h, 12h)

76543210
xx_VOL7 xx_VOL6 xx_VOL5 xx_VOL4 xx_VOL3 xx_VOL2 xx_VOL1 xx_VOL0
00000000
These six registers provide individual volume and mute control for each of the six channels. The values for “xx” in the bit fields above are as follows: Register address 0Bh - xx = A1 Register address 0Ch - xx = B1 Register address 0Eh - xx = A2 Register address 0Fh - xx = B2 Register address 11h - xx = A3 Register address 12h - xx = B3

6.11.1 Digital Volume Control (xx_VOL7:0)

Default = 00h (0 dB) Function: The Digital Volume Control registers allow independent control of the signal levels in 1/2 dB increments
from 0 to -127.5 dB. Volume settings are decoded as shown in Table 10. The volume changes are imple­mented as dictated by the Soft and Zero Cross bits in the Power and Muting Control register. Note that the values in the volume setting column in Table 10 are approximate. The actual attenuation is determined by taking the decimal value of the volume register and multiplying by 6.02/12.
Binary Code Decimal Value Volume Setting
00000000 0 0 dB 00000001 1 -0.5 dB 00000110 6 -3.0 dB
11111111 255 -127.5 dB
T able 10. Example Digital Volume Settings

6.12 PCM Clock Mode (Address 16h)

76543210
Reserved Reserved MCLKDIV Reserved Reserved Reserved Reserved Reserved
00000000

6.12.1 Master Clock Divide by 2 Enable (MCLKDIV)

Function: When set to 1, the MCLKDIV bit enables a circuit which divides the externally applied MCLK signal by 2
prior to all other internal circuitry. When set to 0 (default), MCLK is unchanged.
42 DS619F1

7. FILTER RESPONSE PLOTS

CS4364
0
−20
−40
−60
Amplitude (dB)
−80
−100
−120
0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
0
−20
−40
−60
Amplitude (dB)
−80
−100
−120
0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6
Frequency(normalized to Fs)

Figure 24. Single-Speed (fast) Stopband Rejection Figure 25. Single-Speed (fast) Transition Band

0
−1
−2
−3
−4
−5
Amplitude (dB)
−6
−7
−8
−9
−10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)
0.02
0.015
0.01
0.005
0
Amplitude (dB)
−0.005
−0.01
−0.015
−0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Frequency(normalized to Fs)

Figure 26. Single-Speed (fast) Transition Band (detail) Figure 27. Single-Speed (fast) Passband Ripple

0
−20
−40
−60
Amplitude (dB)
−80
−100
−120
0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
0
−20
−40
−60
Amplitude (dB)
−80
−100
−120
0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6
Frequency(normalized to Fs)

Figure 28. Single-Speed (slow) Stopband Rejection Figure 29. Single-Speed (slow) Transition Band

DS619F1 43
CS4364
0
−1
−2
−3
−4
−5
Amplitude (dB)
−6
−7
−8
−9
−10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)

Figure 30. Single-Speed (slow) Transition Band (detail) Figure 31. Single-Speed (slow) Passband Ripple

0.02
0.015
0.01
0.005
0
Amplitude (dB)
−0.005
−0.01
−0.015
−0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Frequency(normalized to Fs)
0
20
40
60
Amplitude (dB)
80
100
120
0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
0
20
40
60
Amplitude (dB)
80
100
120
0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6
Frequency(normalized to Fs)

Figure 32. Double-Speed (fast) Stopband Rejection Figure 33. Double-Speed (fast) Transition Band

0
1
2
3
4
5
Amplitude (dB)
6
7
8
9
10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)
0.02
0.015
0.01
0.005
0
Amplitude (dB)
0.005
0.01
0.015
0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Frequency(normalized to Fs)

Figure 34. Double-Speed (fast) Transition Band (detail) Figure 35. Double-Speed (fast) Passband Ripple

44 DS619F1
CS4364
0
20
40
60
Amplitude (dB)
80
100
120
0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
0
20
40
60
Amplitude (dB)
80
100
120
0.2 0.3 0.4 0.5 0.6 0.7 0.8
Frequency(normalized to Fs)

Figure 36. Double-Speed (slow) Stopband Rejection Figure 37. Double-Speed (slow) Transition Band

0
1
2
3
4
5
Amplitude (dB)
6
7
8
9
10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)
0.02
0.015
0.01
0.005
0
Amplitude (dB)
0.005
0.01
0.015
0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35
Frequency(normalized to Fs)

Figure 38. Double-Speed (slow) Transition Band (detail) Figure 39. Double-Speed (slow) Passband Ripple

0
20
40
60
Amplitude (dB)
80
100
120
0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
0
20
40
60
Amplitude (dB)
80
100
120
0.2 0.3 0.4 0.5 0.6 0.7 0.8
Frequency(normalized to Fs)

Figure 40. Quad-Speed (fast) Stopband Rejection Figure 41. Quad-Speed (fast) Transition Band

DS619F1 45
CS4364
0
1
2
3
4
5
Amplitude (dB)
6
7
8
9
10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)
0.2
0.15
0.1
0.05
0
Amplitude (dB)
0.05
0.1
0.15
0.2 0 0.05 0.1 0.15 0.2 0.25
Frequency(normalized to Fs)

Figure 42. Quad-Speed (fast) Transition Band (detail) Figure 43. Quad-Speed (fast) Passband Ripple

0
20
40
60
Amplitude (dB)
80
0
20
40
60
Amplitude (dB)
80
100
120
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Frequency(normalized to Fs)
100
120
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Frequency(normalized to Fs)

Figure 44. Quad-Speed (slow) Stopband Rejection Figure 45. Quad-Speed (slow) Transition Band

0
1
2
3
4
5
Amplitude (dB)
6
7
8
9
10
0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55
Frequency(normalized to Fs)
0.02
0.015
0.01
0.005
0
Amplitude (dB)
0.005
0.01
0.015
0.02 0 0.02 0.04 0.06 0.08 0.1 0.12
Frequency(normalized to Fs)

Figure 46. Quad-Speed (slow) Transition Band (detail) Figure 47. Quad-Speed (slow) Passband Ripple

46 DS619F1
CS4364

8. 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. CDB4364 data sheet, available at http://www.cirrus.com.
3. Design Notes for a 2-Pole Filter with Differential Input, by Steven Green. Cirrus Logic Application Note AN48
4. The
5. AN282 “The 2-Channel Serial Audio Interface: A Tutorial”
I²C-Bus Specification: Version 2.0, Philips Semiconductors, December 1998.
http://www.semiconductors.philips.com

9. PARAMETER DEFINITIONS

Total Harmonic Distortion + Noise (THD+N)
The ratio of the rms value of the signal to the rms sum of all other spectral components over the spec ified bandwidth (typically 10 Hz to 20 kHz), 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 le vel and do not affect the measurement. This measurement technique has bee n accepted by the Audio En gineering 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 conver ter's output with all zeros to the input under test and a full- scale signal applied to the other channel. Units in deci­bels.
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.
DS619F1 47
10.PACKAGE DIMENSIONS 48L LQFP PACKAGE DRAWING
D1
D
CS4364
E
E1
1
e
B
A
A1
L
INCHES MILLIMETERS
DIM MIN NOM MAX MIN NOM MAX
A --- 0.055 0.063 --- 1.40 1.60
A1 0.002 0.004 0.006 0.05 0.10 0.15
B 0.007 0.009 0.011 0.17 0.22 0.27
D 0.343 0.354 0.366 8.70 9.0 BSC 9.30
D1 0.272 0.28 0.280 6.90 7.0 BSC 7.10
E 0.343 0.354 0.366 8.70 9.0 BSC 9.30
E1 0.272 0.28 0.280 6.90 7.0 BSC 7.10
e* 0.016 0.020 0.024 0.40 0.50 BSC 0.60
L 0.018 0.24 0.030 0.45 0.60 0.75
0.000° 7.000° 0.00° 7.00°
* Nominal pin pitch is 0.50 mm
Controlling dimension is mm.
JEDEC Designation: MS022
48 DS619F1
CS4364

11.ORDERING INFORMATION

Product Description Package Pb-Free Grade Temp Range Container Order #
CS4364 CDB4364 CS4364 Evaluation Board - - - - CDB4364
114 dB, 192 kHz 6-
channel D/A Converter
48-pin
LQFP
YES Commercial -40° to +85° C
Tray CS4364-CQZ
Tape & Reel CS4364-CQZR
DS619F1 49

12.REVISION HISTORY

Release Changes
A1 Initial Release
Corrected DAC Pair Disable register description in “DAC Pair Disable (DACx_DIS)” on page 34 Added note to Digital Interface Format register description in “Digital Interface Format (DIF)” on page 34 Removed TDM Mode functionality Removed Automotive Grade
F1
Added PCM mode format changeable in reset only to “Mode Select” on page 21 Updated ambient operating temperature range for commercial grade Updated Full Scale Differential Output Voltage in “DAC Analog Characteristics” on page 9 Updated VD power supply current and package thermal resistance in Power and Thermal Characteristics Updated “Digital Characteristics” on page 13 Updated Legal Information under “IMPORTANT NOTICE” on page 50
CS4364
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative. To find one nearest you, go to www.cirrus.com.
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the informati on contained in this document is accurate and reliable. However, the information is s ubject 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 rel evant 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 acknowledgm ent, including thos e pertaining to warranty, ind emnification, and li mitation 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 inform atio n, Cirrus gran ts no license , express or implied un der an y patents, mask wor k rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives con­sent for copies to be made of the information only for use with in 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 SEMI CO NDUCT OR PRODUCT S MAY INVO LVE POT ENTI AL RI SKS OF DEATH, PERS ONAL IN JU RY, OR SEVE RE PROP­ERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRIT­ICAL 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, INCLUD­ING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs a re trade ma rks of Cirrus Lo gic, Inc. All othe r brand an d p roduc t names in this do cume nt may be tradem arks or service marks of their respective owners.
I²C is a registered trademark of Philips Semiconductor. SPI is a trademark of Motorola, Inc. Direct Stream Digital is a registered trademark of Sony Kabushiki Kaisha TA Sony Co rporation. DSD is a trademark of Sony Kabushiki Kaish a TA So ny Co rporation.
50 DS619F1
Loading...