Cirrus Logic CDB42L55 User Manual

Evaluation Board for CS42L55
CDB42L55
Features
Line-level Analog Inputs
4 RCA Input Jacks
Line-Level & HP Analog Output
Outputs
S/PDIF Interface
CS8416 Digital Audio Receiver – CS8406 Digital Audio Transmitter
I/O Stake Headers and SMA Connectors
External I²C – External DSP Serial Audio I/O Accessibility – Direct DSP Serial Audio I/O accessibility
with CS42L55 through SMA connectors
Multiple Power Supply options via USB, Battery
or External Power Supplies
1.65 V to 3.3 V Logic InterfaceFlexGUI S/W Control - Windows
Pre-defined & User-configurable Scripts
Control Port Accessibility
®
Compatible
Description
The CDB42L55 is the ideal evaluation platform solution to test and evaluate the CS42L55.The CS42L55 is a highly integrat­ed, 24-bit, ultra-low-power stereo CODEC based on multi-bit Delta-Sigma modulation suitable for low-power portable sys­tem applications. Use of the board requires an analog or digi­tal signal source, an analyzer, and power supplies. A Windows PC-compatible computer is also needed in order to configure the CS42L55 and the board.
System timing can be provided by the CS8416 S/PDIF Re­ceiver, by the CS42L55 supplied with a master clock, or via an I/O stake header with a DSP connected.
RCA connectors are provided for CS42L55 analog inputs and HP/Line outputs. A 1/8 inch audio jack is provided for head­phone stereo out. Digital I/O connections are available via RCA phono or optical connectors to the CS8416 and CS8406 (S/PDIF Rx and Tx).
The CDB42L55 is programmed via the PC’s USB using Cirrus Logic’s Microsoft evaluation board may also be configured to accept external timing and data signals for operation in a user application dur­ing system development.
Ordering Information
CDB42L55 Evaluation Board
®
Windows®-based FlexGUI software. The
PC Control Board Power
Serial
USB
S/PDIF Rx
S/PDIF Tx
I/O Stake Headers for Audio
Precision’s Programmable Serial
Interface Adapter (PSIA)
http://www.cirrus.com
External 5.0 V
Supply
I²C for all
applicable
devices
PLL
FPGA
Clock/Data Routing Clock dividers and PLL used
to derive all applicable Fs from 24 MHz oscillator
SRC (Tx)
SRC (Rx)
LDO’s
1.8 V
LDO
24 MHz
Oscillator
3.3 V
Tri-state
Buffers
I/O SMA Connectors
for External System
3.3 V (VL only)
Interface
2.5 V
Circuit Break for External System
Interface
PCM Clocks/Data
I²C Clocks/ Data
Copyright © Cirrus Logic, Inc. 2008
(All Rights Reserved)
CODEC Power
VL, VCP, VLDO, VA
MUX
Stereo HP
HP
Output
Jack
1.8 V
CS42L55
Buck
Stereo Line
Output
x3
AAA Alkaline
(not included)
Stereo Input 1
Stereo Input 2
DEC '08
DS773DB1
CDB42L55

TABLE OF CONTENTS

