PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD PM6541 E1XC-EVBD E1XC EVALUATION DAUGHTERBOARD ISSUE 1: DECEMBER 1997 PMC-Sierra, Inc. 105 - 8555 Baxter Place Burnaby, BC Canada V5A 4V7 604 .415.6000 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD CONTENTS 1 OVERVIEW............................................................................................... 1 2 FUNCTIONAL DESCRIPTION ................................................................. 2 3 2.1 BLOCK DIAGRAM ......................................................................... 2 2.2 BUS TRANSCEIVERS ................................................................... 2 2.3 DECODE LOGIC ........................................................................... 3 2.4 DIP SWITCHES ............................................................................. 3 2.5 CLOCK DPLL................................................................................. 3 2.6 OSCILLATORS .............................................................................. 3 2.7 E1XC DEVICES............................................................................. 4 2.8 "CSU" CONNECTION BLOCKS .................................................... 4 2.9 TRANSMIT/RECEIVE INTERFACE ............................................... 5 INTERFACE DESCRIPTION .................................................................... 6 3.1 EDGE CONNECTOR INTERFACE ................................................ 6 3.2 HEADER CONNECTIONS............................................................. 7 3.2.1 EXTERNAL SIGNAL HEADER ........................................... 8 3.2.2 DPLL HEADER ................................................................... 8 3.2.3 E1XC HEADERS ................................................................ 9 3.2.4 PROTOTYPE CHIP SELECT HEADER ............................ 10 3.3 4 DIP SWITCHES ........................................................................... 11 PHYSICAL DESCRIPTION .................................................................... 12 4.1 CHARACTERISTICS ................................................................... 12 4.2 LAYOUT ....................................................................................... 13 i PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 5 D.C. CHARACTERISTICS ...................................................................... 14 6 IMPLEMENTATION DESCRIPTION ....................................................... 15 6.1 BUS TRANSCEIVERS ................................................................. 15 6.2 DECODE LOGIC ......................................................................... 16 6.3 CLOCK PLL AND DIP SWITCHES.............................................. 18 6.4 E1XC ........................................................................................... 22 6.5 "CSU" DIPS AND JUMPERS....................................................... 22 6.6 TRANSMIT/RECEIVE INTERFACES........................................... 24 7 E1XC DAUGHTERBOARD FIRMWARE DESCRIPTION ....................... 25 8 STOCK LIST........................................................................................... 35 9 REFERENCES ....................................................................................... 41 APPENDIX 1: COMPONENT PLACEMENT DIAGRAM.................................... 42 APPENDIX 2: SCHEMATICS ............................................................................ 43 ii PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 1 OVERVIEW The PM6541 E1XC EVBD evaluation daughterboard allows for the test, evaluation and demonstration of the PMC PM6341 E1XC device. It is also compatible with the PM4341 T1XC device. This daughterboard can be used standalone with up to two E1XC devices but has been especially designed to mate with the PMC PM1501 EVMB evaluation motherboard to form a complete evaluation system. All required decoding logic is provided on the E1XC EVBD daughterboard to give the EVMB direct access to all registers of both E1XC devices. All of the principal connections to both devices have been brought out to header strips for convenient test access. E-1 digital interfaces are provided on a header strip and BNC or mini-bantam connectors are provided for E-1 analog signals. Both 75 Ω and 120 Ω interfaces are provided. The backplane interfaces of each device are accessible through header strips and the devices can be interconnected back to back, effectively creating a jitter-attenuating format converter by dropping in shorting connectors into specific DIP sockets. Clocks for the backplane are provided by a T1/CEPT digital trunk DPLL which provides a synchronized 1.544 MHz, 2.048 MHz, or 4.096 MHz signal. The PLL can be easily bypassed to allow direct drive of the backplane with an appropriate oscillator. A prototype area has been provided for breadboarding more complex applications. The E1XC EVBD evaluation daughterboard is configured, monitored, and powered through an edge connector that is designed to mate with the EVMB evaluation motherboard 1 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 2 FUNCTIONAL DESCRIPTION 2.1 Block Diagram DIP Sw. Clock/PLL Osc Clock Hdr Decode Logic Headers E1XC West Osc West Tx / Rx Interface Bus Transceivers 96 Pin Male DIN Connector E1XC East East Tx / Rx Interface Osc Figure 1: Block Diagram 2.2 Bus Transceivers Bus transceivers are provided at the connector interface to prevent excessive loading of the 68HC11 on the EVMB evaluation motherboard. In addition they provide some measure of isolation for the daughterboard and protection for other external signals such as the EXTCLK and EXTFP inputs. 2 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 2.3 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD Decode Logic Decode logic is provided on the daughterboard to give memory mapped access to all of the registers within both E1XCs. Registers within the "east" E1XC are accessible starting at address C000H. Registers within the "west" E1XC are accessible starting at address C100H. Additional chip selects are provided for addresses C200H-C2FFH and C300H-C3FFH for use on the prototype area. 2.4 DIP Switches The DIP switch settings control the operational modes of the MT8940 DPLL device that is used to generate the backplane clock. Access to the enable inputs for the various clock outputs is also provided through these switches. 2.5 Clock DPLL The MT8940 T1/CEPT Digital Trunk DPLL can provide a number of different clocks with different methods of synchronization, depending upon its mode setting, which can be used to drive the backplane interface of the E1XCs. The device can output 1.544 MHz, 2.048 MHz, and 4.096 MHz clocks in true or complement format. The DPLL can be allowed to free-run or it can be synchronized to the receive frame pulses of either E1XC. PLL control is accomplished with the DIP switches connected to the inputs. 2.6 Oscillators Up to four oscillators can be used on the E1XC EVBD daughterboard depending upon the choice of configuration. The E1XC devices require a 49.152 MHz clock if all of the device's features are to be utilized. Although two oscillator sockets are provided, only a single oscillator is necessary if two E1XC devices are used. The insertion of a jumper (J25) will join the two E1XC XCLK inputs together to allow the single clock to drive both devices. If a T1XC device is used in place of one of the E1XC devices then the jumper must be removed to isolate each clock line and a 37.056 MHz oscillator is used to drive the T1XC XCLK input. The MT8940 DPLL device requires two oscillators to drive internal DPLLs, one at 12.355 MHz, and the other at 16.384 MHz. If the MT8940 is removed from the daughterboard, then these oscillators can be replaced with ones directly compatible with the backplane rate. Each oscillator output is directly accessible at header pins, allowing connections to be made by connecting jumpers to the E1XC devices. 3 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 2.7 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD E1XC Devices Up to two E1XC devices can be placed on the daughterboard at a time. Each device runs independent of the other, except when explicit connections are made through the header strips (i.e. when configured as a jitter attenuating format converter). All internal registers are individually accessible and each device has been set up with individual receiver, transmitter and backplane access through headers and connectors. A full description of the E1XC device is beyond the scope of this document. For more information, refer to the PM6341 E1XC datasheet. 2.8 "CSU" Connection Blocks While the main purpose of the evaluation daughterboard is to provide unrestricted access to all of the features of the E1XC device, one application is conveniently provided which allows easy evaluation of most of the features of the device. By plugging in shorting jumpers into the two 16 pin CSU DIP sockets (U5 and U6) on the daughterboard, the two E1XCs are connected back to back to implement a jitterattenuating format converter (a function often implemented within a CSU) as described in the E1XC datasheet. These CSU DIP socket jumpers make almost all of the necessary connections except for the signals BRCLK, BRFPI, and BTCLK. Connections for these signals are made through E-W and W-E jumper blocks J19, J20, J21, J22, J23, and J24. By installing jumper connections between pin 1 and pin 2 of jumper blocks J19 and J20, between pin 3 and pin 4 of each of jumper blocks J21, J22, J23, J24, and between pin 2 and 3 of jumper block J30, a "CSU" like application can be implemented where the 2.048 MHz clock for the backplane between the two E1XC devices is provided by the MT8940, which in turn is locked to the recovered clock provided by E1XC #1. Variations of this application can be explored by using the other options provided on the jumper blocks. Connections are provided for 2.048 MHz and externally supplied backplane clock rates. 4 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT AVD TAN TC + N e t w o r k RAS E-1 Receive REF RRC XCLK BTPCM BTSIG BTFP BTCLK BTPCM BTSIG BTFP BTCLK BRFPI BRCLK BRFPI BRCLK BRPCM BRSIG BRFPO RCLKO RFP BRPCM BRSIG BRFPO RCLKO RFP #1 #2 XCLK TAP E-1 Transmit TAN TC + TAP E-1 Transmit E1XC EVALUATION DAUGHTERBOARD PM6341 E1XC ISSUE 1 PM6341 E1XC PMC-930917 AVD RAS E-1 Receive REF RRC AVS AVS AVS 37.056MHz AVS Figure 2: Jitter Attenuating "CSU" Application Hookup 2.9 Transmit/Receive Interface The daughterboard provides three different types of interfaces for the transmit and receive signals. The two standard analog interfaces provided are a 120 ohm minibantam interface and a 75 ohm BNC interface. The transmit mini-bantams are terminated with a 200 ohm resistor on the TN/RN pins to prevent an excessive voltage kick when mini-bantam plugs are inserted or removed. The BNC connector barrel can optionally be terminated with a resistor to ground, or grounded directly, by stuffing a resistor or shorting strap in locations R15, R16, R17, and R18. The daughterboard is shipped with these 4 locations empty, thereby providing a 75• BNC interface. The third interface provided is strictly digital and brings out all of the E1XC's digital E-1 signals to header pins for easy test access. When the digital interface is used each E1XC's analog receiver can be powered down by moving the jumper on jumper block J31 or J32. 5 C u s t o m e r PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 3 INTERFACE DESCRIPTION 3.1 Edge Connector Interface The Edge Connector Interface is made up of a male 96 pin DIN of which 64 pins are actually used. It consists of signals appropriate to read and write to the registers of the devices on the daughterboard, and it provides the necessary power and ground. The connections have been specially designed to mate with PMC's PM1501 EVMB evaluation motherboard. TTL signal levels are used on this interface. Signal Name Type Function ALE O Pin C1 E O C2 Microprocessor Clock RWB O C3 Active low write, active high read enable RSTB O C4 Active low H/W reset A[15] O C5 Address bus bit 15 A[14] O C6 Address bus bit 14 A[13] O C7 Address bus bit 13 A[12] O C8 Address bus bit 12 A[11] O C9 Address bus bit 11 A[10] O C10 Address bus bit 10 A[9] O C11 Address bus bit 9 A[8] O C12 Address bus bit 8 AD[7] I/O C13 Multiplexed address/data bus bit 7 AD[6] I/O C14 Multiplexed address/data bus bit 6 AD[5] I/O C15 Multiplexed address/data bus bit 5 AD[4] I/O C16 Multiplexed address/data bus bit 4 AD[3] I/O C17 Multiplexed address/data bus bit 3 AD[2] I/O C18 Multiplexed address/data bus bit 2 Address latch enable. When high, identifies that address is valid on AD[7:0]. 6 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 3.2 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD AD[1] I/O C19 Multiplexed address/data bus bit 1 AD[0] I/O C20 Multiplexed address/data bus bit 0 PA3 O C21 68HC11 Processor Port A bit 3 PA4 O C22 68HC11 Processor Port A bit 4 PA5 O C23 68HC11 Processor Port A bit 5 PA6 O C24 68HC11 Processor Port A bit 6 PD2 I C25 MISO. Master In Slave Out of Port D acting as SPI. Pulled up on motherboard. PD3 O C26 MOSI. Master Out Slave In of Port D acting as SPI. Pulled up on motherboard. PD4 O C27 SCK. Serial clock of Port D acting as SPI. Pulled up on motherboard. PD5 O C28 SS. Slave Select of Port D acting as SPI active low. Pulled up on motherboard. IRQ I C29 Maskable interrupt XIRQ I C30 Non Maskable Interrupt DISB I C31 EVMB memory disable. Pulling this signal low will disable MPU access to the EVMB's on-board RAM and EPROM. SP O C32 SPARE GND O A1A28 Ground +5V O A29A32 +5 Volts Header Connections All E1XC functional pins are connected to male header strips to provide as much access as possible. These headers may be used as probe points or as a means to build sample applications by making appropriate connections between points. Each E1XC can run in isolation of the other, thus any application, other than the default sample "CSU", will require header connections to be made. 7 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 3.2.1 External Signal Header This header is provided to accept an external clock and framing pulse source. These inputs are then buffered for use on the board. External clock sources must be buffered through this header to avoid possible damage to the E1XCs or DPLL. Signal Type Ref. Description EXTFP I J26-2 External Framing Pulse Input EXTCLK I J26-4 External Clock Input BEXTFP O J27-1 Buffered External Framing Pulse BEXTCLK O J27-2 Buffered External Clock 3.2.2 DPLL Header This header is provided to give access to the clock generating MT8940 DPLL chip as well as provide direct oscillator access. All of the major DPLL outputs are brought out to this header even though they may be of limited use with the E1XC (e.g. the 4.096 MHz clock). Signal Type Ref. Description FPIN I J29-2 1.544 MHz Framing pulse input to MT8940. C8KB I/O J29-1 2.048 MHz Framing pulse in/out (mode dependent). GFP I/O J29-3 8 kHz Framing pulse output from the MT8940. Note that this active low output signal is derived from the 16.388 MHz clock and has a 244ns pulse width. C1M5 O J29-4 1.544 MHz Output clock from MT8940. C1M5B O J29-5 Inverted C1M5 clock. C2M O J29-6 2.048 MHz output clock from MT8940. C2MB O J29-7 Inverted C2M clock. C4M O J29-8 4.096 MHz Output clock from MT8940. C4MB O J29-9 Inverted C4M clock. 8 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD C16M O J29-10 Direct access to 16.388 MHz clock driving the MT8940. This pin is mainly provided for direct oscillator access. If the MT8940 is not used the 16.388 MHz clock can be replaced by a 2.048 MHz clock with access to the clock signal provided by this pin. C12M O J29-11 Direct access to 12.355 MHz clock driving the MT8940. This pin is mainly provided for direct oscillator access. If the MT8940 is not used the 12.355 MHz clock can be replaced by a 1.544 MHz clock with access to the clock signal provided by this pin. GND G J29-12 MT8940 DPLL header ground reference. 3.2.3 E1XC Headers A number of headers are provided which give direct access to the main functional pins on the E1XCs. Both devices on the daughterboard have the same pins brought out to headers and every effort has been made to insure that all headers are symmetrical with both devices. The E1XCs are uniquely identified by an east/west designation. The following table gives a brief description of the E1XC signals. For a more detailed description of the E1XC device, refer to the E1XC datasheet. Signal TAP TAN RAS REF GND TCLKI TCLKO TDP/TDD Type O O I I/O G I O O Ref (E) J9-1 J9-2 J9-3 J9-4 J9-5 J15-1 J15-2 J15-3 Ref (W) J10-1 J10-2 J10-3 J10-4 J10-5 J16-1 J16-2 J16-3 TDN/TFLG O J15-4 J16-4 TDLCLK/ TDLUDR TDLSIG/ TDLINT GND O J15-5 J16-5 I/O J15-6 J16-6 G J15-7 J16-7 Description Transmit Analog Positive Pulse Transmit Analog Negative Pulse Receive Analog Signal Receive Reference E1XC Analog Ground Reference Transmit Clock Input Transmit Clock Output Transmit Digital Positive Line Pulse/ Transmit Digital DS-1 Signal Transmit Digital Negative Line Pulse/ Transmit FIFO Flag Transmit Data Link Clock/ Transmit Data Link Underrun Transmit Data Link Signal/ Transmit Data Link Interrupt E1XC Digital Transmit Ground Reference 9 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 RDLCLK/ RDLEOM RDLSIG/ RDLINT RCLKI RDP/ RDD/ SDP ISSUE 1 E1XC EVALUATION DAUGHTERBOARD O J13-1 J14-1 O J13-2 J14-2 I I/O J13-3 J13-4 J14-3 J14-4 RDN/ RLCV/ SDN I/O J13-5 J14-5 GND BTPCM/ BTDP BTSIG/ BTDN BTFP BTCLK GND G I J13-6 J11-4 J14-6 J12-4 I J11-3 J12-3 I I G J11-2 J11-1 J11-5 J12-2 J12-1 J12-5 BRCLK BRFPI BRPCM/ BRDP BRSIG/ BRDN BRFPO RDPCM/ RPCM RCLKO RFP GND I I O J17-1 J17-2 J17-3 J18-1 J18-2 J18-3 O J17-4 J18-4 O O J17-5 J17-6 J18-5 J18-6 O O G J17-7 J17-8 J17-9 J18-7 J18-8 J18-9 Receive Data Link Clock/ Receive Data Link End of Message Receive Data Link Signal/ Receive Data Link Interrupt Receive Line Clock Input Receive Digital Positive Line Pulse/ Receive Digital DS-1 Signal/ Sliced Positive Line Pulse Receive Digital Negative Line Pulse/ Receive Line Code Violation Indication/ Sliced Negative Line Pulse Backplane Transmit PCM/ Backplane Transmit Positive Line Pulse Backplane Transmit Signaling/ Backplane Transmit Negative Line Pulse Backplane Transmit Frame Pulse Backplane Transmit Clock Backplane Transmit Header Ground Reference Backplane Receive Clock Backplane Frame Pulse Input Backplane Receive PCM/ Backplane Receive Positive Line Pulse Backplane Receive Signaling/ Backplane Receive Negative Line Pulse Backplane Frame Pulse Output Recovered Decoded PCM/ Recovered PCM Recovered PCM Clock Output Receive Frame Pulse Backplane Receive Ground Reference 3.2.4 Prototype Chip Select Header Two unused chip selects from the decoding logic are provided on a header near the prototype area. 10 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 Signal 3.3 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD Type Ref. Description Spare1_CSB O J28-1 Spare CSB pin address (C2XX) Spare2_CSB O J28-2 Spare CSB pin address (C3XX) DIP Switches One 8 bit dip switch is provided on the daughterboard. This switch controls the operating modes of MT8940 PLL chip and the output enables for the various clock outputs. When open, each bit line is pulled high. When closed, the bit lines are individually pulled to ground. For a brief description of the MT8940 operating modes, consult the tables in the Clock PLL implementation description section. Switch ID Clock 1 Clock 2 Clock 3 Clock 4 Clock 5 Clock 6 Clock 7 Clock 8 Mapping MS0 MS1 MS2 MS3 ENC2O ENCV ENC4O Unused 11 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 4 PHYSICAL DESCRIPTION 4.1 Characteristics The E1XC EVBD is an evaluation board that allows the E1XC device to be feature tested and evaluated for various applications. While the daughterboard can be used standalone with a limited feature set, it has been especially designed to link with PMC's EVMB (Evaluation Motherboard). The EVMB controller board provides a microprocessor to read and write to all of the E1XC's internal registers allowing configuration, control and set-up of the various modes of E1XC operation. The E1XC EVBD is laid out for convenient bench top use for test or demonstration purposes. It is provided with rubber feet that are placed to avoid PCB flexing. Pin headers provide easy access to all signals necessary during device testing. A T1/CEPT Digital PLL is installed to provide the necessary 2.048 MHz backplane rate. External pins allow access when using an externally generated backplane clock. Ground pins for scope probes are conveniently provided and distributed. Simple configuration into the example CSU application is provided. The DIP switches, pin headers, and interface connections are labeled on the silkscreen for easy identification and ample prototype area is provided. The size of the E1XC EVBD is constrained to 8.5 x 6.5 inches and, when mated with the EVMB card, will fit into a standard three ring binder. 12 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 4.2 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD Layout Bantam R/C External CLK/FP Transformer Oscillators 8940 HDR MT8940 8940 DIP SW BNC Mini-Bantam E1XC #1 Osc RXAnalog Power TX/RX Header E1XC #1 (EAST) W-E Jumpers Backplane Headers CSU Config DIPS Mini-Bantam Bantam R/C Glue Logic BUS TRANSCEIVERS 96 Pin Male DIN E-W Jumpers BNC BNC Mini-Bantam Backplane Headers E1XC #2 Osc PROTOTYPE AREA Figure 3: Board Layout 13 Transformer E1XC #2 (WEST) TX/RX Header CLK RXAnalog Power BNC Mini-Bantam PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 5 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD D.C. CHARACTERISTICS Symbol Parameter Min Max Units Test Conditions V5DC +5V DC Power 4.5 Supply Voltage 5.5 V I5DC +5V DC Power Supply Current 3 A V5DC = 5.0 V + 10% TA Ambient Temperature 50 °C VDC = 5.0 V + 10% 0 14 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 6 IMPLEMENTATION DESCRIPTION The E1XC EVBD (PM6541) is the T1XC EVBD (PM4541) with different stuffing options. The following are the differences between the two products: 1.) Two PM6341s are stuffed instead of two PM4341s. 2.) Oscillator U1 is not stuffed. 3.) Socket U2 is stuffed with a 49.152 MHz oscillator. 4.) Several resistor values are changed: R4 = R9 = 523 Ω (1%) R3 = R8 = 4.53 kΩ (1%) R20 = R22 = 1 kΩ (5%) 5.) Stuff C1 and C4 with a 1 nF capacitor and a 47 Ω resistor in series. The E1XC EVBD should be shipped with header shunts between the following pins: J25 - pins 1 and 2 J19 - pins 3 and 4 J20 - pins 3 and 4 J21 - pins 5 and 6 J22 - pins 5 and 6 J23 - pins 5 and 6 J24 - pins 5 and 6 J22 - pins 5 and 6 J30 - pins 1 and 2 J31 - pins 1 and 2 J32 - pins 1 and 2 6.1 Bus Transceivers Bus Transceivers have been used on the daughterboard to minimize the loading presented to the motherboard microprocessor. Two 74HCT244's buffer all eight upper address bits, the microprocessor control signals, and the external clock and framing pulse inputs. A single 74HCT245 provides the bi-directional buffering of the 15 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD multiplexed address/data bus. All motherboard signals from the 96-pin DIN connector have been tied through SIPs to insure proper standalone operation. The standard techniques outlined in the EVMB datasheet for implementing the decoding and buffering has been followed. 6.2 Decode Logic The decode logic provides the address mapping of all internal registers of both E1XC's as well as providing generation of the required RDB and WRB signals. Again the implementation of the decode logic has followed the techniques outlined in the EVMB datasheet. E1XC #1 (EAST) is mapped starting at address C000H and E1XC #2 (WEST) is mapped starting at address C100H. Two unused chip selects, active for address ranges C200-C2FFH and C300-C3FFH, are available for use on the prototype section. The full register map is given below: East E1XC C000H C001H C002H C003H C004H C005H C006H C007H C008H C009H C00AH C00BH C00CH C00DH C00EH C00FH C010H C011H C012H C013H C014H C015H C016H C017H C018H West E1XC C100H C101H C102H C103H C104H C105H C106H C107H C108H C109H C10AH C10BH C10CH C10DH C10EH C10FH C110H C111H C112H C113H C114H C115H C116H C117H C118H Description E1XC Receive Options E1XC Receive Backplane Options E1XC Datalink Options E1XC Receive Interface Configuration E1XC Transmit Interface Configuration E1XC Transmit Backplane Options E1XC Transmit Framing Options E1XC Transmit Timing Options E1XC Master Interrupt Source E1XC Receive TS0 Data Link Enables E1XC Master Diagnostics E1XC Master Test E1XC Revision/Chip ID E1XC Master Reset E1XC Phase Status Word (LSB) E1XC Phase Status Word (MSB) CDRC TSB Configuration CDRC TSB Interrupt Enable CDRC TSB Interrupt Status Alternate Loss of Signal XPLS TSB Line Length Configuration XPLS TSB Control/Status XPLS TSB CODE Indirect Address XPLS TSB CODE Indirect Data DJAT TSB Interrupt Status 16 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 C019H C119H C01AH C01BH C01CH C01DH C020H C021H C022H C023H C11AH C11BH C11CH C11DH C120H C121H C122H C123H C024H C124H C025H C125H C026H C027H C028H C029H C02AH C02BH C02CH C030H C031H C032H C033H C034H C035H C036H C038H C039H C03AH C03BH C040H C041H C042H C043H C044H C045H C046H C047H C126H C127H C128H C129H C12AH C12BH C12CH C130H C131H C132H C133H C134H C135H C136H C138H C139H C13AH C13BH C140H C141H C142H C143H C144H C145H C146H C147H E1XC EVALUATION DAUGHTERBOARD DJAT TSB Reference Clock Divisor (N1) Control DJAT TSB Output Clock Divisor (N2) Control DJAT TSB Configuration ELST TSB Configuration ELST TSB Interrupt Enable/Status FRMR TSB Framing Alignment Options FRMR TSB Maintenance Mode Options FRMR TSB Framing Status Interrupt Enable FRMR TSB Maintenance/Alarm Status Interrupt FRMR TSB Framing Status Interrupt Indication FRMR TSB Maintenance/Alarm Status Interrupt Indication FRMR TSB Framing Status FRMR TSB Maintenance /Alarm Status FRMR TSB International/National Bits FRMR TSB Extra Bits FRMR TSB CRC Error Count - LSB FRMR TSB CRC Error Count - MSB TS16 AIS Alarm Status TPSC TSB Configuration TPSC TSB µP Access Status TPSC TSB Channel Indirect Address/Control TPSC TSB Channel Indirect Data Buffer XFDL TSB Configuration XFDL TSB Interrupt Status XFDL TSB Transmit Data RFDL TSB Configuration RFDL TSB Interrupt Status/Control RFDL TSB Status RFDL TSB Receive Data SIGX TSB Configuration SIGX TSB µP Access Status SIGX TSB Channel Indirect Address/Control SIGX TSB Channel Indirect Data Buffer TRAN TSB Configuration TRAN TSB Transmit Alarm/Diagnostic Control TRAN TSB International/National Control TRAN TSB Extra Bits Control 17 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 C048H C049H C04AH C04BH C04CH C04DH C04EH C04FH C059H C05DH E1XC EVALUATION DAUGHTERBOARD C148H C149H C14AH C14BH C14CH C14DH C14EH C14FH C159H C15DH PMON TSB Control/Status PMON TSB FER Count PMON TSB FEBE Count (LSB) PMON TSB FEBE Count (MSB) PMON TSB CRC Count (LSB) PMON TSB CRC Count (MSB) PMON TSB LCV Count (LSB) PMON TSB LCV Count (MSB) RSLC TSB Configuration RSLC TSB Interrupt Enable/Status WRITE CYCLE READ CYCLE BALE BE_CLOCK BRWB BA[15:8] BAD[7:0] BA="C0"; BRWB=1 A[7:0] BA °"C0"; BRWB=1 DOUT A[7:0] DOUT BA="C0"; BRWB=0 A[7:0] BA °"C0"; BRWB=0 DIN A[7:0] DIN T1XC_RDB HCT245 DIR T1XC_WRB T1XC_CSB Figure 4: Decode Logic Waveforms 6.3 Clock PLL and DIP Switches One Mitel MT8940 provides all clocks necessary to drive the 2048 kbit/s backplane rate supported by the E1XC. The MT8940 is a dual digital PLL which can provide timing and synchronization signals for T1 or CEPT transmission links and the STBUS . The first PLL provides the T1 clock (1.544 MHz) synchronized to an input framing pulse. The second PLL provides CEPT or ST-BUS timing signals synchronized to an internal or external framing pulse signal. For a more detailed 18 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD description of the device, refer to the datasheet on the MT8940 in the Mitel Semiconductor Databook. All outputs of the MT8940 are either brought out to header blocks or routed to the CSU connector DIP sockets. A single 8-position DIP switch provides control over the mode of the MT8940 device as well as control over the output clock enables. If the MT8940 is not used, it can be removed from the daughterboard and its oscillators can be replaced with 1.544 MHz and 2.048 MHz devices. The PLL oscillator clock outputs are conveniently brought out to the header strip for use on the daughterboard. The mapping of the DIP switches to the MT8940 ports is as follows: Switch ID SW1-1 SW1-2 SW1-3 SW1-4 SW1-5 Label MS0 MS1 MS2 MS3 ENC2 SW1-6 ENCV SW1-7 ENC4 SW1-8 Mapping MS0 (Mode Select '0') MS1 (Mode Select '1') MS2 (Mode Select '2') MS3 (Mode Select '3') ENC20 (Active high enable control for pins C2O and C2OB ) ENCV (Active high enable control for pins CV and CVB ) ENC40 (Active high enable control for pins C4O and C4OB ) Unused Setting these switches selects the operating mode for the MT8940, as described below: Mode # 0 MS[0:3] 0000 1 0001 DPLL #1 Operating Mode DPLL #2 Operating Mode Normal Mode: Externally applied 4.096 MHz. clock and 8 kHz. Generates the 1.544 MHz frame pulse, properly phase T1 clock synchronized to related, are used to the falling edge of the input generate the 2.048 MHz framing pulse. output clock. Normal Mode Normal Mode: Operates as above. Generates the CEPT (STBUS) timing signals locked to the 8 kHz input signal (C8KB) 19 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 2 ISSUE 1 0010 E1XC EVALUATION DAUGHTERBOARD Normal Mode Externally applied 4.096 MHz. clock is used to generate the 2.048 MHz output clock and 8 kHz frame pulse. Normal Mode Operates as above. 3 0011 Normal Mode DEFAULT Operates as above. CONFIG 4 5 0100 Divide-1 Mode: 0101 Divides the CVB input signal by 193. The divided output is connected to DPLL #2 Divide-1 Mode Operates as above 6 7 8 9 0110 0111 1000 1001 Divide-1 Mode Divide-1 Mode Normal Mode Normal Mode 10 11 1010 1011 Normal Mode Normal Mode Generates the CEPT (STBUS) timing signals locked to the 8 kHz input signal (C8KB) Externally applied 4.096 MHz. clock and 8 kHz. frame pulse, properly phase related, are used to generate the 2.048 MHz output clock. Single Clock-1 Mode: Provides the CEPT/ST-BUS compatible timing signals locked to an 8 kHz. internal signal provided by DPLL #1. Same as 'mode 2' Single Clock-1 Mode Same as 'mode 0' F0B becomes an input. DPLL #2 provides the STBUS signals locked onto F0B input only if it is 16 kHz. Same as 'mode 2' Free Run Mode Provides the CEPT/ST-BUS compatible timing and framing signals with no external inputs other than the master clock. 20 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 12 13 14 15 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 1100 Divide-2 Mode: Same as 'mode 0' 1101 Divides the CVB input by 256. The divided output is connected to DPLL #2 Divide-2 Mode Single Clock-2 Mode: Divide-2 Mode Divide-2 Mode Provides the CEPT/ST-BUS signals locked to the 8 kHz. internal signal provided by DPLL #1 Same as 'mode 2' Single Clock-2 Mode 1110 1111 21 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 6.4 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD E1XC Two E1XCs can be socketed into the daughterboard. Each is individually accessible and can run independently of the other. All pins except for the microprocessor interface and power pins are connected to header strips for easy test equipment access. Analog receive power pin RAVD is connected to a jumper to enable tying to either ground or power. Tying this pin to ground will disable the internal RSLC TSB, reducing the power consumed. Tying the RAVD pin to VCC enables the normal operating mode. All other power pins are appropriately decoupled and all inputs are tied high through 10 kΩ resistors SIPs. For a more detailed description of the E1XC and its features, refer to the E1XC Standard Product datasheet. 6.5 "CSU" DIPs and Jumpers Normally, the two E1XCs run independently of each other except when explicit connections are made between the two devices. To facilitate testing of a simple application involving two devices appropriate control signals have been wired to two 16 pin DIP sockets and six jumpers to enable hooking up the E1XCs in a "CSU"-like application. 22 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD J21 BEXTCLK C2M C1M5 J24 BEXTFP J20 GFP E-1 REF Receive Interface RFP BTSIG BTFP BTCLK BTCLK BRFPI BRCLK BRPCM BRSIG BRFPO RCLKO BRFPI BRCLK BRPCM BRSIG BRFPO RCLKO E-1 Transmit TAP Interface E1XC #2 (West) RAS BTPCM BTSIG BTFP WE CSU JUMPER TAN BTPCM EW CSU JUMPER "N E T W O R K" E1XC #1 (East) E-1 Transmit TAP Interface RFP RFP J19 GFP BEXTFP J22 C1M5 C2M BEXTCLK J30 TAN RAS REF E-1 Receive Interface J23 Figure 5: CSU Circuit Overview Both E1XCs are connected in a symmetrical fashion and most connections are completed by installing shorting bar jumpers into the two 16 pin DIP sockets labeled for the CSU set-up. The remaining unconnected signals are BRCLK, BRFPI, and BTCLK. By installing jumpers across pins 1 and 2 of each of jumper blocks J19 and J20, between pins 3 and 4 of each of the jumper blocks J21, J22, J23, J24, and between pin 2 and 3 of jumper block J30, a "CSU" like application can be implemented where the 2.048 MHz clock for the backplane between the two E1XC devices is provided by the MT8940, which in turn is locked to the recovered clock provided by E1XC #1. Bits 1 and 2 of SW1 must be closed; the remaining bits 23 C U S T O M E R PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD open. By appropriately making jumper connections to the other available clock options, the backplane can be run at different rates, such 2.048 MHz or at an externally supplied clock rate. 6.6 Transmit/Receive Interfaces Three different transmit and receive interfaces are provided on the daughterboard. The digital interface can be used by connecting to the two header blocks immediately adjacent to each E1XC. Header blocks J13 and J15 provide the digital interface for the east E1XC while headers J14 and J16 provide the interface for the west E1XC. Before making use of these pins, the analog receiver of each E1XC should be disabled. This is done by moving the jumpers on J31 and J3, which provide power to RAVD, to the grounding position. Two E-1 analog interfaces are also provided. Both the transmit and receive E-1 interfaces on each E1XC can be connected to either a mini-bantam or BNC connector. The analog transmit and receive interface are passed through a 1:1.36 and 2:1 transformer, respectively, and then connected to either Bantam or BNC connectors. The transmit mini-bantam is terminated with a 100 ohm resistor to prevent "kick-back" when a plug is inserted or removed from the jack. The receive BNC interface is a standard 75 ohm coax with stuffing options for ground or resistor connections across the shield (or barrel). 24 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 7 E1XC DAUGHTERBOARD FIRMWARE DESCRIPTION The EVMB evaluation board provides a serial interface for hooking up a standard "VT100" type terminal. The RF2 SERIAL 25-pin D-type connector on the EVMB is configured as a DCE, 9600 BAUD, 8 bit, NO PARITY, one STOP bit. Connecting a terminal to this port, setting switch 2 on the MODE switch bank to CLOSED and pressing the RESET switch on the EVMB will enable console control. When the system is started cold or after a hardware reset, the first output to the console will be the Forth kernel identification followed by a prompt: Max-FORTH vX.X > The first commands that should be downloaded into the system after a cold boot should be (note: each line must be terminated with a "carriage return"; the text within parenthesis are comments and do not have to be typed in): HEX 100 TIB ! 100H ) 50 TIB 2+ ! 200 DP ! ( Set up Hex number base ) ( Relocate text input buffer to eRAM address ( Define 80 character text input buffer length ) ( Set up Dictionary Pointer ) After inputting each of these commands followed by a carriage return, the FORTH interpreter should respond with an "OK" signifying it has accepted it. Any failure to properly input these set-up statements will be characterized by a "?" response from the interpreter and/or by errors when inputting any subsequent data. Further, if an error occurred while entering the commands to relocate the text input buffer or redefine its length, the text buffer will be unable to accept more than the default 16 characters per line input. The following Forth code was developed for the E1XC daughterboard and presented here as an example. To set-up the E1XC, all that is minimally required is the above EVMB initialization words, the register address CONSTANT definitions, and the RD and WR routines. The remaining words are useful for exercising the more advanced features of the E1XC. VARIABLE VARIABLE VARIABLE VARIABLE VARIABLE DEV TSB M N T 25 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD ( Define base addresses) C000 CONSTANT EE1XCNORM C080 CONSTANT EE1XCTEST C100 CONSTANT WE1XCNORM C180 CONSTANT WE1XCTEST 10 CONSTANT CDRC 14 CONSTANT XPLS 18 CONSTANT DJAT 1C CONSTANT EELST 20 CONSTANT FRMR 30 CONSTANT PCSC 34 CONSTANT XFDL 40 CONSTANT ESIGX 44 CONSTANT TRAN 48 CONSTANT PMON 5C CONSTANT RSLC 00 CONSTANT RXOPT 01 CONSTANT RXBP 02 CONSTANT RXDL 03 CONSTANT RXIF 04 CONSTANT TXIF 05 CONSTANT TXBP 06 CONSTANT TXFO 07 CONSTANT TXTO 08 CONSTANT INTSTAT 0D CONSTANT MDIAG 0D CONSTANT MRESET ( ### GENERAL PURPOSE ROUTINES ### : RD C@ ; ( addr --- data ) : PRT ( data --." = " U. ." HEX" CR ; : WR ( SWAP C! ; ) addr data --- ) : EAST EE1XCNORM DEV ! ; 26 ) PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD : WEST WE1XCNORM DEV ! ; : AD ( tsb offset --- addr ) ( calculate the absolute address of normal register ) ( assumes DEV has been set to EE1XCNORM or WE1XCNORM ) + DEV @ + ; : WRBIT ( addr data bitpos --- ) ( modify a single bit based upon "bitpos" mask ) DUP ROT 01 AND * FF ROT 2 PICK RD AND OR WR ; : ( ( ( ( WRIND ( offset base data --- ) perform SIGX or PCSC indirect write ) "offset" is the indirect address ) "base" is the SIGX or PCSC base address ) "data" is the value to be written ) SWAP TSB ! ( store base ) TSB @ 3 + C! ( write data ) TSB @ 2 + SWAP 7F AND WR ( write offset with R/W low ) 10 0 DO TSB @ 1 + RD 80 < IF LEAVE THEN ( leave if not BUSY ) I 9 > IF CR ." BUSY STILL HIGH " CR LEAVE THEN LOOP ; : ( ( ( ( RDIND ( offset base --- data ) perform SIGX or PCSC indirect read ) "offset" is the indirect address ) "base" is the SIGX or PCSC base address ) "data" is the value to read ) TSB ! ( store base ) TSB @ 2 + SWAP 80 OR WR ( write addr with R/W high ) 10 0 DO TSB @ 1 + RD 80 < IF LEAVE THEN ( leave if not BUSY ) I 9 > IF CR ." BUSY STILL HIGH" CR LEAVE THEN LOOP TSB @ 3 + RD ; ( read data ) ( ### CONFIG ### ) ( The "data" value is written to the appropriate bit ) : SIND ( data --- ) 27 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD ESIGX 0 AD SWAP 02 WRBIT ; : ( calc reg addr ) SPCCE ESIGX 0 AD SWAP 01 WRBIT ; ( data --- ) ( calc reg addr ) : RESET ( data --- ) MRESET 0 AD SWAP 01 WRBIT ; ( calc reg addr ) ( ### PCSC CONFIG ### ) : PIND PCSC 0 AD SWAP 2 WRBIT ; ( data --- ) ( calc reg addr ) : PPCCE PCSC 0 AD SWAP 1 WRBIT ; ( data --- ) ( calc reg addr ) ( ### TRAN CONFIG ### ) : TXAMI TRAN 0 AD SWAP 80 WRBIT ; ( data --- ) ( calc reg addr ) : TXCCS ( --- ) TRAN 0 AD DUP RD 9F AND WR ; ( calc reg addr ) : TXCAS TRAN 0 AD DUP RD 60 OR ( calc reg addr ) ( --- ) WR ; : GENCRC TRAN 0 AD SWAP 10 WRBIT ; ( data --- ) ( calc reg addr ) : CRCEN FRMR 0 AD SWAP 80 WRBIT ; ( data --- ) ( calc reg addr ) : DDL MDIAG 0 AD SWAP 4 WRBIT ; ( data --- ) ( calc reg addr ) 28 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 : DML MDIAG 0 AD SWAP 8 WRBIT ; E1XC EVALUATION DAUGHTERBOARD ( data --- ) : LL ( calc reg addr ) ( data --- ) MDIAG 0 AD SWAP 10 WRBIT ; : PL ( calc reg addr ) ( data --- ) MDIAG 0 AD SWAP 20 WRBIT ; ( calc reg addr ) : REFR FRMR 0 AD SWAP 04 WRBIT ; ( data --- ) ( calc reg addr ) : RCRCE FRMR 0 AD SWAP 02 WRBIT ; ( data --- ) ( calc reg addr ) : FDIS TRAN 0 AD SWAP 08 WRBIT ; ( data --- ) ( calc reg addr ) : DUMPSIGX ( --- ) ( print SIGX contents ) CR ESIGX 0 AD TSB ! 1 SWAP SIND 8 2 DO 10 0 DO J 10 * I + TSB @ RDIND 3 .R LOOP CR LOOP ; : DUMPPCSC ( --- ) ( print PCSC contents ) CR 29 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD PCSC 0 AD TSB ! 1 PIND 6 2 DO 10 0 DO J 10 * I + TSB @ RDIND 3 .R LOOP CR LOOP ; ( ### INTERRUPT HANDLING ### ) : GETINT 2) ( data int --- data/2 int/2 < data mod 2> int mod ( data returned only if int mod 2 = 1 ) 2 /MOD SWAP DUP 0> IF ROT 2 /MOD 3 -ROLL SWAP ELSE ROT 2/ 2 -ROLL THEN ; : INT_HANDLE ( --- ) ( ** FRMR ** ) FRMR 5 AD DUP RD DUP 0> IF ." TIME = " DECIMAL T @ . HEX CR SWAP 2+ RD SWAP GETINT 0> IF ." CRCE" CR DROP THEN GETINT 0> IF ." FEBE" CR DROP THEN GETINT 0> IF ." AIS = " . CR THEN GETINT 0> IF ." RED = " . CR THEN GETINT 0> IF ." TS16AISD = " . CR THEN GETINT 0> IF ." AISD = " . CR THEN GETINT 0> IF ." RRMA = " . CR THEN GETINT 0> IF ." RRA = " . CR THEN THEN DROP DROP 30 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD FRMR 4 AD DUP RD 7F AND DUP 0> IF ." TIME = " DECIMAL T @ U. HEX CR SWAP 2+ RD SWAP GETINT 0> IF ." CMFER" CR DROP THEN GETINT 0> IF ." SMFER" CR DROP THEN GETINT 0> IF ." FER" CR DROP THEN GETINT 0> IF ." COFA" CR DROP THEN GETINT 0> IF ." OOCMF = " . CR THEN GETINT 0> IF ." OOSMF = " . CR THEN GETINT 0> IF ." OOF = " . CR THEN THEN DROP DROP FRMR 1 AD RD 03 AND ?DUP 0> IF DUP 1 AND 0> IF ." EXCRCE " CR THEN 2 AND 0> IF ." CMFACT " CR THEN THEN ( ** ELST ** ) EELST 1 AD RD 2 /MOD SWAP 0> IF ." TIME = " DECIMAL T @ U. HEX CR 01 AND 0> IF ." FORWARD" ELSE ." BACKWARD" THEN SPACE ." SLIP" CR ELSE DROP THEN ; : IH INT_HANDLE ; ( ## init SIGX Per-chan functions ## ) : SIGX_FILL ( --- ) 31 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD ESIGX 0 AD 80 40 DO DUP I SWAP 1A WRIND LOOP DROP ; ( ## init PCSC ## ) : PCSCFILLIND ( --- ) ( put incrementing idle code in PCSC ) 1 PIND 41 20 DO PCSC 0 AD I SWAP 0 WRIND LOOP 60 41 DO PCSC 0 AD I SWAP I F AND 10 OR WRIND LOOP PCSC 0 AD 40 SWAP 0 WRIND PCSC 0 AD 50 SWAP 0 WRIND ; : POLLPMON ( --- error ) ( print any non-zero contents ) ( "error" = 0 if all zero counts; 1 otherwise ) PMON 0 AD DUP 1+ RD 7F AND DUP ( read FER ) 2 PICK 2+ @ >< 3FF AND DUP ROT OR ( two byte read of FEBE ) 3 PICK 4 + @ >< 3FF AND DUP ROT OR ( two byte read of CRCE ) 4 ROLL 6 + @ >< 1FFF AND DUP ROT OR 32 ( two byte read of LCV ) PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD IF ) ( if non-zero count print DECIMAL T @ U. SPACE ." LCV=" 6 .R SPACE ." CRCE=" 5 .R SPACE ." FEBE=" 5 .R SPACE ." FER=" 5 .R CR HEX SPACE 1 ( return code ) ELSE DROP DROP DROP DROP 0 THEN ; ( ( else do nothing ) ## MONITOR E1XC ACTIVITY ## ) : POLLE1XC ( check E1XC status continuously and transfer PMON about ) ( once per second. Only error conditions reported. ) 03 B026 C! ( INIT PACTL ) 40 B025 C! ( CLEAR RTIF ) 0 T ! BEGIN 1F 0 DO BEGIN INT_HANDLE B025 C@ 40 AND 0> UNTIL ( WAIT FOR RTIF ) 40 B025 C! ( CLEAR TOF ) LOOP T 1+! PMON 0 AD 0 WR POLLPMON DROP ?TERMINAL UNTIL ; : 1 1 1 1 1 MAINTEST PPCCE PIND SIND GENCRC CRCEN 33 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD POLLE1XC ; This document is not intended to give a full tutorial in FORTH, which is better covered in the many FORTH books available. The FORTH kernel on the 68HC11 on the EVMB is based upon the FORTH-83 standard and should be upward compatible from FORTH-79. For a complete, detailed FORTH tutorial, refer to the manuals listed in the references. 34 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 8 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD STOCK LIST Item Qty Reference 1 Description C1, C4 Not Installed 2 2 C2, C5 0.68 µF ceramic capacitor, 0.3" spacing, 100VDC 3 2 C3, C6 0.1 µF ceramic capacitor, 0.3" spacing, 100VDC 4 2 C7, C8 47 nF ceramic capacitor, 0.2" spacing, 100VDC 5 2 C9, C10 470 nF ceramic capacitor, 0.2" spacing, 100VDC 6 25 C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27, C28, C29, C30, C31, C32, C33, C34, C35 0.01 µF ceramic Capacitor, 0.2" spacing, 100VDC 35 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 7 4 J1, J2, J3, J4 ADC PC834 Bantam PCB Jack with cover 8 4 J5, J6, J7, J8 Molex 73136-5001 BNC PCB Mount Jack, 50 ohm impedance 9 1 J9, J10, J11, J12 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts J13, J14 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts 10 1 - CUT INTO LENGTHS OF 5 CONTACTS EACH - CUT INTO LENGTHS OF 6 CONTACTS EACH 11 1 J15, J16 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts - CUT INTO LENGTHS OF 7 CONTACTS EACH 12 1 J17, J18 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts - CUT INTO LENGTHS OF 9 CONTACTS EACH 13 1 J19, J20 Dual row male header strip, tin plated, 0.1" spacing, straight, 50 contacts total, INDUS 923866 - CUT INTO LENGTHS OF 3 CONTACT PAIRS EACH 14 15 16 1 1 1 J21, J22, J23, J24 Dual row male header strip, tin plated, 0.1" spacing, straight, 50 contacts total, INDUS 923866 J25, J27, J28 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts J26, J31, J32 Dual row male header strip, tin plated, 0.1" spacing, straight, 50 contacts total, INDUS 923866 - CUT INTO LENGTHS OF 4 CONTACT PAIRS EACH - CUT INTO LENGTHS OF 2 CONTACTS EACH - CUT INTO LENGTHS OF 2 CONTACT PAIRS EACH 36 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 17 ISSUE 1 1 J29 E1XC EVALUATION DAUGHTERBOARD INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts - CUT INTO A LENGTH OF 12 CONTACTS 18 1 J30 INDUS 929647-01-36 breakable male straight single row strip headers, 0.1" spacing, tin plated, 36 contacts - CUT INTO A LENGTH OF 3 CONTACTS 19 1 P1 Right angle mount, 96 pin male DIN edge connector, Winchester 96P-6033-0731-0 20 2 R1, R6 1 Ω, 1/4 W, 5% Resistor R2, R7, R11, R12, R13, R14, R15, R16, R17, R18 Not Installed 21 22 1 R3 R8 4.53 kΩ, 1/4 W, 1% Resistor 23 1 R4 R9 523 Ω, 1/4 W, 1% Resistor 24 2 R5, R10 1.1 kΩ, 1/4 W, 1% Resistor 25 2 R19, R20, R21, R22 200 Ω, 1/4 W, 5% 26 2 R23, R24 316 kΩ, 1/4 W, 5% Resistor 27 2 R25, R26 270 Ω, 1/4 W, 5% 28 2 R27, R28 330 Ω, 1/4 W, 5% 37 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 29 R29, R30, R31, R32, R33, R34, R35, R36, R37 Not Used E1XC EVALUATION DAUGHTERBOARD 30 3 R38, R39, R40 10 kΩ, 1/8 W, 5% Resistor 31 8 RN1, RN2, RN3, RN4, RN5, RN6, RN7, RN8, 10 pin 9 resistor SIP – 10kΩ, 5% 32 1 SW1 8 position SPST DIP switch, Grayhill 76SB08 33 6 S_T1, S_T2, S_U1, S_U2, S_U14, S_U15 14 pin DIP Socket 34 2 S_U3, S_U4 68 Pin PLCC Socket, through hole, AMP 821574-1 35 2 S_U5, S_U6 16 pin DIP Socket 36 1 S_U13 24 pin DIP Socket, 0.6" wide 37 2 T1, T2 Dual 1:2CT & 1:1.36 transformer: BH Electronics 5001777, OR Pulse Engineering PE64952 Q7789-3 38 1 U1 Not Installed U2 FOX 49.152 MHz Oscillator in half inch case, TTL levels. 39 38 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 40 2 U3, U4 E1XC - Single E-1 Transceiver, PM6341 41 2 U5, U6 U-Link - 8 connections 42 2 U7, U8 74HCT244 Bus Transceiver 43 1 U9 74HCT245 Bi-Directional Bus Transceiver 44 1 U10 74HC138 3 to 8 line demux 45 1 U11 74HC139 Dual 2 to 4 line demux 46 1 U12 74HC00 Quad NAND gate 47 1 U13 Mitel MT8940AC T1/CEPT PLL, Ceramic DIP 48 1 U14 FOX 16.388 MHz Oscillator in half inch case, TTL levels 49 1 U15 FOX 12.355 MHz Oscillator in half inch case, TTL levels 50 10 Sh_J19, Sh_J20, Sh_J21, Sh_J22, Sh_J23, Sh_J24, Sh_J25, Sh_J30, Sh_J31, Sh_J32 Header Shunt 0.1" spacing, Textech 41670300-P4 39 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD 40 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 9 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD REFERENCES • PMC-910419, E1-E1XC-DS, "Single CEPT E1 Transceiver Telecom Standard Product Datasheet", April 30, 1993, Issue 4 • PMC-900602, T1-T1XC-DS, "Single DSX-1 Transceiver Device Datasheet", January 1993, Issue 3 • PMC-920235, EVMB-DS, "PMC Device Evaluation Motherboard Datasheet", Feb. 1992, Issue 1 • "FORTH: A Text and Reference", Mahlon G. Kelly, Nicolas Spies, Prentice-Hall 1986 • "Understanding FORTH", J. Reymann, Alfred Publishing Co., 1983 • Mitel 9191-952-005-NA, "Microelectronics Digital Communications Handbook", Issue 8, 1991. • PMC-891007, T1-T1XC, "Single DSX-1 Transceiver Device Engineering Document". December 1992, Issue 6 • PMC-901204, E1-E1XC, "Single CEPT E1 Transceiver Device Engineering Document". April 1993, Issue 4 • PMC-910501, EVMB, "PMC Device Evaluation Motherboard Engineering Document". Feb. 1992, Issue 3 • "MAX-FORTH Reference Manual (Preliminary Edition.)". New Micros Inc., 1601 Chalk Hill Rd Dallas, Texas. Tel 214 339 2204 • PMC-971216, “Evaluation Board Graphical User Interface User’s Guide”. Dec. 1997, Issue 1 41 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD APPENDIX 1: COMPONENT PLACEMENT DIAGRAM 42 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD APPENDIX 2: SCHEMATICS 43 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD NOTES 44 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD NOTES 45 PMC-Sierra, Inc. PM6541 E1XC-EVBD TELECOM STANDARD PRODUCT PMC-930917 ISSUE 1 E1XC EVALUATION DAUGHTERBOARD CONTACTING PMC-SIERRA, INC. PMC-Sierra, Inc. 105-8555 Baxter Place Burnaby, BC Canada V5A 4V7 Tel: (604) 415-6000 Fax: (604) 415-6200 Document Information: Corporate Information: Application Information: Web Site: [email protected] [email protected] [email protected] http://www.pmc-sierra.com None of the information contained in this document constitutes an express or implied warranty by PMC-Sierra, Inc. as to the sufficiency, fitness or suitability for a particular purpose of any such information or the fitness, or suitability for a particular purpose, merchantability, performance, compatibility with other parts or systems, of any of the products of PMC-Sierra, Inc., or any portion thereof, referred to in this document. PMC-Sierra, Inc. expressly disclaims all representations and warranties of any kind regarding the contents or use of the information, including, but not limited to, express and implied warranties of accuracy, completeness, merchantability, fitness for a particular use, or non-infringement. In no event will PMC-Sierra, Inc. be liable for any direct, indirect, special, incidental or consequential damages, including, but not limited to, lost profits, lost business or lost data resulting from any use of or reliance upon the information, whether or not PMC-Sierra, Inc. has been advised of the possibility of such damage. © 1997 PMC-Sierra, Inc. PM-930917 (R2) ref PMC-920247 (R3) PMC-Sierra, Inc. Issue date: December 1997 105 - 8555 Baxter Place Burnaby, BC Canada V5A 4V7 604 .415.6000