EMC12 ETC2 [List of Unclassifed Manufacturers], EMC12 Datasheet

no-image

EMC12

Manufacturer Part Number
EMC12
Description
Audio Interface for the EmPack System
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EMC12F-LC
Quantity:
6
1180 McDermott Dr
Tel: (610) 692-9526
t
Toll-free: (800) 367-6735
EmPack System
Audio Interface
t
Technical Reference
West Chester, PA 19380-4022
Mezzanine Board
email: support@cacdsp.com
Version 1.4
EMC12
t
for the
Fax: (610) 436-8258
t
http://www.cacdsp.com
t
Email: sales@cacdsp.com
Communication
Automation
Corporation

Related parts for EMC12

EMC12 Summary of contents

Page 1

... McDermott Dr West Chester, PA 19380-4022 t t Toll-free: (800) 367-6735 Tel: (610) 692-9526 Audio Interface EmPack System Technical Reference t t http://www.cacdsp.com Fax: (610) 436-8258 EMC12 for the Mezzanine Board Version 1.4 email: support@cacdsp.com Communication Automation Corporation t Email: sales@cacdsp.com ...

Page 2

... Unix is a registered trademark of Santa Cruz Operations. VME and VMEbus are registered trademarks of Motorola, Inc. Use of a term in this manual should not be regarded as affecting the validity of any trademark or service mark. 09 Jan 2006 EMC12 Hardware Reference Manual 2001- 2006 Communication Automation Corporation West Chester, PA (USA) Communication Automation Corporation ...

Page 3

... Table of Contents 1. EMC12 AUDIO INTERFACE FOR THE EMPACK SYSTEM................................1-1 1.1 EmPack EMC12 Overview...........................................................................................................................................1-1 1.1.1 EMC12 Introduction..............................................................................................................................................1-1 1.1.2 EMC12 Top Level Description.............................................................................................................................1-2 1.2 EMC12 Hardware Specification .................................................................................................................................1-4 1.2.1 EmPack Mezzanine Interface................................................................................................................................1-4 1.2.2 Parallel I/O...............................................................................................................................................................1-5 1.2.3 Reset and Configuration.....................................................................................................................................1-11 1.3 EMC12 TDM................................................................................................................................................................1-12 1.3.1 TDM Connections...............................................................................................................................................1-12 1.3.2 Continuation Slots ...............................................................................................................................................1-15 1.3.3 TDM Validity and Conditional Transfers.........................................................................................................1-16 1.3.4 Programmable TDM Validity..............................................................................................................................1-16 1 ...

Page 4

... Table 1-24: 2x2 Jumper Block....................................................................................................................................................1-36 Table 1-25: CODEC Jumper Block Examples ..........................................................................................................................1-37 Table 1-26: AMP and T&B OUT Signals ...............................................................................................................................1-40 Table 1-27: AMP and T&B IN Signals ....................................................................................................................................1-41 Figure 1-1: EMC12 Mezzanine Board with DSP.......................................................................................................................1-1 Figure 1-2: EMC12 Block Diagram.............................................................................................................................................1-3 Figure 1-3: TDM Timing............................................................................................................................................................1-16 Figure 1-4: CODEC Channel Gain Stages ...............................................................................................................................1-30 Figure 1-5: CODEC Channel Jumper PCB Section.................................................................................................................1-36 Figure 1-6: Thomas & ...

Page 5

... CS4231A CODECs with a total of 12 audio channels, an optional Agere DSP32C processor, its memory, and the software libraries and drivers to support this board. Some of the detailed specifications in this manual reflect logic available in version 1.2 of the EMC12 FPGA configuration. This FPGA configuration is included in version 3.4.7 of the EmPack FPGA flash file (fpga347.bin). ...

Page 6

... EMC12 Top Level Description The EMC12 is a mezzanine board for the EmPack system. It contains the following major functional blocks: An EmPack mezzanine bus interface Six CS4231A CODECs with a total of 12 audio channels An optional Agere DSP32C processor operating at 74 MHz 512k bytes or 2 Mbytes of zero wait-state (0ws) static RAM for the DSP ...

Page 7

... EMC12 Hardware Reference Manual Figure 1-2: EMC12 Block Diagram 09 Jan 2006 Communication Automation Corporation 1-3 ...

Page 8

