Cirrus Logic CobraNet EV-2 Development Manual

Digital audio networking processor

Advertisement

Quick Links

TM
CobraNet
EV-2
Digital Audio Networking Processor
CobraNet
TM
EV-2 Development System Manual
This document contains information for a new product.
Preliminary Product Information
Cirrus Logic reserves the right to modify this product without notice.
Copyright 2004 Cirrus Logic, Inc.
August 2004
EV-2MAN20
http://www.cirrus.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CobraNet EV-2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cirrus Logic CobraNet EV-2

  • Page 1 Digital Audio Networking Processor CobraNet EV-2 Development System Manual This document contains information for a new product. Preliminary Product Information Cirrus Logic reserves the right to modify this product without notice.  Copyright 2004 Cirrus Logic, Inc. August 2004 EV-2MAN20...
  • Page 2: Table Of Contents

    CobraNet EV-2 Introduction............2 Getting Started .
  • Page 3: Introduction

    Introduction The EV-2 provides a means of evaluating the CM-1 or CM-2 CobraNet Modules and the Cirrus Logic CS181xx family of CobraNet chips. In addition to evaluating the CM-1 or CM-2 ( hereafter collectivelly referred to as the CM except where differences between the CM-1 and CM-2 exist ), the user may also use the EV-2 as a development platform and as an example interface for CMs, the CS181xx, and other CobraNet related projects.
  • Page 4 CobraNet EV-2 • Sine wave generation: A sine wave test tone may be used as an alternate audio source. Minimal frequency and gain control is provided. • Hex switches: Four hex formatted switches may be used for network identification of the Cobra- Net module and/or user development.
  • Page 5: Getting Started

    CobraNet EV-2 Getting Started Required Materials Included: The CobraNet EV-2 Development Package ships with the following materials: • EV-2 module w/ CM CobraNet PCB Qty. (2) • 3’ CAT5 crossover cable Qty. (1) • 6 - Pin Phoenix-style audio connectors Qty.
  • Page 6: Setup Procedure

    CobraNet EV-2 Setup Procedure • Using the supplied Phoenix connectors, build audio input and output cables and two AES/EBU cables (if desired). These will be used to connect your audio input and output devices to the EV-2 modules. For analog audio pin assignments, see Figure 3 or Figure 5 below. For AES/EBU pin assignments, see Figure 6 below.
  • Page 7: Switch And Connector Functionality

    CobraNet EV-2 Module CM-1 CM-2 Condition Left LED Right LED Left LED Right LED Conductor Flashing Green Solid Orange Flashing Orange Flashing Green Performer Flashing Green Solid Green Solid Orange Flashing Green Fault Flashing Red Flashing Red Flashing Orange Flashing Orange Table 1: Ethernet jack indicator legend.
  • Page 8: P501

    The ADC produces two sets of stereo audio streams, one high-quality and one low-latency. Please refer to the Cirrus Logic CS5396-KS documentation for more information on the ADC. The sine wave generator produces a stream of two identical 24-bit resolution sine waves. Using CNEval.exe, the user can route any of these eight source streams to any of the six output streams.
  • Page 9 CobraNet EV-2 CNEval.exe communicates with the EV-2 via an RS-232 serial connection. CNEval.exe can communicate using either COM1 or COM2 of the PC on which it is running. The connection from computer to EV-2 must be made as follows: • Connect a straight-through, male-to-female, 9-pin RS232 cable to EV-2 connector P501.
  • Page 10: Detailed Description Of Ev-2 Components

    CobraNet EV-2 Detailed Description of EV-2 Components The Microcontroller The microcontroller on the EV-2 is a Philips Semiconductor P89C51RD2. This microcontroller has 64 kByte of internal Flash Program Memory and 1 kByte of Static RAM. The microcontroller is field programmable using the provided CNEval.exe software. The microcontroller's clock rate is 33Mhz. Philips P89C51RD2 preliminary specification for programming information and part usage may be found on the Philips Semiconductor website: http://www-us.semiconductors.philips.com/.
  • Page 11: Microcontroller Port Connections

    CobraNet EV-2 Microcontroller Port Connections: Port 0: used for the address/data (AD) bus. Once configured, the FPGA latches the lower address byte from the AD lines. Port 1: used for several purposes as shown in Table 4 on page 10. Bit # Name of Signal Description...
  • Page 12: Interfacing The Microcontroller To The Cm

    CobraNet EV-2 Port 3: See Table 5 on page 11. Bit # Name of Signal Description RS232 serial port receive signal. RS232 serial port transmit signal HREQ# Connected to the CM module host request signal. See CobraNet Techni- cal Datasheet for a complete descrip- tion of this signal.
  • Page 13: Programming The Microcontroller

    (see Table 6 on page 14) controls this signal. See the discussion of the FPGA below for more information about this signal. Supplemental information regarding the CM Host interface may by found in the section titled "Host Management Interface" in the CS181xx data sheet available on the Cirrus Logic website: www. cirrus.com. Programming the Microcontroller The EV-2 is designed so that field updates of both the microcontroller firmware and the FPGA firmware are possible.
  • Page 14: Interfacing Serial Audio To The Cm

    (frame) clock polarity, as well as audio data formats such as SPI or I2S. The A/D converter, a Cirrus Logic CS5396 introduces one wrinkle. The CS5396 needs a master clock of 256FS (one that is 256 times the sample rate frequency). This is not directly supplied on the CM interface connector.
  • Page 15 CobraNet EV-2 controlling bit. Other data bits are ignored on these registers. Power on and reset default for all registers is 0 unless specified otherwise. Memory Description Location 0x8000 Bit register for green LED, CR903. 0=LED on, 1=LED off. Refer to Table 10 on page 17 for this and other LED registers.
  • Page 16: Configuring The Fpga

    CobraNet EV-2 Memory Description Location 0x8041 Note 1 CM-1 Host Port CVR register. CM-2 Message-B register. 0x8042 Note 1 CM-1 Host Port ISR register. CM-2 Message-C register. 0x8043 Note 1 CM-1 Host Port IVR register. CM-2 Message-D register. 0x8044 Note 1 CM-1: Unused.
  • Page 17 CobraNet EV-2 audio source. microcontroller data Audio Source AD2 AD1 AD0 CM SSI 0 CM SSI 1 CM SSI 2 CM SSI 3 ADC Low-latency ADC High-quality AES/EBU Input Sine wave Table 7: Definition of Audio Routing Register Bits Sine Wave Generator The FPGA contains a 32-sample, 24-bit, sine table.
  • Page 18 CobraNet EV-2 Gain register data bits Gain -6dB -12dB -18dB Table 9: Sine Wave Gain Register Bit Definitions LED Control There are two bit registers to control the state of each of three LEDs. The mapping of control bits to LED behavior is described in Table 10 on page 17. The data bit is always AD0. Enable Blink Status...
  • Page 19: Hex Switches

    CobraNet EV-2 Mute Control Muting comes from three different sources 1) the microcontroller can mute or unmute audio by writing to a bit control register. There is one mute bit control register for each output audio path, 2) the CM asserts its mute signal, and 3) all audio is unconditionally muted during a power on/reset calibration cycle.
  • Page 20: Schematics, Page-By

    Either R204 or R207 should be installed, but not both. A/D Converter This circuit is based on the Cirrus Logic CS5396 reference design. See the Cirrus Logic website, http://www.cirrus.com/, for a detailed description of the CS5396 and its reference design, the CDB5396.
  • Page 21: Aes/Ebu Transceiver

    R601. AES/EBU Transceiver This circuit uses the Cirrus Logic CS8420 AES/EBU Transceiver. See the Cirrus Logic website, http://www.cirrus.com/, for a detailed description of the CS8420 as well as the CDB8420, an evaluation board for the CS8420. The EV-2 application runs the CS8420 in AES/EBU transceiver mode with input sample rate conversion.
  • Page 22: Appendix A: Definition Of Terms

    CobraNet EV-2 Appendix A: Definition of Terms This Appendix contains brief definitions of many of the terms used in the discussion of CobraNet and CobraNet networks. Audio Channel A single audio signal. Audio channels on CobraNet have a 48KHz sampling rate and may be 16, 20 or 24 bit resolution.
  • Page 23 CobraNet EV-2 Fast Ethernet A newer version of Ethernet, also known as 100BASE-T. It supports data transfer rates of 100Mbps. CobraNet operates on a Fast Ethernet network. Full Duplex Data can be transmitted and received simultaneously. Half Duplex Data can only be transmitted in one direction at a time. Hub is not a technically concise term.
  • Page 24 CobraNet EV-2 avoid the collision condition that may be experienced within a Repeater Hub. A network utilizing Switching Hubs realizes higher overall bandwidth capacity as data may be received through multiple ports simultaneously without conflict. Switches are full-duplex devices. A network utilizing switches to connect network segments is referred to as a switched network.
  • Page 25: Appendix B: Ev-2 Specifications

    DIGITAL SPECIFICATIONS • A/D quantization: 24-bit resolution. • Audio Sampling Rate: 48kHz. CONNECTOR: 6-Pin Phoenix-type connector. Digital I/O: Cirrus Logic CS8420-CS • AES/EBU input and output. Input is sample rate converted. CONNECTOR: 6-Pin Phoenix-type connector. OTHER SPECIFICATIONS • Power Consumption: <10 W (includes CM) •...
  • Page 26 CobraNet EV-2 D/A: Cirrus Logic CS4396-KS AUDIO SPECIFICATIONS: • Two output channels. • Frequency Response: 20 Hz to 20 kHz, +-0.2 dB, with a -1 dB from full-scale sine wave input. • Total Harmonic Distortion plus noise: < 0.002% @ 1 kHz, with a full-scale output signal.
  • Page 27: Appendix C: Other Resources

    EV-2 Appendix C: Other Resources A comprehensive array of CobraNet information can be accessed at the Cirrus Logic public website. Among the resources available are: FAQs, white papers, datasheets, programmer’s guides, network design guidelines, common network terminology, a listing of recommended and tested Ethernet equipment and set-up information for selected Ethernet switches.
  • Page 28: Appendix D: Ev-2 Schematic Drawings

    CobraNet EV-2 The public CobraNet website can be found at: http://www.cirrus.comAppendix D: EV-2 Schematic Page 27...
  • Page 29 CobraNet EV-2 Drawings Page 28 Rev. 2.0...
  • Page 30 CobraNet EV-2 Page 29...
  • Page 31 CobraNet EV-2 Page 30 Rev. 2.0...
  • Page 32 CobraNet EV-2 Page 31...
  • Page 33 CobraNet EV-2 Page 32 Rev. 2.0...
  • Page 34 CobraNet EV-2 Page 33...
  • Page 35 CobraNet EV-2 Page 34 Rev. 2.0...
  • Page 36 CobraNet EV-2 Page 35...
  • Page 37 CobraNet EV-2 Page 36 Rev. 2.0...
  • Page 38: Appendix E: Ev-2 Command Line Interface

    CobraNet EV-2 Appendix E: EV-2 Command Line Interface. The EV-2 supports a simple command line interface (CLI). This interface allows the user to evaluate the CobraNet module (CM) and monitor and control Management Interface (MI) variables. A list and descrip- tion of commands follow.
  • Page 39 CobraNet EV-2 Please note the difference between the “peek <target = address>” and “<target = MI>” commands. The “peek <target = address>” command will return the raw value at the specified address location whereas the “peek “<target = MI>” command will return a properly formatted value. The difference is significant between the CM-1 and CM-2 where the variables are not stored in memory in the same format.
  • Page 40 – digital audio output #2 from the CS5396, this is a low group delay version of adc1. aes – digital audio output from the Cirrus Logic CS8420 AES I/O IC. sine – a 1500 Hz sinewave generated on the EV-2 board. This makes a useful test tone.
  • Page 41 CobraNet EV-2 Example: led green toggle. This will change the state of the green LED. If it was on it will be off. If the LED was in blink mode the LED will continue to blink but will assume the opposite state prior to the toggle command if blinking is stopped.
  • Page 42 CobraNet EV-2 This is used for manufacturing tests of the EV-2 and in general only the ‘resetcn’ will be useful to the user. <what> = memory – performs an EV-2 memory test, returns either a pass or fail. watchdog – checks the CM watchdog signal to make sure it is in tolerance. Returns pass or fail and measured frequency of CM watchdog signal host –...
  • Page 43 CobraNet EV-2 drl: read the drl (rxl) register. (for CM-2, the CS181xx host register interface) msg: read the msg register (returns four bytes) data: reads the data register (returns four bytes) msga: returns the value of the message A register. msgb: returns the value of the message B register.
  • Page 44 CobraNet EV-2 This command will return the value at the given address location for the EV-2 data memory. Please see the earlier discussion of the EV-2 memory map. <target> = a valid address in hex format. The address is limited to two bytes. Pokeev <target>...
  • Page 45: Appendix F: Cd-Rom Contents

    CobraNet EV-2 Appendix F: CD-ROM Contents. • EV-2 Manual (PDF) • EV-2 Schematics (PDF) • CobraNet Technology Datasheet (PDF) • CM-1 Product Brief (PDF) • CM-1 FW, Product Brief (PDF) • CM-2 Product Brief (PDF) • CS181xx Product Brief • CM-1 and CM-2 Generic Firmware •...
  • Page 46 CobraNet EV-2 Page 45...
  • Page 47 For further information on CobraNet™ products, contact: the Commercial Audio Products Division of Cirrus Logic, Inc. 2500 55th St. Suite 210 Boulder, CO 80301 (303) 245-5500 sales@peakaudio.com www.cirrus.com Copyright © 2001-04 Cirrus Logic, Inc. All rights reserved. CobraNet and Peak Audio are trademarks of Cirrus Logic, Inc.

Table of Contents