Cirrus Logic CDB5345 User Manual

Evaluation Board for CS5345
CDB5345

Features

z Single-ended Analog Inputs z Single-ended Analog Outputs z CS8406 S/PDIF Digital Audio Transmitter z Header for Optional External Software
Configuration of CS5345
z Header for External PCM Serial Audio I/O z 3.3 V Logic Interface z Pre-defined Software Scripts z Demonstrates Recommended Layout and
Grounding Arrangements
z Windows
to Configure CS5345 and Inter-board Connections
ORDERING INFORMATION
CDB5345 Evaluation Board
®
Compatible Software Interface

Description

The CDB5345 evaluation board is an excellent means for evaluating the CS5345 ADC. Evaluation requires an analog signal source and analog/digital analyzer, and power supplies. A Windows must be used to evaluate the CS5345.
System timing for the I²S, Left-Justified and Right-Justi­fied interface formats can be provided by the CS5345, the CS8406, or by a PCM I/O stake header with an ex­ternal source connected.
RCA phono jacks are provided for the CS5345 analog in­puts and outputs. Digital data input is available via RCA phono or optical connectors to the CS8406.
The Windows
®
software provides a GUI to make config­uration of the CDB5345 easy. The software communicates through the PC’s serial port to configure the control port registers so that all features of the CS5345 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.
®
PC compatible computer
I
Cirrus Logic, Inc.
www.cirrus.com
Passive Input Filter
Active Input Filter
Microphone Input
Control Port Interface
M U
X
CS5345
FPGA
Sub-clocks and Data
Copyright © Cirrus Logic, Inc. 2005
(All Rights Reserved)
Active Output Filter
Test Points
Master Clock
Canned
Oscillator
Header
CS8406
FEB ‘05
DS658DB1

TABLE OF CONTENTS

1. SYSTEM OVERVIEW ............................................................................................................... 4
1.1 Power ..... ....................................... ... ... ... ....................................... ... .... ... ... ........................4
1.2 Grounding and Power Supply Decoupling ......................................................................... 4
1.3 CS5345 Audio ADC ...........................................................................................................4
1.4 CS8406 Digital Audio Transmitter ......................................................................................4
1.5 FPGA .................................................................. .... ... ... ... .... ... ... ........................................ 4
1.6 Canned Oscillator ......................................... ... ... .... ... ... ... ....................................... ... ........ 4
1.7 External Control Headers ...................................................................................................5
1.8 Analog Inputs ............ .... ... ... ....................................... ... ... .... ..............................................5
1.9 Analog Outputs ....................................................................... ... ... ... .... ... ... ........................5
1.10 Serial Control Port ............................................................................................................ 5
1.11 USB Control Port ............................................................................................................. 5
2. SYSTEM CLOCKS AND DATA ................................................................................................ 6
2.1 Clock Routing ................................... ... ... ....................................... ... .... ... ...........................6
2.2 Data Routing ............. .... ... ... ... .... ...................................... .... ... ... ... ... .... ..............................6
3. PC SOFTWARE CONTROL ..................................................................................................... 7
3.1 CDB5345 Controls Tab ....... ... .... ... ... ... .......................................... ..................................... 7
3.2 Register Maps Tab ..................................... ... ... ... .... ... ... ....................................... ... ... ... ..... 8
3.3 Pre-Configured Script Files . ... .... ... ... ... ... .... ... ... ....................................... ... ... .... ... ... ... ... .....8
3.3.1 Oscillator Clock - ADC Ch 1 In to In to SPDIF & PGA Out .............................. .... . 8
3.3.2 Oscillator Clock - ADC Ch 2 In to In to SPDIF Out .................... ... ... .... ... ... ... ... .....9
4. FPGA REGISTER QUICK REFERENCE ...............................................................................10
5. FPGA REGISTER DESCRIPTION .........................................................................................11
6. CDB CONNECTORS, JUMPERS, AND SWITCHES .............................................................13
7. CDB BLOCK DIAGRAM ..................................................................................................... 15
8. CDB SCHEMATICS ............................................................................................................... 16
9. CDB LAYOUT ........................................................................................................................ 24
10. REVISION HISTORY ............................................................................................................ 27
CDB5345
2 DS658DB1

LIST OF FIGURES

Figure 1. CDB5345 Controls Tab.................................................................................................... 7
Figure 2. Register Maps Tab........................................................................................................... 8
Figure 3. Block Diagram................................................................................................................ 15
Figure 4. CS5345.......................................................................................................................... 16
Figure 5. Analog Inputs................................................................................................................. 17
Figure 6. Analog Outputs.............................................................................................................. 18
Figure 7. S/PDIF Output................................................................................................................ 19
Figure 8. Control Port.................................................................................................................... 20
Figure 9. FPGA............................................................................................................................. 21
Figure 10. Discrete Clock Routing and Level Shifting................................................................... 22
Figure 11. Power........................................................................................................................... 23
Figure 12. Silk Screen................................................................................................................... 24
Figure 13. Topside Layer.............................................................................................................. 25
Figure 14. Bottom side Layer........................................................................................................ 26

