Using the CDB4270 is an excellent way to evaluate the
CS4270 CODEC. Other equipment required includes
analog/digital audio sources/analyzer, a 5V power supply and a Windows-compatible
PC for the GUI.
System timing for the I²S, Left-Justified or Right-Justi-
fied audio data formats can be provided by the CS4270,
by the CS8416, or by a device connected to the onboard DSP I/O header. The evaluation board may also
be configured to accept external timing and data signals
for operation in a user application during system
development.
RCA jacks are provided for the analog audio inputs and
outputs. Digital S/PDIF transmit or receive data I/O is
available via either RCA jacks or optical connectors.
The Windows GUI software provided allows for easy
configuration of the CDB4270. The GUI software communicates with the board via USB or serial port
connections to configure the CS4270 registers.
1. SYSTEM OVERVIEW ............................................................................................................................. 5
1.1 Power ............................................................................................................................................... 5
1.2 Grounding and Power Supply Decoupling ...................... ... .... ... ... ... ... .... ........................................... 5
1.8 External Control Headers ................................................................................................................. 6
1.9 Analog Input ..................................................................................................................................... 6
1.10 Analog Outputs ............................................................................................................................... 8
1.11 Control Port .................................................................................................................................... 8
Table 14. Connectors and Switches ......................................................................................................... 26
Table 15. Jumpers and Indicators ............................................................................................................. 26
4DS686DB3
CDB4270
1. SYSTEM OVERVIEW
The CDB4270 evaluation board is an excellent tool for evaluating the CS4270 CODEC. The board features both
analog and digital audio interfaces along with an FPGA for data/clk routing and an on-board microprocessor for configuration control. The board is easily configured in Software Mode using the supplied PC-to-DUT USB cable along
with the Windows-based GUI configuration software or in Hardware Mode using the on-board dip switches.
The CDB4270 schematic set has been partitioned into nine pages and is shown in Figures 66 through 74.
1.1Power
Power must be supplied to the evaluation board through the +5.0 V binding posts. The +5 V inputs must be
referenced to the single black binding post ground connector (Figure 74 on page 45).
WARNING: Please refer to the CS4270 data sheet for allowable voltage levels.
1.2Grounding and Power Supply Decoupling
To optimize performance, PC board designs for the CS4270 require careful attention to power supply,
grounding and signal routing arrangements. Figure 65 on page 36 shows the basic compon ent/signal interconnect for the CDB4270. Figure 75 on page 46 shows the component placement. Figure 76 on page 47
shows the top layout. Figure 77 on page 48 shows the botto m layout. The decoupling capacitors are loca ted
as close to the CS4270 as possible. Extensive use of ground plane fill in the evaluation board yields large
reductions in radiated noise.
1.3FPGA
See “F PGA Overview” on page 9 for a complete description of the FPGA (Figure 72 on page 43) that is used
on the CDB4270.
1.4CS4270 Audio CODEC
A complete description of the CS4270 (Figure 66 on page 37) is included in the CS4270 product data sheet.
The CS4270 codec performs stereo 24-bit A/D and D/A conversion at sample rates of up to 216 KHz. The
part accommodates I²S, Left-Justifie d an d Rig ht -Ju st if ied ser ial au dio for m ats .
1.5CS8406 Digital Audio Transmitter
A complete description of the CS8406 transmitter ( Figure 69 on page 40 ) and a discussion of the d igital audio interface are included in the CS8406 data sheet.
The CS8406 converts the PCM data from either the CS4 270, the DSP Header, or the CS8416 to a standard
S/PDIF data stream. The CS8406 operates in either master or slave sub-clock mode and will accept either
a 128 Fs, 256 Fs, or 512 Fs master clock on the OMCK input pin. The device will operate in either the LeftJustified or I²S interface data modes.
1.6CS8416 Digital Audio Receiver
A complete description of the CS8416 receiver (Figure 70 on page 41) 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 that can be used by the CS4270 and
CS8406. The device operates in either Master or Slave su b-clo ck modes and gen er ates eith er a 128 Fs or
256 Fs master clock for output on the RMCK pin. Either Left-Justified or I²S interface output data formats
can be selected
DS686DB35
1.7Canned Oscillator
Oscillator Y1 provides a system master clock. This clock is routed through the CS8416 and out of the RMCK
pin when the S/PDIF input is disconnected (refer to the CS8416 data sheet for details on OMCK opera tion).
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.288 MHz crystal oscillator populated at Y1.
1.8External Control Headers
The evaluation board has been designed to allow interfacing with external systems via the J10 and J9 headers.
The 10-pin, 2-row header, J9, allows access to the serial audio signa ls required to interface with a DSP (see
Figure 71 on page 42).
The 18-pin, 3-row header, J10, allows the user bidirectional acce ss to the SPI
ply removing all of the shunt jumpers from the “NORMAL” 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 I²C power rail.
CDB4270
TM
/I²C® control signals by sim-
1.9Analog Input
RCA connectors supply the CS4270 analog inputs through passive, AC-coupled, single-ended circuits. A
2 Vrms single-ended signal into the RCA connectors will drive the CS4270 inputs to full scale (1 Vrms). The
input network on the CDB4270 was designed to demonstrate that the CS4270 will provide superior performance with up to 2.5 kΩ driving impedances (looking back from the CS4270 inputs) while allowing for
2 Vrms inputs. ADC performance varies depending upon the input impedance of the input network.
Figures 1 and 2 show typical THD+N and Dynamic Range performance for the ADC as a function of input
impedance.
6DS686DB3
CDB4270
Figure 1. ADC THD+N
Figure 2. ADC Dynamic Range
DS686DB37
1.10Analog Outputs
The CS4270 analog outputs are AC-coupled and routed through a single-pole RC Low-Pass filter.
1.11Control Port
A graphical user interface is included with the CDB 4270 to allow easy manipu lation of the registers in th e
CS4270 (see the CS4270 data sheet for register descriptions and the “FPGA GUI Regi ster Descr iption” on
page 18). The GUI will run on a standard Windows-based PC. Connecting a USB cable from a PC to J15
or an RS-232 cable to J16 and launching the Cirrus Logic FlexGUI software enab les control and configur ation of the board.
Refer to “Software Mode” on page 13 for a description of the Graphical User Interface (GUI).
1.12Hardware Mode Switches
The “HW Mode Config” and ”Clk/Data Config” switches control all Hardware Mode options. “Hardware
Mode” on page 18 provides a description of each topology.
CDB4270
8DS686DB3
CDB4270
2. FPGA OVERVIEW
The FPGA (U11) controls all digital signal routing between the CS4270, CS8406, CS8416 and the DSP I/O Header.
The device also generates all of the clock/data driver output enables and S/PDIF device mode controls. The FPGA
internal registers can be configured either via the I² C (Software Mode) or via external dip switches (Hardware Mode).
When using the CS4270 in Hardware Mode, the FPGA decodes some of these dip-switch settings and generates
the CS4270 control signals. In addition, the FPGA distributes resets from the micro for all of the devices on the
board.
2.1FPGA Architecture
Figures 3 through 5 show the internal architect ure of the FPG A. Figure 6 shows the MCLK routing to/from
the FPGA and the other devices on the board. The FPGA has an I²C interface and interna l registers for software control and can also read external dip-switch settings for hardware control. Refer to the FPGA GUI
Register Description section of this document for a description of the FPGA registers.
2.2Internal Sub-Clock Routing
Figure 3 shows the internal sub-clock (SCLK, LRCK) routing topology between the CS4270, CS8416,
CS8406 and DSP Header. Refer to the FPGA GUI R egister Description section of this document for a
description of the sub-clock routing register settings.
.
FPGA
CS4270
LRCK
SCLK
CS8416-FPGA-LRCK
HDR-LRCK
FPGA-CS8406-LRCK
SUB_CK[1:0]
FPGA- DUT-LRCK
SUB_CK[1:0]
CS8416-FPGA-SCLK
HDR-SCLK
FPGA-CS8406-SCLK
FPGA-DUT-SCLK
CS8416
LRCK
SCLK
DSP Header
LRCK
SCLK
SUBCLK.FROM.HDR
SUBCLK.FROM.HDR
SUB_CK[1:0]
CS8416-FPGA-SCLK
HDR-SCLK
FPGA-DUT-SCLK
FPGA-CS8406-SCLK
SUB_CK[1:0]
FPGA-DUT-SCLK
HDR-SCLK
FPGA-CS8406-SCLK
SUB_CK[1:0]
CS8416-FPGA-SCLK
FPGA-DUT-SCLK
FPGA-CS8406-SCLK
SUBCLK.TO.HDR
SUBCLK.TO.HDR
CS8416-FPGA-LRCK
HDR-LRCK
FPGA-DUT-LRCK
FPGA-CS8406- LRCK
SUB_CK[1:0]
CS8416-FPGA-SCLK
SUB_CK[1:0]
HDR-SCLK
Figure 3. Internal Sub-Clock Routing
SUB_CK[1:0]
FPGA-DUT-LRCK
HDR-LRCK
FPGA-CS8406-LRCK
CS8416-FPGA- LRCK
CS8416-FPGA-LRCK
FPGA-DUT-LRCK
FPGA-CS8406-LRCK
HDR-LRCK
CS8406
LRCK
SCLK
DS686DB39
2.3Internal Data Routing
Figure 4 shows the internal data routing topology between the CS4270, CS8416, CS8406 and the DSP
Header. Refer to the FPGA GUI Register Description section of this document for a description of the audio
data routing register settings.
.
CDB4270
CS8416
SDOUT
DSP Head er
SDIN
SDOUT
CS4270
SDOUT
SDIN
CS8416-FPGA-SDOUT
FPGA-SDIN
FPGA-HDR-SDOUT
CS4270-FPGA-SDOUT
CS4270-SDIN
FPGA
SDIO[1 :0]
DUT_SDIO[1:0]
TXSDIO [1:0]
CS8406-SDIN
CS8406
SDIN
Figure 4. Internal Data Routing
10DS686DB3
2.4Internal Drivers
Figure 5 shows the internal drivers and logic for board level selects/enables and so forth. Refe r to the FPGA
GUI Register Description section of this document for a description of the board level control register set-
tings.
.
MICRO-SDA/CCLK
CDB4270
FPGA
FPGA-SPI
HDR-SDA/CDOUT
MICRO-SCL/MISO
HDR-SCL/CCLK
FPGA-CS
HDR-AD1/CDIN
FPGA-AD0
FPGA-I2C
HDR-AD2
FPGA-MOSI
HDR-AD0/CS
FPGA-AD1
FPGA-SPI
FPGA-SPI
FPGA-SPI
FPGA-I2C
M1
M0
MDIV1
MDIV2
DIF
FPGA-SW/HW
FPGA-AD2
FPGA-I2C
FPGA-I2C
I2C
Figure 5. Internal Drivers
DS686DB311
2.5External MCLK Control
Several sources for MCLK exist on the CDB4270. 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).
When S/PDIF data is present at the CS8416 input, the CS8416 generates a master clock whenever its internal PLL is locked to the incoming S/PDIF stream.
The DSP Header can master the MCLK bus or be an observation point for MCLK depe nding upon th e state
of the driver control signals from the FPGA.
Refer to the Register Description section of this document for a description of the MCLK routing co ntrol registers.
.
CDB4270
OSC
CS8416
OMCK
CS8406
DSP Header
RMCK
OMCK
MCLK
CS4270
MCLK
FPGA
MCLK.FROM.8416
MCLK
MCLK.FROM.HDR
MCLK.TO.HDR
Figure 6. External MCLK Control
12DS686DB3
CDB4270
3. SOFTWARE MODE
The CDB4270 uses a Microsoft Windows-based GUI (download from Cirrus web site), which allows control of the
CS4270 and FPGA registers. Interface to the GUI is provided via USB or RS-232 serial connection. Once the appropriate cable is connected between the CDB4270 and the host PC, run “FlexLoader.exe”. The software should
automatically detect the board. If a board selection dialog is displayed, select “CDB4270” from the list. Once loaded,
all registers are set to their default state. Note: The board is automatically set to Software Control Mode once the
serial or USB cable is installed and the GUI is up and running. The GUI’s “File” menu provides the ability to save
and load script files containing all of the register settings. Sample script file s for basic mode operation can be downloaded from the archive at www.cirrus.com.
3.1CDB4270 Control Scripts
Brief descriptions of the supplied scripts are given below.
3.1.1S/PDIF In, Analog Out
When the SPDIF_IN_AOUT.FGS script is run, the CS8416 is the sub-clock (SCLK an d LRCK) master and
all other devices including the DSP Header are slaves. The CS8416 provides MCLK recovered from the
S/PDIF data and SDOUT to the CS4270 DAC, DSP Header and CS8406.
3.1.2Analog In, S/PDIF Out
When the AIN_SPDIF_OUT.FGS script is run, the crystal oscillator is the MCLK master. The CS8416
passes the clock from the crystal oscillator, Y1, through to the RMCK output (Note: the S/PDIF input must
be disconnected) to the CS4270, the CS84 06 and the DSP Heade r. The CS4270 provides SDOUT to the
CS8406 and the DSP Header. The CS8406 generates sub-clocks derived from the CS4270 data and is
the sub-clock master. All other devices including the DSP Header are sub-clock slave devices.
3.1.3Analog In, Analog Out (Digital Loop-Back)
When the AIN_AOUT.FGS script is run, the crystal oscillator is the MCLK master. The CS8416 passes
the clock from the crystal oscillator, Y1, through to the RMCK output (Note: the S/PDIF input must be disconnected) to the CS4270, the CS8406 and the DSP Header. Th e CS8416 generates sub- clocks derived
from the crystal oscillator and is the sub-clock master. All other devices and the DSP Header are subclock slave devices. SDOUT from the CS4270 ADC is routed through the FPGA to the CS4270 DAC, to
the DSP Header and to the CS8406.
3.1.4DSP In, Analog Out
When the DSP_IN_AOUT.FGS script is run, the DSP Header is the MCLK, sub-clock and data master
and all other devices are slaves. SDOUT at the header is the CS4270 SDOUT.
DS686DB313
3.2CDB4270 GUI
Brief descriptions of the GUI tab views are provided below.
The CDB4270 Controls tab provides high-level control of the CS4270, FPGA (Board Controls) and S/PDIF
Tx and Rx devices. The “CS4270 Controls” group affects that device’s register settings. The “Board Controls” group allows the user to select MCLK and sub-clock source/routing as well as CS4270 and CS8406
SDIN sources. The “S/PDIF Receiver” and “S/PDIF Transmitter” control gr oups allow the user to select data
formats, MCLK frequency and master or slave for each device. Reset push-buttons are also availa ble along
with a “Comm Mode” select drop box for CS4270 communication mode format selection.
CDB4270
Figure 7. CDB4270 Controls Tab
14DS686DB3
3.3Register Maps Control Tabs
Under this tab are the CS4270, Board Configuration (FPGA) and GPIO tabs. On each tab, register values
can be modified bit-wise or byte-wise. For bit-wise modification, click the appropriate push-button fo r the
desired bit. For byte-wise modification, the desired hex value can be typed directly into th e register address
box in the register map. Refer to the CS4270 device data sheet registe r settings section and the FPGA register information in this document for register definitions.
CDB4270
Figure 8. Register Maps Tab - CS4270
DS686DB315
Loading...
+ 35 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.