... The electrical hardware portions of the characteristics in Section 3 are elaborated in the following subsections. 1.2.1 EmPack Mezzanine Interface The EmPack mezzanine connector provides the basic communication path between the base board and mezzanine boards. Signals used by the EMC12 are grouped by function and discussed in subsequent sections. Table 1-1: EmPack Mezzanine Connector Pinout Pin ...

Page 9

... Each mezzanine in an EmPack system has a unique Module ID (MODID) at any given time. The MODID signals on the bottom connector of the first mezzanine (closest to the base board) are controlled directly by the base board. The MODIDs of two adjacent mezzanines have the following relationship: 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual I/O Pin Pin Name Number ...

Page 10

... Table 1-3: Register Map For DSP Resources PIO_A[1-5] Access 0x00 - 0x0D Read/Write 0x0E - 0x11 0x12 Read/Write 0x13 - 0x1D 0x1E Read/Write 0x1F Table 1-4: Register Map For TDM Resource 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual = n+1 n+1 Table 1-2: PIO Resource Map PIO_A[14-17] Resource 0x0 CODEC 0 0x1 ...

Page 11

... EMC12 Hardware Reference Manual PIO_A[1-5] Access 0x00 Read/Write 0x01 - 0x1F Table 1-5: Register Map For SYSTEM Resource PIO_A[1-5] Access 0x00 Read/Write 0x01 Read/Write 0x02 Read 0x03 Read/Write 0x04 Write 0x05 Read/Write 0x06 Read/Write 0x07 Read/Write 0x08 Read/Write 0x09 Read/Write 0x0a Read/Write 0x0b ...

Page 12

... EMC12 Hardware Reference Manual 3 FIFO_RT 4 SWITCH_FIFO 5 CLR_FINT 6 CLR_TINT Reserved Table 1-8: PIO Interrupt Status Register (PISR) Bit(s) Name 0 DSP 6 FIFO 7 TIMEOUT Reserved Table 1-9: PIO Interrupt Mask Register (PIMR) Bit(s) Name 0 DSP 6 FIFO 7 TIMEOUT Reserved Table 1-10: DSP Interrupt Control Register (DICR) ...

Page 13

... EMC12 Hardware Reference Manual 4 SR48 5 LOCK 6 LOSTLOCK Reserved 09 Jan 2006 Communication Automation Corporation Read/Write 48kHz sample rate Read Only CODEC sync locked Read Only CODEC sync lost lock 1-9 ...

Page 14

... PIO_IRQ0- signal. The PIO_IRQ0- is asserted until all the interrupt sources are either turned off or disabled. Reading the PIR clears the corresponding DSP interrupt. To clear the FIFO Switch and PIO Timeout interrupts, set the CLR_FINT and CLR_TINT bits in the BCR1 respectively. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual 1-10 ...

Page 15

... TDO signals are connected to the SK and DO pins of the EEPROM. MODID0 and MODID3 are AND’ed together and connected to the DI pin. The base board can use the information stored in the EEPROM to configure the EMC12 appropriately. Note that the sequence of numbers used for MODID is {0x7, 0x3, 0x1, 0x0, 0x8, 0xC, 0xE, 0xF}. 0xF is the only number whose MODID0 and MODID3 bits AND’ ...

Page 16

... TDM map. For each time slot, a set of control words in the map determines the source and destination(s) of the data on each TDM bus. The control words are recycled in every TDM frame. For the EMC12 mezzanine, eight control words are used to establish connection for each time slot. Tables 1- 13, 1-14, and 1-15, below, show the format of the control words. ...

Page 17

... CODEC9 Destination Table 1-15: TDM Destination Control Word Definition (Word 7) Tables 1-16, 1-17 and 1-18 below shown the meanings of the values for each type of control word. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual Bits Bits Bus A Source Bus B Source Bus C Source ...

Page 18

... EMC12 Hardware Reference Manual Table 1-16: Bus Source Encoding Value 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF Table 1-17: CODEC Destination Encoding Value 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 09 Jan 2006 Communication Automation Corporation ...

Page 19

... TDM bus data is driven to the DSP serial input without a ILD pulse. The same concept is used for transferring 16-bit data items to or from the Codecs, using pairs of consecutive 8-bit time slots. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual Meaning DSP receives unconditionally from Bus A DSP receives unconditionally from Bus B ...

Page 20