LIST OF TABLES

Table 1. MCLK Source.................................................................................................................. 11
Table 2. Subclock Source............................................................................................................. 12
Table 3. CS8406 SDIN Source.....................................................................................................12
Table 4. System Connections.............................................................. ... ... ... .... ... ... ... .... ............... 13
Table 5. System Jumper Settings..................................................................... ... ... ... .... ... ............14
Table 6. Revision History.............................................................................................................. 27
CDB5345
DS658DB1 3
CDB5345

1. SYSTEM OVERVIEW

The CDB5345 evaluation board is an excellent means for evaluating the CS5345 ADC. Analog and digital audio sig­nal interfaces are provided, an on-board FPGA is used for easily configuring the evaluation platform, and a 9-pin serial cable is included for use with the supplied Windows
The CDB5345 schematic set is shown in Figures 4 through 11. The CDB5345 is assembled on the printed wire board designed for the CDB4245, with a number of components un-populated. These un-populated components have been removed from the included schematic set for clarity. For a complete schematic set, see the CDB4245 data sheet.

1.1 Power

Power must be supplied to the evaluation board through the red +5.0V binding post. On-board regulators provide 3.3 V, 2.5 V, and 1.8 V supplies. Appropriate supply levels for powering VA, VD, VLS, and VLC are set by a series of jumpers (see Table 5 on page 14). All voltage inputs must be referenced to the single black binding post ground connector (see Table 4 on page 13).
WARNING: Please refer to the CS5345 data sheet for allowable voltage levels.

1.2 Grounding and Power Supply Decoupling

The CS5345 requires careful attention to power supply and grounding arrangements to optimize perfor­mance. Figure 3 on page 15 provides an overview of the connections to the CS5345. Figure 12 on page 24 shows the component placement. Figure 13 on page 25 shows the top layout. Figure 14 on page 26 shows the bottom layout. The decoupling capacitors are located as close to the CS5345 as possible. Extensive use of ground plane fill in the evaluation board yields large reductions in radiated noise.
®
configuration software.

1.3 CS5345 Audio ADC

A complete description of the CS5345 is included in the CS5345 product data sheet. The required configuration settings of the CS5345 are made in its control port registers, accessible through
the CS5345 tab of the Cirrus Logic FlexGUI softwar e. Clock and data source selections are made through the control port of the FPGA. Basic routing selections
can be made using the CS5345 Controls tab in the GUI software application. Advanced options are acces­sible through the Board Configuration sub-tab on the Register Maps tab of the Cirrus Logic FlexGUI soft­ware. Refer to the FPGA register descriptions sections beginning on page 11.

1.4 CS8406 Digital Audio Transmitter

A complete description of the CS8406 transmitter (Figure 7 on page 19) and a discussion of the digital audio interface are included in the CS8406 data sheet.
The CS8406 converts the PCM data generated by the CS5345 to the standard S/PDIF data stream. The CS8406 can operate in either master or slave mode, accepts 128 Fs, 256 Fs, 384 Fs, and 512 Fs master clocks on the OMCK input pin, and can operate in the Left-Justified, I²S, Right-Justified 16-bit, and Right­Justified 24-bit interface formats.
The most common operations of the CS8406 may be controlled via the CDB5345 Controls tab in the GUI software application. Advanced option s are accessibl e through the CS8406 sub-tab on the Register Maps tab of the Cirrus Logic FlexGUI software.

1.5 FPGA

The FPGA handles both clock and data routing on the CDB5345. Clock and data routing selections made via the CDB5345 Controls tab in the GUI will be handled by the FPGA with no user interv ention required. For advanced information regarding the internal registe rs and oper ation of the F PGA, see sections 4 and 5 beginning on page 10.

1.6 Canned Oscillator

A canned oscillator, Y1, is available to provide a master clock source to the CDB5345.
4 DS658DB1
The oscillator is mounted in pin sockets, allowing easy removal or replacement. The board is shipped with a 12.2880 MHz crystal oscillator populated.

1.7 External Control Headers

The evaluation board has been designed to allow interfacing with external systems via the headers J10, and J17.
The 8-pin, 2 row header, J10, provides access to the serial audio signals required to interface to the serial audio port of the CS5345 with a DSP (see Figure 10 on page 22).
The direction of the signals on header J10 can be configured using the controls located within the Board Controls group box on the CDB5345 Controls tab in the provided GUI software.
The 15-pin, 3 row header, J17, allows the user bidirectional access to the SPI/I removing all the shunt jumpers from the “PC” position. The user ma y then choose to connect a ribbon cable to the “EXTERNAL CONTROL” position. A single “GND” row for the ribbon cable’s ground connection is pro­vided to maintain signal integrity. Two unpopulated pull-up resistors are also available should the user choose to use the CDB for the I
2
C power rail.

1.8 Analog Inputs

