interface to configure CS424xx and interboard connections
I
Description
The CDB42428 demonstration board is an excellent
means for evaluating the CS424xx family of highly integrated multi-channel CODECs. Evaluation requires an
analog/digital signal source and analyzer, Windows®
compatible computer, and power supplies.
System timing can be provided by an on-board oscillator
or a master clock recovered from the S/PDIF input to the
CS8416. RCA phono jacks are provided for the CS5361
analog inputs and CS424xx analog inputs and outputs.
Digital data I/O is available via RCA phono jacks or optical connectors to the CS8416 and from the CS8406.
The Windows® software provides a graphical user interface to make configuration of the board easy. The
software communicates through the computer’s parallel
port, and will configure the hardware to allow all features
of the CS424xx to 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.
ORDERING INFORMATION
CDB42428Evaluation Board
Ana log Inputs
Ana log Inputs
Analog O utputs
Cirrus Logic, Inc.
http://www.cirrus.com
CS5361
(x2)
Analog
Filter
8-ch
Analog
Output
Mute
+18V-18V+5VGND
C S 42428
CPLD
PC Parallel Port
Copyright Cirrus Logic, Inc. 2003
(All Rights Reserved)
Ext. Control
DSP Header
CS8406
CS8416
S/PDIF Output
S/PDIF Input
Nov ‘03
DS605DB1
1
TABLE OF CONTENTS
1. SYSTEM OVERVIEW ...............................................................................................................4
The CDB42428 demonstration board is an excellent means for evaluating the CS42428/26/18/16 family of highly
integrated CODECs. Analog and digital audio signal interfaces are provided, as well as a DB-25 computer parallel
port interface for use with the supplied Windows® configuration software.
The CDB42428 schematic set has been partitioned into 14 pages as shown in Figures 3 through 16.
1.1CS424xx
A complete description of each member of the CS42428/26/18/16 family is included in each respective product data
sheet.
1.2CS8406
The CS8406 S/PDIF transmitter on the demonstration board (see Figure 5) allows the performance of the CS424xx
internal ADC’s to be measured digitally. Either the CS424xx DAC port or the ADC port can be multiplexed to the
CS8406. The CS8406 transmitter is configured to operate in slave mode only, and will receive the required clocks
from the CS424xx. The data format for the CS8406 is selectable and must match that of its source. The CS8406
must be configured using the supplied software.
1.3CS8416
The CS8416 S/PDIF receiver on the demonstration board (see Figure 5) allows the performance of the CS42428
internal DAC’s to be evaluated through the use of a digital (S/PDIF) input source. The CS8416 receiver interfaces
with the DSP header and can be configured to master the CS424xx DAC and ADC as well as the CS8406. The data
format is selectable and must match that of the CS424xx. The CS8416 must be configured using the supplied software.
1.4CS5361
There are two CS5361 A/D converters on the CS424xx demonstration board (see Figures 6 and 7). These converters supply the CS424xx ADCIN signals, and must operate in left-justified, 24-bit mode only. Their serial data outputs
are used when supporting the CS424xx One Line Mode of operation.
RCA analog connectors supply the inputs to each CS5361 channel through a unity gain, AC-coupled, single-todif ferential circuit. Each CS5361 input circuit is biased to 1/2 VA, and a 1V
scale. The CS5361 converters are set to operate in slave mode and will receive their clocks from the CS424xx. The
SCLK and LRCK signals can be provided from either the CS424xx DAC or ADC port, and must be selected using
the configuration software.
signal will drive the converter to full
RMS
1.5Crystal Oscillator
Oscillator Y1 (see Figure 4) provides the System Clock (OMCK) for the CS424xx. The crystal oscillator on the board
is mounted in pin sockets that allow it to be removed or replaced. The board is shipped with a 24.576 MHz crystal
oscillator stuffed at Y1. Please refer to the CS424xx data sheet for details on OMCK operation.
The buffer on the output of the oscillator provides for signal level shifting to the proper VLS supply. This buffer can
be removed if the oscillator is powered from the same VLS voltage source as the codec.
Oscillator Y2 provides the OMCK clock for the CS8416. Please refer to the CS8416 data sheet for details on automatic clock switching operation.This oscillator is not populated.
1.6Analog Input
RCA phono connectors supply the CS424xx analog inputs through unity gain, AC-coupled single-to-differential circuits (see Figure 8). Each input circuit is biased to match the 2.7V
the CS424xx converter to full scale.
VQ, and a 1V
DC
differential signal will drive
RMS
1.7Analog Outputs
Each CS424xx analog output is routed through a differential to single-ended, unity-gain low pass filter, which is ACcoupled to an RCA phono jack (see Figures 9 through 12). The analog output filter on the CDB42428 has been designed to add flexibility when evaluating the CS424xx DAC outputs. The output filter was designed in a two stage
format, with the first stage being an optional instrumentation amplifier, and the second stage a 2-pole butterworth
low pass filter.
4
CDB42428
The 2-pole low pass filter provides an example of an inexpensive circuit with good distortion and dynamic range performance. It is designed to have the in-band impedance matched between the positive and negative legs. It also
provides a balanced to single-ended conversion for standard un-balanced outputs. Evaluate this circuit by placing
the FILT jumpers (three per output channel) to position 1 (selectable by J9, J10 & J11 for OUTA1, etc.).
The instrumentation amplifier is optionally inserted before the LPF by changing the FILT jumpers to position 2. The
instrumentation amplifier incorporates a 5x gain (+14dB) which effectively lowers the noise contribution of the following 2-pole LPF. This improves the overall dynamic range of the system. The gain of this stage is determined from
the following equation:
Gain1
The resistor designated by R
feedback resistors on the two sides of the instrumentation amp ‘R’ must be equal.
(see Figure 1) can be adjusted to change the gain of the instrumentation amp. The
2
2R()
------------+=
R
2
IN+
R
R2
R
IN-
Figure 1. Instrumentation Amplifier Configuration
A resistor divider pad (parallel combination of R59 // R56 // R80 and R93 for AOUTA1) has been placed after the
low pass filter to bring the circuit back to unity gain (selectable with jumper J12 for AOUTA1).
In the resistor divider pad, three 3.01 kΩ, 1/4 W, 1210 size resistors are used in parallel to provide a combined resistance of 1 kΩ and a combined power handling of 3/ 4W. This is done to provide sufficient power handling capability to accommodate the high signal levels output from the instrumentation amplifier stage. When not using the
instrumentation amplifier, these resistors may be reduced to a single 1kΩ, 1/10 W, 0805 size resistor (for muting
attenuation purposes).
In certain places throughout the output circuit, 1 /8W, 1206 size and 1/4W, 1210 size resistors are used. Similar to
the parallel resistors in the resistor divider pad, these are used to provide sufficient power handling capability in order
to accommodate the high signal levels output from the instrumentation amplifier stage. When not using the instrumentation amplifier, these resistors may all be replaced with 1/ 10W, 0805 size resistors.
The attenuation provided by the output mute transistor (Q2 for OUTA1) is determined by the resistor-divider formed
between the collector-emitter on-resistance and the output resistor of the LPF. The greater the output resistor, the
greater the attenuation will be for a given transistor. The trade off is that a high output impedance is not usually desirable, and may affect the voltage transfer to the next stage based upon its input impedance.
The same resistor that affects the transistor mute level also affects the HPF formed with the output DC-block capacitor (C71 for OUTA1). For LPF configuration 2, the values for the DC-block capacitor and output resistor pad were
chosen to give uniform distortion performance across the audio bandwidth, particularly at low frequency. The HPF
formed by this R-C pair must be such that the voltage across the aluminum electrolytic DC-block capacitor must be
a minimum at 20 Hz. This keeps the distortion due to the electrolytic's dielectric absorption properties to a minimum.
For a design utilizing only LPF configuration 1, there is no post-LPF resistor-divider pad, and a much smaller value
capacitor can be used.
OUT+
OUT-
5
CDB42428
1.8CPLD
The CPLD controls the on-board signal routing and configuration (see Figure 14). The CPLD interfaces with the
computer software through the DB-25 parallel port header, or can communicate with an external processor via the
External Control header.
1.9DB-25 Computer Parallel Port
On-board clock and data routing and configuration logic, as well as the CS424xx part are configured using a computer with the supplied Windows®-based software. The software communicates via the DB-25 parallel port interface
(see Figure 13) to a local CPLD that can configure all parts on the board.
1.10External Control Header
A 26-pin dual-row header allows access to the control signals needed to configure the CS424xx. The external controller has access to the CS424xx I
able (see Figure 13). All control header signals are buffered, and are referenced to VLC levels. See Table 3 for a
complete description of External Control Header signals.
1.11DSP Header
A 32-pin dual-row header provides access to the serial audio signals required to interface with a DSP (see Figure 4).
Either the CS42428 (using the PLL recovered from the input ADC_LRCK or the OMCK oscillator), the CS8416 or
the DSP header can be the master of the MCLK signal. The CS8416 can supply the DSP header with its recovered
master clock (RMCK), or pass the local oscillator-sourced OMCK (of the CS8416).
The CS424xx ADC and DAC ports are individually selectable to be master or slave, and should source/receive their
clocks to/from the DSP as required. All serial port timings must be synchronous to the CS424xx OMCK or RMCK whichever is used to clock the codec. See the data sheet for a complete description of serial port modes of operation.
All DSP header signals are buffered, and are referenced to VLS levels. DSP interface power VLS and ground are
supplied to the header. See Table 4 for a complete description of DSP Header signals.
2
C/SPI signals, master mute and reset, and the CS424xx interrupt signal is avail-
1.12LED Function Indicator
D1 (see Figure 13) indicates that a master reset condition has occurred on the board. D4 (see Figure 14) is sourced
from the CPLD and is currently unsupported.
1.13Power
Power can easily be supplied to the evaluation board through three binding posts, all referenced to the single black
binding post ground connector (see Figure 15).
Supply +18.0 VDC to the green binding post to provide the positive analog rail. Supply -18.0 VDC to the yellow binding post to provide the negative analog rail. +18 V and -18 V supply power to the op-amps and can be +/-12 to +/18 volts (must be +/-18 V when filter 2 is selected).
Supply +5.0 VDC to the red binding post. This directly supplies the digital +5 V, is regulated down to provide the
digital +3.3 V, and is filtered to supply VLC, and VA.
VLS and VD must be individually set with jumpers to either +3.3 V or +5 V.
1.14Grounding and Power Supply Decoupling
The CS424xx requires careful attention to power supply and grounding arrangements to optimize performance.
Figures 18 and 19 detail the routing and component placement for both top and bottom layers of the demonstration
board. Power supply decoupling capacitors are located as close to the CS424xx as possible. Extensive use of
ground plane fill in the demonstration board yields large reductions in radiated noise.
CONNECTORINPUT/OUTPUTSIGNAL PRESENT
+5VInput+ 5VDC power
-18VInput-18 to -12 VDC negative supply for the op-amps
+18VInput+12 to +18 VDC positive supply for the op-amps
GNDInputGround connection from power supply
J39InputCS8416 digital audio interface input via coax
Table 1. System Connections
6
CDB42428
OPT4InputCS8416 digital audio interface input via optical
SPDIF TX - J2OutputCS8406 digital audio interface output via coax
SPDIF TX - OPT2OutputCS8406 digital audio interface output via optical
PC Port - J22Input/Output
EXTERNAL CONTROL
Input/Output
Parallel connection to computer for SPI / I
2
I/O for SPI / I
C control port signals - see signal descriptions below
HEADER - J17
DSP HEADER - J36Input/OutputI/O for DSP serial port signals - see signal descriptions below
ANALOG IN LFT/RTInput
RCA phono jacks for analog input signal to CS424xx internal ADCs
EXT A/D #1 LEFT/RIGHTInputRCA phono jacks for analog input signal to CS5361 ADC #1
EXT A/D #2 LEFT/RIGHTInputRCA phono jacks for analog input signal to CS5361 ADC #2
OUT_A1 to OUT_B4OutputRCA phono jacks for channels A1 to B4 analog outputs
Table 1. System Connections
JUMPER / SWITCHPURPOSEPOSITIONFUNCTION SELECTED
J37Selects source of voltage for the
VLS supplies
J38Selects source of voltage for the
VD supply
S2Stand-Alone Mode SelectSAM0
J9,J10,J11
DAC Output Filter select - FILT*1
+3.3 V
*+5 V
+3.3 V
*+5 V
SAM1
Voltage source is +3.3 V regulator
Voltage source is +5 V binding post
Voltage source is +3.3 V regulator
Voltage source is +5 V binding post
Stand-Alone Modes are for debug use
and are presently unsupported
Selects standard 2-pole LPF
J13,J15,J16
J18,J19,J20
1External Control Present SignalCTRLEXT_CONTROL_PRESENT---
2GroundCDBGND--
3
Address Bit 0 (I
4GroundCDBGND--
5
Address Bit 1 (I
6GroundCDBGND--
7
SDA (I
8GroundCDBGND--
9Serial Control Port ClockCTRLSCL/CCLK74VHC125VLC
Signal DescriptionSourceSchematic Signal NameBufferBuffer
2
C) / CS- (SPI)
2
C) / CDIN (SPI)
2
C) / CDOUT (SPI)
CTRLAD0/CS74VHC125VLC
CTRLAD1/CDIN74VHC125VLC
CTRL or CS424xx
SDA/CDOUTMOSFETVLC
Table 3. CS424xx External Control Header Signals
Vol t a ge
7
CDB42428
Header
Pin #
10GroundCDBGND--
11Master MUTE to all OutputsCTRLEXT_MUTE74VHC125VLC
12GroundCDBGND--
13Master RESETCTRLEXT_RESETDiode-
14GroundCDBGND--
15
CS424xx Interrupt (Programmable)CS424xx
16GroundCDBGND--
17
Enable external I
18GroundCDBGND--
19
Enable external I
20GroundCDBGND--
Signal DescriptionSourceSchematic Signal NameBufferBuffer
EXT_HDR_INT74VHC125VLC
2
C interface
2
C interface
Table 3. CS424xx External Control Header Signals (Continued)
CTRLEXT_EN_SCL74VHC125VLS
CTRLEXT_EN_SDA74VHC125VLS
Vol t a ge
8
1.16DSP Header Signals
CDB42428
Header
Pin #
1Master Clock
2GroundCDBGND--
3DAC port LRCK
4GroundCDBGND--
5DAC port SCLK
6GroundCDBGND--
7DAC port SDATA Input 1DSPDSP_SDAT174VHC125VLS
8GroundCDBGND--
9DAC port SDATA Input 2DSPDSP_SDAT274VHC125VLS
10GroundCDBGND--
11DAC port SDATA Input 3DSPDSP_SDAT374VHC125VLS
12GroundCDBGND--
13DAC port SDATA Input 4DSPDSP_SDAT474VHC125VLS
14GroundCDBGND--
15no connect----
16GroundCDBGND--
Signal DescriptionSourceSchematic
Signal Name
CS424xx or DSP
CS424xx or DSP
CS424xx or DSP
DSP_MCLK74VHC125VLS
DSP_DAC_LRCK74VHC125VLS
DSP_DAC_SCLK74VHC125VLS
BufferBuffer
Vol t a ge
17ADC port LRCK
18GroundCDBGND--
19ADC port SCLK
20GroundCDBGND--
21no connect----
22GroundCDBGND--
23ADC port SDATA Output
24GroundCDBGND--
25Unused Buffered Output
26GroundCDBGND--
27No Connect----
28GroundCDBGND--
29Serial Port Interface PowerCDBVLS--
30GroundCDBGND--
31Serial Port Interface PowerCDBVLS--
32GroundCDBGND--
Table 4. CS424xx DS P Header Signals
CS424xx or DSP
CS424xx or DSP
CS424xx
-
DSP_ADC_LRCK74VHC125VLS
DSP_ADC_SCLK74VHC125VLS
DSP_ADC_SDOUT74VHC125VLS
-74VHC125VLS
9
CDB42428
2. INITIAL BOARD SETUP
2.1Power Supplies:
1) Verify that all power supplies are off before making connections.
2) Connect a +5.0 VDC power supply to the +5 V (J48) red binding post. Select VLS and VD operating voltage by
placing a jumper on J37 and J38 to select either +5 V or +3.3 V.
3) Connect a +12.0 to +18.0 VDC power supply to the +18 V (J50) green binding post. If using the FILT position
number 2 for the output filter stage, then supply +18.0 V only.
4) Connect a -12.0 to -18.0 VDC power supply to the -18 V (J51) yellow binding post. If using the FILT position
number 2 for the output filter stage, then supply -18.0 V only.
5) Connect the common ground of the power supplies to the GND (J49) binding post.
6) Attach parallel port cable between board and computer.
7) Attach all required analog and digital cables to the board jacks and connectors.
8) If using the DSP Header connection, attach the required user supplied flat ribbon cable to the header with the
power supplies turned off.
9) If using the External Control Header connection, attach the required user supplied flat ribbon cable to the header
with the power supplies turned off. Note that external controller must ground the EXT_CONTROL_PRESENTsignal to gain control of the I
1 and 2 together.
10) With all cables and connections in place, turn on the power supplies to the board. Turn on supplies in this order:
+5 V, +18 V, -18 V.
11) Press and release the MASTER RESET switch S1. The LED, D1, will illuminate as long as S1 is depressed indicating a reset condition. Once S1 is released, the LED should turn off. If it remains on, an error has occurred.
At this point, power off the power supplies and re-check all connections. Apply power to the board and press
and release S1. Once the LED has turned off, the board should now be ready for setup and use.
2
C/SPI signals. This can be done easily by connecting External Control Header pins
2.2Installing the Software:
1) Copy the “CDB GUI” folder and all of its contents from the included CD to a convenient location on your PC.
2) If desired, create a shortcut to CDB425xx.EXE on your desktop. You should now be able to run CDB425xx.EXE.
Double-click on CDB425xx.EXE or its shortcut. Note that the software will configure itself to operate with a
CDB424xx depending upon which is connected to the parallel port.
3) Select the LPT port you are using to connect to the CDB42428.
4) Shut down the application, reset the board, and then restart the application.
10
Loading...
+ 22 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.