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...
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.
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.
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.
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.
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/.
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...
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.
(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.
(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 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...
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.
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.
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.
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.
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.
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.
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>...
Need help?
Do you have a question about the CobraNet EV-2 and is the answer not in the manual?
Questions and answers