1. QUICK START GUIDE ........................................................................................................................... 4
2. SYSTEM OVERVIEW ............................................................................................................................. 5
2.1 Control Port and Board Configuration ...................................................................... ... ... .... ... ... ........ 5
2.2 Power ............................................................................................................................................... 5
2.3 Digital Input ....................................................................................................................................... 5
2.3.1 CS8416 S/PDIF Digital Audio Receiver .................................................................................. 5
2.3.2 CS8421 Sample Rate Converter (Tx SRC to CS42L55) ......................................................... 6
2.4 Digital Output .................................................................................................................................... 6
2.4.1 CS8406 S/PDIF Digital Audio Transmitter .............................................................................. 6
2.4.2 CS8421 Sample Rate Converter (Rx SRC from CS42L55) .................................................... 6
2.5 FPGA ................................................................................................................................................ 6
2.6 Oscillator ........................................................................................................................................... 7
2.7 CS42L55 Audio CODEC .................................................................................................................. 7
3. CONFIGURATION OPTIONS ................................................................................................................. 8
3.1 S/PDIF or PSIA In to Analog Out ...................................................................................................... 8
3.2 Analog In to S/PDIF or PSIA Out ...................................................................................................... 9
4. SOFTWARE MODE CONTROL.......................................................................................................... . 10
4.1 Board Configuration Tab ................................................................................................................ 11
4.2 CODEC Configuration Tab ............................................................................................................. 12
4.3 Analog Input Volume Tab ............................................................................................................... 13
4.4 DSP Engine Tab ............................................................................................................................. 14
4.5 Analog Output Volume Tab ............................................................................................................ 15
4.6 Register Maps Tab ......................................................................................................................... 16
5. SYSTEM CONNECTIONS AND JUMPERS ........................................................................................ 17
6. PERFORMANCE PLOTS ..................................................................................................................... 19
7. CDB42L55 BLOCK DIAGRAM ............................................................................................................ 24
8. CDB42L55 SCHEMATICS ................................................................................................................... 25
9. CDB42L55 LAYOUT ............................................................................................................................ 30
10. REVISION HISTORY .......................................................................................................................... 35
2 DS773DB1

LIST OF FIGURES

Figure 1.Quick Start Board Layout .............................................................................................................. 4
Figure 2.S/PDIF or PSIA In to Analog Out .................................................................................................. 8
Figure 3.Analog In to S/PDIF or PSIA Out .................................................................................................. 9
Figure 4.Board Configuration Tab ... ... .......................................... .... ... ... ... ... .... ... ... ... .... ... ... ... ... ................ 11
Figure 5.CODEC Configuration Tab ......................................................................................................... 12
Figure 6.ADC Input Channel Volume Tab ................................................................................................. 13
Figure 7.DSP Engine Tab ......................................................................................................................... 14
Figure 8.Analog Output Volume Tab ......................................................................................................... 15
Figure 9.Register Maps Tab - CS42L55 ................................................................................................... 16
Figure 10.THD+N vs Freq. - Analog In to Digital Out ................................................................................ 19
Figure 11.THD+N vs Amplitude - Analog In to Digital Out ........................................................................19
Figure 12.FFT - Analog In to Digital Out @ -1 dBFS ................................................................................ 19
Figure 13.FFT - Analog In to Digital Out @ -60 dBFS .............................................................................. 19
Figure 14.FFT - Analog In to Digital Out - no input ................................................................................... 20
Figure 15.FFT Crosstalk - Analog In to Digital Out @ -1 dBFS ................................................................ 20
Figure 16.Freq. Response - Analog In to Digital Out ................................................................................ 20
Figure 17.Fade-to-Noise Linearity - Analog In to Digital Out .................................................................... 20
Figure 18.THD+N vs Freq. - Digital In to HP Out ...................................................................................... 20
Figure 19.THD+N vs Amplitude - Digital In to HP Out .............................................................................. 20
Figure 20.THD+N vs Volume - Digital In to HP Out ..................................... .... ... ... ... .... ... ... ... ... .... ... ... ...... 21
Figure 21.FFT - Digital In to HP Out @ 0 dBFS ........................................................................................ 21
Figure 22.FFT - Digital In to HP Out @ -60 dBFS ..................................................................................... 21
Figure 23.FFT - Digital In to HP Out - no input ......................................................................................... 21
Figure 24.Freq. Response - Digital In to HP Out ...................................................................................... 21
Figure 25.Fade-to-Noise Linearity- Digital In to HP Out ............................................................................ 21
Figure 26.FFT Crosstalk - Digital In to HP Out @ 0 dBFS ........................................................................22
Figure 27.THD+N vs Freq. - Digital In to Line Out .................................................................................... 22
Figure 28.THD+N vs Amplitude - Digital In to Line Out ............................................................................ 22
Figure 29.THD+N vs Volume - Digital In to Line Out ................................................................................ 22
Figure 30.FFT - Digital In to Line Out @ 0 dBFS ...................................................................................... 22
Figure 31.FFT - Digital In to Line Out @ -60 dBFS ................................................................................... 22
Figure 32.FFT - Digital In to Line Out - no input ........................................................................................ 23
Figure 33.FFT Crosstalk - Digital In to Line Out @ 0 dBFS ......................................................................23
Figure 34.Freq. Response - Digital In to Line Out ..................................................................................... 23
Figure 35.Fade-to-Noise Linearity- Digital In to Line Out .......................................................................... 23
Figure 36.Block Diagram ........................................................................................................................... 24
Figure 37.CS42L55 & Analog I/O (Schematic Sheet 1) ............................................................................ 25
Figure 38.S/PDIF & Digital Interface (Schematic Sheet 2) .......................................................................26
Figure 39.PLL, oscillator and external I/O connections (Schematic Sheet 3) ........................................... 27
Figure 40.Microcontroller and FPGA (Schematic Sheet 4) ....................................................................... 28
Figure 41.Power (Schematic Sheet 5) ...................................................................................................... 29
Figure 42.Silk Screen ................................................................................................................................ 30
Figure 43.Top-Side Layer ......................................................................................................................... 31
Figure 44.GND (Layer 2) ........................................................................................................................... 32
Figure 45.Power (Layer 3) .....................................................................................................
Figure 46.Bottom Side Layer .................................................................................................................... 34
CDB42L55
................... 33
LIST OF TABLES
Table 1. System Connections ................ ... ... ... ... .... .......................................... ......................................... 17
Table 2. Jumper Settings ................... .... ... ... ... ... .... ... .......................................... ... ................................... 18
DS773DB1 3
CDB42L55
s

