CDB61581 Universal Line Interface Unit Features Description ■ Socketed CS61581 Universal Line Interface The evaluation board includes a socketed CS61581 line interface device and all support components necessary for evaluation. The board is powered by an external +5 Volt supply. ■ All Required Components for CS61581 Evaluation ■ LED Status Indications for Alarm Conditions and Operating Status The board may be configured for 100 Ω twisted-pair T1, 75 Ω coax E1, or 120 Ω twisted-pair E1 short and long haul operations. Binding posts and bantam jacks are provided for the line interface connections. Several BNC connectors provide clock and data I/O at the system interface. Reference timing may be derived from a quartz crystal or an external reference clock. Four LED indicators monitor device alarm conditions and operating status. ■ Support for Hardware and Host Modes ORDERING INFO: CDB61581 5V+ 0V TTIP TCLK TPOS TNEG TRING RCLK RTIP RPOS RNEG CS61581 RRING MCLK Hardware Control and Mode Circuit LED Status Indicators +5V XTALIN Serial Interface Control Circuit 4.7 kΩ XTL (optional) XTALOUT Preliminary Product Information P.O. Box 17847, Austin, Texas 78760 (512) 445 7222 FAX: (512) 445 7581 http://www.cirrus.com This document contains information for a new product. Cirrus Logic reserves the right to modify this product without notice. Copyright Cirrus Logic, Inc. 1999 (All Rights Reserved) OCT ‘99 DS211DB2 1 CDB61581 TABLE OF CONTENTS 1. POWER SUPPLY ................................................................................................ 3 2. BOARD CONFIGURATION ................................................................................. 3 2.1. Hardware Mode .......................................................................................... 3 2.1.1. Network Loopback ......................................................................... 3 2.2. Hardware-Coder Mode ............................................................................... 3 2.3. Host Mode .................................................................................................. 3 3. TRANSMIT CIRCUIT ........................................................................................... 4 4. RECEIVE CIRCUIT .............................................................................................. 4 5. REFERENCE CLOCK ......................................................................................... 4 5.1. Quartz Crystal ............................................................................................. 4 5.2. External Reference ..................................................................................... 4 6. LED INDICATORS ............................................................................................... 5 7. BUFFERING ........................................................................................................ 5 8. TRANSFORMER SELECTION ............................................................................ 5 9. PROTOTYPING AREA ........................................................................................ 5 10. EVALUATION HINTS .......................................................................................... 6 11. CDB61581 SOFTWARE ...................................................................................... 7 11.1. Configure PC .............................................................................................. 7 11.2. Configure Part ............................................................................................. 7 11.3. Control Register Configuration ................................................................... 7 11.4. Transmitter Ram Configuration ................................................................... 9 11.5. Modify Unit Interval ................................................................................... 10 LIST OF FIGURES Figure 1. Register Configuration Window ......................................................................... 8 Figure 2. Transmitter RAM Configuration Window ........................................................... 9 Figure 3. Modify Unit Interval Window ............................................................................ 10 Figure 4. CDB61581 Evaluation Board Schematic ........................................................ 11 Figure 5. Board Layout - Top Layer ............................................................................... 12 Figure 6. Board Layout - Bottom Laver .......................................................................... 13 Figure 7. Evaluation Board Silkscreen ........................................................................... 14 LIST OF TABLES Table 1. LATN Settings ...................................................................................................... 5 Table 2. Transformer and Resistor Options ....................................................................... 5 Table 3. Jumper Selections................................................................................................ 6 Contacting Cirrus Logic Support For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at: http://www.cirrus.com/corporate/contacts/ Preliminary product information describes products which are in production, but for which full characterization data is not yet available. Advance product information describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided “AS IS” without warranty of any kind (express or implied). No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, nor for infringements of patents or other rights of third parties. This document is the property of Cirrus Logic, Inc. and implies no license under patents, copyrights, trademarks, or trade secrets. No part of this publication may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc. Items from any Cirrus Logic website or disk may be printed for use by the user. However, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of this publication may be used as a basis for manufacture or sale of any items without the prior written consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. A list of Cirrus Logic, Inc. trademarks and service marks can be found at http://www.cirrus.com. 2 DS211DB2 CDB61581 1. POWER SUPPLY As shown on the evaluation board schematic in Figure 1, power is supplied to the board from an external +5 Volt supply connected to the two binding posts labeled V+ and GND. Zener diode Z1 protects the components on the board from reversed supply connections and over-voltage damage. Capacitor C1 provides power supply decoupling and ferrite bead L1 helps isolate the CS61581 and buffer supplies. Capacitors C4, C5 and C6 provide power supply decoupling for the CS61581. The buffer U2 is decoupled using capacitor C15. Ferrite bead L7 helps isolates the devices U2, U3 and U4. 2. BOARD CONFIGURATION Slide switch S1 selects hardware, host or hardwarecoder mode operation by sliding it into HW, SW or HWCDR positions, respectively. 2.1. Hardware Mode In Hardware mode operation, the evaluation board is configured using the DIP switch SW1. In this mode, the switch establishes the digital control inputs for both line interface channels. Closing a DIP switch away from the label sets the CS61581 control pin of the same name to a logic 1. The host processor interface J1 should not be used in the Hardware mode. The CDB61581 switches and functions are listed below: - TAOS: transmit all ones; - LLOOP: local loopback; - RLOOP: remote loopback; - JASEL: jitter attenuator path selection; - LBO1, LBO2: line build out settings. DS211DB2 All switch inputs are pulled-high using resistor network RN1. 2.1.1. Network Loopback NLOOP is enabled in the hardware mode by closing HDR11 (HW_NLOOP) and then pressing S2. It can also be done by sliding the switches RLOOP, LLOOP and TAOS on SW1 towards the labels, pulling them high, and then pulling them back to low by sliding RLOOP, LLOOP and TAOS to OFF (away from the labels), in that order. NLOOP can then be turned on by sending 1-in-5 pattern on the RTIP and RRING pins for five seconds. The NLOOP LED will light up at this point if HDR6 is jumped to NLOOP_LED position. NLOOP can be turned off by sending a 1-in-3 pattern on the pins RTIP and RRING or five seconds. 2.2. Hardware-Coder Mode This mode is essentially the same as the Hardware mode with the B8ZS or HDB3 encoder/decoder enabled. 2.3. Host Mode In Host mode operation, the evaluation board supports serial-port operation over interface port J1 using the printer port of a host PC running the enclosed software. The evaluation board is connected to the host PC using a DB-25 male-to-male cable (included). Ferrite beads L2-L6 help reduce incoming noise from the host interface. The SW1 switch must be open (all switches slid away from the labels) to enable serial-port operation. An external microprocessor may also interface to the evaluation board to facilitate system software development. The CS61581 interrupt pin, INT, is 3 CDB61581 3. TRANSMIT CIRCUIT The transmit clock and data signals are supplied on BNC inputs labeled TCLK, TPOS, and TNEG. In Hardware and Host mode (with coder mode disabled), data is supplied on the TPOS and TNEG BNC inputs. In Host mode with coder mode enabled, data is supplied on the TDATA BNC input. The transmitter output is transformer coupled to the line through the step-up transformer T2. The signal is available at either the Transmit binding posts (J11, J13) or the Transmit bantam jack. Capacitor C12 prevents output stage imbalances from producing a DC current that may saturate the transformer, thus degrading its performance. 4. RECEIVE CIRCUIT The receive signal is input at either the Receive binding posts (J4, J10) or the Receive bantam jack. The receive signal is transformer coupled to the CS61581 through 1:1 transformer T1. The receive line is terminated by resistors R1-R2 to provide impedance matching and receiver return loss. They are socketed so the values may be changed according to the application. The evaluation board is supplied from the factory with 50 Ω resistors for terminating 100 Ω twisted-pair T1 lines, 60 Ω resistors for terminating 120 Ω twistedpair E1 lines, and 37.5 Ω resistors for terminating 75 Ω coaxial E1 lines. Capacitor C3 provides an AC ground reference for the differential input. 4 The recovered clock and data signals are available on BNC outputs labeled RCLK, RPOS, and RNEG. In Hardware and Host mode (with coder mode disabled), data is available on the RPOS and RNEG BNC. With coder mode enabled, data is available on the RDATA BNC output in unipolar format and bipolar violations are reported on the RNEG BNC connector. 5. REFERENCE CLOCK The CDB61581 requires a T1 or E1 reference clock for operation. This clock can be supplied by either a quartz crystal or an external reference. The evaluation board is supplied from the factory with two quartz crystals for T1 and E1 operations, respectively. In the case that both the external reference and the quartz crystal are applied, the external reference takes precedence. 5.1. Quartz Crystal A quartz crystal may be inserted at socket Y1. The quartz crystals operate at 4X the frequency of operation i.e. the T1 quartz crystal runs at 6.176 MHz and the E1 quartz crystal at 8.192 MHz. 5.2. External Reference An external reference of 1.544 MHz or 2.048 MHz may be provided at the REFCLK BNC input for T1 or E1 applications, respectively. Header HDR7 must be jumpered in the "MCLK" position to provide connectivity to the MCLK pin of the CS61581. DS211DB2 CDB61581 6. LED INDICATORS 8. TRANSFORMER SELECTION The four-LED pack D1 indicates signal states on LATN1, LATN2, LOS and NLOOP. The LOS LED indicator illuminates when the line interface receiver has detected a loss of signal. The NLOOP LED indicates if Network Loopback is in operation. The LATN1/LATN2 LED’s indicate the attenuation level of the received signal; reading how much the incoming signal is below the nominal expected signal level. See Table 1 for details. The evaluation board is supplied from the factory with PE-64936 (1:1), PE-65351 (1:2) and T-1054 (1:1.5) transformers by Pulse Engineering. The socket T1 on the board is for receive side transformer and T2 is for the transmit side. In the matched impedance mode HDR1-HDR2 should be placed in the MATZ positions, and in the low impedance mode in the LOWZ positions. Please see Table 2 for details on transformers selection. 7. BUFFERING 9. PROTOTYPING AREA Buffer U2 provides additional drive capability for the SW1 and Host mode connections. The buffer outputs are filtered with an (optional) RC network (not initially populated) to reduce the transients caused by buffer switching. An ample prototyping area with power supply and ground connections is provided on the evaluation board. This area can be used to develop and test a variety of additional circuits such as framer devices, system synchronizer PLLs, or specialized interface logic. LATN1 LATN2 Attenuation Level (dB) ON ON 0 OFF OFF 7.5 ON OFF 15 OFF ON 22.5 Table 1. LATN Settings Mode TX Transformer RX Transformer R1-R2 R3-R4 T1 (100 Ω)/LH/Low Z* 1:2 1:1 50 Ω 12.5 Ω E1 (120 Ω)/LH/Low Z 1:2 1:1 60 Ω 15 Ω T1 (100 Ω)/SH/Mat Z 1:1.5 1:1 50 Ω 0** E1 (75 Ω)/SH/Mat Z 1:1.5 1:1 37.5 Ω 0** E1 (120 Ω)/SH/Mat Z 1:1.5 1:1 60 Ω 0** Table 2. Transformer and Resistor Options SH=Short Haul; LH = Long Haul; Mat Z = Matched Impedance; Low Z = Low Impedance * Default setting from the factory; **R3-R4 are shorted by placing HDR1-HDR2 in MATZ positions. DS211DB2 5 CDB61581 10. EVALUATION HINTS 1) The orientation of pin 1 for the CS61581 is marked by a small circle on the top-left side of the socket U1. 2) Component locations R1-R2, R3-R4, Y1, T1 and T2 must have the correct values installed according to the application. All the necessary components are included with the evaluation board. 3) Closing a DIP switch on SW1 away from the label sets the CS61581 control pin of the same name to logic 1. 4) When performing a manual loopback of the recovered signal to the transmit signal at the BNC connectors, the recovered data must be valid on the falling edge of RCLK to properly latch the data in the transmit direction. 5) Jumpers can be placed on header HDR4 to provide a ground reference on TRING for 75 Ω coax E1 applications. Properly terminate TTIP/TRING when evaluating the transmit output pulse shape. For more information concerning pulse shape evaluation, refer to the Crystal application note entitled "Measurement and Evaluation of Pulse Shapes in T1/E1 Transmission Systems." Jumper Position Junction Selected HDR1-2 MATZ Selects matched impedance, connecting TTIP/TRING directly to the transformer LOWZ Selects low impedance, connecting TTIP/TRING to the transformer through R4/R3 HDR3 X Don’t care (not populated) HDR4 IN Grounds TRING on the line side of the transmit transformer HDR5 IN Grounds the line side of RRING through C2 HDR6 INT Host Mode operation, connects INT pin to the serial interface NLOOP_LE D Hardware Mode operation, connects NLOOP pin to the LED HDR7 GND Grounds the MCLK pin MCLK Connects the MCLK pin to the BNC HDR8 IN HDR9 XTAL-HI XTAL-GND HDR10 X HDR11 OUT HDR12 Pulls the TNEG pin high, for selecting the coder mode (TCLK has to be present for selecting the coder mode) Pulls the pin XTALIN high Pulls the pin XTALIN to ground Don’t care (shorted) Allows S2 to pull RLOOP and LLOOP high for RESET in hardware mode IN Allows S2 to pull RLOOP, LLOOP, and TAOS high for enabling NLOOP in hardware mode X Provides access to the serial port signals Table 3. Jumper Selections 6 DS211DB2 CDB61581 11. CDB61581 SOFTWARE The CDB61581 can be configured in the host/software mode using the application CDB61581.EXE supplied with the board. This application allows the user to access all of the user programmable registers in the device. It runs under Windows 95 and 98. 11.1. Configure PC This function allows the user to set the address of the PC parallel port. The selection depends on the configuration of the user’s PC. The Plug and Play (PnP) function of the operating system determines this address every time the PC is powered up, but it normally won’t change the printer port address unless the configuration of the hardware has changed since the PC was last powered up. There are two ways to determine the address of the parallel port: the safe method and the fast method. The safe method is to double click on the My Computer icon on the desktop, double click on Control panel, then Double click on System. Select the Device Manager tab, then with “View devices by type” selected in the window that pops up, double click on Ports (COM & LPT). Click on the Printer Port icon that corresponds to the port that is connected to the CDB61581 evaluation board, then select Properties. On the Properties window, select the Resources tab, then read the I/O address in the Input/Output Range field. This is the address range to select for the CDB61581. The fast method is to try the ports one by one, going to the Configure Part window every time to see which one allows the user to read from the device. when the wrong address is selected, the bit fields in this window will read either all zeroes or all ones. Going to the Configure Part window automatically issues a read command to the device, which will cause unpredictable results if the selected LPT port is connected to some device other than a CDB61581 evaluation board. Before using this DS211DB2 method, the user is advised to disconnect all other devices from the LPT ports. 11.2. Configure Part Clicking on Configure_Part brings up two options: the first is Control Register Configuration, which gives access to the control and status registers, and Transmitter RAM Configuration, which configures the Arbitrary Waveform Generator (AWG). See the CS61581 datasheet for information on programming these registers. 11.3. Control Register Configuration Selecting Control Register Configuration pulls up the register configuration window and automatically issues a read command to the CDB61581. The user must make sure that the software is configured to use the proper LPT port before this option is selected (see Configure PC above). The register configuration window is shown in Figure 1. The bits in the Control Registers (CNTL REG 1, CNTL REG 2, CNTL REG 3) are written by checking the box opposite to the individual bits in the "Write" columns, then clicking on the "Write Registers" button. This writes the displayed data to all three control registers, then automatically reads the control and status registers and displays the results in the "Read" columns. Since Control Register 1 is effectively a control register when it is written and a status register when it is read, the read status is decoded and displayed in the Read Status window. The registers can also be read by clicking on the "Read Registers" button. All five registers are read when this command is selected. The LATN REG register shows the current setting of the gain-equalizer. The QRSS DPEC register displays the number of bit errors while receiving a QRSS pattern. 7 CDB61581 Figure 1. Register Configuration Window 8 DS211DB2 CDB61581 11.4. Transmitter Ram Configuration When this command is selected, the software pops up a window which displays the contents of the AWG RAM (see Figure 2). Notice the six buttons along the bottom of this window. Modify Unit Interval brings up the Transmitter RAM UI Config window, which allows the user to edit the contents of the AWG registers. It is described in the following section. Read from File reads previously generated data from a file. Load to File writes the currently displayed data into a file for later recovery using the Read from File command. Read from RAM reads the current data from the AWG RAM and displays it in the current window. Write to RAM writes the displayed data to the AWG RAM. This must be done before exiting to write the data to the device. Exit returns control to the main CDB61581 menu. It does not automatically write the data to the CS61581. Figure 2. Transmitter RAM Configuration Window DS211DB2 9 CDB61581 11.5. Modify Unit Interval The user modifies the data in the AWG RAM using the Transmitter RAM UI Config window (see Figure 3). At the top of this window are three radio buttons used for selecting one of the three unit intervals. At the lower right is another set of radio buttons, one for each of the prestored waveforms in ROM (config 0 through config f). After having selected the desired UI and line configuration, clicking on the Read button will display the contents of the given waveform in the Time Slot fields. These values are displayed in hexadecimal format. The user can modify these values by clicking on the selection arrow and scrolling up and down through the possible values. After making the necessary modifications, the user clicks the “Save to UI” but- ton to save the data for that UI to the PC’s memory. When all three UI’s have been saved, the new values are written to the AWG RAM on the device by going back to the Transmitter RAM Configuration window and clicking on the Write to RAM button. Notice that this window also has selections for the 6V pulse and Match Z buttons. These are duplicates of the buttons in the LIU Configuration window. Clicking on these buttons sets or resets these bits in the configuration registers. These settings are reset to the initial state when the window is closed. The Save Screen and Restore Scrn buttons must be used if the user wishes to exit this window and come back to the same setup. Figure 3. Modify Unit Interval Window 10 DS211DB2 DS211DB2 J18 J19 +5V GND HDR7 GND 14 15 16 17 1 INT 3 GND 4 2 NLOOP_LED RTIP 19 V+ JP9 C5 .1UF 18 +5V C6 47UF C12 SW HW OPEN J12 TRING D6 1 HW NLOOP HDR11 D8 GND 3 3 TP4 6 LOWZ 5 CON_RTT87 /T-1054 HDR4 HDR1X2 1 2 3 4 5 TTIP GND TRING RCLK LATN +5V 100 2 1N4148 GND 1 4 TRANSMIT J3 1 TTIP RCLK GND R12 D7 2 TRING TP3 U3 HW_RST/NLOOP HWMODE 1N4148 T2 PE_65351 2 HDR2 .1UF HDR1X2 HDR10 1 2 RN1 47K 1N4148 4 C14 GND GND SW_DIP_6 2 3 .47UF LATN HWCDR 1 R3 LOWZ 12.4 MATZ R4 12.4 TTIP GND TAOS LLOOP RLOOP LBO2 LBO1 JASEL HDR1 RRING LATN N/C TV+ 4 2 RRING 3 13 GND MATZ RTIP 12 1 J11 SW_SP3T BNC HDR3 JP8 20 RRING JASEL RTIP J13 GND SW1 XTAL_GND GND +5V 1 3 4 2 21 RV+ XTALOUT CON_RTT87 C2 47PF 2 J9 100PF 11 TP2 RTIP 22 RGND SKT_PLCC28_ECM XTALIN 2 PE_64936 T1 1 S1 47 C7 100 RNEG BNC RPOS 10 6.1760MHZ Y1 R7 GND COG R6 4.7K CS61581 1 COG 2 U1 RCLK V+ 23 NLOOP/INT RPOS/RDATA 6 7 8 9 10 C4 .1UF 24 L801/SDI RNEG/BPV LOS J8 25 L802/ SDO J3 HDR5 HDR1X2 3 .47UF R2 GND 49.9 +5V C11 COG 100PF GND HDR9 TNEG BNC 47 GND +5V J7 26 RECEIVE 6 GND 8 27 5 +5V RCLK GND R11 47 C8 100PF MCLK 1 7 BNC XTAL_HI L6 COG R13 TPOS RPOS C10 COG 28 R1 49.9 C3 J10 R8 FERRITE_BEAD 6 5 4 3 2 1 6 RNEG J6 47 1 RLOOP/CS GND R10 MODE 2 LLOOP/SCLK 5 3 TAOS/CLKE BNC 10 9 FERRITE_BEAD L5 SDO TCLK TRING J5 MCLK C9 COG 100PF TCLK 4 47 GND TCLK BNC 100PF INT TPOS TNEG HDR6 R9 SN74HCT541N GND GND RRING TP1 J4 GND MCLK TGND SCLK/LLOOP J2 TNEG/UBS SDI FERRITE_BEAD Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 A1 A2 A3 A4 A5 A6 A7 A8 C15 .1UF 18 17 16 15 14 13 12 11 TPOS/TDATA INT CS 47UF +5V BNC 20 2 CS FERRITE_BEAD L4 2 3 4 5 6 7 8 9 VCC /G1 /G2 P6KE6V8P C1 1 SDI FERRITE_BEAD L3 SDO SCLK 1 19 HDR8 1 2 TNEG_HI TTIP L7 L2 4 L1 FERRITE_BEAD FERRITE_BEAD 1 3 5 7 9 U2 1 14 2 15 3 16 4 17 5 18 6 19 7 20 8 21 9 22 10 23 11 24 12 25 13 Z1 2 3 +5V GND DB25F_RA J1 GND 1 R5 1K HDR12 HDR5X2 2 4 6 8 10 +5V 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 S2 SW_B3W_1100 PALCE20RA10H GND GND C13 .1UF U4 11 U4 10 5 MC74F14N MC74F14N U4 13 14 GND 7 9 2 GND 8 +5V LED_555_5003 LATN1 U4 5 4 LATN2 3 4 6 3 MC74F14N 7 2 8 1 LOS NLOOP D1 Figure 4. CDB61581 Evaluation Board Schematic 11 CDB61581 MC74F14N U4 MC74F14N U4 12 MC74F14N GND VCC 1 6 12 CDB61581 DS211DB2 Figure 5. Board Layout - Top Layer DS211DB2 CDB61581 13 Figure 6. Board Layout - Bottom Laver 14 CDB61581 DS211DB2 Figure 7. Evaluation Board Silkscreen • Notes •