z CS8406 S/PDIF Digital Audio Transmitter
z CS8416 S/PDIF Digital Audio Receiver
z Header for Optional External Software
Configuration of CS42448
z Header for External DSP Serial Audio I/O
z 3.3 V Logic Interface
z Pre-defined Software Scripts
z S/PDIF-to-TDM Conversion for Easy
Evaluation of the TDM Digital Interface
z Demonstrates Recommended Layout and
Grounding Arrangements
z Windows
Configure CS42448 and Inter-board
Connections
ORDERING INFORMATION
CDB42448Evaluation Board
®
Compatible Software Interface to
Description
The CDB42448 evaluation bo ard is an exc ellent mean s
for evaluating the CS42448 CODEC. Evaluation requires an analog/digital signal source and analyzer, and
power supplies. A Windows
must be used to evaluate the CS42448.
System timing for the I²S, Left-Justified and Right-Justified interface formats can be provided by the CS42448,
by the CS8416, or by a DSP I/O stake header with a DSP
connected. System timing for TDM mode is provided by
an FPGA using clocks derived from the CS8416 or DSP
I/O header.
RCA phono jacks are provided for the CS42448 analog
inputs and outputs. Digital data I/O is available via RCA
phono or optical connectors to the CS8416 and CS8406.
The Windows
®
software provides a GUI to make configuration of the CDB42448 easy. The software
communicates through the PC’s serial port to configure
the control port registers so that all features of the
CS42448 can be evaluated. The evaluation board may
also be configured to accept external timing and data
signals for operation in a user application during system
development.
The CDB42448 evaluation board is an excellent means for evaluating the CS42448 CODEC. Analog and digital audio signal interfaces are provided, an FPGA used for easily configuring the
board and a 9-pin serial cable for use with the supplied Windows® configuration software.
The CDB42448 schematic set has been partitioned into 10 pages and is shown in Figures 9
through 18.
1.1Power
Power must be supplied to the evaluation board through the +5.0 V, +12.0 V and -12.0 V
binding posts. Jumper J1 connects the VA supply to a fixed +5.0 V or +3.3 V supply. VD, VLS
and VLC are all hard-tied to +3.3 V. All voltage inputs must be referenced to the single black
binding post ground connector (Figure 18 on page 40).
WARNING: Please refer to the CS42448 data sheet for allowable voltage levels.
1.2Grounding and Power Supply Decoupling
The CS42448 requires careful attention to power supply and grounding arrangements to optimize performance. Figure 9 on page 31 provides an overview of the connections to the
CS42448. Figure 19 on page 41 shows the component placement. Figure 20 on page 42
shows the top layout. Figure 21 on page 43 shows the bottom layout. The decoupling capacitors are located as close to the CS42448 as possible. Extensive use of ground plane fill in
the evaluation board yields large reductions in radiated noise.
1.3FPGA
See “FPGA System Overview” on page 9 for a complete description of how the FPGA (Figure
10 on page 32) is used on the CDB42448.
1.4CS42448 Audio CODEC
A complete description of the CS42448 (Figure 9 on page 31) is included in the CS42448
product data sheet.
The required configuration settings of the CS42448 are made in its control port registers, accessible through the “CS42448” tab of the Cirrus Logic FlexGUI software.
Clock and data source selections are made in the control port of the FPGA, accessible
through the “FPGA” tab of the Cirrus Logic FlexGUI software. Refer to registers “CODEC
SDINx Control (address 02h)” on page 17 and “CODEC Clock Control (address 03h)” on
page 18 for configuration settings.
1.5CS8406 Digital Audio Transmitter
A complete description of the CS8406 transmitter (Figure 11 on page 33) and a discussion
of the digital audio interface are included in the CS8406 data sheet.
The CS8406 converts the PCM data generated by the CS42448 to the standard S/PDIF data
stream. The CS8406 operates in slave mode, accepting either a 128Fs or 256Fs master
4DS648DB2
CDB42448
clock on the OMCK input pin, and can operate in either the Left-Justified or I²S interface format.
Selections are made in the control port of the FPGA, accessible through the “FPGA” tab of
the Cirrus Logic FlexGUI software. Refer to register “CS8406 Control (address 04h)” on
page 19 for configuration settings.
1.6CS8416 Digital Audio Receiver
A complete description of the CS8416 receiver (Figure 11 on page 33) and a discussion of
the digital audio interface are included in the CS8416 data sheet.
The CS8416 converts the input S/PDIF data stream into PCM data for the CS42448 and operates in master or slave mode, generating either a 128Fs or 256Fs master clock on the
RMCK output pin, and can operate in either the Left-Justified or I²S interface format.
Selections are made in the control port of the FPGA, accessible through the “FPGA” tab of
the Cirrus Logic FlexGUI software. Refer to register “CS8416 Control (address 05h)” on
page 21 for configuration settings.
1.7CS5341
A complete description of the CS5341 Audio ADC (Figure 16 on page 38) is included in the
CS5341 data sheet.
The CS5341 is connected to the AUX port of the CS42448 and is used only in the TDM interface format of the CODEC. The AUX port of the CS42448 masters the CS5341 and accepts either Left-Justified or I²S data on AUX_SDIN.
Selections are made in the control port of the FPGA, accessible through the “FPGA” tab of
the Cirrus Logic FlexGUI software. Refer to register “CS5341 and Miscellaneous Control (Address 08h)” on page 26 for configuration settings.
1.8Canned Oscillator
Oscillator Y1 provides a system master clock. This clock is routed through the CS8416 and
out the RMCK pin when the S/PDIF input is disconnected (refer to the CS8416 data sheet for
details on OMCK operation). To use the canned oscillator as the source of the MCLK signal,
remove the S/PDIF input to the CS8416 and configure the CS8416 appropriately.
The oscillator is mounted in pin sockets, allowing easy removal or replacement.The board is
shipped with a 12.2880 MHz crystal oscillator populated at Y1.
1.9External Control Headers
The evaluation board has been designed to allow interfacing with external systems via the
headers J11 and J25.
The 24-pin, 2 row header, J25, provides access to the serial audio signals required to interface with a DSP (see Figure 13 on page 35).
DS648DB25
CDB42448
Selections are made in the control port of the FPGA, accessible through the “FPGA” tab of
the Cirrus Logic FlexGUI software. Refer to register “DSP Header Control (address 07h)” on
page 24 for configuration settings
The 12-pin, 3 row header, J11, allows the user bidirectional access to the SPI/I2C control signals by simply removing all the shunt jumpers from the “PC” position. The user may then
choose to connect a ribbon cable to the “EXTERNAL” position. A single “GND” row for the
ribbon cable’s ground connection is provided to maintain signal integrity. Two unpopulated
pull-up resistors are also available should the user choose to use the CDB for the I2C power
rail.
1.10Analog Input
RCA connectors supply the CS42448 analog inputs through unity gain, AC-coupled singleended to differential circuits. The inputs may also be driven single-ended by shunting the appropriate stake headers labeled “Single In”. A 1 Vrms single-ended signal into the RCA connectors will drive the CS42448 inputs to full scale.
1.11Analog Outputs
The CS42448 analog outputs may be routed either through a single-pole RC passive filter,
or a differential to single-ended 2-pole active filter.
1.12Serial Control Port
A graphical user interface is included with the CDB42448 to allow easy manipulation of the
registers in the CS42448 (see the CS42448 data sheet for register descriptions) and FPGA
(see section 5 on page 16 for register descriptions). Connecting a cable to the RS-232 connector (J7) and launching the Cirrus Logic FlexGUI software will enable the CDB42448.
Refer to “Software Mode” on page 7 for a description of the Graphical User Interface (GUI).
1.13USB Control Port
The USB control port connector (J12) is currently unavailable.
6DS648DB2
CDB42448
2. SOFTWARE MODE
The CDB42448 is shipped with a Microsoft Windows® based GUI, which allows control over the
CS42448 and FPGA registers. Interface to the GUI is provided using an RS-232 serial cable.
Once the appropriate cable is connected between the CDB42448 and the host PC, load “FlexLoader.exe” from the CDB42448 directory. Once loaded, all registers are set to their default reset state. The GUI’s “File” menu provides the ability to save and load script files containing all of
the register settings. Sample script files are provided for basic functionality. Refer to section 3.1
on page 9 for details.
2.1Advanced Register Debug Tab
The Advanced Register Debug tab provides low level control over the CS42448 and FPGA
individual register settings. Each device is displayed on a separate tab. Register values can
be modified bit-wise or byte-wise. For bit-wise, click the appropriate push button for the desired bit. For byte-wise, the desired hex value can be typed directly in the register address
box in the register map.
Figure 1. Advanced Register Tab - CS42448
DS648DB27
CDB42448
Figure 2. Advanced Register Tab - FPGA
8DS648DB2
CDB42448
3. FPGA SYSTEM OVERVIEW
The FPGA (U14) controls all digital signal routing between the CS42448, CS8406 CS8416,
CS5341 and the DSP I/O Header. For easy evaluation of the TDM interface format of the
CS42448, the FPGA will copy stereo PCM data from either the CS8416 or DSP I/O Header onto
one data line at a 256Fs data rate. It will in turn de-multiplex the TDM data from the CS42448
and output stereo channel pairs to the CS8406.
3.1FPGA Setup
Sections 3.2 to 3.4 show graphical descriptions of the routing topology internal to the FPGA.
Section 3.5 shows the graphical description of the FPGA’s control of the MCLK bus. And section 3.6 provides details for routing clocks and data, bypassing the FPGA (recommended for
more advanced users only). Refer to “FPGA Register Description” on page 16 for all configuration settings.
The board may also be configured simply by choosing from 6 pre-defined scripts provided in
the supplied CD ROM. The pre-defined scripts, along with a brief description, are shown below.
3.1.1S/PDIF In, S/PDIF Out (SPDIF1-4)
This script sets up the CDB42448 to operate the CS8416 as the master and all other devices as slave. The CS8416 masters the MCLK bus.
Various permutations of this option exist as S/PDIF1, S/PDIF2, S/PDIF3 and S/PDIF4.
Each permutation signifies which ADC data is transmitted to the CS8406.
The CS42448 operates in the TDM digital interface format. The FPGA copies PCM data
from the CS8416 onto one data line and transmits this data to the DAC_SDIN1 input.
3.1.2Analog In, Analog Out (Digital Loopback)
This script sets up the CDB42448 to operate the crystal oscillator as the master. The
CS8416 passes the signal from the crystal oscillator, Y1, through its OMCK input and out
its RMCK output (NOTE: the S/PDIF input must be disconnected). The CS8416 then generates sub clocks derived from the crystal oscillator and input to the FPGA for TDM clock
generation. The FPGA then masters the sub clocks to the CS42448.
The CS42448 operates in the TDM digital interface format, looping ADC_SDOUT1 back
into the DAC_SDIN1 input. ADC1-3 appear on DAC1-3 and the CS5341 ADC appears on
DAC4.
3.1.3DSP Routing
This script sets up the CDB42448 to operate the device attached to the DSP Header as
the master and all other devices as slave. The DSP Header masters the MCLK bus.
DS648DB29
CDB42448
3.2.Internal Sub-Clock Routing
The graphical description below shows the internal clock routing topology between the CS42448,
CS8416, CS8406 and DSP Header. Refer to registers “CODEC Clock Control (address 03h)” on
page 18, “CS8406 Control (address 04h)” on page 19 and “CS8416 Control (address 05h)” on
page 21 for configuration settings.
CS8416
LRCK
SCLK
DSP Header
DSP.ADC_LRCK
DSP.ADC_SCLK
DSP.DAC_LRCK
DSP.DAC_SCLK
CS8406
LRCK
SCLK
CS8416 LRCK
CS8416 SCLK
DSP.ADC_LRCK
DSP.ADC_SCLK
DSP.DAC_LRCK
DSP.DAC_SCLK
M/S
FPGA->DSPADC
FPGA->DSPDAC
T2P/ADC
AUX/DAC
ADC LRCK
T2P LRCK
T2P SCLK
ADC SCLK
DAC LRCK
AUX LRCK
DAC SCLK
AUX SCLK
CS8416 LRCK
DAC LRCK
DSP.ADC_LRCK
CS8416 LRCK
ADC LRCK
DSP.DAC_LRCK
TDMer
CS42448
ADC.CLK_MUX[1:0]
FPGA->ADC
FS
DAC.CLK_MUX[1:0]
FPGA->DAC
FS
FS
256Fs
CS8416 SCLK
DAC SCLK
DSP.ADC_SCLK
256Fs SCLK
CS8416 SCLK
ADC SCLK
DSP.DAC_SCLK
256Fs SCLK
ADC_MUX[1: 0]
DAC_MUX[1:0]
FPGA->ADC
FPGA->DAC
ADC LRCK
ADC SCLK
DAC LRCK
DAC SCLK
AUX LRCK
AUX SCLK
ADC_LRCK
ADC_SCLK
DAC_LRCK
DAC_SCLK
AUX_LRCK
AUX_SCLK
Figure 3. Internal Sub-Clock Routing
10DS648DB2
CDB42448
3.3.Internal Data Routing
The graphical description below shows the internal data routing topology between the CS42448,
CS8416, CS8406 and DSP Header. Refer to registers “CODEC SDINx Control (address 02h)”
on page 17, “CS8406 Control (address 04h)” on page 19 and “DSP Header Control (address
07h)” on page 24 for configuration settings.
CS8416
SDOUT
DSP Header
DSP.DATA_OUT1
DSP.DATA_OUT2
DSP.DATA_OUT3
DSP.DATA_OUT4
DSP_SDIN1
DSP_SDIN2
DSP_SDIN3
CS8406
SDIN
SDOUT1
SDOUT2
SDOUT3
DATA_MUX[2:0]
ADC1
ADC2
ADC3
AUX
ADC1,2,3, AUX
TDMer
TDM Stream
CS8416 SDOUT
DSP OUT1
SDOUT1
TDM Stream
CS8416 SDOUT
DSP OUT1
DSP OUT2
SDOUT2
CS8416 SDOUT
DSP OUT1
DSP OUT3
SDOUT3
CS8416 SDOUT
DSP OUT1
DSP OUT4
SDOUT1
SDIN1_MUX[1:0]
DSPDATA->DAC
SDIN2_MUX[1:0]
SDIN3_MUX[1:0]
SDIN4_MUX[1:0]
SDIN1
SDIN2
SDIN3
SDIN4
CS8416 SDOUT
CS42448
SDIN1
SDIN2
SDIN3
SDIN4
SDOUT1
SDOUT2
SDOUT3
AUX_SDIN
MUX[2:0]
Figure 4. Internal Data Routing
DS648DB211
CDB42448
3.4.Internal TDM Conversion, MUXing and Control (TDMer)
The graphical description below shows the routing topology of the TDM converter between the
CS42448, CS8416, CS8406 and DSP Header. Refer to register “TDM Conversion (address
01h)” on page 16 for configuration settings.
The TDMer allows the user to easily evaluate the CS42448 in the TDM digital interface format.
A 256Fs clock and an FS pulse is derived from either the CS8416 or DSP Header. Data is multiplexed onto one data line and transmitted to the DAC. Likewise, data from the ADC of the
CS42448 is de-multiplexed and transmitted to the CS8406. The CS8406 sub clocks, in this case,
must be taken from the TDM2PCM engine of the TDMer (refer to register “ADC or TDM2PCM
Clock Selection (T2P/ADC)” on page 20 for implementation).
The TDMer is also capable of transmitting the de-multiplexed data to the DSP Header; however,
the user must re-time this data using a DSP. The CDB42448 does not provide an option for routing the TDM2PCM clocks to the DSP Header.
TDMer
CS42448
CS8416
LRCK
SCLK
DSP.ADC_LRCK
CS8416_LRCK
CS8416_SCLK
DSP.ADC_SCLK
DSP/CS8416
PCM2TDM
Clocks
256Fs SCLK
FS
ADC/DAC_SCLK
ADC/DAC_LRCK
SDOUT
CS8416_SDOUT
DSP Header
DSP.ADC_LRCK
DSP.ADC_SCLK
DSP.SDOUT1
DSP.SDOUT2
DSP.SDOUT3
DSP.SDOUT4
DSP OUT1
DSP OUT2
DSP OUT3
DSP OUT4
OUT1/OUT2
OUT1/OUT3
OUT1/OUT4
CS8406
LRCK
SCLK
SDIN
T2P_LRCK
T2P_SCLK
ADC.SDOUT_MUX
D_MUX[2:0]
ADC1
ADC2
ADC3
AUX
SDOUT1
SDOUT2
SDOUT3
= Other logic prior to input/output pin of FPGA not shown.
Data
SLOT1
SLOT2
SLOT3
SLOT4
MCLK
TDM2PCM
Clocks
Data
Figure 5. TDMer
TDM Stream
SDIN1
SDOUT1
12DS648DB2
CDB42448
3.5External MCLK Control
Several sources for MCLK exist on the CDB42448. The crystal oscillator, Y1, will master the
MCLK bus when no S/PDIF signal is input to the CS8416 (refer to the CS8416 data sheet for
details on OMCK operation). This signal will be driven directly out the CS8416.
The CS8416 will generate a master clock whenever its internal PLL is locked to the incoming
S/PDIF stream. This MCLK signal from the CS8416 can be taken off the MCLK bus by setting
the “RMCK_Master” bit in the register “CS8416 Control (address 05h)” on page 21.
The DSP Header can master or slave the MCLK bus by setting the “MCLK_M/S” bit in the
register “DSP Header Control (address 07h)” on page 24 accordingly.
3.5.1CS5341 MCLK
To accommodate an MCLK signal greater than 25 MHz on the MCLK bus, a 2.0 divider
internal to the FPGA has been implemented. The divided MCLK signal is routed only to
the CS5341. Refer to register “CS5341 and Miscellaneous Control (Address 08h)” on
page 26 for the required setting.
3.5.2TDMer MCLK
MCLK signals greater than 256Fs must be divided accordingly to maintain a 256Fs MCLK
signal into the TDMer. A 1.5 and a 2.0 divider has been implemented inside the FPGA.
Refer to register “CS5341 and Miscellaneous Control (Address 08h)” on page 26 for the
required setting.
OSC
CS8416
OMCK
CS8406
DSP Header
RMCK
OMCK
MCLK
RMCK_Master
Reg 05h[0]
Divider
Divider
MCLK_M/S
Reg 07h[0]
FPGA
Reg 08h[6:5]
TDMer
Reg 08h[3:2]
CS42448
MCLK
CS5341
MCLK
Figure 6. External MCLK Control
DS648DB213
CDB42448
3.6Bypass Control - Advanced
The DSP clocks and data may be routed through buffers directly to the CS42448, bypassing
the FPGA. This configuration may be desired for more stringent timing requirements at higher
clock speeds. See register “Bypass Control (address 06h)” on page 22. These bits are only
accessible through the Advanced tab of the Cirrus Logic FlexGui software.
NOTE: To avoid contention with the FPGA, set the clock direction for the FPGA appropriately: The FPGA->DAC
and FPGA->ADC bits in register 03h and 07h must be set to ‘1’b.
FPGA – Bypass Control
Register 06h
DSPDATA->DAC
SDOUT->DSP
NOTE: FPGA->ADC/
DACb bits in Reg 03h
must be disabled to avoid
bus contention.
NOTE: FPGA->DSPb bits in
Reg 07h must be disabled
to avoid bus contention.
All registers are read/write. See the following bit definition tables for bit assignment information. The default state of each bit after a power-up sequence or reset is listed in each bit description.
This bit selects the clock source for the PCM2TDM (P2T) converter. It also selects the data source
for Slot 1 (see Figure 5 on page 12) of the TDMer.
This bit also serves as the MSB of the 3:2 data selection MUX’s for slots 2-4 of the TDM Stream (see
Figure 5 on page 12).
5.1.2PCM2TDM DATA SELECTION (OUT1/OUTX
Default = 0
0 - OUTx
1- OUT1
Function:
This bit selects the data source for the PCM2TDM (P2T) converter. The DSP/CS8416
the MSB of the MUX that selects between OUTx and OUT1.
If the CS8416 is selected as the clock source for the P2T converter, this bit is ignored and the CS8416
SDOUT will be selected as the data source for slots 2-4 (see Figure 5 on page 12).
This MUX selects the data lines from the CS8416, DSP Header, and the ADC (see Figure 4 on page
11).
5.2.2SDIN3 MUX(SDIN3.MUX)
CS8416 SDOUT
DSP SDOUT1
DSP SDOUT4
ADC_SDOUT1
Default = 11
SDIN3.MUX[1:0]Data Selection
00
01
10
11
Table 2. Data to SDIN3
CS8416 SDOUT
DSP SDOUT1
DSP SDOUT3
ADC_SDOUT3
Function:
This MUX selects the data lines from the CS8416, DSP Header, and the ADC (see Figure 4 on page
11).
5.2.3SDIN2 MUX(SDIN2.MUX)
Default = 11
SDIN2.MUX[1:0]Data Selection
00
01
10
11
Table 3. Data to SDIN2
CS8416 SDOUT
DSP SDOUT1
DSP SDOUT2
ADC_SDOUT2
Function:
This MUX selects the data lines from the CS8416, DSP Header, and the ADC (see Figure 4 on page
11).
DS648DB217
CDB42448
5.2.4SDIN1 MUX(SDINX.MUX)
Default = 10
SDIN1.MUX[1:0]Data Selection
00
01
10
11
Table 4. Data to SDIN1
Function:
This MUX selects the data lines from the CS8416, DSP Header, the ADC and the TDM Stream from
the TDMer (see Figure 4 on page 11).
5.3CODEC CLOCK CONTROL (ADDRESS 03H)
76543210
ReservedReservedDAC.CLK_
MUX1
DAC.CLK_
MUX0
CS8416 SDOUT
DSP_ SDOUT1
ADC_SDOUT1
TDM Stream
FPGA->DACADC.CLK_
MUX1
ADC,CLK_
MUX0
FPGA->ADC-
CODEC
5.3.1DAC CLOCK MUX (DAC.CLK_MUX[1:0])
Default = 11
DAC.CLK_
Clock Selection
MUX[1:0]
00
01
10
11
Table 5. Clocks to DAC
CS8416
ADC
DSP DAC
TDMer
Function:
This MUX selects the sub-clock lines from the CS8416, ADC, DSP Header and the sub-clocks from
the TDMer internal to the FPGA (see Figure 3 on page 10).
5.3.2FPGA CLOCKS TO DAC CLOCKS (FPGA->DAC
)
Default = 0
0 - FPGA Masters DAC clock bus
1 - FPGA Slave to DAC clock bus
Function:
This bit toggles a control line for the internal clock buffe r to the DAC serial port (see Figure 3 on pag e
10) .
18DS648DB2
CDB42448
5.3.3ADC MUX (ADC.CLK_MUX)
Default = 11
ADC.CLK_
MUX[1:0]
00
01
10
11
Table 6. Clocks to ADC
Function:
This MUX selects the sub-clock lines from the CS8416, DAC, DSP Header and the sub-clocks from
the TDMer internal to the FPGA (see Figure 3 on page 10).
Clock Selection
CS8416
DAC
DSP ADC
TDMer
5.3.4FPGA CLOCKS TO ADC CLOCKS (FPGA->
ADC)
Default = 0
0 - FPGA Masters ADC clock bus
1 - FPGA Slave to ADC clock bus
Function:
This bit toggles a control line for the internal clock buffe r to the ADC serial port (see Figure 3 on pag e
10).
5.4CS8406 CONTROL (ADDRESS 04H)
76543210
ReservedRSTMUX2MUX1MUX0128/256 FsI²S/LJT2P/ADC
5.4.1RESET (RST)
Default = 1
0 - CS8406 held in reset
1 - CS8406 taken out of reset
Function:
This bit is used to reset the CS8406 and is held low for 300 µs upon FPGA initialization.
5.4.2DATA MUX(MUX)
Default = 100
MUX[2:0]Data Selection
000
001
010
011
ADC_SDOUT
ADC_SDOUT2
ADC_SDOUT3
ADC_SDOUT1
Table 7. Data to CS8406
DS648DB219
CDB42448
MUX[2:0]Data Selection
100
101
110
111
Function:
This MUX selects the data lines from the ADC’s and the external ADC. The first 4 selections shown
in Table 7 comes directly from the data output lines. The last 4 selections are de-multiplexed from the
TDM stream of SDOUT1 (see Figure 5 on page 12).
Selects the MCLK/LRCK ratio of the CS8406 transmitter.
5.4.4LEFT-JUSTIFIED OR I
Default = 0
0 - Left Justified
1 - I
²S
Function:
Selects either I
5.4.5ADC OR TDM2PCM CLOCK SELECTION (T2P/ADC
Default = 1
0 - ADC Sub-Clocks to CS8406
1 - TDMer Sub-Clocks to CS8406
²S or Left Justified interface format for the CS8406.
²S INTERFACE FORMAT (I²S/LJ)
FS)
)
Function:
Selects the clock source for the CS8406. When de-multiplexing the data on SDOUT1, the CS8406
will need to use the TDMer sub-clocks (see Figure 3 on page 10).
0 - DAC Sub-Clocks to CS8416
1 - AUX Sub-Clocks to CS8416
Function:
Selects the clock source for the CS8416 when in slave mode (see Figure 3 on page 10).
5.5.2RESET (RST
Default = 1
0 - CS8416 held in reset
1 - CS8416 taken out of reset
Function:
This bit is used to reset the CS8416 and is held low for 300 µs upon FPGA initialization. It is also
pulled low for 300 µs whenever registers 05h[3:1] change.
5.5.3MASTER/SLAVE SELECT (M/S
Default = 1
0 - Slave
1 - Master
Function:
Selects master/slave mode for the CS8416 and configures the internal routing buffers. Pin 6 (RST
is held low for 300 µs whenever this bit changes.
5.5.4RMCK/LRCK RATIO SELECT (128/256
Default = 0
0 - 256 Fs
1 - 128 Fs
)
)
FS)
bit)
Function:
Selects the RMCK/LRCK ratio for the CS8416. Pin 6 (RST
bit changes.
DS648DB221
bit) is held low for 300 µs whenever this
5.5.5LEFT-JUSTIFIED OR I²S INTERFACE FORMAT (I²S/LJ)
Default = 0
0 - Left-Justified
1 - I
²S
Function:
CDB42448
Selects either I
µs whenever this bit changes.
5.5.6RMCK MASTERS MCLK BUS (RMCK_MASTER
Default = 0
0 - Enabled
1 - Disabled
Function:
Enables/disables the external MCLK output buffer on the MCLK bus (see Figure 6 on page 13).
²S or Left Justified interface format for the CS8416. Pin 6 (RST bit) is held low for 300
)
5.6BYPASS CONTROL (ADDRESS 06H)
76543210
ReservedDSPDATA
NOTE: To avoid contention with the FPGA, set the clock direction for the FPGA appropriately: FPGA->DAC and
FPGA->
ADC in register 03h and 07h must be set to ‘1’b.
5.6.1DSP DATA ROUTE TO DAC (DSPDATA->DAC
->DAC
SDOUT->DSPCS5341
->AUX
DAC->DSPADC->DSPDSP->DACDSP->ADC
)
Default = 1
0 - Enable
1 - Disable
Function:
This bit toggles a control line for the data buffer external to th e FPGA to route th e DSP Data dir ec tly
to the DAC (see Figure 7 on page 14). The inverted signal controls active low buffers internal to the
FPGA that routes the FPGA data to the DAC. Refer to Figure 4 on page 11.
5.6.2ADC SDOUT DATA ROUTE TO DSP (SDOUT->DSP
Default = 1
0 - Enable
1 - Disable
Function:
This bit toggles a control line for the external data buffer to route the ADC Data directly to the DSP
(see Figure 7 on page 14). The inverted signal controls active low buffers external to the FPGA that
22DS648DB2
)
routes the FPGA data to the DSP. Refer to schematic Figure 14 on page 36.
CDB42448
5.6.3ADC TO AUX SDIN (CS5341->AUX
Default = 0
0 - Enable
1 - Disable
Function:
This bit toggles a control line for the external data buffer to route the external ADC Data directly to the
AUX_SDIN port. When disabled, the FPGA will route the CS8416 SDOUT to the AUX_SDIN port.
5.6.4DAC CLOCKS TO DSP (DAC->DSP
Default = 1
0 - Enable
1 - Disable
Function:
This bit toggles a control line for the external clock buffer to route the DAC sub clocks directly to the
DSP port (see Figure 7 on page 14).
5.6.5ADC CLOCKS TO DSP (ADC->DSP
Default = 1
0 - Enable
1 - Disable
)
)
)
Function:
This bit toggles a control line for the external clock buffer to route the ADC sub clocks directly to the
DSP port (see Figure 7 on page 14).
5.6.6DSP CLOCKS TO DAC (DSP->DAC
Default = 1
0 - Enable
1 - Disable
Function:
This bit toggles a control line for the external clock buffer to route the DSP clocks directly to the DAC
serial port (see Figure 7 on page 14).
5.6.7DSP CLOCKS TO ADC (DSP->ADC
Default = 1
0 - Enable
1 - Disable
Function:
)
)
DS648DB223
CDB42448
This bit toggles a control line for the external clock buffer to route the DSP clocks directly to the ADC
serial port (see Figure 7 on page 14).
This MUX selects the data lines from the ADC’s and the external ADC. The first selection shown in
Table 8 comes directly from data output lines. The last 7 are d e-multiplexed from the TDM data stream
(NOTE: in this latter scenario, the data will need to be re-timed from the TDMer’s sub clocks). Refer
to Figure 4 on page 11.
5.7.2FPGA TO DSP_DAC CLOCKS (FPGA->DSPDAC
)
Default = 0
0 - FPGA Masters DSP_DAC clock bus
1 - FPGA Slave to DSP_DAC clock bus
Function:
This bit toggles a control line for the internal and external clock buffers for the DSP DAC headers (see
Figure 3 on page 10).
5.7.3FPGA TO DSP_ADC CLOCKS (FPGA->DSPADC
)
Default = 1
0 - FPGA Masters DSP_ADC clock bus
1 - FPGA Slave to DSP_ADC clock bus
Function:
This bit toggles a control line for the external clock buffer for the DSP ADC headers (see Figure 3 on
24DS648DB2
page 10).
CDB42448
5.7.4DSP MCLK (MC LK_M/S
Default = 0
0 - DSP MCLK is a slave to the MCLK bus.
1 - DSP MCLK masters MCLK bus.
Function:
Enables/disables the external DSP MCLK output buffer on the MCLK bus.
)
DS648DB225
CDB42448
5.8CS5341 AND MISCELLANEOUS CONTROL (ADDRESS 08H)
76543210
ReservedReservedINT.MCLK_
DIV
5.8.1INT MCLK DIVIDE (1.5/2.0 DIVIDE)
Default = 0
0 - Disabled
1 - Enabled
Function:
Enables/disables the internal (1.5 or 2.0) divide circuitry for MCLK.
5.8.21.5 OR 2.0 MCLK DIVIDE (1.5/2.0 DIVIDE)
Default = 0
0 - Divide by 1.5
1 - Divide by 2.0
INT.DIV_
1.5/2
‘41_MCLK_
DIV
‘41_DIV_
1.5/2
‘41_I²S/LJ‘41_RST
Function:
Divides the internal MCLK by 1.5 or 2 to all internal logic. This is intended to accommodate an external
MCLK that is greater than 256 Fs. SCLK is derived from MCLK and must always be 256Fs in TDM
Mode (see Figure 6 on page 13).
5.8.3EXT MCLK DIVIDE (‘41_MCLK_DIV)
Default = 0
0 - Disabled
1 - Enabled
Function:
Enables/disables the internal (1.5 or 2.0) divide circuitry for the CS5341 MCLK.
5.8.41.5 OR 2.0 CS5341 MCLK DIVIDE (‘41_DIV_1.5/2.0)
Default = 0
0 - Divide by 1.5
1 - Divide by 2.0
Function:
Divides the MCLK from the MCLK bus to the CS5341 by 1.5 or 2 (see Figure 6 on page 13).
5.8.5LEFT-JUSTIFIED OR I
²S INTERFACE FORMAT (‘41_I²S/LJ)
Default = 0
0 - Left Justified
1 - I
²S
26DS648DB2
Function:
CDB42448
Selects either I
5.8.6RESET (‘41_RST
Default = 1
0 - CS5341 is held in reset
1 - CS5341 is taken out of reset
Function:
This bit toggles pin 30 of the FPGA and is held low for 300 µs upon FPGA initialization. It will also be
held low for 300 µs whenever register 08h[1] changes.
²S or Left Justified interface format for the CS5341. Reset to the CS5341 is toggled.
)
DS648DB227
6. CDB CONNECTORS AND JUMPERS
Reference
CONNECTOR
+5VJ2Input
+12VJ5Input
-12VJ4Input
GNDJ3Input
SPDIF OPTICAL OUTJ14Output
SPDIF COAX OUTJ18Output
SPDIF OPTICAL INJ21Input
SPDIF COAX INJ18Input
RS232J7Input/Output
USBJ12Input/Output
DSP Header J25Input/Output
CONTROLJ11Input/Output
USB JTAGJ8Input/Output
FPGA JTAGJ10Input/Output
USB RESETS1Input
FPGA RESETS2Input
AIN1
AIN2
AIN3
AIN4
AIN5-/5B
AIN5+/5A
AIN6-/6B
AIN6+/6A
AIN7
AIN8
AOUT1
AOUT2
AOUT3
AOUT4
AOUT5
AOUT6
AOUT7
AOUT8
Designator INPUT/OUTPUTSIGNAL PRESENT
J37
J27
J22
J17
J15
J13
J9
J6
J28
J38
J47
J48
J49
J50
J51
J52
J53
J54
Input
Input
Output
Table 9. System Connections
CDB42448
+5.0 V Power Supply
+12.0 V Power Supply
-12.0 V Power Supply
Ground Reference
CS8406 digital audio output via optical cable
CS8406 digital audio output via coaxial cable
CS8416 digital audio input via optical cable
CS8416 digital audio input via coaxial cable
Serial connection to PC for SPI / I2C control port signals
USB connection to PC for SPI / I2C control port signals.
Not Available.
I/O for Clocks & Data
I/O for external SPI / I2C control port signals.
I/O for programming the micro controller (U8).
I/O for programming the FPGA (U14).
Reset for the micro controller (U8).
Reset for the FPGA (U14).
RCA phono jacks for analog input signal to CS42448.
RCA phono jacks for analog input signal to CS5341.
RCA phono jacks for analog outputs.
28DS648DB2
JUMPERPURPOSEPOSITIONFUNCTION SELECTED
J1Selects source of voltage for the VA supply+3.3V
AIN1-
(J26)
AIN2-
(J23)
AIN3-
(J19)
AIN4-
(J16)
J29-J36
J39-J46
Selects the negative leg of the single-ended to
differential input circuit in differential mode, or a
VA/2 bias in single-ended mode.
Selects the negative leg of the single-ended to
differential input circuit in differential mode, or a
VA/2 bias in single-ended mode.
Selects the negative leg of the single-ended to
differential input circuit in differential mode, or a
VA/2 bias in single-ended mode.
Selects the negative leg of the single-ended to
differential input circuit in differential mode, or a
VA/2 bias in single-ended mode.
Selects between an active or a passive analog
output filter for AOUT1-8.
SINGLE IN
SINGLE IN
SINGLE IN
SINGLE IN
Table 10. Jumper Settings
*+5V
*DIFF IN
*DIFF IN
*DIFF IN
*DIFF IN
*A
P
Voltage source is +3.3 V regulator
Voltage source is +5 V regulator
Inverted signal from AIN1 input
VA/2 voltage bias
Inverted signal from AIN2 input
VA/2 voltage bias
Inverted signal from AIN3 input
VA/2 voltage bias
Inverted signal from AIN4 input
VA/2 voltage bias
2-Pole Active Filter
Single-Pole Passive Filter
CDB42448
*Default factory settings
DS648DB229
7. CDB BLOCK DIAGRAM
CDB42448
Power
Figure 18 on page 40
Figure 12 on page 34
Serial Control Port
ANALOG INPUT
C/SPI Header
2
I
y Single-Ended to
Single-Ended
y Differential to
Output
y Passive Filter on
Differential Input
Figure 16 on page 38
ANALOG OUTPUT
Figure 17 on page 39
each Leg
AUXILIARY
ANALOG INPUT
Input
Figure 16 on page 38
y Single-Ended
CS5341
Figure 9 on page 31
Figure 16 on page 38
CS42448
MCLK Divided
Data
Clocks/
ADC/DAC
Figure 8. Block Diagram
FPGA
ADC/DAC Clocks & Data
Figure 10 on page 32
MCLK BUS
CS8406
S/PDIF
Output
Clocks/Data
CS8416
Figure 11 on page 33
/Data
Setup
Clocks
Hardware
S/PDIF
Input
Figure 11 on page 33
Osc.
DSP HEADER
Figure 14 on page 36
30DS648DB2
8. CDB SCHEMATICS
CDB42448
Figure 9. CS42448
DS648DB231
CDB42448
Figure 10. FPGA
32DS648DB2
CDB42448
Figure 11. S/PDIF Input & Output
DS648DB233
CDB42448
Figure 12. Control Port
34DS648DB2
CDB42448
Figure 13. Buffers - FPGA Bypass
DS648DB235
CDB42448
Figure 14. Buffers - DSP Routing
36DS648DB2
CDB42448
Figure 15. Analog Inputs
DS648DB237
CDB42448
Figure 16. Auxiliary Input
38DS648DB2
CDB42448
Figure 17. Analog Outputs
DS648DB239
CDB42448
Figure 18. Power
40DS648DB2
9. CDB LAYOUT
CDB42448
Figure 19. Silk Screen
DS648DB241
CDB42448
Figure 20. Topside Layer
42DS648DB2
CDB42448
Figure 21. Bottom side Layer
DS648DB243
10.REVISION HISTORY
RevisionDateChanges
DB1July 2004Initial Release
DB2OCT 2004Removed Bill of Materials
Layer Changes: Corrected silk screen lables for S1, J8, J11 on Figure 19 on
page 41. Changed bottom layer lot number on Figure 21 on page 43.
Table 11. Revision History
CDB42448
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Representative.
To find one nearest you go to www.cirrus.com
IIMPORTANT NOTICE
Cirrus Logic, Inc. and i ts s ub sidi ar ies ( “Ci rru s” ) be li e ve that the in fo rma tio n con tai ne d in t his do cu ment is a ccu rat e a nd r eliable. However, the infor-
mation 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 rel evant informat ion to verif y, before pl acing order s, that info rmation being relied on is c urrent and c omplete. Al l products are
sold subject to the terms and condition s of sale supplied at the time of order ackn owledgment, incl uding those pe rtaining to warrant y, patent infring ement, and limitation of liability. No responsib ility is ass umed by Cirru s for the use of this infor mation, in cludin g 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 doc ument is the property of Cirrus and by furnishing
this information, Cirrus grant s no license, express o r implied under any pat ents, mask work rights, copyrights, trademar ks, trade secrets or other
intellectual property rights. Cirrus owns the copyrights associated with t he information contained herein and gives consent f o r copies to be made of
the information only for use within your organization with respect to Cirrus integrated circuits or other parts of Cirrus. This consent does not extend
to other copying such as copyin g 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, PERSONA L 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, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS (INCLUDING MEDICAL DEVICES, AIRCRAFT SYSTEMS OR COMPONENTS AND PERSONAL OR AUTOMOTIVE SAFETY OR SECURITY DEVICES). 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 WARRANTIE S OF MERCHANTABILITY AND FITNES S 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.
I²C is a registered tradem ar k of P hilip s S em ico nduc tor. Pu rch ase o f I²C co mp onen ts of C irrus Log ic, Inc ., or o ne of its sub lice nsed Associated Companies conveys a license under the Phillips I²C Patent Rights to use those components in a standard I²C system.
Cirrus Logic, Cirrus, the Ci rrus Logic logo des igns, and PopGua rd are trademarks of Cirrus Logic, Inc. All other b rand and product names in this
document may be trademarks or serv ice marks of their respective owners.
Windows® is a registered trademark of Micros oft Corporation.
44DS648DB2
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.