RCA connectors supply the CS5345 analog inputs through single-ended, unity gain, active or passive cir­cuits. Refer to the CS5345 data sheet for the ADC full-scale level.
A 4-pin CD-ROM type header is provided for easily connecti ng the analog outputs from a CD-ROM drive to the analog inputs of the CS5345.
CDB5345
2
C control signals by simply

1.9 Analog Outputs

The CS5345 PGA analog outputs are routed through a two-pole active filter. The output of the filter is con­nected to RCA jacks for easy evaluation.

1.10 Serial Control Port

A graphical user interface is included with the CDB5345 to allow easy manipulation of the registers in the CS5345, CS8406, and FPGA. See the device-specific data sheets for the CS5345 and CD8406 internal reg­ister descriptions. The internal register map for the FPGA is located in section 4 on page 10.
Connecting a cable to the RS-232 connector (J42) and launching the Cirrus Logic FlexGUI software (Flex­Loader.exe) will enable the CDB5345.
Refer to “PC Software Control” on page 7 for a description of the Graphical User Interface (GUI).

1.11 USB Control Port

The USB control port connector (J37) is currently unavailable.
DS658DB1 5
CDB5345

2. SYSTEM CLOCKS AND DATA

The CDB5345 implements comprehensive clock routing capabilities. Configuration of the clock routing can be easily achieved using the controls within the Board Controls group box on the CDB5345 Controls tab in the GUI software application.

2.1 Clock Routing

The master clock signal (MCLK) may be sourced from the canned oscillator (Y1) or the PCM1 I/O header (J10)
The sub-clock signals (SCLK and LRCK) may be sourced from the CS5345 in m aster mode, th e CS8406 in master mode, or the PCM1 I/O header.
Clock routing configuration is a chieved using the MCLK Source and Subclock Source controls within the Board Controls group box on the CDB5345 Controls tab in the GUI software application.

2.2 Data Routing

The serial data output of the CS5345 is routed to both the CS8406 S/PDIF transmitter and the PCM1 I/O header. No user configuration of the serial data routing is required.
6 DS658DB1
CDB5345

3. PC SOFTWARE CONTROL

The CDB5345 is shipped with a Microsoft Windows® based graphical user interface which allows control over the CS5345, CS8406, and FPGA. The board control software communicates with the CDB5345 over the RS-232 inter­face using the PC’s COM1 port.
To use the board control software, the contents of the included CD-ROM should fir st be copied to a directory on the PC’s local disk. If applied, the Read Only attribute should be removed from all files. Once the appropriate cable has been connected between the CDB5345 and the host PC, load FlexLoader.exe from the Software directory. When the software loads, all devices will be reset to their default reset state.
The GUI’s File menu provides the ability to save a nd load script file s contain ing all o f t he registe r setting s. Pr e-con­figured script files are provided for basic functionality. Refer to “Pre-Configured Script Files” on page 8 for details.

3.1 CDB5345 Controls Tab

The CDB5345 Controls tab provides a high-level intuitive interface to many of the configuration options of the CS5345 and CDB5345. The controls within the ADC/PGA Controls grou p box control the inter nal regis­ters of the CS5345. The controls within the Board Cont rols group box co ntrol the board level clock and data routing on the CDB5345.

Figure 1. CDB5345 Controls Tab

DS658DB1 7

3.2 Register Maps Tab

The Register Maps tab provides low level control over the register level settings of the CS5345, CS8406, and FPGA. 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. Fo r byte-wise, the desired h ex value can be typed directly in the register address box in the register map.
CDB5345

Figure 2. Register Maps Tab

3.3 Pre-Configured Script Files

Pre-configured script files are provided with the CDB5345 to allow easy initial board bring-up. The board configurations stored within these files are described in sections 3.3.1 - 3.3.2.

3.3.1 Oscillator Clock - ADC Ch 1 In to In to SPDIF & PGA Out

Using the pre-configured script file named “Oscillator Clock - ADC Ch 1 In to SPDIF & PGA Out.txt”, an an­alog input signal applied to channel 1 of the CS5345 input multiplexer will be digitized by the ADC, transmit­ted in S/PDIF format by the CS8406, and will be output through the active output filter and RCA jacks.
The canned oscillator is the source of MCLK. The CS5345 is the sub-clock master to the CS8406 and the PCM1I/O header.
8 DS658DB1
CDB5345

3.3.2 Oscillator Clock - ADC Ch 2 In to In to SPDIF Out

Using the pre-configured script file named “Oscillator Clock - ADC Ch 2 In to SPDIF Out.txt”, an analog input signal applied to channel 2 of the CS5345 input multiplexer will be digitized by the ADC and transmitted in S/PDIF format by the CS8406. No signal will be output through the active output filter and RCA jacks.
The canned oscillator is the source of MCLK. The CS5345 is the sub-clock master to the CS8406 and the PCM1I/O header.
DS658DB1 9
Loading...
+ 18 hidden pages