1 QUICK START GUIDE

The following figure is a simplified quick-start guide made for user convenience. The guide configures the board with a 1.8 V power supply to VLDO, VA and VCP and a 3.3 V power supply to VL. The user may choose from steps 7 through 10 depending on the desired measurement. Refer to Section 3 on page 8 for details on how the various components on the board interface with each other in different board configuration modes. Refer to Section 4 on
page 10 for descriptions on control settings in the Cirrus FlexGUI software.
.
Set jumper settings for VL to 3.3V
1
and VCP,VLDO and VA to 1.8V
J48,J53,J52, J74, J7 and
3
J11 should be shunted
Apply analog input
10
6
Connect USB to board. Open Flex
GUI software on PC and load
quick setup script.
2
Set Board Power setting to USB
7
Provide digital inputs to
the board either through
the S/PDIF optical or
RCA connectors or
through the PSIA I/O
header J78.
8
Receive digital outputs from the board
either through the S/PDIF optical or
RCA phono connectors or thro ugh the
PSIA I/O header J40.
Figure 1. Quick Start Board Layout
5
Left pins on J109 and
J104 should be
shunted
9
Monitor analog outputs via HP or Line Channel RCA
connectors or HP stereo jack
4
Set desired jumper
settings for
J12,J4,J2 and J3.
4 DS773DB1
CDB42L55

2 SYSTEM OVERVIEW

The CDB42L55 evaluation platform provides analog and digital interfaces to the CS42L55 and allows for external DSP and I²C an external +5 V supply. On-board voltage regulators provide power to the digital and analog cores o f the CS42L55. The CDB42L55 is configured using Cirrus Logic’s Windows-compatible FlexGUI software to read/write to device registers.
This section describes the various components on the CDB42L5 5 and how they are used with the CS42L55. Section
1 on page 4 is a simplified quick connect guide provided for us er convenience and may be used to quickly configure
the CS42L55. Section 3 on page 8 describes some of the configura tions available fo r transmi tting and rece iving au­dio signals. Section 4 on page 10 provides software configuration details. Section 5 on page 17 provides a descrip­tion of all stake headers and connectors, including the default factory settings of all jumpers. Section 6 on page 19 provides typical performance plots. The CDB42L55 schematic and layout set is shown in Figures 36 through 46.

