CDB61581
Universal Line Interface Unit
Features
s Socketed CS61581 Universal Line Interface s All Required Components for CS61581 Evaluation s LED Status Indications for Alarm Conditions and Operating Status s Support for Hardware and Host Modes
Description
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. 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.
ORDERING INFO: CDB61581
5V+
0V
TCLK TPOS TNEG RCLK RPOS RNEG
TTIP
TRING
RTIP
CS61581
RRING MCLK
Hardware Control and Mode Circuit LED Status Indicators Serial Interface Control Circuit XTALOUT XTALIN
+5V 4.7 kΩ
XTL (optional)
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. 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. BOARD CONFIGURATION
Slide switch S1 selects hardware, host or hardwarecoder mode operation by sliding it into HW, SW or HWCDR positions, respectively.
2.2. Hardware-Coder Mode
This mode is essentially the same as the Hardware mode with the B8ZS or HDB3 encoder/decoder enabled.
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.
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
DS211DB2
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. 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.
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.
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.
4
DS211DB2
CDB61581
6. LED INDICATORS
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.
8. TRANSFORMER SELECTION
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
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.
9. PROTOTYPING AREA
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 ON OFF ON OFF
LATN2 ON OFF OFF ON
Attenuation Level (dB) 0 7.5 15 22.5
Table 1. LATN Settings
Mode T1 (100 Ω)/LH/Low Z* E1 (120 Ω)/LH/Low Z T1 (100 Ω)/SH/Mat Z E1 (75 Ω)/SH/Mat Z E1 (120 Ω)/SH/Mat Z
TX Transformer 1:2 1:2 1:1.5 1:1.5 1:1.5
RX Transformer 1:1 1:1 1:1 1:1 1:1
R1-R2 50 Ω 60 Ω 50 Ω 37.5 Ω 60 Ω
R3-R4 12.5 Ω 15 Ω 0** 0** 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."
Junction Selected Selects matched impedance, connecting TTIP/TRING directly to the transformer Selects low impedance, connecting TTIP/TRING to the transformer through R4/R3 Don’t care (not populated) Grounds TRING on the line side of the transmit transformer Grounds the line side of RRING through C2 Host Mode operation, connects INT pin to the serial interface Hardware Mode operation, connects NLOOP pin to the LED Grounds the MCLK pin Connects the MCLK pin to the BNC 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 Allows S2 to pull RLOOP, LLOOP, and TAOS high for enabling NLOOP in hardware mode Provides access to the serial port signals Table 3. Jumper Selections
Jumper HDR1-2
Position MATZ LOWZ
HDR3 HDR4 HDR5 HDR6
X IN IN INT NLOOP_LE D
HDR7
GND MCLK
HDR8 HDR9
IN XTAL-HI XTAL-GND
HDR10 HDR11
X OUT IN
HDR12
X
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. 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.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
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.
DS211DB2
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” button 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
FERRITE_BEAD
2 4 6 8 10
HDR12 HDR5X2 DB25F_RA J1 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
L7
1 3 5 7 9
TNEG
TPOS
TCLK
MCLK
SDO
SDI CS
2
4
FERRITE_BEAD L4 FERRITE_BEAD
INT
INT CS SDI SCLK/LLOOP
TCLK
TNEG/UBS
TAOS/CLKE
TPOS/TDATA
LLOOP/SCLK
RLOOP/CS
GND
100PF R10
GND GND
MCLK
2 3 4 5 6 7 8 9
A1 A2 A3 A4 A5 A6 A7 A8
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 GND
18 17 16 15 14 13 12 11 10
J2
NLOOP_LED
1
3
GND
100PF FERRITE_BEAD L5 L6 FERRITE_BEAD COG R8 47 C8 100PF
GND GND
9 J7 HDR9
XTALIN XTALOUT JASEL
SKT_PLCC28_ECM
RV+ RRING RTIP
21 20 19
+5V
C10 COG
RPOS BNC RCLK
GND
1
3
XTAL_GND
XTAL_HI
2
SDO
4
TRING
TTIP
TGND
GND +5V
100PF R7
GND
C11 COG
J8
RNEG
BNC
R6 4.7K
GND +5V +5V
1 3 4
6.1760MHZ Y1
LATN
LOS
TV+
N/C
100
GND
R13
SW1
BNC
SW_SP3T
GND
OPEN
.1UF VCC U4
11 10 5 14
U4
2
U4
6
1
MC74F14N GND
7
GND
DS211DB2
J18 J19
+5V
GND
HDR7
GND
GND
1 3 2 4
+5V
Z1
P6KE6V8P
L1 FERRITE_BEAD R5 1K
HDR8 1 2
C1
+5V
GND
TNEG_HI
BNC
47UF
+5V GND RRING TP1
6 HDR5 HDR1X2 6 7 8 9 10 1
U2 L2
SCLK
FERRITE_BEAD L3
1 19
/G1 /G2
VCC
20
RECEIVE
C15 .1UF R9 47 C9 COG
MCLK
HDR6 BNC 4 3 2 1 28 27 26
R1 49.9 C3 .47UF R2 GND 49.9
5
J3
2
3
1 PE_64936 T1
2
TP2
J5
TCLK
BNC 5 RNEG 6 7 8 MODE
RTIP
CON_RTT87 C2 47PF COG
RTIP
J4
L802/ SDO
25 24 23 22
C4 .1UF
V+
JP8 HDR3 2 1
SN74HCT541N 47
J6
TPOS
RNEG/BPV RPOS/RDATA
L801/SDI NLOOP/INT
J10
GND RRING
U1
RCLK
CS61581
RGND
INT
R11 47
TNEG
BNC
MATZ
RRING RTIP HDR1
1 3 2 4
10 11
T2 PE_65351 2
TRING TP3
1
TRANSMIT
J3
1 2 3 4 5
V+
JP9
R3 LOWZ 12.4 MATZ
HDR2
2 4 1 3
TTIP
3
+5V
12
13
14
15
16
17
18 TTIP
C5 .1UF
RPOS
J9 2
C6 47UF C12 .47UF C14 .1UF U3
TP4
6 5 /T-1054 1
C7 COG
47
S1
R4 12.4
LOWZ
CON_RTT87
TTIP
J13
100PF
SW HW HWCDR GND
LATN TRING
2
HDR4 HDR1X2
J11
GND TRING
GND TAOS LLOOP RLOOP LBO2 LBO1 JASEL
HDR1X2 HDR10 1 2 1N4148 D6 RN1 47K 1N4148 D7 J12
6 5 4 3 2 1
SW_DIP_6
RCLK RCLK LATN
1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13
GND
HW_RST/NLOOP HWMODE
GND
R12 100 S2 SW_B3W_1100
GND
GND
+5V
2
HDR11
HW NLOOP
1N4148 D8
PALCE20RA10H
1
C13
MC74F14N U4
13 12
MC74F14N U4
9 8
LED_555_5003 U4
4
+5V
LATN1
5 6 7 8 4
GND
3
MC74F14N
GND
LATN2
3
MC74F14N
MC74F14N
LOS
2
CDB61581
NLOOP
1
D1
Figure 4. CDB61581 Evaluation Board Schematic 11
12
CDB61581
DS211DB2
Figure 5. Board Layout - Top Layer
DS211DB2
CDB61581
Figure 6. Board Layout - Bottom Laver
13
14
CDB61581
DS211DB2
Figure 7. Evaluation Board Silkscreen
• Notes •