... TDM frame, the DSP must be allowed to transmit serial data for every time slot on which it is connected to the TDM bus. However there may be times when the 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual OLD suppressed ...

Page 21

... DSP has no valid data to send on one or more time slots such as when a frame slip is detected on an incoming stream. The EMC12 hardware provides a mechanism for the DSP to control the TDM valid signal that accompanies each TDM data bus. This is accomplished by using pairs of consecutive TDM time slots. ...

Page 22

... PIO interface. When the TDM_RESET bit is ‘0’, the EMC12’s TDM system becomes idle. It does not drive any of the LTDM lines or DSP SIO signals. Before writing a ‘1’ to the TDM_RESET bit, the base board should setup the FIFOs with valid TDM control words. The TDM becomes active at the second frame boundary after TDM_RESET become ‘ ...

Page 23

... API Functions for TDM Control The Empack host API includes several functions for controlling the TDM timing and connection map. This section describes how these functions pertain to the EMC12 mezzanine. See the Empack API Reference manual for more details about these functions. ...

Page 24

... EmInitModule and EmInitEmpack functions if they are called with the EM_INIT_FORCED option. On power-up the TDM map contents are undefined necessary to call one of these functions to clear the TDM map before creating the desired map. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual int EmStopTdm ( MODULE_HANDLE Module ) ...

Page 25

... EMC12 Hardware Reference Manual 09 Jan 2006 Communication Automation Corporation 1-21 ...

Page 26