2.1 Control Port and Board Configuration

interconnects to the board. On-board periph erals are powered eith er from the USB connection or fro m
The CDB42L55 evaluation board must be progr ammed using the Windows compatible software (Cirrus Log­ic FlexGUI) provided. This software allows the user to program the registers of all the programmable com­ponents on the board using an I²C interface.
The GUI interfaces with an on-board micro controller through either the USB or the serial port connector. For a detailed explanation on software controls, refer to Section 4 on page 10.
Alternatively, the I²C interface to the CS42L55 can be directly accessed through an I/O header (J109) to accept external timing and data signals in a user application during system development.

2.2 Power

Power is supplied to the evaluation board through e ither the +5.0 V test points or the VBUS supply from the USB. NOTE: The minimum current required for board operation is approximately 300 mA. It may ther efore be necessary to connect the CDB42L55 directly to the USB po rt on the PC as opposed to a hub or keybo ard port where the current might be limited.
Jumpers connect the CS42L55’s supplies to a low dropout regulated vo ltage of +1.8 V, +2.5 V or +3.3 V for VL and +1.8 V or +2.5 V for VLDO, VA and VCP. A selection for a 1.8 V supply from a buck regulator is also available, providing a more efficient means of evaluating the CS42L55’s performance when powered from batteries (3 AAA battery connectors are available on the bottom side of the CDB).
For current measurement purposes only, a 1 ohm series resistor is con nected to each supply. The current is easily calculated by measuring the voltage drop across this resistor. NOTE: The stake headers connected in parallel with these resistors must be shunted with the supplied jumper during normal operation.
WARNING: Please refer to the CS42L55 data sheet for allowable voltage levels.

2.3 Digital Input

2.3.1 CS8416 S/PDIF Digital Audio Receiver

The CS8416 S/PDIF receiver converts an incoming S/PDIF data input stream into PCM data for the CS42L55 (through the “Transmit” (Tx) Sample Rate Converter (SRC)).
A complete description of the CS8416 (Figure 38 on page 26) and a discussion of the digital audio inter­face can be found in the CS8416 data sheet.
DS773DB1 5
Configuration of the CS8416 is made using controls in the “Board Co nfiguratio n” ta b of the Cirrus F lexGUI software. Section 3 “Configuration Options” on page 8 and Section 4 “Software Mode Control” on page 10 provide configuration examples and software details.

2.3.2 CS8421 Sample Rate Converter (Tx SRC to CS42L55)

The CS8421 Tx SRC receives PCM digital audio data from either the CS8416 S/PDIF receiver o r th e AP PSIA header and synchronizes this data with the CS42L55, regardless of the CS42L55’s master and a u­dio clocks.
A complete description of the CS8421 (Figure 38 on page 26) and a discussion of the digital audio inter­face can be found in the CS8421 data sheet.
Configuration and routing selections for the CS8421 are made using controls in the “Boa rd Configuration” tab of the Cirrus FlexGUI software. Section 3 “Configuration Options” on page 8 and Section 4 “Software
Mode Control” on page 10 provide configuration examples and software details.

2.4 Digital Output

2.4.1 CS8406 S/PDIF Digital Audio Transmitter

The CS8406 converts the PCM data generated from the CS42L55 (through the “Receive” (Rx) SRC) to the standard S/PDIF data stream.
CDB42L55
A complete description of the CS8406 (Figure 38 on page 26) and a discussion of the digital audio inter­face can be found in the CS8406 data sheet.
Configuration of the CS8406 is made using controls in the “Board Configuration” tab of the Cir rus FlexGUI software. Section 3 “Configuration Options” on page 8 and Section 4 “Software Mode Control” on page 10 provide configuration examples and software details.

