175 dB Dynamic Range
–140 dB THD+N
No Programming Required
No External Master Clock Required
Supports Sample Rates up to 211 kHz
Input/Output Sample Rate Ratios of 7.5:1 to 1:8
Master Clock Support for 128 x Fs, 256 x Fs,
384 x Fs, and 512 x Fs (Master Mode)
16-, 20-, 24-, or 32-bit Data I/O
32-bit Internal Signal Processing
Dither Automatically Applied and Scaled to
Output Resolution
Flexible 3-wire Serial Digital Audio Input and
Output Ports
Master and Slave Modes for Both Input and
Output
Bypass Mode
Time Division Multiplexing (TDM) Mode
Attenuates Clock Jitter
Multiple Device Outputs are Phase Matched
Linear Phase FIR Filter
Automatic Soft Mute/Unmute
+2.5 V Digital Supply (VD)
+3.3 V or 5.0 V Digital Interface (VL)
Space-saving 20-pin TSSOP and QFN
Packages
The CS8421 supports sample rates up to 211 kHz and
is available in 20-pin TSSOP and QFN packages in both
Commercial (-10° to +70°C) and Automotive (-40° to
+85°C and -40° to +105°C) grades. The CDB8421 Customer Demonstration board is also available for device
evaluation and implementation suggestions. See “Or-
dering Information” on page 35 for complete details.
http://www.cirrus.com
Copyright Cirrus Logic, Inc. 2012
(All Rights Reserved)
JULY ‘12
DS641F6
CS8421
General Description
The CS8421 is a 32-bit, high-performance, monolithic CMOS stereo asynchronous sample-rate converter.
Digital audio inputs and outputs can be 32, 24, 20, or 16 bits. Input and output data can be completely asynchronous,
synchronous to an external dat a clock, or the part can operate without any external clock by using an integrated
oscillator.
Audio data is input and output through configur able 3-wire input/output ports. The CS8421 does no t require any software control via a control port.
Target applications include digital recording systems (DVD-R/RW, CD-R/RW, PVR, DAT, MD, and VTR), digital mixing consoles, high-quality D/A, effects processors, computer audio systems, and automotive audio systems.
The CS8421 is also suitable for use as an asynchronous decimation or interpolation filter. See Cirrus Logic Application Note AN270, “Audio A/D Conversion with an Asynchronous Decimation Filter”, available at www.cirrus.com
for more details.
Figure 63. THD+N vs. Frequency Input, 0 dBFS, 48 kHz:44.1 kHz........................................................... 32
Figure 64. THD+N vs. Frequency Input, 0 dBFS, 48 kHz:96 kHz.............................................................. 32
Figure 65. THD+N vs. Frequency Input, 0 dBFS, 44.1 kHz:48 kHz........................................................... 32
Figure 66. THD+N vs. Frequency Input, 0 dBFS, 96 kHz:48 kHz.............................................................. 32
LIST OF TABLES
Table 1. Serial Audio Port Master/Slave and Clock Ratio Select Start-Up Options (MS_SEL) ................. 18
Table 2. Serial Audio Input Port Start-Up Options (SAIF).......................................................................... 18
Table 3. Serial Audio Output Port Start-Up Options (SAOF) ..................................................................... 18
4DS641F6
1. PIN DESCRIPTIONS
1
2
3
4
5
16
6
7
8
15
14
13
12
11
9
10
17
18
19
20
SRC_UNLOCK
XTO
SAIF
XTI
SAOF
VD
VL
GND
GND
RST
MS_SEL
BYPASS
OLRCK
ILRCK
OSCLK
ISCLK
SDOUT
SDIN
TDM_IN
MCLK_OUT
1.1TSSOP PIN DESCRIPTIONS
CS8421CS8421
DS641F65
Pin Name#Pin Description
XTO1Crystal Out (Output) - Crystal output for Master clock. See “Master Clock” on page 20.
XTI2
VD3Digital Power (Input) - Digital core power supply. Typically +2.5 V.
GND4Ground (Input) - Ground for I/O and core logic.
RST
BYPASS6
ILRCK7
ISCLK8Serial Audio Bit Clock (Input/Output) - Serial-bit clock for audio data on the SDIN pin.
SDIN9Serial Audio Input Data Port (Input) - Audio data serial input pin.
MCLK_OUT10
TDM_IN11
SDOUT12
OSCLK13Serial Audio Bit Clock (Input/Output) - Serial-bit clock for audio data on the SDOUT pin.
OLRCK14
MS_SEL15
GND16Ground (Input) - Ground for I/O and core logic.
VL17Logic Power (Input) - Input/Output power supply. Typically +3.3 V or +5.0 V.
SAOF18
SAIF19
SRC_UNLOCK20
Crystal/Oscillator In (Input) - Crystal or digital clock input for Master clock. See “Master Clock”
on page 20.
Reset (Input) - When RST is low, the CS8421 enters a low-power mode and all internal states are
5
reset. On initial power-up, RST must be held low until the power supply is stable and all input
clocks are stable in frequency and phase.
Sample Rate Converter Bypass (Input) - When BYPASS is high, the sample rate converter will
be bypassed, and any data input through the serial audio input port will be directly output on the
serial audio output port. When BYPASS is low, the sample rate converter will operate normally.
Serial Audio Input Left/Right Clock (Input/Output) - Word-rate clock for the audio data on the
SDIN pin.
Master Clock Output (Output) - Buffered and level-shifted output for Master clock. If MCLK_OUT
is not required, this pin should be pulled high through a 47 k resistor to turn the output off. See
“Master Clock” on page 20.
Serial Audio TDM Input (Input) - Time Division Multiplexing serial audio data input. Grounded
when not used. See “Time Division Multiplexing (TDM) Mode” on page 21.
Serial Audio Output Data Port (Output) - Audio data serial output pin. Optionally , this pin may be
pulled low through a 47-k resistor, but must not be pulled high.
Serial Audio Input Left/Right Clock (Input/Output) - Word-rate clock for the audio data on the
SDOUT pin.
Master/Slave Select (Input) - Used to select Master or Slave for the input and output serial audio
ports at startup and reset. See Table 1 on page 18 for settings.
Serial Audio Output Format Select (Input) - Used to select the serial audio output format at
startup and reset. See Table 3 on page 18 for format settings.
Serial Audio Input Format Select (
and reset. See Table 2 on page 18 for format settings.
SRC Unlock Indicator (Output) - Indicates when the SRC is unlocked. See “SRC Locking and
Varispeed” on page 19.
Input) - Used to select the serial audio input format at startup
CS8421
6DS641F6
1.2QFN PIN DESCRIPTIONS
76
5
4
3
2
1
8
9
10
11
12
13
14
15
16
17
181920
Top-Down View
20-pin QFN Package
Thermal Pad
XTI
XTO
SRC_UNLOC
SAIF
SAOF
ISCLK
SDIN
MCLK_OUT
TDM_IN
SDOUT
VD
GND
RST
BYPASS
ILRCK
VL
GND
MS_SEL
OLRCK
OSCLK
CS8421CS8421
DS641F67
Pin Name#Pin Description
VD1Digital Power (Input) - Digital core power supply. Typically +2.5 V.
GND2Ground (Input) - Ground for I/O and core logic.
Reset (Input) - When RST
RST
BYPASS4
ILRCK5
ISCLK6Serial Audio Bit Clock (Input/Output) - Serial-bit clock for audio data on the SDIN pin.
SDIN7Se ria l Audi o In put Data Port (Input) - Audio data serial input pin.
MCLK_OUT8
TDM_IN9
SDOUT10
OSCLK11Serial Audio Bit Clock (Input/Output) - Serial bit clock for audio data on the SDOUT pin.
OLRCK12
MS_SEL13
GND14Ground (Input) - Ground for I/O and core logic.
VL15Logic Power (Input) - Input/Output power supply. Typically +3.3 V or +5.0 V.
SAOF16
SAIF17
SRC_UNLOCK18
XTO19Crystal Out (Output) - Crystal output for Master clock. See “Master Clock” on page 20.
XTI20
Thermal Pad-
3
reset. On initial power-up, RST
are stable in frequency and phase.
Sample Rate Converter Bypass (Input) - When BYP ASS is high, the sample-rate converter will be
bypassed, and any data input through the serial audio input port will be directly output on the serial
audio output port. When BYPASS is low, the sample rate converter will operate normally.
Serial Audio Input Left/Right Cl oc k (Input/Output) - Word-rate clock for the audio data on the
SDIN pin.
Master Clock Output (Output) - Buffered and level-shifted output for Master clock. If MCLK_OUT
is not required, this pin should be pulled high through a 47 k resistor to turn the output off. See
“Master Clock” on page 20.
Serial Audio TDM Input (Input) - Time Division Multiplexing serial audio data input. Grounded
when not used. See “Time Division Multiplexing (TDM) Mode” on page 21.
Serial Audio Output Data Port (Output) - Audio data serial output pin. Optionally , this pin may be
pulled low through a 47-k resistor, but must not be pulled high.
Serial Audio Input Left/Right Cl oc k (Input/Output) - Word rate clock for the audio data on the
SDOUT pin.
Master/Slave Select (Input) - Used to select Master or Slave for the input and output serial audio
ports at startup and reset. See Table 1 on page 18 for settings.
Serial Audio Output Format Select (Input) - Used to select the serial audio output format at
startup and reset. See Table 3 on page 18 for format settings.
Serial Audio Input Format Select (Input) - Used to select the serial audio input format at startup
and reset. See Table 2 on page 18 for format settings.
SRC Unlock Indicator (Output) - Indicates when the SRC is unlocked. See “SRC Locking and
Varispeed” on page 19.
Crystal/Oscillator In (Input) - Crystal or digital clock input for Master clock. See “Master Clock” on
page 20.
Thermal Pad - Thermal relief pad for optimized heat dissipation. This pad must be electrically
connected to GND. See “Power Supply, Grounding, and PCB Layout” on page 23 for more
information.
is low, the CS8421 enters a low-power mode and all internal states are
must be held low until the power supply is stable and all input clocks
CS8421
8DS641F6
CS8421CS8421
2. CHARACTERISTICS AND SPECIFICATIONS
(All Min/Max characteristics and specifications are guaranteed over the Specified Operating Conditions. Typical performance characteristics and specifications are derived from measurements taken at nominal supply voltages and
T
= 25°C.)
A
SPECIFIED OPERATING CONDITIONS
(GND = 0 V, all voltages with respect to 0 V)
ParameterSymbol Min Nominal MaxUnits
Power Supply VoltageVD
VL
Ambient Operating Temperature:‘-CZ’
‘-CNZ’
‘-DZ’
‘-EZ’
‘-ENZ’
T
A
2.38
3.14
-10
-10
-40
-40
-40
2.5
3.3 or 5.0
-
-
-
-
-
2.62
5.25
+70
+70
+85
+105
+105
V
V
°C
°C
°C
°C
°C
ABSOLUTE MAXIMUM RATINGS
(GND = 0 V; all voltages with respect to 0 V. Operation beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes.)
ParameterSymbolMinMaxUnits
Power Supply VoltageVD
VL
Input Current, Any Pin Except Supplies(Note 1)I
Input VoltageV
Ambient Operating Temperature (power applied)T
Storage TemperatureT
stg
in
in
A
-0.3
-0.3
-±10mA
-0.3VL+0.4V
-55+125°C
-65+150°C
3.5
6.0
V
V
Notes:
1.Transient currents of up to 100 mA will not cause SCR latch-up.
2.Numbers separated by a colon indicate input and output sample rates. For example, 48 kHz:96 kHz indicates that
Fsi = 48 khz and Fso = 96 kHz.
DS641F69
CS8421
PERFORMANCE SPECIFICATIONS
(XTI/XTO = 27 MHz; Input signal = 1.000 kHz, 0 dBFS, Measurement Bandwidth = 20 to Fso/2 Hz, and Word Width = 32-Bits,
unless otherwise stated.)
ParameterMin Typ MaxUnits
Resolution16-32bits
Sample Rate with XTI = 27.000 MHzSlave
Master
Sample Rate with other XTI clocksSlave
Master
Sample Rate with ring oscillator (XTI to GND or VL, XTO floating)12-96kHz
Sample Rate Ratio - Upsampling--1:8
Sample Rate Ratio - Downsampling--7.5:1
Gain Error-0.2--0.02dB
Interchannel Gain Mismatch-0.0-dB
Interchannel Phase Deviation-0.0-Degrees
Peak Idle Channel Noise Component (32-bit operation)---192d B FS
Dynamic Range (20 Hz to Fso/2, 1 kHz, -60 dBFS Input)
44.1 kHz:48 kHzA-Weighted
Unweighted
44.1 kHz:192 kHzA-Weighted
Unweighted
48 kHz:44.1 kHzA-Weighted
Unweighted
48 kHz:96 kHzA-Weighted
Unweighted
96 kHz:48 kHzA-Weighted
Unweighted
192 kHz:32 kHzA-Weighted
Unweighted
Total Harmonic Distortion + Noise(20 Hz to Fso/2, 1 kHz, 0 dBFS Input)
32 kHz:48 kHz--161-dB
Passband (Upsampling or Downsampling)--0.4535*FsoHz
Passband Ripple--±0.007dB
Stopband0.5465*Fso--Hz
Stopband Attenuation125--dB
Group Delay SRC Mode
Bypass Mode
3.The equation for the group delay through the sample-rate converter is (56.581 / Fsi) + (55.658 / Fso). For example,
if the input sample rate is 192 kHz and the output sample rate is 96 kHz, the group delay through the sample-rate
converter is (56.581/192,000) + (55.658/96,000) =.875 milliseconds.
-
-
(Note 3)
-
-
3/Fsi
DC ELECTRICAL CHARACTERISTICS
(GND = 0 V; all voltages with respect to 0 V.)
Parameter SymbolMinTypMaxUnits
Power-Down Mode (Note 4)
Supply Current in power-downVD
(Oscillator attached to XTI-XTO)VL = 3.3 V
VL = 5.0 V
Supply Current in power-downVD
(Crystal attached to XTI-XTO)VL = 3.3 V
VL = 5.0 V
Normal Operation (Note 5)
Supply Current at 48 kHz Fsi and FsoVD
(Oscillator attached to XTI-XTO)VL = 3.3 V
VL = 5.0 V
Supply Current at 192 kHz Fsi and FsoVD
(Oscillator attached to XTI-XTO) VL = 3.3 V
VL = 5.0 V
Supply Current at 48 kHz Fsi and FsoVD
(Crystal attached to XTI-XTO)VL = 3.3 V
VL = 5.0 V
Supply Current at 192 kHz Fsi and FsoVD
(Crystal attached to XTI-XTO)VL = 3.3 V
VL = 5.0 V
50
100
200
100
1.5
4
24
2.5
4
80
8
13
24
3
7
80
4
6.5
A
A
A
A
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
s
s
4.Power Down Mode is defined as RST
attached across XTI-XTO, in which case the crystal will begin oscillating.
5.Normal operation is defined as RST
= LOW with all clocks and data lines held static, except when a crystal is
I/OSCLK Frequency (non-TDM)64*Fsi/oMHz
OSCLK Frequency (TDM)256*FsoMHz
I/OLRCK Duty Cycle4555%
I/OSCLK Duty Cycle4555%
I/OSCLK Falling Edge to I/OLRCK Edget
OSCLK Falling Edge to OLRCK Edge (TDM)t
OSCLK Falling Edge to SDOUT Output Validt
SDIN/TDM_IN Setup Time Before I/OSCLK Rising Edget
SDIN/TDM_IN Hold Time After I/OSCLK Rising Edget
lcks
fss
dpd
ds
dh
-5ns
-5ns
-7ns
3-ns
5-ns
6.After powering up the CS8421, RST should be held low until the power supplies and clocks are settled.
7.The maximum possible sample rate is XTI/128.
8.OLRCK must remain high for at least 8 OSCLK periods in TDM Mode.
9.Only the input or the output serial port can be set as master at a given time.
DS641F613
3. TYPICAL CONNECTION DIAGRAMS
CS8421
VDVL
Serial
Audio
Source
ILRCK
ISCLK
SDIN
BYPASS
+2.5 V+3.3 V or +5.0 V
0.1 F0.1 F
Serial
Audio
Input
Device
OLRCK
OSCLK
SDOUT
XTI
RST
SRC_UNLOCK
SAOF
TDM_IN
Hardware Control
Settings
GND
SAIF
MS_SEL
GND
**
1 k
*
***
Figure 5. Typical Connection Diagram, No External Master Clock
* When no external master clock is supplied to the part, both input and output must be set to Slave Mode for the
part to operate properly. This is done by conn ecting the MS_SEL pin to grou nd through a resistance of 0
to 1 k
+ 1% as stated in Table 1, “Serial Audio Port Master/Slave and Clock Ratio Select Start-Up Options (MS_SEL),”
on page 18.
** The connection (VL or GND) and value of these two resistors determines the mode of opera tion for the input and
output serial ports as described in Table 2 on page 18 and Table 3 on page 18.
*** This pin must not be pulled high. See Section 1, “Pin Descriptions.”
CS8421
14DS641F6
CS8421CS8421
CS8421
VDVL
Serial
Audio
Source
ILRCK
ISCLK
SDIN
BYPASS
+2.5 V+3.3 V or + 5 .0 V
0.1 F0.1 F
Serial
Audio
Input
Device
OLRCK
OSCLK
SDOUT
XTI
XTO
RST
SRC_UNLOCK
SAOF
TDM_IN
Hardware Control
Settings
Crysta l /C loc k
Source
GND
SAIF
MS_SEL
GND
MCLK_OUT
To extern a l
hardware
47 k
***
***
Figure 6. Typical Connection Diagram, Master and Slave Modes
* The connection (VL or GND) and value of these three resistors determines the mode of operation for the input
and output serial ports as described in Table 1 Serial Audio Port Master/Slave and Clock Ratio Select Start-Up Op-
tions (MS_SEL), and Table 2, “Serial Audio Input Port St art-Up Options (SAIF),” on page 18 and Table 3, “Serial
Audio Output Port Start-Up Options (SAOF),” on page 18.
** MCLK_OUT pin should be pulled high through a 47 k
resistor if an MCLK output is not needed.
*** This pin must not be pulled high. See Section 1, “Pin Descriptions.”
DS641F615
CS8421
4. APPLICATIONS
The CS8421 is a 32-bit, high-performance, monolith ic CM OS ste re o asynchronous sample-rate converter.
The digital audio data is input and output through configurable 3-wire serial ports. The d igital audio input/output ports
offer Left-Justified, Right-Justified, and I²S serial audio formats. The CS8421 also supports a TDM Mode which allows multiple channels of digital audio data on one serial line. A Bypass Mode allows the data to be passed directly
to the output port without sample rate conversion.
The CS8421 does not require a control port interface, help i ng to speed design time by not requiring the user to d evelop software to configure the part. Pins that are sensed after reset allow the part to be configured. See “Reset,
Power-Down, and Start-Up” on page 22.
Target applications include digital recording systems (DVD-R/RW, CD-R/RW, PVR, DAT, MD, and VTR), digital mixing consoles, high quality D/A, effects processors and computer audio systems.
Figure 5 and 6 show the supply and external connections to the CS8421.
4.1Three-wire Serial Input/Output Audio Port
A 3-wire serial audio input/output port is provided. The interface format should be chosen to suit the attached device
through the MS_SEL, SAIF, and SAOF pins. Tables 1, 2, and 3 show the pin functions and their corresponding settings. The following parameters are adjustable:
•Master or Slave
•Master clock (MCLK) frequencies of 128*Fsi/o, 256*Fsi/o, 384*Fsi/o, and 512*Fsi/o (Master Mode)
•Audio data resolution of 16-, 20-, 24-, or 32-bits
•Left- or Right-Justification of the data relative to left/right clock (LRCK) as well as I²S
Figures 7, 8, and 9 show the input/output formats available.
In Master Mode, the left/right clock and the serial bit clock are outputs, derived from the XTI input pin master clock.
In Slave Mode, the left/right clock and the serial bit clock are inputs and may be asynchronous to the XTI master
clock. The left/right clock should be continuous, but the duty cycle can be less than 50% if enough serial clocks are
present in each phase to clock all of the data bits.
ISCLK is always set to 64*Fsi when the input is set to master. In no rmal operation, OSCL K is set to 64 *Fso. In TDM
Slave Mode, OSCLK must operate at N*64*Fso, where N is the number of CS8421’s connected together. In TDM
Master Mode, OSCLK is set to 256*Fso
For more information about serial audio formats, refer to th e Cirrus Logic applications no te AN282, “The 2-Channel
Serial Audio Interface: A Tutorial”, available at www.cirrus.com
.
16DS641F6
CS8421CS8421
I/OLRCK
I/OSCLK
MSBLSB
MSB
LSB
Channel A
SDIN
SDOUT
MSB
Channel B
Figure 7. Serial Audio Interface Format - I²S
MSBLSB
MSB
LSB
MSB
I/OLRCK
I/OSCLK
SDIN
SDOUT
Channel AChannel B
Figure 8. Serial Audio Interface Format - Left-Justified
I/OLRCK
I/OSCLK
Channel A
SDIN
Channel B
MSB
SDOUT
MSB
MSB
MSBLSB
LSB
LSB
LSB
MSB ExtendedMSB Extended
Figure 9. Serial Audio Interface Format - Right-Justified
4.2Mode Selection
The CS8421 uses the resistors attached to the MS_SEL, SAIF, and SAOF pins to determine the mod es of operation.
After reset, the resistor value and condition (VL or GND) are sensed. This operation will take approximately 4
complete. The SRC_UNLOCK pin will remain high and the SDOUT pin will be muted until the mode detection sequence has completed. After this, if all clocks are stable, SRC_UNLOCK will be brought low when audio output is
valid and normal operation will occur. Tables1, 2, and 3 show the pin functions and their corresponding settings. If
the 1.0 k
option is selected for MS_SEL, SAIF, or SAOF, the resistor connected to that pin may be replaced by a
direct connection to VL or GND as appropriate.
The resistor attached to each mode-selection pin should be placed physically close to the CS8421. The end of the
resistor not connected to the mode selection pins should be connected as close as possible to VL and GND to minimize noise. Tables 1, 2, and 3 show the pin functions and their corresponding settings.
s to
DS641F617
CS8421
MS_SEL pinInput M/SOutput M/S
1.0 k ± 1% to GNDSlaveSlave
1.96 k ± 1% to GNDSlave
4.02 k ± 1% to GNDSlave
8.06 k ± 1% to GNDSlave
16.2 k ± 1% to GNDSlave
1.0 k ± 1% to VL
1.96 k ± 1% to VL
4.02 k ± 1% to VL
8.06 k ± 1% to VL
Master (
Master (
Master (
Master (
128 x Fsi)
256 x Fsi)
384 x Fsi)
512 x Fsi)
Table 1. Serial Audio Port Master/Slave and Clock Ratio Select Start-Up Options (MS_SEL)
SAIF pinInput Port Configuration
1.0 k ± 1% to GNDI²S up to 32-bit data
1.96 k ± 1% to GNDLeft-Justified up to 32-bit data
4.02 k ± 1% to GNDRight-Justi fied 16-bit data
1.0 k ± 1% to VLRight-Justified 20-bit data
1.96 k ± 1% to VLRight-Justified 24-bit data
4.02 k ± 1% to VLRight-Justified 32-bit data
Table 2. Serial Audio Input Port Start-Up Options (SAIF)
Master (
Master (
Master (
Master (
128 x Fso)
256 x Fso)
384 x Fso)
512 x Fso)
Slave
Slave
Slave
Slave
SAOF pinOutput Port Configuration
1.0 k ± 1% to GNDI²S 16-bit data
1.96 k ± 1% to GNDI ²S 20-bit data
4.02 k ± 1% to GNDI ²S 24-bit data
8.06 k ± 1% to GNDI ²S 32-bit data
16.2 k ± 1% to GNDLeft-Justified 16-bit data
32.4 k ± 1% to GNDLeft-Justified 20-bit data
63.4 k ± 1% to GNDLeft-Justified 24-bit data
127.0 k ± 1% to GNDLeft-Justified 32-bit data
1.0 k ± 1% to VLRight-Justified 16-bit data
1.96 k ± 1% to VLRight-Justified 20-bit data
4.02 k ± 1% to VLRight-Justified 24-bit data
8.06 k ± 1% to VLRight-Justified 32-bit data
16.2 k ± 1% to VLTDM Mode 16-bit data
32.4 k ± 1% to VLTDM Mode 20-bit data
63.4 k ± 1% to VLTDM Mode 24-bit data
127.0 k ± 1% to VLTDM Mode 32-bit data
Table 3. Serial Audio Output Port Start-Up Options (SAOF)
18DS641F6
4.3Sample Rate Converter (SRC)
Multirate digital signal processing techniques are used to conceptually up sample the incoming data to a very
high rate and then downsample to the outgoing rate. The internal data path is 32-bits wide even if a lower
bit depth is selected at the output. The filtering is designed so that a full inpu t a udio ban dwidth of 20 kHz is
preserved if the input sample and output sample rates are greater than or equal to 4 4.1 kHz. When the output sample rate becomes less than the input sample rate, the input is automatically band-limited to avoid
aliasing products in the output. Careful design ensures minimum ripple and distortion products are added
to the incoming signal. The SRC also determines the ratio between the incoming and outgoing sample rates
and sets the filter corner frequencies appropriately. Any jitter in the incoming signal has little impact on the
dynamic performance of the rate converter and has no influ ence on the output clock.
4.3.1Data Resolution and Dither
When using the serial audio input port in Left-Justified and I²S Modes, all input data is treate d as 32 -bits
wide. Any truncation that has been done prior to the CS8421 to less than 32-bits should have been done
using an appropriate dithering process. If the serial audio input port is in Right-Justified Mode, the input
data will be truncated to the bit depth set by SAIF pin setting. If the SAIF bit depth is set to 16-, 20-, or 24bits, and the input data is 32-bits wide, truncation distortion will occur. Similarly, in any serial audio input
port mode, if an inadequate number of bit clocks are entered (i.e. 16 clocks instead of 20 clocks), the input
words will be truncated, causing truncation distortion at low levels. In summary, there is no dithering
mechanism on the input side of the CS8421, and care must be taken to ensure th at no trunca tion occurs.
CS8421CS8421
Dithering is used internally where appropriate inside the SRC block.
The output side of the SRC can be set to 16-, 20-, 24-, or 32-bits. Dithering is applied and is automatically
scaled to the selected output word length. This dither is not correlated between left and right channels.
4.3.2SRC Locking and Varispeed
The SRC calculates the ratio between the input sample rate and the outp ut sample rate and uses this information to set up various parameters inside the SRC block. The SRC takes some time to make this calculation, approximately 4200/Fso (87.5 ms at Fso of 48 kHz).
If Fsi is changing, as in a varispeed application, the SRC will track the incoming sample rate. During this
tracking mode, the SRC will still rate convert the audio data, but at increased distortion levels. Once the
incoming sample rate is stable, the SRC will return to normal levels of audio quality. The data buffer in the
SRC can overflow if the input sample rate changes at greater than 10%/sec. There is no provision for
varispeed applications where Fso is changing.
The SRC_UNLOCK pin is used to indicate when the SRC is not locked. When RST
is a change in Fsi or Fso, SRC_UNLOCK will be set high. The SRC_UNLOCK pin will continue to be high
until the SRC has reacquired lock and settled, at which point it will transition low. When the
SRC_UNLOCK pin is set low, SDOUT is outputting valid audio data. This can b e used to signal a DAC to
unmute its output.
4.3.3Bypass Mode
When the BYPASS pin is set high, the input data bypasses the sample rate converter and is sent directly
to the serial audio output port. No dithering is performed on the outp ut data. This mode is ideal for passing
non-audio data through without a sample-rate conversion. ILRCK and OLRCK should be the same sample rate and synchronous in this mode. The group delay in this mode is greatly reduced from normal SRC
mode as noted in the “Digital Filter Characteristics” on page 11.
is asserted, or if there
DS641F619
4.3.4Muting
The SDOUT pin is set to all zero output (full mute) immediately after the RST pin is set high. When the
output from the SRC becomes valid, though the SRC may not have reached full performance, SDOUT is
unmuted over a period of approximately 4096 OLRCK cycles (soft unmuted). When the output becomes
invalid, depending on the condition, SDOUT is either immediately set to all zero output (hard muted) or
SDOUT is muted over a period of approximately 4096 OLRCK cycles until it reaches full mute (soft muted). The SRC will soft mute SDOUT if there is an illegal ratio between ILRCK and the XTI master clock.
Conditions that will cause the SRC to hard mute SDOUT include removing OLRCK, the RST
set low, or illegal ratios between OLRCK and the XTI master clock. After all invalid states have been
cleared, the SRC will soft unmute SDOUT.
4.3.5Group Delay and Phase Matching Between Multiple CS8421 Parts
The equation for the group delay through the sample rate converter is shown in “Digital Filter Character-
istics” on page 11. This phase delay is equal across multiple parts. Therefore, when multiple parts operate
at the same Fsi and Fso and use a common XTI/XTO clock, their output data is phase matched.
4.3.6Master Clock
The CS8421 uses the clock signal supplied through XTI as its mast er clock (MCLK). MCLK can be supplied from a digital clock source, a crystal oscillator, or a fundamental mode crystal. Figure 10 shows the
typical connection diagram for using a fundamental mode crystal. Please refer t o th e cr yst al ma nufa ct ur er’s specifications for the external capacitor recommendations. If XTO is not used, such as with a digital
clock source or crystal oscillator, XTO should be left unconnected or pulled low through a 47 k
to GND.
CS8421
pin being
resistor
If either serial audio port is set as master, MCLK will be used to supply the sub-clocks to the master SCLK
and LRCK. In this case, MCLK will be synchronous to the master serial audio port. If both serial audio
ports are set as slave, MCLK can be asynchronous to either or both ports. If the user needs to change the
clock source to XTI while the CS8421 is still powered on and running, a RESET must be issued once the
XTI clock source is present and valid to ensure proper operation.
When both serial ports are configured as slave and operating at sample rates less than 96 kHz, the
CS8421 has the ability to operate without a master clock input through XTI. This benefits the design by
not requiring extra external clock components (lowering production cost) and not requiring a master clock
to be routed to the CS8421, resulting in lowered noise contribution in the system. In this mode, an internal
oscillator provides the clock to run all of the internal logic. To enable the internal oscillator, simply tie XTI
to GND or VL. In this mode, XTO should be left unconnected.
The CS8421 can also provide a buffered MCLK output through the MCLK_O UT pin. This pin can be used
to supply MCLK to other system components that operate synchronously to MCLK. If MCLK_OUT is not
needed, the output of the pin can be disabled by pulling the pin high through a 47 k
MCLK_OUT is also disabled when using the internal oscillator mode. The MCLK_OUT pin will be set low
when disabled by using the internal oscillator mode.
resistor to VL.
20DS641F6
4.3.7Clocking
XTIXTO
CC
R
Figure 10. Typical Connection Diagram for Crystal Circuit
In order to ensure proper operation of the CS8421, the clock or crystal attached to XTI must simultaneously satisfy the requirements of LRCK for both the input and output as follows:
CS8421CS8421
•If the input is set to master, Fsi
•If the output is set to master, Fso
•If b oth inpu t and output are set to slave, XTI
XTI/128 and Fso XTI/130.
XTI/128 and Fsi XTI/130.
130*[maximum(Fsi,Fso)], XTI/Fsi < 3750, and XTI/Fso <
3750.
4.4Time Division Multiplexing (TDM) Mode
TDM Mode allows several CS8421 to be serially connected together allowing their corresponding SDOUT
data to be multiplexed onto one line for input into a DSP or other TDM-capable multichannel device.
The CS8421 can operate in two TDM modes. The first mode consists of all of the CS8421’s output ports set
to slave, as shown in Figure 13. The second mode consists of one CS8421 output port set to master and
the remaining CS8421’s output ports set to slave, as shown in Figure 14.
The TDM_IN pin is used to input the data, while the SDOUT pin is used to output the data. The first CS8421
in the chain should have its TDM_IN set to GND. Data is transmitted from SDOUT most significant bit first
on the first OSCLK falling edge after an OLRCK transition and is valid on the rising edge of OSCLK.
In TDM Slave Mode, the number of channels that can by multiplexed to one serial data line depends on the
output sampling rate. For Slave Mode, OSCLK must operate at N*64*Fso, where N is the number of
CS8421’s connected together. The maximum allowable OSCLK frequency is 24.576 MHz, so for Fso =
48 kHz, N = 8 (16 channels of serial audio data).
In TDM Master Mode, OSCLK operates at 256*Fso, which is equivalent to N = 4 , so a maximum o f 8 channels of digital audio can be multiplexed together. Note that for TDM Master Mode, MCLK must be at least
256*Fso, where Fso
with the valid data sample left-justified within the time-slot. Valid data lengths are 16-, 20-, 24- or 32-bits.
Figures 11 and 12 show the interface format for Master and Slave TDM Modes with a 32-bit word-length.
DS641F621
96 kHz. OLRCK identifies the start of a new frame. Each time-slot is 32-bits wide,
CS8421
OLRCK
OSCLK
LSBMSBLSBMSBLSBMSBLSBMSBLSBMSBLSBMSB
SDOUT/
TDM_IN
SDOUT 3, ch A
32 clks32 clks32 clks32 clks32 clks32 clks
LSBMSBLSBMSB
32 clks32 clks
SDOUT 3, ch BSDOUT 2, ch ASDOUT 2, ch BSDO UT 1, ch ASDOUT 1, ch B
SDOUT 4, ch ASDOUT 4, ch B
256 OSCLKs
Figure 12. TDM Master Mode Timing Diagram
ILRCK
ISCLK
SDIN
OLRCK
OSCLK
SDOUTTDM_IN
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
Output
Clock
Source
LRCK
SCLK
OLRCK OSCLK SDOUT
PCM Source 2
OLRCK OSCLK SDOUT
PCM Source 1
CS8421
1
Slave
CS8421
2
Slave
LRCK
SCLK
SDIN
DSP
Slave
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
CS8421
3
Slave
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
CS8421
4
Slave
OLRCK OSCLK SDOUT
PCM Source 3
OLRCK OSCLK SDOUT
PCM Source 4
Figure 13. TDM Mode Configuration (All CS8421 Outputs are Slave)
ILRCK
ISCLK
SDIN
OLRCK
OSCLK
SDOUTTDM_IN
CS8421
1
OLRCK OSCLK SDOUT
PCM Source 2
OLRCK OSCLK SDOUT
PCM Source 1
Master
LRCK
SCLK
SDIN
DSP
Slave
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
CS8421
4
Slave
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
CS8421
2
Slave
OLRCK
OSCLK
SDOUTTDM_IN
ILRCK
ISCLK
SDIN
CS8421
3
Slave
OLRCK OSCLK SDOUT
PCM Source 3
OLRCK OSCLK SDOUT
PCM Source 4
Figure 14. TDM Mode Configuration (First CS8421 Output is Master, All Others are Slave)
4.5Reset, Power-Down, and Start-Up
When RST is low, the CS8421 enters a low-power mode, all internal states are reset, and the outputs are
disabled. After RST
22DS641F6
(MS_SEL, SAIF, and SAOF) and sets the appropriate mode of operation. After the mo de has been set (approximately 4
transitions from low to high, the part sens es the resistor value on the configuration pins
s), the part is set to normal operation and all outputs are functional.
4.6Power Supply, Grounding, and PCB Layout
The CS8421 operates from a VD = +2.5 V and VL = +3.3 V or +5.0 V supply. These supplies may be set
independently. Follow normal supply decoupling practices; see Figure 6.
Extensive use of power and ground planes, ground-plane fill in unused areas, and surface-mount decoupling capacitors are recommended. Decoupling capacitors should be mounted on the same side of the
board as the CS8421 to minimize inductance effects, and all decoupling capacitors should be as close to
the CS8421 as possible. The pin of the configuration resistors not connecte d to MS_SEL, SAIF, and SAOF
should be connected as close as possible to VL or GND.
The CS8421 is available in the compact QFN package. The undersi de of the QFN pa ckage reveals a metal
pad that serves as a thermal relief to provide for optimal heat dissipation. This pad must m ate with an equally
dimensioned copper pad on the PCB and must be electrically connected to ground. A series of vias should
be used to connect this copper pad to one or more larger ground planes on other PCB layers.
Figure 63. THD+N vs. Frequency Input, 0 dBFS, 48 kHz:44.1 kHz
Figure 65. THD+N vs. Frequency Input, 0 dBFS, 44.1 kHz:48 kHz
CS8421
-110
-115
-120
-125
-130
-135
-140
d
B
-145
F
S
-150
-155
-160
-165
-170
-175
-180
020k2.5k5k7.5k10k12.5k15k17.5k
Hz
-110
-115
-120
-125
-130
-135
-140
d
B
-145
F
S
-150
-155
-160
-165
-170
-175
-180
020k2.5k5k7.5k10k12.5k15k17.5k
Hz
All performance plots represent typical performance. Measurements for all performance plots were taken und er the
following conditions, unless otherwise stated:
•VD = 2.5 V, VL = 3.3 V
•Serial Audio Input port set to slave
•Serial Audio Output port set to slave
•Input and output clocks and data are asynchronous
1.“D” and “E1” are reference datums and do not included mold flash or protrusions, but do in clude 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.
NOTE
TSSOP THERMAL CHARACTERISTICS
ParameterSymbolMinTypMaxUnits
Junction to Ambient Thermal Impedance2 Layer Board
1.Dimensioning and tolerance per ASME Y 14.5M-1995.
2.Dimensioning lead width applies to the plated terminal an d is measured between 0.23mm and 0.33mm from the
terminal tip.
QFN THERMAL CHARACTERISTICS
ParameterSymbolMinTypMaxUnits
Junction to Ambient Thermal Impedance 2 Layer Board
4 Layer Board
JA
-
-
128
35
-
°C/Watt
-
°C/Watt
34DS641F6
7. ORDERING INFORMATION
ProductDescriptionPackage
Pb-Free
Temp RangeContainer
Order#
CS8421
32-bit Asynchronous Sample Rate
Converter
20-TSSOP
YES
-10° to +70°C
RailCS8421-CZZ
Tape and ReelCS8421-CZZR
20-QFN
RailCS8421-CNZ
Tap e and ReelCS8421-CNZR
20-TSSOP-40° to +85°C
RailCS8421-DZZ
Tape and ReelCS8421-DZZR
20-TSSOP
-40° to +105°C
RailCS8421-EZZ
Tap e and ReelCS8421-EZZR
20-QFN
RailCS8421-ENZ
Tape and ReelCS8421-ENZR
CDB8421Evaluation Board for CS8421---CDB8421
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative.
To find the one nearest to you, go to www.cirrus.com
.
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries (“Ci rrus”) believe that the information contained in this document is accura te and reliable. However, the information is subject
to change without noti ce and is p rovided “AS IS” wit hout warran ty of any k ind (expr ess or i mplied). Customers are advis ed to ob tain 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 inte llectual property rig hts. 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 I NJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARR ANTED 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 CUSTOM ER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MER CHANTABILITY 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 OT HER AGE NTS FRO M ANY AND AL L LI ABI L IT Y, I NCL UDING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo design s ar e tra de m a rks of Ci rru s Lo gi c, Inc. All o ther bra nd and product names in this document may be trademarks
or service marks of their respective owners.
8. REVISION HISTORY
ReleaseChanges
F1Final Release
-Updated Thermal Pad pin description in “QFN Pin Descriptions” on page 7.
F2
-Updated “Power Supply, Grounding, and PCB Layout” on page 23.
-Added “Gain Error” to “Performance Specifications” on page 10.
F3
-Added group delay specification for Bypass Mode to “Digital Filter Characteristics” on page 11.
Corrected 8.75 ms to 87.5 ms in “The SRC takes some time to make this calculation,
F4
approximately 4200/Fso (87.5 ms at Fso of 48 kHz).” in Section 4.3.2 SRC Locking and Varispeed “
Added -40° to +105°C Automotive grade to feature list on page 23.
F5
Added Ambient Operating Temperature entry for ‘-EZ’ and ‘-ENZ’ in “Specified Operating Conditions” on page 9.
Added entries for CS8421-EZZ/ENZ and CS8421-EZZR/ENZR in “Ordering Information” on page 35.
F6Added note regarding the SDOUT pin in Figure 5 and Figure 6.
CS8421CS8421
DS641F635
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.