CS8427 Evaluation Board Data Sheet

CDB8427
Evaluation Board for CS8427
Features
Description
z Receives
The CDB8427 is designed to allow rapid evaluation of
the CS8427. The board is set up for easy connection to
an Audio Precision or a Rohde and Schwarz test system.
and transmits AES/EBU, S/PDIF
and EIAJ-340 compatible digital audio
z Convenient access to the Serial Audio Input
Port and Serial Audio Output Port through
headers.
z Runs from a single 5 Volt supply.
z Crystal supplied to allow operation at 48 kHz,
sample rate.
z Digital patch area.
Input and output data formats may independently be set
to either AES/EBU, or S/PDIF with either optical or coaxial physical format.
Separate headers are provided so the Serial Audio Input
Port and Serial Audio Output Port may be interfaced to
off board circuits.
Microsoft® Windows® 98 PC software provides a GUI
interface to make configuration easy. The software communicates through the PC’s RS232 port to a
microcontroller on the evaluation board that controls the
CS8427. All the possible software modes of the CS8427
may be tested.
ORDERING INFORMATION
CDB8427
Evaluation Board
I
A m te l
µC
R S 2 3 2 p o rt to P C
O p tica l In
S /P D IF In
O p tica l O u t
C S8427
S /P D IF O u t
A E S 3 In
Preliminary Product Information
Cirrus Logic, Inc.
P.O. Box 17847, Austin, Texas 78760
(512) 445 7222 FAX: (512) 445 7581
http://www.cirrus.com
AES 3 O ut
This document contains information for a new product.
Cirrus Logic reserves the right to modify this product without notice.
Copyright  Cirrus Logic, Inc. 2002
(All Rights Reserved)
AUG ‘02
DS477DB2
1
CDB8427
TABLE OF CONTENTS
1. OVERVIEW ............................................................................................................................... 3
1.1 CS8427 .............................................................................................................................. 3
1.2 Microcontroller and Memory .............................................................................................. 3
1.3 Crystal Oscillators .............................................................................................................. 3
1.4 RS232 Port ........................................................................................................................ 3
1.5 LED Function Indicators ..................................................................................................... 3
2. CDB8427.EXE QUICK START GUIDE .................................................................................... 4
2.1 Setting up the Hardware .................................................................................................... 4
2.2 Installing the Software ........................................................................................................ 4
2.3 Starting up the Software .................................................................................................... 4
2.4 Starting up the Hardware ................................................................................................... 4
3. CDB8427.EXE USER'S GUIDE ................................................................................................ 6
3.1 Main Window ..................................................................................................................... 6
3.2 Board Setup ....................................................................................................................... 7
3.3 Script file syntax ................................................................................................................. 7
LIST OF FIGURES
Figure 1. CDB8427 Control Panel Main Window ............................................................................ 6
Figure 2. Board Setup Panel ........................................................................................................... 7
Figure 3. CS8427 Digital Audio Transceiver ................................................................................... 9
Figure 4. Atmel AVR RISC Microcontroller ................................................................................... 10
Figure 5. Power Supplies and Reset Circuit.................................................................................. 11
Figure 6. Silkscreen....................................................................................................................... 12
Figure 7. Top PCB......................................................................................................................... 13
Figure 8. Bottom PCB ................................................................................................................... 14
LIST OF TABLES
Table 1. System Connections ......................................................................................................... 5
Table 2. CDB8427 Jumper Settings................................................................................................ 5
Table 3. Script file syntax description.............................................................................................. 7
Contacting Cirrus Logic Support
For a com plete listing of D irect S ales, D istributor, and Sales R epresentative contacts, visit the C irrus Logic w eb site at:
http://www.cirrus.com /corporate/contacts/sales.cfm
IM P O R TAN T NO TIC E
“P relim inary” product inform ation describes products that are in production, but for which full characterization data is not yet available. “A dvance” product inform ation describes products that are in developm ent and subject to developm ent changes. C irrus Logic, Inc. and its subsidiaries (“C irrus”) believe that the inform ation contained in this docum ent is accurate and reliable. H ow ever, the inform ation is subject to change w ithout notice and is provided “A S IS” w ithout w arranty
of any kind (express or im plied). C ustom ers are advised to obtain the latest version of relevant inform ation to verify, before placing orders, that inform ation being
relied on is current and com plete. A ll products are sold subject to the term s and conditions of sale supplied at the tim e of order acknow ledgm ent, including those
pertaining to w arranty, patent infringem ent, and lim itation of liability. No responsibility is assum ed by C irrus for the use of this inform ation, including use of this
inform ation as the basis for m anufacture or sale of any item s, or for infringem ent of patents or other rights of third parties. This docum ent is the property of Cirrus
and by furnishing this inform ation, C irrus grants no license, express or im plied under any patents, m ask w ork rights, copyrights, tradem arks, trade secrets or
other intellectual property rights. C irrus owns the copyrights of the inform ation contained herein and gives consent for copies to be m ade of the inform ation only
for use w ithin your organization w ith respect to C irrus integrated circuits or other parts of C irrus. This consent does not extend to other copying such as copying
for general distribution, advertising or prom otional purposes, or for creating any w ork for resale.
A n export perm it needs to be obtained from the com petent authorities of the Japanese G overnm ent if any of the products or technologies described in this m aterial and controlled under the “Foreign E xchange and Foreign Trade Law ” is to be exported or taken out of Japan. A n export license and/or quota needs to be
obtained from the com petent authorities of the C hinese G overnm ent if any of the products or technologies described in this m aterial is subject to the PR C Foreign
Trade Law and is to be exported or taken out of the P R C .
C E RTA IN A PP LIC A TIO N S U SIN G S EM IC O N DU C TO R P R O D U CTS M A Y IN V O LV E P O TE N TIAL R IS KS O F D EA TH , P ER S O N AL IN JU R Y , O R S EV E RE
P R O PE R TY O R EN V IR O N M E N TA L DA M A G E (“C R ITIC A L A P PLIC ATIO N S ”). C IR RU S P R O D U C TS A R E N O T DE S IG N E D, A UTH O R IZE D , O R W A R R A NTE D TO B E S UITA BLE FO R U S E IN LIFE -S U PP O R T D EV IC E S O R SY S TE M S O R O TH E R C R ITIC A L A P PLIC ATIO N S . IN C LU SIO N O F C IR R U S PR O D U C TS
IN S U C H AP P LIC ATIO N S IS U ND E R STO O D TO BE FU LLY A T TH E C U S TO M E R 'S R ISK .
C irrus Logic, C irrus, and the C irrus Logic logo designs are tradem arks of Cirrus Logic, Inc. A ll other brand and product nam es in this docum ent m ay be tradem arks or service m arks of their respective ow ners.
2
CDB8427
1.
OVERVIEW
The CDB8427 evaluation board contains a CS8427
and the supporting circuitry necessary for it to operate. The input and output options include AES3
and S/PDIF in optical and coaxial formats. In software mode, the control registers of the CS8427 are
set by an Atmel AVR RISC microcontroller. A Microsoft Windows 98 based program communicates
with the micro through an RS232 port to control the
configuration.
1.3
Crystal Oscillators
There are positions for two crystal oscillators on
the board. Both locations are equipped with pin
sockets that allow the oscillators to be removed.
The oscillator labeled U10 provides the 6 MHz
clock for the microcontroller and should not be
changed unless you plan on reprogramming the micro.
The features and functions of the CS8427 are described in its data sheet.
U3 is the oscillator that provides the Output Master
Clock for the CS8427. The board is shipped with a
12.288 MHz crystal oscillator that can be stuffed at
U3 to set the output sampling rate to 48 kHz.
1.2
1.4
1.1
CS8427
Microcontroller and Memory
The functions of the board are controlled by an Atmel AVR RISC microcontroller. The board is
equipped with 512 KBytes of static RAM so that
Channel Status and User bits from the AES stream
may be captured and uploaded to the host PC. The
microcontroller communicates with the CS8427
through its SPI port. The Atmel AVR RISC microcontroller may be bypassed in order to utilize an
external microcontroller through header J10. Header J9 allows the microcontroller on the board to be
programmed with the programmer that is supplied
in the Atmel STK-300 development kit. Additional
software development tools and applications information for the Atmel microcontroller are available
at: http://www.atmel.com.
RS232 Port
The RS232 port on the upper right hand side of the
board should be connected to the serial port of the
PC running the CDB8427 control software. Follow
the software instructions to properly configure the
serial port for use with the evaluation board.
1.5
LED Function Indicators
LEDs D8 and D9 on the upper right hand corner of
the board allow the user to determine when data is
being transmitted over the RS232 link. The red
LED D4 is the reset indicator and the red LED D1
is connected to the RERR pin of the CS8427. The
two remaining LEDs on the board are not currently
of use to the end user
3
CDB8427
2. CDB8427.EXE QUICK START GUIDE
2.3
2.1
1) Double-click on CDB8427.exe or its shortcut.
Setting up the Hardware
Note: SeeTable 1 on page 5 and Table 2 on page 5 for
the configuration and jumper settings.
1) Connect the CDB8427 to a 5 V DC power supply.
2) Set: J11 to Optical, J16 to S/PDIF, enable J13
(S/PDIF), and disable J15 (MUTE).
3) Connect the CDB8427 to the PC COM port using RS232 cable.
4) Apply power to the board.
Starting up the Software
2) If you get errors right away, the COM port
needs to be set properly.
3) Click anywhere but inside one of the boxes, this
brings up the Board Setup control panel.
4) Select the COM port you are using to connect
to the CDB8427.
5) Shut down the application, reset the board, and
then restart the application.
5) Press the RESET switch (S5).
2.4
At this point, the RERR and PROC should be lit.
The hardware is now ready!
1) Click anywhere but inside one of the boxes, this
brings up the Board Setup control panel.
2.2
2) Click on the Reset button. You should see the
TX and RX leds light up briefly.
Installing the Software
1) Create a directory called CDB8427 anywhere
on your system.
2) Copy CDB8427.exe into this directory.
3) If you do not already have them, copy the included DLLs msvcrt.dll and mfc42.dll into
your \Windows\System directory.
4) If desired, create a shortcut to CDB8427.exe on
your desktop.
At this point, you are ready to start up the software.
3) Click on the AES3 Transmitter tab, then set the
Transmitter data source to AES3 Receiver.
4) Click on the Clock Sources tab, click on
RMCK derived from AES3 input frame and uncheck the Stop Internal Clocks box.
5) Check the performance of the board by doing
an FFT with a -1dBFS 1kHz sine wave for input at 44.1kHz and 48kHz sample rates using
the optical input and optical output.
.
4
Starting up the Hardware
CDB8427
CONNECTOR
+5V
GND
OPTICAL INPUT
S/PDIF INPUT
AES3 INPUT
RS232
OPTICAL OUTPUT
S/PDIF OUTPUT
AES3 OUTPUT
J5
J6
J9
J10
INPUT/OUTPUT
Input
Input
Input
Input
Input
Input/Output
Output
Output
Output
Input/Output
Input/Output
Input
Input/Output
SIGNAL PRESENT
+5 Volt power
Ground connection from power supply
Digital Audio Interface optical input
Digital Audio Interface coaxial input
Digital Audio Interface XLR input
Parallel RS232 port for connection to serial port of PC
Digital Audio Interface optical output (always enabled)
Digital Audio Interface coaxial output
Digital Audio Interface XLR output
I/O for RMCLK, ISCLK,ILRCK, and SDIN
I/O for OLRCK, OSCLK, OMCK, and SDOUT
10-pin header for external programming of Atmel AVR µC
12-pin header for CS8427 control from external µC
Table 1. System Connections
JUMPER
PURPOSE
J11
Selects physical format of digital
audio interface input
J12
Configures AES3 INPUT
J13
Configures S/PDIF INPUT
J14
Configures OPTICAL INPUT
J16
Selects physical format of digital
audio interface output
Configures S/PDFIF OUTPUT
J17
J15
Configures HARDWARE MODE
MUTE
POSITION
AES3 & S/PDIF
OPTICAL
ENABLE
DISABLE
ENABLE
DISABLE
ENABLE
DISABLE
AES3
S/PDIF
ENABLE
DISABLE
ENABLE
DISABLE
FUNCTION SELECTED
Connects input as either AES3 or S/PDIF
Connects input as OPTICAL
AES3 INPUT enabled
AES3 INPUT disabled
S/PDIF INPUT enabled
S/PDIF INPUT disabled
OPTICAL INPUT enabled
OPTICAL INPUT disabled
Connects output as AES3 XLR
Connects output as S/PDIF coaxial
S/PDIF OUTPUT enabled
S/PDIF OUTPUT disabled
Enables MUTE when in hardware mode 1
Disables MUTE when in hardware mode 1
Table 2. CDB8427 Jumper Settings
5
CDB8427
3. CDB8427.EXE USER'S GUIDE
3.1
Main Window
The CDB8427 Control Panel allows you to view
and access the data flow configuration of the
CS8427. See Figure 1. Clicking the right mouse
button in any of the boxes will bring up a property
menu containing all the register bits relevant to that
block, as well as some high level functions, such as
data sources and formatting options.
To access additional details about each block, click
the left mouse button on the desired block. This
will display a control panel for the selected block.
If you click outside the boxes, you will bring up the
Board Setup control panel, as shown on the next
page. Note that you can click on any of the tabs to
quickly access that section. Also, any changes you
make in the panel are immediately reflected in the
Main Window, so you may wish to arrange them so
that they do not obscure each other.
Figure 1. CDB8427 Control Panel Main Window
6
CDB8427
3.2
Board Setup
The Board Setup panel has some very useful functions, including setting the COM Port used by the
application, resetting the CS8427 from software, as
well as loading/saving register settings into files.
See Figure 2. You can also can read or write any
register on the CS8427 using the CS8427 Register
Access.
3.3
Script file syntax
The setup files generated by the board setup function only record the state of the chip registers.
There are many more useful commands that you
can insert into the setup scripts. Table 1 contains a
short description of these commands with their allowed syntax.
Note: Most commands accept either hexadecimal
(indicated by either a “0x” prefix or “h” suffix) or
decimal parameters.
//
used for single line comments
script scriptfile
call an external script file named
“scriptfile”
reset 1
assert reset of the CS8427
reset 0
de-assert reset of the CS8427
wr 1 30h
write register 1 with hex 30
set RUN 1
set the bit field labeled RUN to 1
write 2 3 0x10
12h 13
write 3 consecutive registers starting from register 2 with hex 10, hex
12, and decimal 13
Table 3. Script file syntax description
Figure 2. Board Setup Panel
7
CDB8427
8
5
6
T1
1
1
2
3
HDR3X1
J12
.1uF
4
C4
J3
XLR-FEMALE
2
VD
.1uF
C2
5
8
22pF
C40
HDR3X1
1
2
3
HDR3X1
1
2
3
VD
4.7K
R20
TP13
TP12
47K
47K
2
TP8
TP7
D1
T P5
C7
3
825
R25
LED_R
1
1uF 50V
VA
1.2K
R22
ILRCK
ISCLK
SDIN
RMCK
.1uF
C12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
4.7nF
C9
CCLK
CDIN
TXP
TXN
H/S
VD
DGND
OMCK
U
INT
SDOUT
OLRCK
OSCLK
TCBL
CS8427_SPI
CDOUT
/CS
/EMPH
RXP
RXN
VA
AGND
FILT
/RST
RMCK
RERR
ILRCK
ISCLK
SDIN
U1
CCLK
SUP5
SUP0
CDOUT
CDIN
H/S
APMS
/CS
SUP1
SFMT0
28
27
26
25
24
23
22
21
20
19
18
17
16
15
TP27
C14
C11
.1uF
C8
1000pF
SDOUT
OLRCK
OSCLK
OMCK
TP28
47K
R9
VD
1uF 50V
100
R26
TP26
8
14
TP25
TP23
NC
12.888MHz
7
.1uF
C17
HDR4X2
1000pF
1
47K
47K
+
TP20
R11
R10
TP21
J6
TP22
C16
Out GND
VD
U3
TP24
Figure 3. CS8427 Digital Audio Transceiver
2
C13
T P1
47K
47K
TP2
R8
R7
1000pF
C10
HDR4X2
J5
T P6
TP4
47K
47K
TP3
R6
R5
.1uF
74VHC125
U2A
TP9
47K
R4
TP10
47K
R3
TP11
R2
R1
TP14
HDR3X1
J15
1
2
3
.1uF
C6
J14
110
J13
R17
236
1
2
3
MUTE
R15
HDR3X1
J11
47UH
L1
.01uF
TCBLD
SUP3
+
1
3
C1
TRANSFORMER
PHONO-JACK
J1
OPT1
4
3
2
1
2
6
SFMT1
+
1
/RST
1
3
5
7
2
4
6
8
SDIN
ILRCK
ISCLK
RMCK
1
3
5
7
2
4
6
8
SDOUT
OLRCK
OSCLK
OMCK
1uF 50V
47K
R13
TP16
L2
TP15
VD
.1uF
C5
CEN
FERRITE BEAD
22K1
R21
TP17
2 Ohms
TP18
C15 R24
TP19
47K
R12
SUP4
INT
S/AES
.1uF
C3
HDR3X1
84.5
R19
681
R18
1
2
3
1
2
3
OPT2
J4
4
1
T2
XLR-MALE
22pF
C41
J17
HDR3X1
J16
4
3
2
1
5
6
2
5
8
J2
1
3
TRANSFORMER
PHONO-JACK
R14 6.2K
R16 110
VD
2
6
SUP2
CDB8427
9
8
7
6
5
4
3
2
1
HDR5X2
J9
VD
RN1
8x 47K
SW DIP-8
S6
1
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
9
7
5
3
1
100
R37
VD
100
/PGM
R36
TP32
10
8
6
4
2
19
18
17
16
15
14
13
12
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
R32
D0
D1
D2
D3
D4
D5
D6
D7
2
3
4
5
6
7
8
9
D1
D2
D3
D4
D5
D6
D7
D8
74HC574
1K
1
LED_G
D10
VD
U11
2
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
VD
VD
D[0-7]
U6
HM628512
U7
TP30
PA2(AD2)
PA1(AD1)
PA0(AD0)
VD
GND
PF7(ADC7)
PF6(ADC6)
PF5(ADC5)
PF4(ADC4)
PF3(ADC3)
PF2(ADC2)
PF1(ADC1)
PF0(ADC0)
AREF
AGND
AVCC
74HC4053
74HC573
D0
D1
D2
D3
D4
D5
D6
D7
U5
19
18
17
16
15
14
13
12
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
D1
D2
D3
D4
D5
D6
D7
D8
2
3
4
5
6
7
8
9
CLK
OC
12
13
15
11
1
14
X
X0
X1
4
Z
Z0
Z1
5
3
Y
Y0
Y1
2
1
17 D3
18 D4
19 D5
20 D6
21 D7
22
23 A10
24
25 A11
26 A9
27 A8
28 A13
29
30
31
D3
D4
D5
D6
D7
/CS
A10
/OE
A11
A9
A8
A13
/WE
A17
A15
D2
D1
D0
A0
A1
A2
A3
A4
A5
A6
A7
A12
A14
A16
A18
INH
A
B
C
A[8-14]
ATmega103
U8
SUP0
SUP2
SUP4
APMS
TP29
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
SUP1
SUP3
SUP5
TCBLD
R35
SFMT0
H/S
S/AES
100
MRST
NC
J10
11
9
7
5
3
1
Out GND
L4
.1uF
.1uF
C33
INT
CCLK
CDOUT
+
/RESET
/CS
CDIN
C35
.1uF
11
74VHC125
U2D
.1uF
C31
C32
1uF 50V
C34
2 Ohms
R31
VD
12
C30
C29
1000pF .1uF
7
1
.1uF
C28
FERRITE BEAD
.1uF
C27
6.000MHz
U10
HDR6X2
12
10
8
6
4
2
8
14
VD
SFMT1
MUTE
CEN
VD
.1uF
.1uF
1uF 50V
C26
C25
Figure 4. Atmel AVR RISC Microcontroller
TP31
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0/INT0
XTAL1
XTAL2
GND
VD
/RST
TOSC1
TOSC2
PB7
1uF 50V
+
C24
+
C23
13
D2 15
D1 14
D0 13
12
11
10
9
8
7
6
5
A12 4
A14 3
2
1
6
11
10
9
C36
.1uF
825
R30
4
5
1
3
10
8
11
13
2
VD
1
DS232
U9
C37
.1uF
C2+
C2-
C1+
C1-
T2 IN
R2 IN
T1 IN
R1 IN
LED_G
D5
15
C
OC
11
1
A14
A13
A12
A11
A10
A9
A8
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
PA3(AD3)
PA4(AD4)
PA5(AD5)
PA6(AD6)
PA7(AD7)
ALE
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
/RD
/WR
/PEN
PE0/RXD
PE1/TXD
PE2
PE3
PE4
PE5
PE6
PE7
PB0/CS
PB1/CCLK
PB2/CDIN
PB3/CDOUT
PB4
PB5
PB6
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
C38
.1uF
V+
V-
2
6
7
T2 OUT
9
R2 OUT
C39
.1uF
14
T1 OUT
12
R1 OUT
1
R33
22
GND
VD
16
1
22
1
10
680
1
VD
P1
680
R34
D9
LED_R
D8 LED_G
D7 1N4148
D6 1N4148
CONNECTOR DB9
5
9
4
8
3
7
2
6
1
CDB8427
BLACK
J8
RED
J7
1
1
FERRITE BEAD
L3
R27
2 Ohms
2
1
1
5
+
C21
3
10K
R38
VD
1
2
MRST
BAT85
D11
VD
BAT85
D2
/RESET
/PGM
BAT85
D3
Figure 5. Power Supplies and Reset Circuit
.01uF
C22
100uF 6.3V .1uF
C20
100uF 6.3V .1uF
SW_MOM
S5
P6KE6.8A
Z1
+
VA
2
1
1
2
C19
47K
R28
VD
9
5
8
74VHC125
U2C
6
74VHC125
U2B
4
10
VD
2
1
C18
825
R29
LED_R
D4
/RST
CDB8427
11
Figure 6. Silkscreen
CDB8427
12
Figure 7. Top PCB
CDB8427
13
Figure 8. Bottom PCB
CDB8427
14