2.4.2 CS8421 Sample Rate Converter (Rx SRC from CS42L55)

The CS8421 Rx SRC receives PCM digital audio data from the CS42L55 and synchronizes this data with either the CS8406 S/PDIF transmitter or the AP PSIA headers, regardless of the CS42L55’s master and audio clocks.
A complete description of the CS8421 (Figure 38 on page 26) and a discussion of the digital audio inter­face can be found in the CS8421 data sheet.
Configuration and routing selections for the CS8421 are made using controls in the “Boa rd Configuration” tab of the Cirrus FlexGUI software.Section 3 “Configuration Options” on page 8 and Section 4 “Software
Mode Control” on page 10 provide configuration examples and software details.

2.5 FPGA

The FPGA controls the digital signal routing between the CS42L55, CS8406, CS8416, CS8421 (Tx SRC and Rx SRC), PLL and the I/O stake header.
Configuration and routing selections for the FPGA are made using controls in the “Board Configuration” tab of the Cirrus FlexGUI software. Section 4 on page 10 provides software configuration details.
6 DS773DB1

2.6 Oscillator

The socketed on-board oscillator can be selected as the system master clock source by using the selections on the “Board Configuration” tab of the Cirrus FlexGUI. ‘Software Mode Control” on pa ge 10 provides con­figuration details.
The oscillator is mounted in pin sockets, allowing easy removal or replacement. The device footprint on the board will accommodate full- or half-can-sized oscillators.

2.7 CS42L55 Audio CODEC

A complete description of the CS42L55(U1) can be found in the CS42L55 product data sheet. The CS42L55 is configured using the Cirrus FlexGUI. The device configurat ion registers are a ccessible via
the “Register Maps” tab of the Cirrus FlexGUI software. This tab provides low-level control of each bit. For easier configuration, additional tabs provide high-level control.‘Software Mode Control” on page 10 provides configuration details.
CDB42L55
DS773DB1 7
CDB42L55

3 CONFIGURATION OPTIONS

This section highlights two common configurations for the CDB42L55. It p rovides a basic understa nding of ho w the various components on the board work together.

3.1 S/PDIF or PSIA In to Analog Out

The CS42L55 analog back-end performance can be tested by selecting the “SPDIF In to Analog Out -­Analog In to S/PDIF Out” or “PSIA In to Analog Out -- Analog In to PSIA Out” quick setup file provided
with the software package. Note: The Control Port Compensation script for the associated VA supply must also be selected. The script configures the digital clock and data signal routing on the board as shown in Figure 2. The quick setup scripts provided in the software assume that a 24.000 MHz on-board oscillator is populated in Y1.
A S/PDIF input must be provided as the S/PDIF Tx (CS8406) uses the RMCK signal from the S/PDIF Rx (CS8416) for synchronization in this configuration.
An on-board PLL generates all supported sample and bit clock rates from an on-board 24 MHz oscillator.
FPGA
PLL
24 MHz
(on-board osc.)
S/PDIF
IN
PSIA Tx (J78)
TX.SCLK TX.LRCK
TX.SDOUT
S/PDIF Rx
(CS8416)
RX.LRCK
RX.SCLK
RX.SDOUT
(Master)
MCLK
Tx SRC
CS42L55
(CS8421)
Line
Channel
HP
Channel
B
A
B
A
Out
Out
LINEOUTB
SCLK
LINEOUTA
LRCK
HPOUTB
DAC.SDIN
HPOUTA
(Slave) (Slave)
J4 323216
J12
16
J21
HP
Connection
J3
J2
Figure 2. S/PDIF or PSIA In to Analog Out
8 DS773DB1

3.2 Analog In to S/PDIF or PSIA Out