... TDM time slot. EmAddTdmDst is used to add a device to receive data from a specified TDM bus during a specified TDM time slot. Both functions require arguments to specify the Empack Module and Resource for the TDM device. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual int EmAddTdmDst ( MODULE_HANDLE Module, RESOURCE_HANDLE Resource, ...

Page 27

... TDM_CONDITIONAL TDM_DSP_VALID Valid values for Codec resources are: TDM_DATA TDM_CONTINUE The Option2 argument does not pertain to the EMC12 mezzanine and should be 0. The following functions are used to make incremental additions, deleting TDM sources or destinations to the software copy of theTDM map. int EmDelTdmSrc ( ...

Page 28

... Below is an example of setting up a TDM map for this mode using the API functions. In the example, a TDM map is built for an EMC12 DSP to transmit data and control the valid line on 4 TDM slots. The DSP will synchronize to the TDM frame and begin sending 4 16-bit words per frame. ...

Page 29

... TDM slot for the DSP. Simply specifying the new source device is sufficient to properly modify the TDM map. None of the changes actually take affect until EmWriteTdmMap is called. /* Replace DSP source on slot 9 with Codec */ EmAddTdmSrc(emc12, codec, 9, tdm_bus, TDM_DATA, 0); /* Discontinue driving slot 13 with DSP data and valid*/ EmDelTdmSrc(emc12, dsp, EmWriteTdmMap(emc12); ...

Page 30

... EMC12 DSP The EMC12 is optionally populated with one Agere DSP32C MHz, 20 MIPs, 40 MFlops digital signal processor chip packaged in a 164-pin bumpered quad flat pack (BQFP). The DSP32C may be operated from 50MHz to 80 MHz. The DSP is controlled by an FPGA (Xilinx 4013E) which provides address decoding for the parallel ports, external interrupt control, TDM interface, and interface to the status LEDs ...

Page 31

... DSP Clock Frequency (MHz Refer to ICS AV9110 data sheet for more information on programming the device. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual Function VCO Frequency Divider Reference Frequency Divider VCO Pre-scale Divider 0b = divide divide by 8 CLK/X Output Divider ...

Page 32

... The LMSYNC pulse lasts one full TDM frame and occurs every N frames, where ..., 32. Figure XX below shows the timing of the LMSYNC rising edge. The falling edge timing is identical but occurs one TDM frame later. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual Physical Memory Accessed Mode 6 0x000000 0x1FFFFF ...

Page 33

... EMC12 CODECS This section describes the basic operation of the Crystal CS4231A CODECs, as they are integrated on the EMC12 mezzanine. Additional details on the operation of the CODECs may be found in the data sheet for the CS4231A CODEC which is available on CAC’s FTP site (ftp://ftp.cacdsp.com/pub/datasheets/crystal/cs4231a.pdf). ...

Page 34

... Mute argument is TRUE (non-zero) and turned off FALSE. The EmGetCodecMute function returns the current mute setting in the memory pointed to by its Mute argument. Overall Input and Output Level Settings: 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual int EmGetCodecMute ( RESOURCE_HANDLE Resource, BOOL *Mute ) ...

Page 35

... EMC12 Hardware Reference Manual int EmSetCodecLevels ( RESOURCE_HANDLE Resource, float Input float Output ) The EmSetCodecLevels function provides a simple method to control the overall gain / attenuation settings of the analog input and output. It adjusts all aspects of the input and output gain stages to achieve the specified gain or attenuation, selecting which CODEC input to use and taking into account the clipping level of the CODEC’ ...

Page 36

... Converting Levels from VME6U6-C12 to EMC12: The gain stages of the EMC12 Mezzanine were designed to provide a similar range of input and output levels as the C12 Mezzanine for the VME6U6 boards. However, some differences remain. Most notably, the EMC12 gain/attenuation settings are specified in decibels and the VME6U6-C12 levels are specified as integer values used to set the digitally controlled voltage dividers in its CODECs. There is also a different nominal full scale voltage reference ...

Page 37

... The functions operate on registers inside the CS4231 CODECs as well as setting register bits in the EMC12’s FPGA controlling the interface between the CODEC and the TDM subsystem. These functions may be applied to an individual resource or the EMC12 broadcast resource. Note, however, that these operations apply to both channels in the CODEC for an individual resource. Therefore, setting the data conversion format or sampling rate for CODEC resource ‘ ...

Page 38

... EMC12 Hardware Reference Manual The EmGetCodecCvMode function reads the current conversion modes and stores the results in the memory pointed to by its InputCvMode and OutputCvMode arguments. When using the 16-bit conversion modes necessary to configure the TDM map to use pairs of consecutive TDM slots to carry each 16-bit sample. This is accomplished by configuring the TDM MAP using first a normal TDM slot connection, followed by a CONTINUATION slot in the succeeding time slot ...

Page 39

... EMC12 Hardware Reference Manual The EmGetCodecSampleRate function reads the current sample rate and stores the result in the memory pointed to by its SampleRate argument. 09 Jan 2006 Communication Automation Corporation 1-35 ...

Page 40

... I/O Jumper Settings For each of the 12 CODEC channels, there are two jumper blocks that configure the analog I/O circuitry. Figure 5 shows a diagram representing one section of the EMC12 PCB. This section is repeated 12 times array on the board near the front audio connector. Figure 1-5: CODEC Channel Jumper PCB Section ...

Page 41

... Table 1-25: CODEC Jumper Block Examples DC Differential Input, Differential Output Differential Input, 600 Ohm Input Single-Ended Input Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual DC Differential Input, Single-Ended Output Single-Ended Input 2 2 Microphone Power ...

Page 42

... Typically, Thomas&Betts (T&B) connectors are used between the EmPack codec cards mounted inside the card cage and the rear-panel circuit board. Flat ribbon cable is used for the interconnection. Figure 1-6: Thomas & Betts connector 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual 1-38 ...

Page 43

... AMP connectors are used between the outside of the rear-panel and the audio patch panel. Standard external SCSI cables with thumbscrews or latches are used to make these connections. 09 Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual Figure 1-7: AMP connector 1-39 ...

Page 44

... OUT11+ 66 OUT11- 32 GND 5 GND 6 GND 11 GND 21 GND 30 GND Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual T& ...

Page 45

... IN 11- 67 GND 39 GND 40 GND 45 GND 55 GND 64 GND Jan 2006 Communication Automation Corporation EMC12 Hardware Reference Manual T& ...

Page 46

... EMC12 Hardware Reference Manual 09 Jan 2006 Communication Automation Corporation 1-42 ...

Page 47

... Display LEDs The EMC12 has a pair of status LEDs controlled by the DSP. The DSP can access these indic ators by writing to any address between 0x800000 and 0xBFFFFF. The pair of LEDs display the value of the two least significant bits written. The green LEDs corresponds to D1 and the yellow LED corresponds to D0 ...

Page 48

... Software Software drivers for Solaris, Windows NT and Window 2K are provided, together with a host API to allow access to and control of the EMC12 from user-developed programs. Diagnostics are provided which are sufficient to verify correct operation of all functional blocks on the EMC12. 1.11 Reference Documents 1. Crystal Semiconductor CS4231A Data Sheet. ...

Related keywords