! 101 dB Dynamic Range
! -91 dB THD+N
! +3.0 V or +5.0 V Power Supply
! Low Clock-Jitter Sensitivity
! Filtered Line-Level Outputs
! On-Chip Digital De-Emphasis for 32, 44.1
and 48 kHz
! ATAPI Mixing
! Digital Volume Control with Soft Ramp
– 94 dB Attenuation
– 1 dB Step Size
– Zero Crossing Click-Free Transitions
! Popguard
and Pops
! 33 mW with 3.0 V Supply
I
®
Technology for Control of Clicks
Description
The CS4341 is a complete stereo digital-to-analog system including digital interpolation, fourth-order DeltaSigma digital-to-analog conversion, digital de-emphasis
and switched capacitor analog filtering. The advantages
of this architecture include: ideal differential linearity, no
distortion mechanisms due to resistor matching errors,
no linearity drift over time and temperature and a high
tolerance to clock jitter.
The CS4341 accepts data at audio sample rates from
4 kHz to 100 kHz, consumes very little power, and operates over a wide power supply ran ge. The features of
the CS4341 are ideal for DVD players, CD players, settop box and automotive systems.
ORDERING INFORMATION
CS4341-KS16-pin SOIC, -10 to 70 °C
CS4341-CZZ, Lead Free16-pin TSSOP, -10 to 70 °C
CDB4341Evaluation Board
Table 5. Digital Interface Format....................................................................................................................26
Table 7. Example Digital Volume Settings .....................................................................................................30
DS298F53
CS4341
1.CHARACTERISTICS AND SPECIFICATIONS
(Min/Max performance characteristics and specifications are guaranteed over the Specified Operating Conditions.
Typical performance characteristics are derived from measurements taken at T
SPECIFIED OPERATING CONDITIONS (All voltages with respect to AGND = 0 V.)
ParametersSymbol Min NomMaxUnits
DC Power Supply
Nominal 3.3 V
Nominal 5.0 V
Specified Operating Temperature -KS/CZZ
VA
VA
T
A
(Power Applied)
ABSOLUTE MAXIMUM RATINGS (AGND = 0 V; all voltages with respect to AGND. Operation beyond
these limits may result in permanent damage to the device. Normal opera tion is not guaranteed at these extremes.)
ParametersSymbolMinMaxUnits
DC Power SupplyVA-0.36.0V
Input Current
Digital Input VoltageV
Ambient Operating Temperature (power applied)T
Storage TemperatureT
(Note 1)I
in
IND
A
stg
= 25°C.)
A
2.7
4.75
3.3
5.0
3.6
5.5
-10-+70°C
-±10mA
-0.3VA+0.4V
-55125°C
-65150°C
V
V
Notes: 1. Any pin except supplies.
4DS298F5
CS4341
ANALOG CHARACTERISTICS (CS4341-KS/CZZ) (Test conditions (unless otherwise specified): Input
test signal is a 997 Hz sine wave at 0 dBFS; measurement bandwidth is 10 Hz to 20 kHz; test load R
= 10 pF (see Figure 1).)
VA = 5.0 VVA = 3.0 V
Parameter
MinTypMax MinTypMaxUnit
Single-Speed Mode Fs = 48 kHz
Dynamic Range
18 to 24-Bitunweighted
16-Bitunweighted
Total Harmonic Distortion + Noise
18 to 24-Bit0 dB
16-Bit0 dB
(Note 2)
A-Weighted
A-Weighted
(Note 2)
-20 dB
-60 dB
-20 dB
-60 dB
93
96
89
98
101
-
-
-
-
-
-
-
-
92
95
-91
-78
-38
-90
-72
-32
-
-
-
-
-86
-
-
-
-
-
92
-
-
-
-
-
-
-
-
94
97
92
95
-94
-74
-34
-91
-72
-32
Double-Speed Mode Fs = 96 kHz
Dynamic Range
18 to 24-Bitunweighted
16-Bitunweighted
Total Harmonic Distortion + Noise
18 to 24-Bit0 dB
16-Bit0 dB
(Note 2)
A-Weighted
A-Weighted
(Note 2)
-20 dB
-60 dB
-20 dB
-60 dB
93
96
89
98
101
-
-
-
-
-
-
-
-
92
95
-91
-78
-38
-90
-72
-32
-
-
-
-
-86
-
-
-
-
-
92
-
-
-
-
-
-
-
-
94
97
92
95
-94
-74
-34
-91
-72
-32
=10kΩ, CL
L
-
-
-
-
-89
-
-
-
-
-
-
-
-
-
-89
-
-
-
-
-
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
DS298F55
CS4341
ANALOG CHARACTERISTICS (CS4341-KS/CZZ) (Continued)
ParametersSymbolMinTypMaxUnits
Dynamic Performance for All Modes
Interchannel Isolation (1 kHz)-100-dB
DC Accuracy
Interchannel Gain Mismatch-0.1-dB
Gain Drift-±100-ppm/°C
Notes: 2. One-half LSB of triangular PDF dither is added to data.
3. Refer to Figure 2.
.
3.3 µF
AOUTx
+
(Note 3)R
(Note 3)C
V
out
L
L
-3-kΩ
-100-pF
AGND
R
L
Figure 1. Output Test Load
C
L
125
100
L
75
50
25
Capacitive Load -- C (pF)
2.5
51015
3
Safe Operating
Region
Resistive Load -- R (kΩ)
L
20
Figure 2. Maximum Loading
6DS298F5
CS4341
COMBINED INTERPOLATION & ON-CHIP ANALOG FILTER RESPONSE (The filter characteris-
tics and the X-axis of the response plots have been normalized to the sample rate (Fs) and can be referenced to the
desired sample rate by multiplying the given characteristic by Fs.)
ParameterMinTypMaxUnit
Single-Speed Mode - (4 kHz to 50 kHz sample rates)
Passband
to -0.05 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.02-+0.08dB
StopBand0.5465--Fs
StopBand Attenuation
Group Delay-9/Fs-s
Passband Group Delay Deviation0 - 20 kHz-±0.36/Fs-s
De-emphasis Error (Relative to 1 kHz) Fs = 32 kHz
(Note 5)Fs = 44.1 kHz
Fs = 48 kHz
Double-Speed Mode - (50 kHz to 100 kHz sample rates)
Passband
to -0.1 dB corner
to -3 dB corner
Frequency Response 10 Hz to 20 kHz-0.06-+0.2dB
StopBand0.577--Fs
StopBand Attenuation
Group Delay-4/Fs-s
Passband Group Delay Deviation0 - 40 kHz
0 - 20 kHz
0
0
(Note 4)50--dB
-
-
-
0
0
(Note 4)55--dB
-
-
-
-
-
-
-
-
-
±1.39/Fs
±0.23/Fs
0.4535
0.4998
+0.2/-0.1
+0.05/-0.14
+0/-0.22
0.4621
0.4982
-
-
Fs
Fs
dB
dB
dB
Fs
Fs
s
s
Notes: 4. For Single-Speed Mode, the measurement bandwidth is 0.5465 Fs to 3 Fs.
For Double-Speed Mode, the measurement bandwidth is 0.577 Fs to 1.4 Fs.
5. De-emphasis is only available in Single-Speed Mode.
DS298F57
CS4341
Figure 3. Single-Speed Stopband RejectionFigure 4. Single-Speed Transition Band
Figure 5. Single-Speed Transition Band (Detail)Figure 6. Single-Speed Passband Ripple
Figure 7. Double-Speed Stopband RejectionFigure 8. Double-Speed Transition Band
8DS298F5
CS4341
Figure 9. Double-Speed Transition Band (Detail)Figure 10. Double-Speed Passband Ripple
Notes: 6. The Duty Cycle must be 50% +/− 1/2 MCLK Period.
7. See section 4.2.1 for derived internal frequencies.
LRCK
t
sclkr
SDATA
4
50
1
---------------SCLK
--s
1
--------------------- -10+
512()Fs
1
--------------------- -15+
512()Fs
1
--------------------- -15+
384()Fs
-
-
(Note 6)
50
100
kHz
kHz
%
--s
t
sclkw
------------- 2
--ns
--ns
--ns
t
sclkw
t
sdlrstsdh
*INTERNAL SCLK
Figure 12. Internal Serial Mode Input Timing
*The SCLK pulses shown are internal to the CS4341.
LRCK
MCLK
*INTERNAL SCLK
SDATA
1
N
2
N
Figure 13. Internal Serial Clock Generation
* The SCLK pulses shown are internal to the CS4341. N equals MCLK divided by SCLK
DS298F511
SWITCHING CHARACTERISTICS - CONTROL PORT INTERFACE (I²C®)
ParameterSymbolMinMaxUnit
I²C Mode
SCL Clock Frequencyf
RST
Rising Edge to Start
Bus Free Time Between Transmissionst
Start Condition Hold Time (prior to first clock pulse)t
Clock Low timet
Clock High Timet
Setup Time for Repeated Start Conditiont
SDA Hold Time from SCL Falling
(Note 8)t
SDA Setup time to SCL Risingt
Rise Time of SCL
(Note 9)t
Fall Time of SCLt
Rise Time SDAt
Fall Time of SDAt
Setup Time for Stop Conditiont
scl
t
irs
buf
hdst
low
high
sust
hdd
sud
rc
fc
rd
fd
susp
-100kHz
500-ns
4.7-µs
4.0-µs
4.7-µs
4.0-µs
4.7-µs
0-µs
250-ns
-25ns
-25ns
-1µs
-300ns
4.7-µs
CS4341
Notes: 8. Data must be held for sufficient time to bridge the transition time, tfc, of SCL.
9. See “Rise Time for Control Port Clock” on page 21 for a recommended circuit to meet rise time
specification.
RST
t
SDA
SCL
irs
StopStart
t
buf
t
hdd
t
high
t
sud
t
hdst
t
low
Figure 14. Control Port Timing - I²C Mode
Repeated
Start
t
sust
t
hdst
t
f
t
r
Stop
t
susp
12DS298F5
SWITCHING CHARACTERISTICS - CONTROL PORT INTERFACE (SPI™)
ParameterSymbolMinMaxUnit
SPI Mode
CCLK Clock Frequencyf
Rising Edge to CS Falling
RST
CCLK Edge to CS
CS
High Time Between Transmissions
CS
Falling to CCLK Edge
Falling(Note 10)
CCLK Low Timet
CCLK High Timet
CDIN to CCLK Rising Setup Timet
CCLK Rising to DATA Hold Time
Rise Time of CCLK and CDIN
Fall Time of CCLK and CDIN
(Note 11)t
(Note 12)t
(Note 12)t
sclk
t
srs
t
spi
t
csh
t
css
scl
sch
dsu
dh
r2
f2
-6MHz
500-ns
500-ns
1.0-µs
20-ns
1
----------------MCLK
1
----------------MCLK
40-ns
15-ns
-100ns
-100ns
CS4341
-ns
-ns
Notes: 10. t
11. Data must be held for sufficient time to bridge the transition time of CCLK.
12. For f
only needed before first falling edge of CS after RST rising edge. t
spi
< 1 MHz.
sclk
RST
CS
CCLK
CDIN
t
srs
t
t
css
spi
t
r2
Figure 15. Control Port Timing - SPI Mode
t
t
scl
sch
t
f2
t
t
dsu
dh
= 0 at all other times.
spi
t
csh
DS298F513
CS4341
DC ELECTRICAL CHARACTERISTICS (AGND = 0 V; all voltages with respect to AGND.)
ParametersSymbolMinTypMaxUnits
Normal Operation
Power Supply CurrentVA = 5.0 V
Power Dissipation VA = 5.0 V
Power-down Mode
Power Supply Current VA = 5.0 V
VA = 3.0 V
Power Dissipation VA = 5.0 V
All Modes of Operation
Power Supply Rejection Ratio
V
Nominal Voltage
Q
Output Impedance
Maximum allowable DC current source/sink
Filt+ Nominal Voltage
Output Impedance
Maximum allowable DC current source/sink
MUTEC Low-Level Output Voltage-0-V
MUTEC High-Level Output Voltage-VA-V
Maximum MUTEC Drive Current-3-mA
(Note 13)
(Note 14)
VA = 3.0 V
VA = 3.0 V
VA = 3.0 V
(Note 15)1 kHz
60 Hz
I
A
I
A
I
A
PSRR-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15
11
75
33
60
30
0.3
0.09
60
40
0.45•VA
250
0.01
VA
250
0.01
18
14
90
42
mA
mA
mW
mW
-
-
-
-
-
-
µA
µA
mW
mW
dB
dB
-
-
-
kΩ
mA
-
-
-
kΩ
mA
V
V
Notes: 13. Normal operation is defined as RST
= HI with a 997 Hz, 0 dBFS input sampled at the highest Fs for
each speed mode, and open outputs, unless otherwise specified.
14. Power Down Mode is defined as RST
= LO with all clocks and data lines held static.
15. Valid with the recommended capacitor values on FILT+ and VQ as shown in Fig ure 16. Incr easing the
capacitance will also increase the PSRR.
DIGITAL INPUT CHARACTERISTICS (AGND = 0 V; all voltages with respect to AGND.)
ParametersSymbol Min TypMaxUnits
Input Leakage Current I
in
--±10µA
Input Capacitance-8-pF
DIGITAL INTERFACE SPECIFICATIONS (AGND = 0 V; all voltages with respect to AGND.)
ParametersSymbol Min MaxUnits
3.3 V Logic (3.0 V to 3.6 V DC Supply)
High-Level Input Voltage V
Low-Level Input Voltage V
5.0 V Logic (4.75 V to 5.25 V DC Supply)
High-Level Input Voltage V
Low-Level Input Voltage V
IH
IL
IH
IL
2.0
-0.8V
2.0-V
-0.8V
-
V
14DS298F5
2.PIN DESCRIPTION
CS4341
SDATAAOUTA
SCLKVA
LRCKAGND
MCLKAOUTB
SCL/CCLKREF_GND
SDA/CDINVQ
AD0/CS
Pin Name#Pin Description
RST
SDATA
SCLK
LRCK
MCLK
SCL/CCLK
SDA/CDIN
AD0/CS
FILT+
VQ
REF_GND
AOUTB
AOUTA
AGND
VA
MUTEC
Reset (Input) - Powers down device and resets registers to their default settings.
1
Serial Audio Data (Input) - Input for two’s complement serial audio data.
2
SerialClock (Input) -Serial clock for the serial audio interface.
3
Left Right Clock (Input) - Determines which channel, Left or Right, is currently active on the
4
serial audio data line.
Master Clock (Input) - Clock source for the delta-sigma modulator and digital filters.
5
Serial Control Port Clock (Input) - Serial clock for the control port interface.
6
7Serial Control Data I/O (Input/Output) - Input/Output for I²C data. Input for SPI data.
Address Bit / Chip Select (Input) - Chip address bit in I²C Mode. Control signal used to select
8
the chip in SPI mode.
Positive Voltage Reference (Output) - Positive voltage reference for the internal
9
sampling circuits.
Quiescent Voltage (Output) - Filter connection for internal quiescent reference voltage.
10
Reference Ground (Input) - Ground reference for the internal sampling circuits.
11
Analog Outputs (Output) - The full-scale analog output level is specified in the
12
Analog Characteristics table.
15
Analog Ground (Input)
13
14Power (Input) - Positive power for the analog, digital, and serial audio interface sections.
Mute Control (Output) - Control signal for an optional mute circuit.
16
RSTMUTEC
161
152
143
134
125
116
107
98
FILT+
DS298F515
3.TYPICAL CONNECTION DIAGRAM
CS4341
Serial Audio
Data
Processor
External Clock
Mic r o-Controlled
Configuration
2
3
4
5
6
7
8
1
SDATA
SCLK
LRCK
MCLK
SCL/CC LK
SDA/CDIN
AD0/CS
RST
AGND
14
VA
CS4341
13
0.1 µF
AOUTA
MUTEC
FILT+
VQ
REF_GND
AOUT B
12
15
16
9
10
11
3.3 µF
+
10 k
.1 µ F
3.3 µF
+
10 k
1µF
560
560
+3.0 V or + 5 .0 V
Ω
C
+
0.1 µF
1µF
Ω
C
C=
OPTIONAL
MUTE
CIRCUIT
R560
+
L
π
4
Fs(R
L
560)
Audio
Output A
R
L
Audio
Output B
R
L
+
Ω
1µF
+
Ω
Figure 16. Typical Connection Diagram
16DS298F5
CS4341
4.APPLICATIONS
4.1Sample Rate Range/Operational Mode
The device operates in one of two operational modes determined by the Master Clock to Left/Right Clock
ratio (see section 4.2). Sample rates outside the specified range for each mode are not supported.
The device requires external generation of the master (MCLK) and left/right (LRCK) clocks. The device
also requires external generation of the serial clock (SCLK) if the internal serial clock is not used. The
LRCK, defined also as the input sample rate Fs, must be synchronously derived from MCLK according to
specified ratios. The specified ratios of MCLK to LRCK, along with several standard audio sample rates
and the required MCLK frequency, are illustrated in Tables 2 and 3.
*Requires MCLKDIV bit = 1 in the MCLK Control (address 00h) register.
4.2.1Internal Serial Clock Mode
The device will enter the Internal Serial Clock Mode if no low to high transitions are detected on
the SCLK pin for 2 consecutive periods of LRCK. In this mode, the SCLK is internally derived and
synchronous with MCLK and LRCK. The SCLK/LRCK ratio is either 32, 48, or 64 depending upo n
the MCLK/LRCK ratio and the Digital Interface Format selection (see Table 4).
Operation in the Internal Serial Clock mode is identical to operation with an external SCLK synchronized with LRCK; however, External SCLK mode is recommended for system clocking applications.
DS298F517
CS4341
Input
MCLK/LRCK
Ratio
512, 256, 128
384, 192
512, 256, 128
I2S up to 16 or
24 Bits
(Format 1)--X32
XX X X48
(Format 0)XX-64
Digital Interface Format SelectionInternal
Left Justified 24
Bits
Right Justified
18, 20 or 24 Bits
Right Justified
16 Bits
SCLK/LRCK
Ratio
Table 4. Internal SCLK/LRCK Ratio
4.2.2External Serial Clock Mode
The device will enter the External Serial Clock Mode whenever 16 low to high transitions are detected on the SCLK pin during any phase of the LRCK period. The device will revert to Internal
Serial Clock Mode if no low to high transitions are detected on the SCLK pin for 2 consecutive periods of LRCK.
4.3Digital Interface Format
The device will accept audio samples in several digital interface formats. The desired format is selected
via the DIF0, DIF1 and DIF2 bits in the Mode Control register (see section 6.2.2). For an illustration of the
required relationship between LRCK, SCLK and SDATA, see Figures 17 through 19.
LRCK
SCLK
Left Channel
Right Channel
SDATA+3 +2 +1+5 +4
MSB
-1 -2 -3 -4 -5
Figure 17. CS4341 Formats 0-1 - I²S up to 24-Bit Data
LRCK
SCLK
SDATA+3 +2 +1+5 +4
MSB
-1 -2 -3 -4 -5
Left Channel
Figure 18. CS4341 Format 2 - Left Justified up to 24-Bit Data
LRCK
SCLK
SDATA
LSB
Left Channel
-1 -2 -3 -4
MSBLSB
-5
Figure 19. CS4341 Formats 3-6 - Right Justified
LSB
LSB
+6 +5 +4 +3 +2 +1+7
MSBLSB
-1 -2 -3 -4
MSB
-1 -2 -3 -4
Right Channel
-1 -2 -3 -4
MSBLSB
+3 +2 +1+5 +4
Right Channel
-5
+3 +2 +1+5 +4
LSB
+6 +5 +4 +3 +2 +1+7
18DS298F5
CS4341
4.4De-Emphasis
The device includes on-chip digital de-emphasis. The Mode Control (address 01h) bits select either the
32, 44.1 or 48 kHz de-emphasis filter. Figure 20 shows the de-emphasis curve for F
The frequency response of the de-emphasis curve will scale proportionally with changes in sample
rate, Fs. Please see section 6.2.3 for the desired de-emphasis control.
De-emphasis is only available in Single-Speed Mode.
Gain
dB
T1=50 µs
0dB
equal to 44.1 kHz.
s
-10dB
F1F2
3.183 kHz10.61 kHz
Figure 20. De-Emphasis Curve
T2 = 15 µs
Frequency
4.5Power-Up Sequence
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.2. In this state, the control port is reset to its default
settings and VQ will remain low.
2) Bring RST
high. The device will remain in a low power state with VQ low.
3) Load the desired register settings while keeping the PDN bit set to 1.
4) Set the PDN bit to 0. This will initiate the power-up sequence, which lasts approximately 50 µS when
the POR bit is set to 0. If the POR bit is set to 1, see section 4.6 for a complete description of powerup timing.
4.6Popguard® Transient Control
The CS4341 uses Popguard® technology to minimize the effects of output transients during power-up and
power-down. This technology, when used with external DC-blocking capacitors in series with the audio
outputs, minimizes the audio transients commonly produced by single-ended single-supply converters. It
is activated inside the DAC when RST
from choosing the appropriate DC-blocking capacitors.
is enabled/disabled and requires no other external control, aside
4.6.1Power-Up
When the device is initially powered-up, the audio outputs, AOUTL and AOUTR, are clamped to
AGND. Following a delay of approximately 1000 sample periods, each output begins to ramp toward the quiescent voltage. Approximately 10,000 LRCK cycles later, the outputs reach V
audio output begins. This gradual voltage ramping allows time for the external DC-blocking capacitors to charge to the quiescent voltage, minimizing the power-up transient.
DS298F519
and
Q
CS4341
4.6.2Power-Down
To prevent transients at power-down, the device must first enter its power-down state by enabling
or setting the PDN bit. When this occurs, audio output ceases and the in ternal output buffers
RST
are disconnected from AOUTL and AOUTR. In their place, a soft-start current sink is substituted
which allows the DC-blocking capacitors to slowly discharge. Once this charge is dissipated, the
power to the device may be turned off and the system is ready for the next power-on.
4.6.3Discharge Time
To prevent an audio transient at the next power-on, it is necessary t o ensure that the DC-blockin g
capacitors have fully discharged before turning on the power or exiting the power-down state. If
not, a transient will occur when the audio outputs are initially clamped to AGND. The time that the
device must remain in the power-down state is related to the value of the DC-blocking capacitance.
For example, with a 3.3 µF capacitor, the minimum power-down time will be approximately
0.4 seconds.
4.7Mute Control
The Mute Control pin goes high during power-up initialization, reset, muting (see section 6.2.1 a nd 6.5.1)
or if the MCLK to LRCK ratio is incorrect. This pin is intended to be used as a control for an external mute
circuit to prevent the clicks and pops that can occur in any single-ended single supply system.
Use of the Mute Control function is not mandatory but recommended for designs requiring the absolute
minimum in extraneous clicks and pops. Also, use of the Mute Control function can enable the system
designer to achieve idle channel noise/signal-to-noise ratios which are only limited by the external mute
circuit. See the CDB4341 data sheet for a suggested mute circuit.
4.8Grounding and Power Supply Arrangements
As with any high resolution converter, the CS4341 requires careful attention to power supply and grounding arrangements if its potential performance is to be realized. Figure 16 shows t he recommended power
arrangements, with VA connected to a clean supply. If the ground planes are split betwee n digital ground
and analog ground, REF_GND & AGND should be connected to the analog ground plane.
Decoupling capacitors should be as close to the DAC as possible, with the low value ceramic capacitor
being the closest. To further minimize impedance, these capacitors should be located on the same layer
as the DAC.
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 REF_GND (as well as VQ and REF_GND), and
should also be located on the same layer as the DAC. The CDB4341 evaluation board demonstrates t he
optimum layout and power supply arrangements.
4.9Control Port Interface
The control port is used to load all the internal register settings (see section 6). The operation o f 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.
The control port operates in one of two modes: I²C or SPI.
Notes: MCLK must be applied during all I²C communication.
20DS298F5
4.9.1Rise Time for Control Port Clock
When excess capacitive loading is present on the I²C clock line, pin 6 (SCL/CCLK) may not have
sufficient hysteresis to meet the standard I²C rise time specification. This prevents the use of common I²C configurations with a resistor pull-up. A workaround is achieved by placing a Schmitt Trigger buffer, a 74HC14 for example, on the SCL line just prior to the CS4341. This will not affect the
operation of the I²C bus as pin 6 is an input only.
VA
CS4341
SCL
Figure 21. I²C Buffer Example
Pin 6
4.9.2Memory Address Pointer (MAP)
The MAP byte precedes the control port register byte during a write operation and is not available
again until after a start condition is initiated. During a read operation the byte transmitted after the
will contain the data of the register pointed to by the MAP (see section 4.9.3 for write/read
ACK
details).
76543210
INCRReservedReservedReservedMAP3MAP2MAP1MAP0
00000000
4.9.2aINCR (Auto Map Increment)
The device has a MAP auto increment capability enabled by the INCR bit (the MSB) of the MAP.
If INCR is set to 0, MAP will stay constant for successive I²C writes or reads and 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.
Default = ‘0’
0 - Disabled
1 - Enabled
4.9.2bMAP0-3 (Memory Address Pointer)
Default = ‘0000’
4.9.3I²C Mode
In the I²C Mode, data is clocked into and out of the bi-directional serial control data line, SDA, by
the serial control port clock, SCL. There is no CS
address (001000[AD0][R/W
the device. If the device ever detects a high to low transition on the AD0/CS
SPI mode will be selected.
DS298F521
]) and should be tied to VA or AGND as required, before powering up
pin. Pin AD0 enables the user to alter the chip
pin after power-up,
CS4341
4.9.3aI²C Write
To write to the device, follow the procedure below while adhering to the control port Switching
Specifications in section 6.
1) Initiate a START condition to the I²C bus followed by the address byte. The upper 6 bits must
be 001000. 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.9.2a) 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 I²C writes to other registers are desired, it is necessary to
repeat the procedure detailed from step 1. If no further writes to other registers are desired,
initiate a STOP condition to the bus.
SDA
SCL
Start
001000 AD0
W
Figure 22. I²C Write
1-8
MAP
ACK
bit.
ACK
DATA
1-8
ACK
Stop
4.9.3bI²C Read
To read from the device, follow the procedure below while adhering to the control port Switching
Specifications. During this operation it is first necessary to write to the device, specifying the appropriate register through the MAP.
1) After writing to the MAP (see section 4.9.3a), initiate a repeated START condition to the I²C
bus followed by the address byte. The upper 6 bits must be 001000. 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
2) Signal the end of the address byte by not issuing an acknowledge. The device will then transmit the contents of the register pointed to by the MAP. The MAP will contain the address of the
last register written to the MAP.
3) If the INCR bit is set to 1, the device will continue to transmit the contents of successive registers. Continue providing a clock but do not issue an ACK on the bytes clocked out of the device. After all the desired registers are read, initiate a STOP condition to the bus.
4) If the INCR bit is set to 0 and further I²C reads from other registers are desired, it is necessary
to repeat the procedure detailed from step 1. If no further reads from other registers are desired, initiate a STOP condition to the bus.
bit.
22DS298F5
CS4341
SDA
SCL
001000 AD 0W
Start
4.9.4SPI Mode
In SPI mode, data is clocked into the serial control data line, CDIN, by the serial control port clock,
CCLK (see Figure 24 for the clock to data relationship). There is no AD0 pin. Pin CS
select signal and is used to control SPI writes to the control port. When the device detects a high
to low transition on the AD0/CS
and data is clocked in on the rising edge of CCLK.
4.9.4aSPI Write
To write to the device, follow the procedure below while adhering to the control port Switching
Specifications in section 1.
1) Bring CS
2) The address byte on the CDIN pin must then be 00100000.
low.
ACK
MAP
1-8
ACK
Repeated START
Aborted WRITE
Figure 23. I²C Read
001000 AD0R
or
ACK
Data 1-8
(pointed to by MAP)
ACK
Data 1-8
(pointed to by MAP)
Stop
is the chip
pin after power-up, SPI mode will be selected. All signals are inputs
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.9.2a) is set to 1, repeat the previous step until all the desired
registers are written, then bring CS
high.
6) If the INCR bit is set to 0 and further SPI writes to other registers are desired, it is necessary
to bring CS
registers are desired, bring CS
high, and repeat the procedure detailed from step 1. If no further writes to other
The MCLKDIV bit enables a circuit which divides the externally applied MCLK signal by 2.
6.2MODE CONTROL (ADDRESS 01H)
76543210
AMUTEDIF2DIF1DIF0DEM1DEM0PORPDN
10000011
6.2.1 AUTO-MUTE (AMUTE) BIT 7
Default = 1
0 - Disabled
1 - Enabled
Function:
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-zero data 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. The muting function is affected, similar to volume control changes, by the Soft and Zero Cross bits in the Transition and Mixing Control (address
02h) register.
DS298F525
CS4341
6.2.2 DIGITAL INTERFACE FORMAT (DIF)BIT 4-6
Default = 000 - Format 0 (I²S, up to 24-bit data, 64 x Fs Internal SCLK)
Function:
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
DIF2DIF1DIF0DESCRIPTIONFormatFIGURE
000I²S, up to 24-bit data, 64Fs Internal SCLK017
001I²S, up to 16-bit data, 32Fs Internal SCLK117
010Left Justified, up to 24-bit data,218
011Right Justified, 24-bit data319
100Right Justified, 20-bit data419
101Right Justified, 16-bit data519
110Right Justified, 18-bit data619
111Identical to Format 1117
Implementation of the standard 15µs/50µs digital de-emphasis filter response, Figure 20, requir es reconfiguration of the digital filter to maintain the proper filter response for 32, 44.1 or 48 kHz sample
rates.
NOTE: De-emphasis is only available in Single-Speed Mode.
6.2.4 POPGUARD
®
TRANSIENT CONTROL (POR) BIT 1
Default = 1
0 - Disabled
1 - Enabled
Function:
The Popguard
®
Transient Control allows the quiescent voltage to slowly ramp to and from 0 volts to
the quiescent voltage during power-on or power-down. Please refer to section 4.6 for implementatio n
details.
6.2.5 POWER DOWN (PDN)
Default = 1
0 - Disabled
1 - Enabled
Function:
The device will enter a low-power state when this function is enabled. The power-down bit defaults to
‘enabled’ on power-up and must be disab led befor e normal opera tion can occur. The contents of the
control registers are retained in this mode.
BIT 0
26DS298F5
CS4341
6.3TRANSITION AND MIXING CONTROL (ADDRESS 02H)
76543210
A = BSZC1SZC0ATAPI4ATAPI3ATAPI2ATAPI1ATAPI0
01001001
6.3.1 CHANNEL A VOLUME = CHANNEL B VOLUME (A = B) BIT 7
Default = 0
0 - Disabled
1 - Enabled
Function:
The AOUTA and AOUTB volume levels are independ ently controlled by the A an d the B Channel Volume Control Bytes when this function is disabled. The volume on both AOUTA and AOUTB are determined by the A Channel Volume Control Byte and the B Channel Byte is ignored when this function
is enabled.
6.3.2 SOFT RAMP AND ZERO CROSS CONTROL (SZCX)
Default = 10
00 - Immediate Changes
01 - Changes On Zero Crossings
10 - Soft Ramped Changes
11 - Soft Ramped Changes On Zero Crossings
Function:
Immediate Changes
When Immediate Changes is selected all level changes will take effect immediately in one step.
Changes On Zero Crossings
Changes on Zero Crossings dictates that signal level changes, either by attenuation changes or mu ting, 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. T he zero cross function is independen tly monitored and implemented for each channel.
Soft Ramped Changes
Soft Ramped Changes 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 1dB per 8
left/right clock periods.
BIT 5-6
Soft Ramped Changes on Zero Crossings
Soft Ramped Changes On Zero Crossings dictates that signal level changes, either by attenuation
changes or muting, will occur in 1/8 dB steps implemented on a signal zero crossing. The 1/8 dB 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.
DS298F527
6.3.3 ATAPI CHANNEL MIXING AND MUTING (ATAPI) BIT 0-4
Default = 01001 - AOUTA = Left Channel, AOUTB = Right Channel (Stereo)
Function:
The CS4341 implements the channel mixing functions of the ATAPI CD-ROM specification. Refer to
Table 6 and Figure 25 for additional information.
The Digital-to-Analog converter output will mute when enabled. The quiescent voltage on the output
will be retained. The muting function is affected, similar to attenuation changes, by the Soft and Zero
Cross bits in the Transition and Mixing Control (address 02h) register. The MUTEC will go active during the mute period if the Mute function is enabled for both channels.
DS298F529
6.5.2 VOLUME (VOLx)BIT 0-6
Default = 0 dB (No Attenuation)
Function:
The digital volume control allows the user to attenuate the signal in 1 dB increments from 0 to -90 dB.
Volume settings are decoded as shown in Table 7. The volume changes are implemented as dictated
by the Soft and Zero Cross bits in the Transition and Mixing Control (address 02 h) register. All volume
settings less than - 94 dB are equivalent to enabling the Mute bit.
Binary CodeDecimal ValueVolume Setting
CS4341
000000000 dB
001010020-20 dB
010100040-40 dB
011110060-60 dB
101101090-90 dB
Table 7. Example Digital Volume Settings
30DS298F5
7. 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 specified
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 spe ctral 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 adde d to the resulting measurement to refer the measurement
to full scale. This technique ensures that the distortion components are below the noise level and do not
affect the measurement. This measurement technique has been accepted by the Audio Engineering
Society, AES17-1991, and the Electronic Industries Association of Japan, EIAJ CP-307.
Interchannel Isolation
A measure of crosstalk between the left and right channels. Mea sured for each channel at the converter’s
output with all zeros to the input under test and a full-scale signal applied to the other channel. Units in
decibels.
Interchannel Gain Mismatch
The gain difference between left and right channels. Units in decibels.
CS4341
Gain Error
Gain Drift
The deviation from the nominal full-scale analog output for a full-scale digital input.
The change in gain value with temperature. Units in ppm/°C.
Notes: 1. “D” and “E1” are reference datums and do not included mold flash or protrusions, but do include mold
mismatch and are measured at the parting line, mold flash or protrusions shall not exceed 0.20 mm per
side.
2. Dimension “b” does not include dambar protrusion/intrusion. Allowable dambar protrusion shall be
0.13 mm total in excess of “b” dimension at maximum material condition. Dambar intrusion shall not
reduce dimension “b” by more than 0.07 mm at least material condition.
3. These dimensions apply to the flat section of the lead between 0.10 and 0.25 mm from lead tips.
9. PACKAGE THERMAL RESISTANCE
PackageSymbol Min TypMaxUnits
SOIC
TSSOP(for multi-layer boards)
DS298F533
(for multi-layer boards)
θ
JA
θ
JA
-
-
74
89
-
°C/Watt
-
°C/Watt
10.REFERENCES
CDB4341 Evaluation Board Datasheet
11.REVISION HISTORY
RevisionChanges
F4
F5
Added lead-free packaging information
Corrected Dimension e in TSSOP Package Drawing value for NOM Millimeters from 0.065 to 0.65
CS4341
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative.
To find the one nearest to you, go to www.cirrus.com/corporate/contacts/sales.cfm
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable. However, the information is subject
to change without not ice and is pr ovided "AS IS" witho ut warr anty 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 intelle ctual property rights. Ci rrus owns the cop yrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent
does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE
IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED,
INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT
THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER’S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL
APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, T O FULLY INDEMNIF Y CIRRUS, ITS OF FICE RS, DI RECTORS, EMPLOYEES, DISTRI BUTORS 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.
I²C is a registered trademark of Philips Semiconductor.
SPI is a trademark of Motorola, Inc.
34DS298F5
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.