The CS42L55 analog front-end performance can be tested by selecting the “SPDIF In to Analog Out -­Analog In to S/PDIF Out” or “PSIA In to Analog Out -- Analog In to PSIA Out” quick setup file provided
with the software package. Note: The Control Port Compensation script for the associated VA supply must also be selected. The script configures the digital clock and data signal routing on the b oard as shown in Figure 3. The quick setup scripts provided in the software assume that a 24.000 MHz on-board oscillator is populated in Y1.
A S/PDIF input must be provided as the S/PDIF Tx (CS8406) uses the RMCK signal from the S/PDIF Rx (CS8416) for synchronization in this configuration.
CDB42L55
24 MHz
(on-board osc.)
AIN1B
AIN1A
AIN2A
AIN2B
PLL &
FPGA
Divider
12 MHz MCLK
CS42L55
SCLK
AIN1B
AIN1A
ADC.SDOUT
AIN2A
AIN2B
LRCK
(Slave)
Figure 3. Analog In to S/PDIF or PSIA Out
Rx SRC
(CS8421)
(Slave)
PSIA Rx (J40)
RX.SCLK RX.LRCK
RX.SDIN
S/PDIF Tx
(CS8406)
TX.LRCK
TX.SCLK
TX.SDIN
(Master)
S/PDIF
OUT
DS773DB1 9
CDB42L55

4 SOFTWARE MODE CONTROL

The CDB42L55 may be used with the Microsoft W indows®-based FlexGUI graphical user interface, allowing soft­ware control of the CS42L55, FPGA, CS8421, CS8416 and CS8406 registers. The latest control software may be downloaded from www.cirrus.com/msasoftware. Step-by-step instructions for setting up the FlexGUI are provided as follows:
1. Download and install the FlexGUI software as instructed on the Website.
2. Connect the CDB to the host PC using a USB cable.
3. Launch the Cirrus FlexGUI. Once the GUI is launch ed successfully, all registers are set to their default reset
state.
4. Refresh the GUI by clicking on the “Update” button. The default state of all registers are now visible.
For standard set-up:
5. Set up the signal routing in the “Board Configuration” tab as desired.
6. Set up the CS42L55 in the “CODEC...” tabs as desired.
7. Begin evaluating the CS42L55.
For quick set-up, the CDB42L55 may, alternatively, be configured by loading a predefined sample script file:
8. On the File menu, click "Restore Board Registers..."
9. Browse to Boards\CDB42L55\Scripts\.
10. Choose any one of the provided scripts to begin evaluation.
To create personal scripts files:
11. On the File menu, click "Save Board Registers..."
12. Enter any name that sufficiently describes the created setup.
13. Choose the desired location and save the scr ipt .
14. To load this script, follow the instructions from step 8 above.
10 DS773DB1

4.1 Board Configuration Tab

The “Board Configuration” tab provides high-level control of signal routing on the CDB42L55. The controls in this tab are used to setup the CS8416, CS8406, TxSRC, RxSRC and the FPGA Routing and are divided into separate sections or control groups for each of th ese individual components. A description of each con­trol group is outlined below. The software loads a predefined configuration when the selection is made from the Quick-Setups section
FPGA Routing - Includes controls to setup the FPGA for usin g the S/PDIF or the PSIA test interface and for setting up clock and signal routing for CS42L55 master/slave mode.
CS8416 S/PDIF Receiver Control - Register controls for setting up the CS8416. CS8406 S/PDIF Transmitter Control - Register controls for setting up the CS8406. CS8421 SRC Control - Register controls for the receive and transmit SRC’s. To configure, select the desired
SRC from the first drop down box and click update.
Update - Reads all registers in all devices and reflects the current values in the GUI. Reset - Resets all devices to default configuration.
CDB42L55
Figure 4. Board Configuration Tab
DS773DB1 11
Loading...
+ 25 hidden pages