103-dB, 192-kHz, Stereo Audio ADC with 6:1 Input Mux
ADC Features
Multi-bit Delta–Sigma Modulator
103 dB Dynamic Range
-95 dB THD+N
Stereo 6:1 Input Multiplexer
Programmable Gain Amplifier (PGA)
–± 12 dB Gain, 0.5-dB Step Size
–Zero-crossing, Click-free Transitions
Stereo Microphone Inputs
–+32 dB Gain Stage
–Low-noise Bias Supply
Up to 192 kHz Sampling Rates
Selectable 24-bit, Left-justified or I²S Serial
Audio Interface Formats
System Features
Power-down Mode
+5 V Analog Power Supply, Nominal
+3.3 V Digital Power Supply, Nominal
Direct Interface with 3.3 V to 5 V Logic Levels
Pin Compatible with CS5345 (*See Section 2
for details.)
General Description
The CS5346 integrates an analog multiplexer, programmable gain amplifier, and stereo audio analog-to-digital
converter. The CS5346 performs stereo analog-to-digital (A/D) conve rsion of 24-bit serial values at sa mple
rates up to 192 kHz.
A 6:1 stereo input multiplexe r is inc luded for selecting
between line-level and microphone-level inputs. The
microphone input path includes a +32 dB gain stage
and a low-noise bias voltage supply. The PGA is available for line or microphone inputs and provides
gain/attenuation of ±12 dB in 0.5 dB steps.
The output of the PGA is followed by an advanced 5thorder, multi-bit delta-sigma modulator and digital filtering/decimation. Sampled data is transmitted by the
serial audio interface at rates from 8 kHz to 192 kHz in
either Slave or Master Mode.
Integrated level translators allow easy interfacing between the CS5346 and other devices operating over a
wide range of logic levels.
The CS5346 is available in a 48-pin LQFP package in
Commercial (-40° to +85° C) grade. The CDB5346 Customer Demonstration board is also available for device
evaluation and implementation suggestions. Please refer to “Ordering Information” on page 38 for complete
details.
3.3 V to 5 V
I²C/SPI
Control Data
Interrupt
Overflow
Reset
Serial
Audio
Output
Level Translator
Level
Translator
PCM Serial Interface
Register Configuration
High Pass
Filter
High Pass
Filter
Preliminary Product Information
http://www.cirrus.com
3.3 V5 V
Internal Voltage
Reference
Low-Latency
Anti-Alias Filter
Low-Latency
Anti-Alias Filter
Multibit
Oversampling
ADC
Multibit
Oversampling
ADC
PGA
PGAA
MUX
+32 dB
+32 dB
This document contains information for a product under development.
Cirrus Logic reserves the right to modify this product without notice.
Table 10. Example Gain and Attenuation Settings ................................................................................... 31
Table 11. PGA Soft Cross or Zero Cross Mode Selection ........................................................................ 32
Table 12. Analog Input Multiplexer Selection ............................................................................................ 32
CS5346
4DS861PP3
1. PIN DESCRIPTIONS - CS5346
1
2
3
4
5
6
7
8
9
10
11
12
13 14 15 16 17 18 19 20 21 22 23 24
48 47 46 45 44 43 42 41 40 39 38 37
36
35
34
33
32
31
30
29
28
27
26
25
VLSSDA/CDOUT
AGND
OVFL
SCL/CCLK
AD0/CS
AD1/CDIN
VLC
RST
AIN3A
AIN3B
AIN2A
AIN2B
AIN1A
AIN1B
VA
AFILTB
VQ
VQ
FILT+
NC
AIN4A/MICIN1
AIN4B/MICIN2
AIN5A
AIN5B
AFILTA
NC
NC
NC
AGND
NC
NC
PGAOUTB
PGAOUTA
AIN6B
AIN6A
MICBIAS
INTVDDGND
MCLK
LRCK
SCLK
SDOUTNCNCNCNC
CS5346
CS5346
Pin Name#Pin Description
SDA/CDOUT1
SCL/CCLK2Serial Control Port Clock (Input) - Serial clock for the serial control port.
AD0/CS
AD1/CDIN4
VLC5
RST
AIN3A
AIN3B
AIN2A
AIN2B
DS861PP35
Serial Control Data (Input/Output) - SDA is a data I/O in I²C
the control port interface in SPI
Address Bit 0 (I²C) / Control Port Chip Select (SPI)(Input) - AD0 is a chip address pin in I²C Mode;
3
CS
Address Bit 1 (I²C) / Serial Control Data Input (SPI)(Input) - AD1 is a chip address pin in I²C Mode;
CDIN is the input data line for the control port interface in SPI Mode.
Control Port Power (Input) - Determines the required signal level for the control port interface. Refer
to the Recommended Operating Conditions for appropriate voltages.
6Reset (Input) - The device enters a low-power mode when this pin is driven low.
7
Stereo Analog Input 3 (Input) - The full-scale level is specified in the Analog Characteristics specifica-
8
tion table.
9
Stereo Analog Input 2 (Input) - The full-scale level is specified in the Analog Characteristics specifica-
10
tion table.
TM
Mode.
is the chip-select signal for SPI format.
®
Mode. CDOUT is the output data line for
CS5346
AIN1A
AIN1B
AGND13Analog Ground (Input) - Ground reference for the internal analog section.
VA14Analog Power (Input) - Positive power for the internal analog section.
AFILTA15Anti-alias Filter Connection (Output) - Antialias filter connection for the channel A ADC input.
AFILTB16Anti-alias Filter Connection (Output) - Antialias filter connection for the channel B ADC input.
VQ
FILT+19Positive Voltage Reference (Output) - Positive reference voltage for the internal sampling circuits.
NC20
AIN4A/MICIN1
AIN4B/MICIN22122
AIN5A
AIN5B
MICBIAS25
AIN6A
AIN6B
PGAOUTA
PGAOUTB
NC
AGND32Analog Ground (Input) - Ground reference for the internal analog section.
NC
VLS36
NC
SDOUT41Serial Audio Data Output (Output) - Output for two’s complement serial audio data.
SCLK42Serial Clock (Input/Output) - Serial clock for the serial audio interface.
LRCK43
MCLK44Master Clock (Input) - Clock source for the ADC’s delta-sigma modulators.
DGND45Digital Ground (Input) -
VD46Digital Power (Input) - Positive power for the internal digital section.
INT47Interrupt (Output) - Indicates an interrupt condition has occurred.
OVFL48Overflow (Output) - Indicates an ADC overflow condition is present.
11
Stereo Analog Input 1 (Input) - The full-scale level is specified in the Analog Characteristics specifica-
12
tion table.
17
Quiescent Voltage (Output) - Filter connection for the internal quiescent reference voltage.
18
No Connect - This pin is not connected internally and should be tied to ground to minimize any poten-
tial coupling effects.
Stereo Analog Input 4 / Microphone Input 1 & 2 (Input) - The full-scale level is specified in the Ana-
log Characteristics specification table.
23
Stereo Analog Input 5 (Input) - The full-scale level is specified in the Analog Characteristics specifica-
24
tion table.
Microphone Bias Supply (Output) - Low
teristics are specified in the DC Electrical Characteristics specification table.
26
Stereo Analog Input 6 (Input) - The full-scale level is specified in the Analog Characteristics specifica-
27
tion table.
28
PGA Analog Audio Output (Output) - Either an analog output from the PGA block or high impedance.
29
See “PGAOut Source Select (Bit 6)” on page 30.
3031No Connect - These pins are not connected internally and should be tied to ground to minimize any
potential coupling effects.
33
No Connect - These pins are not connected internally and should be tied to ground to minimize any
34
potential coupling effects.
35
Serial Audio Interface Power (Input) - Determines the required signal level for the serial audio inter-
face. Refer to the Recommended Operating Conditions for appropriate voltages.
37
38
No Connect - These pins are not connected internally and should be tied to ground to minimize any
39
potential coupling effects.
40
Left Right Clock(Input/Output) - Determines which channel, Left or Right, is currently active on the
serial audio data line.
Ground reference for the internal digital section.
-noise bias supply for external microphone. Electrical charac-
6DS861PP3
CS5346
1
2
3
4
5
6
7
8
9
10
11
12
13 14 15 16 17 18 19 20 21 22 23 24
48 47 46 45 44 43 42 41 40 39 38 37
36
35
34
33
32
31
30
29
28
27
26
25
VLSSDA/CDOUT
AGND
OVFL
SCL/CCLK
AD0/CS
AD1/CDIN
VLC
RST
AIN3A
AIN3B
AIN2A
AIN2B
AIN1A
AIN1B
VA
AFILTB
VQ
TSTO
FILT+
TSTI
AIN4A/MICIN1
AIN4B/MICIN2
AIN5A
AIN5B
AFILTA
TSTO
NC
NC
AGND
AGND
VA
PGAOUTB
PGAOUTA
AIN6B
AIN6A
MICBIAS
INTVDDGND
MCLK
LRCK
SCLK
SDOUT
NCNCNC
TSTI
CS5345
Compatibility
2. PIN COMPATIBILITY - CS5345/CS5346 DIFFERENCES
The CS5346 is p in compatible with the CS5345 and is a drop in replacement for CS5345 applications where
VA = 5 V, VD = 3.3 V, VLS
for the remaining pins when replacing the CS5345 in these designs with a CS5346.
3.3 V, and VLC 3.3 V. The pinout diagram and table below show the requirements
#
Pin Name
CS5345
CS5346
Pin Name
5VLCVLCControl Port Power (Input) -Limited to nominal 5 or 3.3 V.
14VAVAAnalog Power (Input) - Limited to nominal 5 V.
18TSTOVQThis pin must be left unconnected.
20TSTINCThis pin should be tied to ground.
30VANC
31AGNDNCThis pin should be connected to ground.
35TSTONCThis pin may be left unconnected.
36VLSVLSSerial Audio Interface Power (Input) - Limited to nominal 5 or 3.3 V.
37TSTINCThis pin should be tied to ground.
46VDVDDigital Power (Input) - Limited to nominal 3.3 V
DS861PP37
CS5346
Connection for Compatibility
This pin may be connected to the analog supply voltage. The decoupling capacitor for the
CS5345 is not required.
3. CHARACTERISTICS AND SPECIFICATIONS
RECOMMENDED OPERATING CONDITIONS
AGND = DGND = 0 V; All voltages with respect to ground.
ParametersSymbol Min Nom MaxUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)CommercialT
VA
VD
VLS
VLC
ABSOLUTE MAXIMUM RATINGS
AGND = DGND = 0 V All voltages with respect to ground. (Note 1)
ParameterSymbolMinMaxUnits
DC Power Supplies:Analog
Digital
Logic - Serial Port
Logic - Control Port
Input Current(Note 2)
Analog Input Voltage
Digital Input VoltageLogic - Serial Port
Logic - Control Port
Ambient Operating Temperature (Power Applied)
Storage Temperature
VLS
VLC
V
V
V
A
VA
VD
I
in
INA
IND-S
IND-C
T
A
T
stg
CS5346
4.75
3.13
3.13
3.13
-40-+85C
AGND-0.3VA+0.3V
5.0
3.3
3.3
3.3
-0.3
-0.3
-0.3
-0.3
-10mA
-0.3
-0.3
-50+125C
-65+150C
5.25
3.47
5.25
5.25
+6.0
+3.63
+6.0
+6.0
VLS+0.3
VLC+0.3
V
V
V
V
V
V
V
V
V
V
Notes: 1. Operation beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
2. Any pin except supplies. Transient currents of up to ±100 mA on the analog input pins will not cause
SCR latch-up.
Total Harmonic Distortion + Noise (Line Level Inputs)(Note 6)
-1 dB
-1 dB
THD+N
THD+N
OUT
L
L
-20 dB
-60 dB
Dynamic Range (Mic Level Inputs)
A-weighted
unweighted
Total Harmonic Distortion + Noise (Mic Level Inputs)(Note 6)
-20 dB
-60 dB
Frequency Response 10 Hz to 20 kHz-0.1dB-+0.1dBdB
Analog In to Analog Out Phase Shift-180-deg
DC Current draw from a PGAOUT pinI
AC-Load ResistanceR
Load CapacitanceC
98
95
-
-
-
77
74
-
-
-
--1A
100--k
--20pF
-
-
36
-
104
101
-80
-81
-41
83
80
-74
-60
-20
+ 12
+4
43.2
38
-
-
-74
-
-
-
-
-68
-
-
dB
V/V
pp
k
k
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
6. Referred to the typical A/D Full-Scale Input Voltage.
10DS861PP3
CS5346
DIGITAL FILTER CHARACTERISTICS
Parameter (Note 7)SymbolMinTypMaxUnit
Single-Speed Mode
Passband(-0.1 dB)0-0.4896Fs
Passband Ripple--0.035dB
Stopband0.5688--Fs
Stopband Attenuation70--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
Double-Speed Mode
Passband(-0.1 dB)0-0.4896Fs
Passband Ripple--0.025dB
Stopband0.5604--Fs
Stopband Attenuation69--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
Quad-Speed Mode
Passband(-0.1 dB)0-0.2604Fs
Passband Ripple--0.025dB
Stopband0.5000--Fs
Stopband Attenuation60--dB
Total Group Delay (Fs = Output Sample Rate)t
gd
High-Pass Filter Characteristics
Frequency Response-3.0 dB
-0.13 dB(Note 8)
Phase Deviation@ 20 Hz(Note 8)-10 -Deg
Passband Ripple-- 0dB
Filter Settling Time
-12/Fs -s
-9/Fs - s
-5/Fs - s
-120-
5
10
/Fss
-
Hz
Hz
7. Response is clock-dependent and will scale with Fs. Note that the response plots (Figures 17 to 28) are
normalized to Fs and can be de-normalized by multiplying the X-axis scale by Fs.
8. Response shown is for Fs = 48 kHz.
DS861PP311
CS5346
DC ELECTRICAL CHARACTERISTICS
AGND = DGND = 0 V, all voltages with respect to ground. MCLK=12.288 MHz; Fs=48 kHz; Master Mode.
ParameterSymbolMinTypMaxUnit
Power Supply CurrentVA = 5 V
(Normal Operation)VD, VLS, VLC = 3.3 V
Power Supply CurrentVA = 5 V
(Power-Down Mode) (Note 9)VLS, VLC, VD = 3.3 V
Power Consumption
(Normal Operation)VA = 5 V
VD, VLS, VLC = 3.3 V
(Power-Down Mode)VA = 5V; VD, VLS, VLC = 3.3 V
Power Supply Rejection Ratio (1 kHz)(Note 10)PSRR-55-dB
VQ Characteristics
Quiescent VoltageVQ-0.5 x VA-VDC
Maximum DC Current from VQI
VQ Output ImpedanceZ
FILT+ Nominal VoltageFILT+-VA-VDC
Microphone Bias VoltageMICBIAS-0.8 x VA-VDC
Current from MICBIASI
I
I
D
I
I
D
-
-
-
Q
MB
A
A
Q
-
-
-
-
-
-
-
-1 -A
-23 -k
-- 2mA
41
23
0.50
0.54
205
76
4.2
50
28
-
-
250
93
-
mA
mA
mA
mA
mW
mW
mW
9. Power-Down Mode is defines as RST = Low with all clock and data lines held static and no analog input.
10. Valid with the recommended capacitor values on FILT+ and VQ as shown in the Typical Connection
Diagram.
12DS861PP3
CS5346
10
6
LRCK
-----------------
DIGITAL INTERFACE CHARACTERISTICS
Test conditions (unless otherwise specified): AGND = DGND = 0 V; VLS = VLC = 3.3 V.
Parameters (Note 11)Symbol Min TypMaxUnits
High-Level Input Voltage
Serial Port
Control Port
Low-Level Input VoltageSerial Port
Control Port
High-Level Output Voltage at I
= 2 mASerial Port
o
Control Port
Low-Level Output Voltage at I
= 2 mASerial Port
o
Control Port
Input Leakage CurrentI
Input Capacitance-1-pF
Minimum OVFL Active Time--s
11. Serial Port signals include: MCLK, SCLK, LRCK, SDOUT.
Control Port signals include: SCL/CCLK, SDA/CDOUT, AD0/CS
V
IH
V
IH
V
IL
V
IL
V
OH
V
OH
V
OL
V
OL
in
0.7xVLS
0.7xVLC
-
-
VLS-1.0
VLC-1.0
-
-
-
-
-
-
-
-
-
-
-
-
0.3xVLS
0.3xVLC
-
-
0.4
0.4
--±10A
, AD1/CDIN, RST, INT, OVFL.
V
V
V
V
V
V
V
V
DS861PP313
CS5346
10
9
128Fs
---------------------
10
9
64Fs
------------------
10
9
64Fs
------------------
SWITCHING CHARACTERISTICS - SERIAL AUDIO PORT
Logic ‘0’ = DGND = AGND = 0 V; Logic ‘1’ = VLS, C
ParameterSymbolMinTypMaxUnit
Sample RateSingle-Speed Mode
Double-Speed Mode
Quad-Speed Mode
MCLK Specifications
MCLK Frequency fmclk2.048-51.200MHz
MCLK Input Pulse Width High/Lowt
Master Mode
LRCK Duty Cycle-50-%
SCLK Duty Cycle-50-%
SCLK falling to LRCK edget
SCLK falling to SDOUT validt
Slave Mode
LRCK Duty Cycle405060%
SCLK Period
Single-Speed Mode
= 20 pF. (Note 12)
L
Fs
Fs
Fs
clkhl8- -ns
slr
sdo
t
sclkw
8
50
100
-
-
-
50
100
200
kHz
kHz
kHz
-10-10ns
0-36ns
-
-
ns
Double-Speed Mode
Quad-Speed Mode
SCLK Pulse Width Hight
SCLK Pulse Width Lowt
SCLK falling to LRCK edget
SCLK falling to SDOUT validt
12. See Figure 1 and Figure 2 on page 15.
t
sclkw
t
sclkw
sclkh
sclkl
slr
sdo
-
-
-
-
ns
ns
30--ns
48--ns
-10-10ns
0-36ns
14DS861PP3
slr
t
SDOUT
SCLK
Output
LRCK
Output
sdo
t
slr
t
SDOUT
SCLK
Input
LRCK
Input
sdo
t
sclkh
t
sclkl
t
sclkw
t
Figure 1. Master Mode Serial Audio Port Timing
Figure 2. Slave Mode Serial Audio Port Timing
Figure 3. Format 0, 24-Bit Data Left-Justified
LRCK
SCLK
SDATA
+3 +2 +1+5 +4
-1 -2 -3 -4 -5
+3 +2 +1+5 +4
MSB
-1 -2 -3 -4
Channel A - Left
Channel B - Right
LSBLSBMSB
Figure 4. Format 1, 24-Bit Data I²S
LRCK
SCLK
SDATA
+3 +2 +1+5 +4
MSB
-1 -2 -3 -4 -5
+3 +2 +1+5 +4
-1 -2 -3 -4
Channel A - Left
Channel B - Right
LSBMSBLSB
CS5346
DS861PP315
SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT
MCLK/LRCK must maintain an integer ratio as shown in Table 2. The LRCK frequency is equal to Fs, the
frequency at which audio samples for each channel are clocked out of the device. The FM bits (See “Func-
tional Mode (Bits 7:6)” on page 29.) and the MCLK Freq bits (See “MCLK Frequency - Address 05h” on
page 30.) configure the device to generate the proper clocks in Master Mode and receive the proper
clocks in Slave Mode. Table 2 illustrates several standard audio sample rates and the required MCLK and
LRCK frequencies.
LRCK
(kHz)
32
44.1
48
64
88.2
96
128
176.4
192
Mode
* Only available in master mode.
* 64x* 96x128x192x256x384x512x768x1024x
----8.192012.288016.384024.576032.7680
----11 .289616.934422.579233.868045.1584
----12.288018.432024.576036.864049.1520
--8.192012.288016.384024.576032.7680--
--11.289616.934422.579233.868045.1584--
--12.288018.432024.576036.864049.1520--
8.192012.288016.384024.576032.7680----
11.289616.934422.579233.868045.1584----
12.288018.432024.576036.864049.1520----
QSM
MCLK (MHz)
DSM
SSM
Table 2. Common Clock Frequencies
DS861PP319
5.2.2Master Mode
÷256
÷128
÷64
÷4
÷2
÷1
00
01
10
00
01
10
LRCK
SCLK
000
001
010
÷1
÷1.5
÷2
011
100
÷3
÷4
MCLK
FM Bits
MCLK Freq Bits
Figure 8. Master Mode Clocking
As a clock master, LRCK and SCLK will operate as outputs. LRCK and SCLK are internally derived from
MCLK with LRCK equal to Fs and SCLK equal to 64 x Fs as shown in Figure 8.
5.2.3Slave Mode
In Slave Mode, SCLK and LRCK operate as inputs. The Left/Right clock signal must be equal to the sample rate, Fs, and must be synchronously derived from the supplied master clock, MCLK.
CS5346
The serial bit clock, SCLK, must be synchronously derived from the master clock, MCLK, and be equal to
128x, 64x or 48x Fs, depending on the desired speed mode. Refer to Table 3 for required clock ratios.
Single-SpeedDouble-SpeedQuad-Speed
SCLK/LRCK Ratio48x, 64x, 128x48x, 64x48x, 64x
Table 3. Slave Mode Serial Bit Clock Ratios
5.3High-Pass Filter and DC Offset Calibration
When using operational amplifiers in the input circuitry driving the CS5346, a small DC offset may be driven
into the A/D converter. The CS5346 includes a high-pass filter after the decimator to remove any DC offset
which could result in recording a DC level, possibly yielding clicks when switching between devices in a multichannel system.
The high-pass filter continuously subtracts a measure of the DC offset fro m the output of the decimation
filter. If the HPFFreeze bit (See “High-Pass Filter Freeze (Bit 1)” on page 29.) is set during normal operation,
the current value of the DC offset for the each channel is frozen and this DC offset will continue to be subtracted from the conversion result. This feature makes it possible to perform a system DC offset calibration
by:
1. Running the CS5346 with the high-pass filter enabled until the filter settles. See the Digital Filter Characteristics section for filter settling time.
2. Disabling the high-pass filter and freezing the stored DC offset.
A system calibration performed in this way will eliminate offsets anywhere in the signal path between the
calibration point and the CS5346.
20DS861PP3
5.4Analog Input Multiplexer, PGA, and Mic Gain
MUX
+32 dB
AIN1A
AIN2A
AIN3A
AIN4A/MICIN1
AIN5A
AIN6A
PGA
MUX
+32 dB
AIN1B
AIN2B
AIN3B
AIN4B/MICIN2
AIN5B
AIN6B
Analog Input
Selection Bits
Channel A
PGA Gain Bits
Channel B
PGA Gain Bits
Out to ADC
Channel A
Out to ADC
Channel B
PGA
Figure 9. Analog Input Architecture
The CS5346 contains a stereo 6-to-1 analog input multiplexer followed by a programmable gain amplifier
(PGA). The input multiplexer can select one of six possible stereo analog input sources and route it to the
PGA. Analog inputs 4A and 4B are able to insert a +32 dB (+40x) gain stage before the input multiplexer,
allowing them to b e used for microphone-level signals without the need for any external gain. The PGA
stage provides 12 dB (4x) adjustment in 0.5 dB steps. Figure 9 shows the architecture of the input multiplexer, PGA, and microphone gain stages.
CS5346
The ““Analog Input Selection (Bits 2:0)” on page 32” outlines the bit settings necessary to control the input
multiplexer and mic gain. “Channel B PGA Control - Address 07h” on page 30 and “Channel A PGA Control
- Address 08h” on page 31 outline the register settings necessary to control the PGA. By default, line-
level input 1 is selected, and the PGA is set to 0 dB.
5.5Input Connections
The analog modulator samples the input at 6.144 MHz (MCLK=12.288 MHz). The digital filter will reject signals within the stopband of the filter. However, there is no rejection for input signals which are
6.144 MHz) the digital passband frequency, where n=0,1,2,... Refer to the Typical Connection Diagram
(n
for the recommended analog input circuit that will attenuate noise energy at 6.144 MHz. The use of capacitors which have a lar ge voltage coefficient (such as ge neral-purpose ceramics) must be avoided since
these can degrade signal linearity. Any unused analog input pairs should be left unconnected.
5.5.1Analog Input Configuration for 1 V
The CS5346 PGA, excluding the input multiplexer, is shown in Figure 10 with nominal component values.
Interfacing to this circuit is a relatively simple matter and several options are available. The simplest option
is shown in Figure 11. However, it may be advantageous in some applications to provide a low-pass filter
prior to the PGA to prevent radio frequency interference within the amplifier. The circuit shown in Figure 12
DS861PP321
Input Levels
RMS
CS5346
36 k
V
CM
9 k to 144 k
A/ D Input
-
+
Analog Input
CS5346
Figure 10. CS5346 PGA
36 k
V
CM
9 k to 144 k
A/ D Input
-
+
2. 2 µF
100 k
Analog Input
CS5346
Figure 11. 1 V
RMS
Input Circuit
36 k
V
CM
9 k to 144 k
A/D Input
2.2 µF
1800 pF
100 k
100
-
+
Analog Input
Figure 12. 1 V
RMS
Input Circuit with RF Filtering
36 k
V
CM
9 k to 144 k
A/ D Input
-
+
2. 2 µF
18 pF
100 k
12 k
Analog Input
CS5346
Figure 13. 2 V
RMS
Input Circuit
demonstrates a simple solution. The 1800 pF capacitors in the low-pass filter should be C0G or equivalent
to avoid distortion issues
.
5.5.2Analog Input Configuration for 2 V
The CS5346 can also be easily configured to support an external 2 V
Figure 13. In this configuration, the 2 V
the external 12 k resistor and the input impedance to the network is increased to 48 k. The PGA gain
must also be configured to attenuate the 1.5 V
to prevent clipping in the ADC.
input signal is attenuated to 1.5 V
RMS
Input Levels
RMS
at the input pin to the 1.0 V
RMS
input signal, as shown in
RMS
at the analog input with
RMS
maximum A/D input level
RMS
22DS861PP3
5.6PGA Auxiliary Analog Output
The CS5346 includes an auxiliary analog output through the PGAOUT pins. These pins can be configured
to output the analog input to the ADC as selected by the input MUX and gained or attenuated with the PGA,
or alternatively, they may be set to high impedance. See the “PGAOut Source Select (Bit 6)” on page 30 for
information on configuring the PGA auxiliary analog output.
The PGA auxiliary analog output can source very little current. As current from the PGAOUT pins increases,
distortion will increase. For this reason, a high-input impedance buffer must be used on the PGAOUT pins
to achieve full performance. An example buffer for PGAOUT is provided on the CDB5346 for reference. Refer to the table in “DC Electrical Characteristics” on page 12 for acceptable loading conditions.
5.7Control Port Description and Timing
The control port is used to access the registers, allowing the CS5346 to be configured for the desired operational modes and formats. The operation of the control port may be completely asynchronous with respect
to the audio sample rates. However, to avoid potential interference problems, the control port pins should
remain static if no operation is required.
The control port has two modes: SPI and I²C, with the CS5346 acting as a slave device. SPI Mode is selected if there is a high-to-low transition on the AD0/CS
Mode is selected by connecting the AD0/CS
selecting the desired AD0 bit address state.
pin through a resistor to VLC or DGND, thereby permanently
CS5346
pin, after the RST pin has been brought high. I²C
5.7.1SPI Mode
In SPI Mode, CS is the chip-select signal; CCLK is the control port bit clock (input into the CS5346 from
the microcontroller); CDIN is the input data line from the microcontroller; CDOUT is the output data line
to the microcontroller. Data is clocked in on the rising edge of CCLK and out on the falling edge.
Figure 14 shows the operation of the control port in SPI Mode. To write to a register, bring CS
first seven bits on CDIN form the chip address and must be 1001111. The eighth bit is a read/write indicator (R/W
which is set to the address of the register that is to be updated. The next eight bits are the data that will
be placed into the register designated by the MAP. During writes, the CDOUT output stays in the Hi-Z
state. It may be externally pulled high or low with a 47 k resistor, if desired.
To read a register, the MAP has to be set to the correct address by executing a partial write cycle which
finishes (CS
low. The
), which should be low to write. The next eight bits form the Memory Address Pointer (MAP),
high) immediately after the MAP byte. To begin a read, bring CS low, send out the chip ad-
DS861PP323
CS5346
MAP
MSB
LSB
DATA
byte 1
byte n
R/W
R/W
ADDRESS
CHIP
ADDRESS
CHIP
CDIN
CCLK
CS
CDOUT
MSB
LSB
MSB
LSB
1001111
1001111
MAP = Memory Address Pointer, 8 bits, MSB first
High Impedance
Figure 14. Control Port Timing in SPI Mode
4 5 6 7 24 25
SCL
CHIP ADDRESS (WRITE)MAP BYTEDATA
DATA +1
START
ACK
STOP
ACKACKACK
1 0 0 1 1 AD1 AD0 0
SDA
6 6 5 4 3 2 1 0 7 6 1 07 6 1 07 6 1 0
0 1 2 3 8 9 12 16 17 18 19 10 11 13 14 15 27 28
26
DATA +n
Figure 15. Control Port Timing, I²C Write
dress and set the read/write bit (R/W) high. The next falling edge of CCLK will clock out the MSB of the
addressed register (CDOUT will leave the high-impedance state).
For both read and write cycles, the memory address pointer will automatically increment following each
data byte in order to facilitate block reads and writes of successive registers.
5.7.2I²C Mode
In I²C Mode, SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL.
There is no CS
be connected through a resistor to VLC or DGND as desired. The state of the pins is sensed while the
CS5346 is being reset.
The signal timings for a read and write cycle are shown in Figure 15 and Figure 16. A Start condition is
defined as a falling transition of SDA while the clock is high. A Stop condition is a rising transition while
the clock is high. All other transitions of SDA occur while the clock is low. The first byte sent to the CS5346
after a Start condition consists of a 7-bit chip address field and a R/W
The upper 5 bits of the 7-bit address field are fixed at 10011. To communicate with a CS5346, the chip
address field, which is the first byte sent to the CS5346, should match 10011 followed by the settings of
the AD1 and AD0. The 8th bit of the address is the R/W
Memory Address Pointer (MAP) which selects the register to be read or written. If the operation is a read,
the contents of the register pointed to by the MAP will be output. Following each data byte, the memory
address pointer will automatically increment to facilitate block reads and writes of successive registers.
Each byte is separated by an acknowledge bit. The ACK bit is output from the CS5346 after each input
byte is read, and is input to the CS5346 from the microcontroller after each transmitted byte.
pin. Pins AD0 and AD1 form the two least-significant bits of the chip address and should
bit (high for a read, low for a write).
bit. If the operation is a write, the next byte is the
24DS861PP3
CS5346
SCL
CHIP ADDRESS (WRITE)
MAP BYTE
DATA
DATA +1
START
ACK
STOP
ACK
ACK
ACK
1 0 0 1 1 AD1 AD0 0
SDA
1 0 0 1 1 AD1 AD0 1
CHIP ADDRESS (READ)
START
7 6 5 4 3 2 1 0
7 07 07 0
NO
16 8 9 12 13 14 15 4 5 6 7 0 1 20 21 22 23 24
26 27 28
2 3 10 11 17 18 19 25
ACK
DATA + n
STOP
Figure 16. Control Port Timing, I²C Read
Since the read operation cannot set the MAP, an aborted write operation is used as a preamble. As shown
in Figure 16, the write operation is aborted after the acknowledge for the MAP byte by sending a stop con-
dition. The following pseudocode illustrates an aborted write operation followed by a read operation.
• Send start condition.
• Send 10011xx0 (chip address & write operation).
• Receive acknowledge bit.
• Send MAP byte.
• Receive acknowledge bit.
• Send stop condition, aborting write.
• Send start condition.
• Send 10011xx1(chip address & read operation).
• Receive acknowledge bit.
• Receive byte, contents of selected register.
• Send acknowledge bit.
• Send stop condition.
5.8Interrupts and Overflow
The CS5346 has a comprehensive interrupt capability. The INT output pin is intended to drive the interrupt
input pin on the host microcontroller. The INT pin may function as either an active high CMOS driver or
an active-low, open-drain driver (see “Active High/Low (Bit 0)” on page 35). When configured as active
low open-drain, the INT pin has no active pull-up transistor, allowing it to be used for wired-OR hook-ups
with multiple peripherals connected to the microcontroller interrupt input pin. In this configuration, an external pull-up resistor must be placed on the INT pin for proper operation.
Many conditions can cause an interrupt, as listed in the interrupt status register descriptions (see “Interrupt Status - Address 0Dh” on page 35). Each source may be masked off through mask register bits. In
addition, Each source may be set to rising edge, falling edge, or level-sensitive. Combined with the option
of level-sensitive or edge-sensitive modes within the microcontroller, many different configurations are
possible, depending on the needs of the equipment designer.
The CS5346 also has a dedicated overflow output. The OVFL pin functions as active low open drain and
has no active pull-up transistor, thereby requiring an external pull-up resistor. The OVFL pin outputs an
OR of the ADCOverflow and ADCUnderflow conditions available in the Interrupt Status register; however,
these conditions do not need to be unmasked for proper operation of the OVFL pin.
DS861PP325
5.9Reset
When RST is low, the CS5346 enters a low-power mode and all internal states are reset, including the control port and registers, the outputs are muted. When RST
the desired settings should be loaded into the control registers. Writing a 0 to the PDN bit in the Power Control register will then cause the part to leave the low-power state and begin operation.
The delta-sigma modulators settle in a matter of microseconds after the analog section is powered, either
through the application of power or by setting the RST
much longer to reach a final value due to the presence of external capacitance on the FILT+ pin. During this
voltage reference ramp delay, SDOUT will be automatically muted.
CS5346
is high, the control port becomes operational, and
pin high. However, the voltage reference will take
It is recommended that RST
erating condition to prevent power-glitch-related issues.
be activated if the analog or digital supplies drop below the recommended op-
5.10Synchronization of Multiple Devices
In systems where multiple ADCs are required, care must be taken to achieve simultaneous sampling. To
ensure synchronous sampling, the mast er clocks and left/ right clocks must be the same f or all of the
CS5346s in the system. If only one master clock source is needed, one solution is to place one CS5346 in
Master Mode, and slave all of the other CS5346s to the one master. If multiple master clock sources are
needed, a possible solution would be to supply all cl ocks from the same external source and time the
CS5346 reset with the inactive edge of master clock. This will ensure that all converters begin sampling on
the same clock edge.
5.11Grounding and Power Supply Decoupling
As with any high-resolution converter, the CS5346 requires careful attention to power supply and grounding
arrangements if its potential performance is to be realized. Figure 7 shows the recommended power arrangements, with VA connected to a clean supply. VD, which powers the digital filter, may be run from the
system logic supplies (VLS or VLC). Power supply decoupling capacitors should be as near to the CS5346
as possible, with the low value ceramic capacitor being the nearest. All signals, especially clocks, should be
kept away from the FILT+ and VQ pins in order to avoid unwanted coupling into the modulators. The FILT+
and VQ decoupling capacitors, particularly the 0.1 µF, must be positioned to minimize the electrical path
from FILT+ and AGND. The CS5346 evaluation board demonstrates the optimum layout and power supply
arrangements. To minimize digital noise, connect the CS5346 digital outputs only to CMOS inputs.
26DS861PP3
CS5346
6. REGISTER QUICK REFERENCE
This table shows the register names and their associated default values.
AddrFunction76543210
01h Chip IDPART3PART2PART1PART0REV3REV2REV1REV0
pg. 28110 0 x x x x
02h Power ControlFreezeReserved Reserved ReservedPDN_MICPDN_ADCReservedPDN
This register is Read-Only. Bits 7 through 4 are the part number ID, which is 1100b, and the remaining bits
(3 through 0) indicate the device revision as shown in Table 4 below.
This function allows modifications to be made to certain control port bits without the changes taking effect
until the Freeze bit is disabled. To make multiple changes to these bits take effect simultaneously, set the
Freeze bit, make all changes, then clear the Freeze bit. The bits affected by the Freeze function are listed
in Table 5.
NameRegisterBit(s)
Mute04h2
Gain[5:0]07h5:0
Gain[5:0]08h5:0
7.2.2Power-Down MIC (Bit 3)
Function:
The microphone preamplifier block will enter a low-power state whenever this bit is set.
7.2.3Power-Down ADC (Bit 2)
Function:
The ADC pair will remain in a reset state whenever this bit is set.
7.2.4Power-Down Device (Bit 0)
Function:
Table 5. Freeze-able Bits
The device will enter a low-power state whenever this bit is set. The power-down bit is set by default and
must be cleared before normal operation can occur. The contents of the control registers are retained
when the device is in power-down.
28DS861PP3
CS5346
7.3ADC Control - Address 04h
76543210
FM1FM0ReservedDIFReservedMuteHPFFreezeM/S
7.3.1Functional Mode (Bits 7:6)
Function:
Selects the required range of sample rates.
FM1FM0Mode
00Single-Speed Mode: 8 to 50 kHz sample rates
01Double-Speed Mode: 50 to 100 kHz sample rates
10Quad-Speed Mode: 100 to 200 kHz sample rates
11Reserved
Table 6. Functional Mode Selection
7.3.2Digital Interface Format (Bit 4)
Function:
The required relationship between LRCK, SCLK and SDOUT is defined by the Digital Interface Format
bit. The options are detailed in Table 7 and may be seen in Figure 3 and Figure 4.
DIFDescriptionFormatFigure
0Left-Justified (default)03
1I²S 14
Table 7. Digital Interface Formats
7.3.3Mute (Bit 2)
Function:
When this bit is set, the serial audio output of the both channels is muted.
7.3.4High-Pass Filter Freeze (Bit 1)
Function:
When this bit is set, the internal high-pass filter is disabled. The current DC offset value will be frozen and
continue to be subtracted from the conversion result. See “High-Pass Filter and DC Offset Calibration” on
page 20.
7.3.5Master / Slave Mode (Bit 0)
Function:
This bit selects either master or slave operation for the serial audio port. Setting this bit selects Master
Mode, while clearing this bit selects Slave Mode.
DS861PP329
CS5346
7.4MCLK Frequency - Address 05h
76543210
Reserved
MCLK
Freq2
7.4.1Master Clock Dividers (Bits 6:4)
Function:
Sets the frequency of the supplied MCLK signal. See Table 8 for the appropriate settings.
This bit is used to configure the PGAOut pins to be either high impedance or PGA outputs. Refer to
Table 9.
PGAOutPGAOutA & PGAOutB
0High Impedance
1PGA Output
Tab l e 9. PGAOut Source Selection
7.6Channel B PGA Control - Address 07h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
7.6.1Channel B PGA Gain (Bits 5:0)
Function:
See “Channel A PGA Gain (Bits 5:0)” on page 31.
30DS861PP3
CS5346
7.7Channel A PGA Control - Address 08h
76543210
ReservedReservedGain5Gain4Gain3Gain2Gain1Gain0
7.7.1Channel A PGA Gain (Bits 5:0)
Function:
Sets the gain or attenuation for the ADC input PGA stage. The gain may be adjusted from -12 dB to
+12 dB in 0.5 dB steps. The gain bits are in two’s complement with the Gain0 bit set for a 0.5 dB step.
Register settings outside of the ±12 dB range are reserved and must not be used. See Table 10 for example settings.
7.8.1PGA Soft Ramp or Zero Cross Enable (Bits 4:3)
Function:
Soft Ramp Enable
Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods.
See Table 11.
Zero Cross Enable
Zero Cross Enable dictates that signal-level changes, either by attenuation changes or muting, will occur
on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal
does not encounter a zero crossing. The zero cross function is independently monitored and implemented
for each channel. See Table 11.
Soft Ramp and Zero Cross Enable
Soft Ramp and Zero Cross Enable dictate that signal-level changes, either by attenuation changes or muting, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will
occur after a time-out period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. See Table 11.
DS861PP331
PGASoftPGAZeroCrossMode
00Changes to affect immediately
01Zero Cross enabled
10Soft Ramp enabled
11Soft Ramp and Zero Cross enabled (default)
Table 11. PGA Soft Cross or Zero Cross Mode Selection
7.8.2Analog Input Selection (Bits 2:0)
Function:
These bits are used to select the input source for the PGA and ADC. Please see Table 12.
When this bit is set, the INT pin functions as an active high CMOS driver.
When this bit is cleared, the INT pin functions as an active low open drain driver and will require an external pull-up resistor for proper operation.
For all bits in this register, a ‘1’ means the associated condition has occurred at least once since the register
was last read. A ‘0’ means the associated condition has NOT occurred since the last reading of the register.
Status bits that are masked off in the associated mask register will always be ‘0’ in this register. This register
defaults to 00h.
32DS861PP3
CS5346
7.10.1Clock Error (Bit 3)
Function:
Indicates the occurrence of a clock error condition.
7.10.2Overflow (Bit 1)
Function:
Indicates the occurrence of an ADC overflow condition.
7.10.3Underflow (Bit 0)
Function:
Indicates the occurrence of an ADC underflow condition.
The bits of this register serve as a mask for the Status sources found in the register “Status - Address 0Dh”
on page 32. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect the status
register. If a mask bit is set to 0, the error is masked, meaning that its occurrence will not affect the status
register. The bit positions align with the corresponding bits in the Status register.
The two Status Mode registers form a 2-bit code for each Status register function. There are three ways to
update the Status register in accordance with the status condition. In the Rising-Edge Active Mode, the status bit becomes active on the arrival of the condition. In the Falling-Edge Active Mode, the status bit becomes active on the removal of th e condition. In L evel-Active Mode, the status bit is active during the
condition.
00 - Rising edge active
01 - Falling edge active
10 - Level active
11 - Reserved
DS861PP333
8. PARAMETER DEFINITIONS
Dynamic Range
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth. Dynamic Range is a signal-to-noise ratio measurement over the specified bandwidth made with
a -60 dBFS signal. 60 dB is added to resulting measurement to refer the measurement to full scale. This
technique ensures that the distortion components are below the noise level and do not affect the measurement. This measurement technique has been accepted by the Au dio Engineering Society, AES17-1991,
and the Electronic Industries Association of Japan, EIAJ CP-307. Expressed in decibels.
Total Harmonic Distortion + Noise
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured
at -1 and -20 dBFS as suggested in AES17-1991 Annex A.
Frequency Response
A measure of the amplitude response variation from 10 Hz to 20 kHz relative to the amplitude response at
1 kHz. Units in decibels.
Interchannel Isolation
A measure of crosstalk between the left and right channels. Measured for each channel at the converter's
output with no signal to the input under test and a full-scale signal applied to the other channel. Units in decibels.
CS5346
Interchannel Gain Mismatch
The gain difference between left and right channels. Units in decibels.
Gain Drift
The change in gain value with temperature. Units in ppm/°C.
* Nominal pin pitch is 0.50 mm*Controlling dimension is mm.*JEDEC Designation: MS022
0.000°4°7.000°0.00°4°7.00°
11.THERMAL CHARACTERISTICS AND SPECIFICATIONS
ParametersSymbolMinTypMaxUnits
Package Thermal Resistance (Note 1)48-LQFP
Allowable Junction Temperature
1. JA is specified according to JEDEC specifications for multi-layer PCBs.
DS861PP337
JA
JC
-
-
--125
48
15
-
-
°C/Watt
°C/Watt
C
CS5346
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative.
To find the one nearest you, go to www.cirrus.com
IMPORTANT NOTICE
“Preliminary” product information describes products that are in production, but for which full characterization data is not yet available. Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and
is provided “AS IS” without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant information to verify, before
placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order
acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document
is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks,
trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be
made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent does not extend to
other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE
IN PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER'S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY
INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS' FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks
or service marks of their respective owners.