![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE PRELIMINARY ISSUE 2: AUGUST 2001 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE REVISION HISTORY Issue No. 1 2 Issue Date May 2000 August 2001 Details of Change Document Created. Updated document to reflect software changes related to release of new comet-quad software driver 1.0 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE CONTENTS 1 INTRODUCTION ......................................................................................1 1.1 1.2 2 PURPOSE .....................................................................................1 SCOPE ..........................................................................................1 INSTALLATION.........................................................................................2 2.1 2.2 2.3 SYSTEM REQUIREMENTS ..........................................................2 INSTALLATION STEPS .................................................................2 UN-INSTALLATION STEPS...........................................................2 3 SOFTWARE FILES LIST..........................................................................3 3.1 3.2 OS DEPENDENT FILES................................................................3 OS INDEPENDENT FILES ............................................................3 4 GRAPHIC USER INTERFACE .................................................................5 4.1 4.2 MAIN WINDOW .............................................................................6 COMET-QUAD BOARD STATUS ..................................................8 4.2.1 PCI CONFIGURATION HEADER AND PLX LOCAL REGISTERS DISPLAY........................................................8 4.2.2 INTB BUTTON ....................................................................9 4.2.3 RESET BUTTON.................................................................9 4.3 4.4 CHANNEL SELECT .....................................................................10 COMET-QUAD REGISTER ACCESS .......................................... 11 4.4.1 ADD TO SCRIPT CHECK BOX.........................................12 4.5 4.6 4.7 COMET-QUAD STATUS ..............................................................12 COMET-QUAD INTERRUPT SOURCES.....................................16 COMET-QUAD INTERRUPT STATUS HISTORY........................17 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE i RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.8 5 HDLC WINDOW ..........................................................................18 TCL COMMANDS...................................................................................19 5.1 DEVICE MANAGEMENT .............................................................19 5.1.1 COMETQINIT....................................................................20 5.1.2 COMETQRESET...............................................................21 5.1.3 COMETQACTIVATE .........................................................21 5.1.4 COMETQDEACTIVATE ....................................................21 5.2 DEVICE READ AND WRITE........................................................21 5.2.1 COMETQREAD PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE ii RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.3.3 COMETQLINETXANALOGCFG PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE iii RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.5.3 COMETQT1RXFRAMERCFG PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE iv RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.7.5 COMETQHDLCTXCFG PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE v RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.8.6 COMETQRXTRNKCFG < CHAN > PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE vi RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE LIST OF FIGURES FIGURE 1 - MAIN WINDOW DISPLAY..............................................................6 FIGURE 2 - COMET-QUAD BLOCK DIAGRAM ................................................7 FIGURE 3 - BOARD CONTROL AND STATUS .................................................8 FIGURE 4 - CHANNEL SELECT......................................................................10 FIGURE 5 - REGISTER ACCESS.................................................................... 11 FIGURE 6 - T1 STATUS...................................................................................12 FIGURE 7 - E1 STATUS ..................................................................................13 FIGURE 8 - INTERRUPT SOURCE HISTORY ................................................16 FIGURE 9 - INTERRUPT STATUS HISTORY DISPLAY..................................17 FIGURE 10 - HDLC DISPLAY............................................................................18 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE vii RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE LIST OF TABLES TABLE 1 TABLE 2 TABLE 3 TABLE 4 TABLE 5 - WINDOWS 95/98 FILES ................................................................3 - WINDOWS NT/2000 FILES ...........................................................3 - MISCELLANEOUS FILES ..............................................................3 - T1 STATUS WINDOW DESCRIPTION ........................................14 - E1 STATUS WINDOW DESCRIPTION ........................................14 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE viii RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 1 INTRODUCTION The COMET-QUAD Evaluator Software is part of the COMET-QUAD Evaluator Kit and allows for the evaluation and demonstration of PMC-Sierra's PM4354 COMET-QUAD device. The kit also provides an environment for the development and integration of software using the software driver. The evaluation software consists of two parts. The Graphic Display provides a way for the user to access the COMET-QUAD device registers and the Tcl console provides an interface to exercise COMET-QUAD driver APIs. 1.1 Purpose The COMET-QUAD Evaluator software is designed to assist software developers in designing or integrating the COMET-QUAD device driver into their system. It helps to reduce development time when using PMC-Sierra's COMET-QUAD device and driver. The purpose of this document is to provide a detailed description of the COMET-QUAD Evaluator Software design. 1.2 Scope This document describes proper use of the software and demonstrates the functionality of the COMET-QUAD device on the evaluation board. The document gives a thorough description of each window display and use of each Tcl command. The document is prepared for COMET-QUAD Evaluation Kit Software users. The evaluation software is designed and built on top of the COMET-QUAD Device Driver. The user should refer to the documents listed in the reference section for a more in-depth understanding of COMET-QUAD device operation and driver design. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 1 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 2 2.1 INSTALLATION System Requirements This program requires a Windows 95, 98, NT or 2000 PC with a Pentium and a PCI bus. For best performance, a clock speed of 200MHz and RAM size of 32Mbytes or greater is recommended. A lower performance PC can be used but the window displays may appear slow. The graphical user interface is best viewed with a monitor of size 17" or larger. The display resolution is best viewed with 1024X768. 2.2 Installation Steps 1. Insert the installation CD and run the executable file "setup.exe". 2. For best results, adjust the display monitor resolution via the control panel or the task bar. This program is best viewed with a resolution of 1024x768 and 256 or more colors. 3. Run the program from the start menu under PROGRAMS | PMC_SIERRA | COMETQUAD GUI or by double clicking on the file "cometgui.exe" within the Windows Explorer. 4. The program will notify the user if it does not detect the PCI Evaluator Kit board on the PCI bus. The user should follow the hardware installation notes to install the hardware. 2.3 Un-Installation Steps 1. 2. Open the control panel and select the add/remove software icon. Select "COMETQUAD" from the list and press the remove button. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 2 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 3 3.1 SOFTWARE FILES LIST OS Dependent Files Table 1 File Name comettcl.exe cometquad.exe comet.vxd - Windows 95/98 Files Description This is the Tcl console executable file for Win95 that has all the COMET-QUAD driver API commands built in. This is the GUI file for Win95 that executes the main window. This is the Windows 95/98 driver. This driver is used by the GUI and Tcl Console to provide access to the COMETQUAD Evaluation Board. Table 2 File Name - Windows NT/2000 Files Description This is the Tcl console executable file for WinNT that has all the COMET-QUAD driver API commands built in. This is the GUI file for WinNT that executes the main window. This is the Windows NT/2000 driver. This driver is used by the GUI and Tcl Console to provide access to the COMETQUAD Evaluation Board. comettcl.exe cometquad.exe comet.sys 3.2 OS Independent Files Table 3 File Name cometquad.hlp cometquad.EMF - Miscellaneous Files Description This is the Windows help file that is built based on the COMET-QUAD Data sheet. The COMET-QUAD block diagram. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 3 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE File Name cometquad_t1_esf_sh.tcl Description This script sets up the COMET-QUAD for Short Haul (0-110ft) T1 ESF external payload loop back (for all channels) using the driver API's. This script sets up the COMET-QUAD for E1 CRC-Multi-Frame external payload loop back (for all channels) using the driver API's. This script sets up the COMET-QUAD for Short Haul (0-110ft) T1 ESF external payload loop back (for all channels) using register writes only. This script sets up the COMET-QUAD for E1 CRC-Multi-Frame external payload loop back (for all channels) using register writes only. cometquad_e1_crcmf.tcl cometquad_reg_t1_esf_sh.tcl cometquad_reg_e1_crcmf.tcl PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 4 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4 GRAPHIC USER INTERFACE The graphic windows provide users easy access to the COMET-QUAD device. Additionally, the program provides interactive access to the COMET-QUAD datasheet via various window displays. This information is in the form of Windows Help. Help is obtained by a mouse left-click on a window control when the help cursor appears, or by accessing help from the main menu. The cursor changes from an arrow icon to a hand icon to indicate that the mouse can be left-clicked at the current position. The hand icon indicates that an action will occur when the mouse is left-clicked. The action will depend on where the mouse cursor is positioned. Some windows allow the user to select from a pop-up menu when the mouse is right-clicked. The operation of each window is discussed in the following sections. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 5 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.1 Main Window Figure 1 - Main Window Display The main window display (Figure 1) is shown when the program starts. The display contains a main menu and a bitmap photo of the PCI add-in card. A popup menu can be launched with a right-click anywhere in the main window display. This menu contains the same items as the "COMET-QUAD" main menu item. The main menu allows the user to display detailed information concerning one of three areas: 1. "Configuration" menu item provides selections to display board status and to exit the program PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 6 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 2. 3. "TCL Command" menu item provides selections to launch the Tcl console, run Tcl scripts, and view Tcl log files. "COMET-QUAD" menu item provides selections to launch detailed displays associated with the COMET-QUAD device: channel selection window, registers read/write window, alarm status window, interrupt status window, and HDLC statistic displays. "Help" menu item provides selections to launch documentation concerning the COMET-QUAD, this program or the board. 4. Figure 2 - COMET-QUAD Block Diagram If the mouse is placed above the COMET-QUAD in the bitmap, the cursor will appear as a hand. A left-click on the COMET-QUAD will replace the bitmap with a COMET-QUAD block diagram (Figure 2). The same change can be performed by selecting "COMET-QUAD | Show Block Diagram" in the main menu, or on the right-click popup menu item. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 7 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE When the block diagram is shown in the main window the user can move the mouse across the block diagram and left-click on a block, or pin name. When the hand cursor is left-clicked a popup menu allows the user to access a register associated with the block, or to display help information describing the block. The user can directly access help information describing a pin when the help cursor is left-clicked above the pin name. 4.2 COMET-QUAD Board Status Figure 3 - Board Control and Status This display is launched from the main menu item "Configuration | Board Control ". It provides access to the PLX 9050 chip that bridges the PCI bus to the COMET-QUAD device. 4.2.1 PCI Configuration Header and PLX Local Registers Display The PCI Configuration Header and PLX local register values are shown in the display window. The information is only retrieved once when the program starts. The following provides some brief and useful information about these values. * * VendorID and DeviceId are used by the GUI to recognize the PCI card. BaseAddress[0] is the physical address of the PLX registers. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 8 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE * * * BaseAddress[2] is the physical address of the COMET-QUAD registers InterruptLine is the IRQ number assigned by the OS. InterruptPin is the pin that is routed to the COMET-QUAD INTB pin. Please refer to PLX9050 datasheet and PCI specification for more detailed information on these register values. 4.2.2 INTB button When the program is started, a periodic one-second timer is activated. On timeout, the PLX9050 interrupt status register (INTCSR) is read to determine the state of the COMET-QUAD INTB pin. The local interrupt status bit (bit2) of the PLX9050 interrupt status register is read and displayed. When it is set, INTB pin is active and the INTB panel is displayed red in color. When the COMET-QUAD interrupt is cleared, INTB pin is inactive and the INTB panel is displayed green in color. When this button is clicked, the COMET-QUAD INTB pin is routed to the PCI interrupt pin by asserting the PCI Interrupt Enable bit of the register INTCSR. The Interrupt Service Routine of the program is then associated with the COMET-QUAD INTB signal. In this GUI design, three windows are added with interrupt capabilities along with original timer polling routines. Upon receiving an interrupt event, the ISR manually calls the timer timeout event of the following windows: Status window, Interrupt windows, and HDLC window. Enabling the PCI interrupt enhances the performance of the GUI to reflect almost real-time status of the COMET-QUAD registers. The Title bar displays the mode of operation (Polling or Interrupt driven). A counter near the INTB button displays the number of interrupt serving attempts. NOTE: if the INTB can't be cleared, the counter accumulates really fast and endless running of the interrupt routine can decrease computer performance dramatically. 4.2.3 Reset button The "Reset" button instructs the PLX 9050 chip to toggle the COMET-QUAD RSTB pin. This is a hardware reset of the COMET-QUAD. Pressing the reset button on the board also causes register values to be reset to their default values. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 9 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.3 Channel Select Figure 4 - Channel Select This window is launched from the main menu under COMET-Quad or by rightclicking the "COMETQUAD Channel Select" menu item. This window provides a means for windows to display different COMET-QUAD channels. The change in channels affects three windows: Status window, Interrupt windows, and Register Access window. The title bar in these windows indicates the current channel of operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 10 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.4 COMET-QUAD Register Access Figure 5 - Register Access The COMET-QUAD registers can be directly accessed via the register access window. This window is launched from the main menu under COMET-Quad or by right-clicking the "COMET-QUAD | Register Access" menu item. This display has a "Read" and a "Write" button that provides read or write access to the COMET-QUAD device. A register is selected by left-clicking one of the register spaces of the COMET-QUAD - either normal, RPSC, TPSC or SIGX. Then the register is selected by name in the pull down list, or by directly typing in the register offset box. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 11 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE The register value can be viewed after the "Read" button is left-clicked, or alternatively the user can specify a register value to write. Within the control titled "Value of bit fields", clicking on one of the bit panels in the Value column toggles that value bit. Clicking on the Value panel clears all value bits. Clicking on the Default panel sets the value to the register default. Alternatively the user can specify the value directly in the control titled "Register value". Once the value is specified, the user can issue a write access to the COMET-QUAD by left-clicking the "Write" button. The name of each bit field for the register offset is shown in this window. If the user moves the mouse over any of the bit names, the cursor changes to a help icon. Left-clicking at this time launches context sensitive help for the register display. 4.4.1 Add to Script Check Box This check box provides users a way to record direct or indirect read/write accesses from the GUI. When the check box is clicked, the script, "tmpScript.tcl" is opened. Read and Write accesses from clicking window buttons are automatically appended to the script. NOTE that the command "INITIALIZE" must be added to the fist line of the script so that COMET-QUAD driver api can be run. In addition, "UPDATELOGFILE" must be added to the end of the script to update the output log file. 4.5 COMET-QUAD Status Figure 6 - T1 Status PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 12 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Figure 7 - E1 Status The COMET-QUAD status window is launched from the main menu item "COMET-QUAD | Status". This window appears differently for T1 configurations than for E1 configurations. In both cases, it shows the status of some alarms and the accumulated count of the performance monitor error counters. The status window determines whether the configuration is an E1 or T1 application by reading the E1/T1Bit from the register value database. The alarm status is shown as a red color when the associated status bit value is set. It is shown as a green color when the associated status bit value is clear. Status bit values are taken from the register value database instead of the COMET-QUAD registers. Alarm panels that correspond with database values that have not been updated (invalid values) are shown as grey. Each alarm status has a current and a history panel. A right-click of the mouse enables the user to select a menu item from a popup menu. Selecting "Clear History" turns all history panels to grey. The next timeout updates the register value database (during a register access) and that causes the alarm and history panels to change to either red or green. The "Enable/Disable Register Access" menu item of the popup menu can be selected to enable, or disable, register access. Register reads are performed periodically (1 seconds) to update the register value database for alarms and history when the window is visible. Choosing "Disable Register Access" stops the periodic register read accesses. When register access is disabled the alarm text heading includes the text "Disabled Register Access", and the PMON counters show the text "disabled". PMON counters are not accumulated when register access is disabled but they are accumulated when the window is not visible. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 13 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE The following tables show the registers and bits that are read for status display Table 4 Status - T1 Status Window Description "LOSV" "ALTLOS" "ALOSV" "OOF (~INFR)" "AIS" "RED" "YEL" Register Bit(s) 0xQ12 bit0 0xQ13 bit0 0xQF8 bit6 0xQ4A bit0 0xQ62 bit0 bit1 bit2 Table 5 Status - E1 Status Window Description "LOSV" "ALTLOS" "ALOSV" "OOFV" "OOSMFV" "RAIV" "RED" "OOCMFV" "AIS" "OOOFV" Register Bit(s) 0xQ12 bit0 0xQ13 bit0 0xQF8 bit6 0xQ96 bit6 bit5 bit4 bit3 0xQ97 bit7 bit3 bit2 The performance monitor counters shown in this display are an accumulation of the PMON counters within the COMET-QUAD device. The polling of counters can be enabled/disabled by a right-click to launch the popup menu and a leftclick on the "specify counter polling interval" menu item. A non-zero polling value causes the PMON counter registers to be read periodically. A zero value disables polling of the PMON counters. At each poll interval register 0xQ59 is PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 14 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE written to transfer the internal counts to the visible registers. Then each register is read and added to the displayed value. PMON counter accumulations are also disabled if the user chooses to disable register access. When the accumulations are disabled the counter value is not displayed. Instead the text "disabled" is displayed. The accumulated counts shown in the window can be cleared by selecting "Clear Counters" from the popup menu. For T1 applications the following PMON counters are shown in this window: * * * * Framing Bit Error Count OOF Error Count if the CCOFA bit of the receive options register is clear. Otherwise it's the COFA Error Count. Bit Error Count LCV Error Count For E1 applications the following PMON counters are shown in this window: * * * * Framing Bit Error Count Far End Block Error Count CRC Error Count LCV Error Count PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 15 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.6 COMET-QUAD Interrupt Sources Figure 8 - Interrupt Source History The COMET-QUAD Interrupt Sources window is launched by selecting the main menu item "COMET-QUAD | Interrupts". The window shows the status of all interrupt sources. Panels representing bits of the three registers that are the source of all interrupts can be colored red, green or grey. A grey panel indicates that the interrupt source bit has not been read and updated in the register value database. A red color indicates an active interrupt the last time this source bit was read. A green color indicates the interrupt source was not active the last time this source bit was read. The cursor appears as a help icon when it is moved around the boundary line of a group box on this display. A left-click with the help icon launches register specific help. The cursor appears as a hand icon when it is moved across bit panels in this window. If the user left-clicks with the hand icon then an Interrupt Status History window for the selected source bit panel is displayed. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 16 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.7 COMET-QUAD Interrupt Status History Figure 9 - Interrupt Status History Display The COMET-QUAD Interrupt Status History window is launched with a left-click on a source bit of the COMET-QUAD Interrupt Sources window. Each source bit represents a COMET-QUAD block. The window shows the status history of each interrupt status bit associated with the selected COMET-QUAD block. Status bits are green if all previous accesses to the register had an inactive (clear) bit. Status bits are red if one or more previous accesses to the register had an active (set) bit. The most current status for the bits within a register is obtained by a right-click on the status bit to launch a pop-up menu. If the menu item "Read register and clear status" is selected then the COMET-QUAD register is read, status bits are cleared, and the register value database is updated with the new register status/history. Interrupt status history is cleared from the display by a right-click on the display to launch a popup menu, and choosing the "Clear Register History" menu item. Status bits are grey if the register has not yet been read from the COMET-QUAD. A clearing count is provided beside the name of each register. The clearing count increments by one when the register is read, and one or more of the interrupt status bits are active. A depressed panel indicates the status bit is enabled - that it may activate the INTB pin if the status bit is active (red). A panel which appears to stick out of the window, indicates the status bit is disabled - that it could not activate the INTB pin when the status bit is active (red). A hand cursor appears over a status bit and allows the user to enable/disable the individual interrupts associated with the status bits. When the cursor is moved across the window it may appear as a help icon and can be left-clicked to launch help on the register underneath the cursor. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 17 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 4.8 HDLC Window Figure 10 - HDLC Display The COMET-QUAD HDLC window is launched by selecting the main menu item "COMET-QUAD | HDLC ". This GUI demonstrates the RDLC receiver Block of the COMET-QUAD. Each quadrant of COMET-QUAD has an HDLC controller. The user can select any of the four controllers to monitor from the Pull-down list. When the start button is clicked, a thread that runs continuously in a loop starts to poll the INTR bit of the RDLC Status registers (0xQC2). If INTR bit (bit0) is asserted, the program reads the status registers and RDLC Data FIFO. The data collected is then organized and stored in the database. The GUI display uses a 0.1s timer to poll the database and display the statistics. When the Stop button is clicked, the thread is blocked and stopped to collect statistics. When the Reset button is clicked, the database is reset to 0 for all statistics. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 18 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5 TCL COMMANDS The Tcl commands are derived based on the COMET-QUAD device driver APIs. This section describes the Tcl commands and input parameters that can be used to exercise to the driver APIs. It is advised that the user refers to the COMETQUAD Device Driver Design Specification and COMET-QUAD Device Driver User's Guide when using the Tcl script commands. The Tcl interface to the driver API is built to familiarize the user with the driver architecture. Therefore, each Tcl command is almost built for one-to-one mapping to the actual API calls. There are only a few exceptions. 1. The input deviceHandle is omitted in the command 2. The output pointers of the input command are omitted. 3. Some Tcl commands (APIs) can only be used in certain device states. Please refer to COMET-QUAD Device Driver User's Guide for each Tcl command(API)'s valid states. 4. The device state can be manipulated using Device Management commands: "cometqInit", "cometqActivate", "cometqReset", "cometqDeActivate" 5. The output of the API is echoed on the Tcl console. It is also written to the file "outfile.txt" * * <> brackets around a field imply that the textual representation of a number or character strings must be entered in the field. [ ] brackets around a field, or fields, imply that the field(s) is optional. Note that in Tcl script language, { } bracket is used to group a list of inputs into one field. Therefore, when an input field, such as a pointer to a block, requires multiple entries, { } is used to group the block. 5.1 Device Management The following APIs are executed INITIALIZATION PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 19 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE *Note: INITIALIZATION sets the device to T1 mode by default. To change the operating mode to E1, user needs to reset (cometqReset) and reinitialize (cometqInit) and then call "cometqSetOperatingMode", followed by reactivation (cometqActivate). cometqModuleOpen cometqModuleStart cometqAdd cometqInit cometqActivate CLOSE cometqDeActivate cometqDelete cometqModuleStop cometqModuleClose UPDATELOGFILE This command closes the filestream and writes the the up-to-date Tcl outputs to the "outfile.txt" 5.1.1 cometqInit Description Map to API Input field(s) Output Example Initialize comet-Quad device to default setting. ( with input field pdiv = NULL, profileNum = 0 ) Change device state from "Present" to "Inactive". INT4 cometqInit(sCMQ_HNDL deviceHandle, sCMQ_DIV *pdiv, UINT2 profileNum); none none if success cometqInit PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 20 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.1.2 cometqReset Description Applies a software reset to the COMET or COMET-Quad device. Also resets all the DDB contents. Change device state from "Inactive" or "Active" to "Present". INT4 cometqReset(sCMQ_HNDL deviceHandle); none none if success cometqReset Map to API Input field(s) Output Example 5.1.3 cometqActivate Description Map to API Input field(s) Output Example The cometqActivate API activates the device by enabling the interrupt if the device is in ISR mode. Change device state from "Inactive" to "Active" INT4 cometqActivate(sCMQ_HNDL deviceHandle); none none if success cometqActivate 5.1.4 cometqDeActivate Description The cometqDeActivate API Deactivates the device by disabling interrupts if the device is in ISR mode and retaining interrupt mask within the DDB. Change device state from "Active" to "Inactive" INT4 cometqDeActivate(sCMQ_HNDL deviceHandle); none none if success cometqDeActivate Map to API Input field(s) Output Example 5.2 Device Read and Write 5.2.1 cometqRead Description Map to API Reading from the Device Registers. UINT1 cometqRead(sCMQ_HNDL deviceHandle, UINT2 regNum) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 21 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Input field(s) Output Example 5.2.2 cometqWrite Description Map to API Input field(s) Output Example Writing to Device Registers. UINT1 cometqWrite(sCMQ_HNDL deviceHandle, UINT2 regNum, UINT1 value) 5.2.3 cometqReadBlock Description Map to API Input field(s) Output Example Reading from a block of Device Registers UINT1 cometqReadBlock(sCMQ_HNDL deviceHandle, UINT2 startRegNum, UINT2 size, UINT1 *pblock) 5.2.4 cometqWriteBlock Description Map to API Input field(s) Writing to a Block of Device Registers UINT1 cometqWriteBlock(sCMQ_HNDL deviceHandle, UINT2 startRegNum, UINT2 size, UINT1 *pblock, UINT1 *pmask) Output Example PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 22 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.2.5 cometqReadFr Description Map to API Input field(s) Output Example Reading from Framer Device Registers: UINT1 cometqReadFr(sCMQ_HNDL deviceHandle, UINT1 frmNum, UINT2 regNum) 5.2.6 cometqWriteFr Description Map to API Input field(s) Output Example Writing to Framer Device Registers UINT1 cometqWriteFr(sCMQ_HNDL deviceHandle, UINT1 frmNum, UINT2 regNum, UINT1 value) 5.2.7 cometqReadFrInd Description Map to API Input field(s) Reading from Device Indirect Registers UINT1 cometqReadFrInd(sCMQ_HNDL deviceHandle, UINT1 frmNum, eCMQ_SECTION section, UINT2 regNum) Output Example 5.2.8 cometqWriteFrInd Description Map to API Writing to Device Indirect Registers UINT1 cometqWriteFrInd(sCMQ_HNDL deviceHandle, UINT1 frmNum eCMQ SECTION section, UINT2 regNum, UINT1 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 23 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE value) Input field(s) Output Example 5.2.9 cometqReadRLPS Description Map to API Input field(s) Output Example Reading from Device RLPS Indirect Registers UINT1 cometqReadRLPS(sCMQ_HNDL deviceHandle, UINT2 frmNum,UINT1 regNum) 5.2.10 cometqWriteRLPS Description Map to API Input field(s) Output Example Writing to Device RLPS Indirect Registers UINT4 cometqWriteRLPS(sCMQ_HNDL deviceHandle, UINT2 frmNum, UINT1 regNum, UINT4 value) 5.3 Line Side Interface 5.3.1 cometqLineTxEncodeCfg Description Configure transmit line encoding PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 24 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Map to API Input field(s) Output Example INT4 cometqLineTxEncodeCfg(sCMQ_HNDL deviceHandle, UINT2 chan, eCMQ_LINE_CODE encScheme); 5.3.2 cometqLineRxEncodeCfg Description Map to API Input field(s) Configure receive line encoding INT4 cometqLineRxEncodeCfg(sCMQ_HNDL deviceHandle, UINT2 chan, eCMQ_LINE_CODE encScheme, UINT1 incXSZeros, UINT1 E1_O162En); Output Example 5.3.3 cometqLineTxAnalogCfg Description Map to API Input field(s) Configure analog transmit line INT4 cometqLineTxAnalogCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_TX_ANALOG* ptxAnalogCfg); PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 25 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Output Example 1 CMQ_TX_LBO_T1_SHORT_HAUL_330FT or 7, CMQ_TX_LBO_T1_SHORT_HAUL_440FT or 8, CMQ_TX_LBO_T1_SHORT_HAUL_550FT or 9, CMQ_TX_LBO_T1_SHORT_HAUL_660FT or 10, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_110FT or 11, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_220FT or 12, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_330FT or 13, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_440FT or 14, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_550FT or 15, CMQ_TX_LBO_T1_SHORT_HAUL_TR62411_660FT or 16, CMQ_TX_LBO_E1_75OHM or 17, CMQ_TX_LBO_E1_120OHM or 18, CMQ_TX_LBO_USER_DEFINED or 19, CMQ_TX_LBO_RETAIN_CURRENT or 20 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 26 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Example 2 {0 0x20 0x15 0x5 0x17} \ {0 0x20 0x15 0x5 0x18}} \ 1 1 1} cometqLineTxAnalogCfg 0 { 1 0 0xC 1 1 1 } 5.3.4 cometqLineRxAnalogCfg Description Map to API Input field(s) Configure analog receive line INT4 cometqLineRxAnalogCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_RX_ANALOG *prxAnalogCfg); PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 27 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE CMQ_RX_EQ_VALID_PERIOD_128 or 2, CMQ_RX_EQ_VALID_PERIOD_256 or 3 Example 2 5.3.5 cometqLineTxJatCfg Description Map to API Input field(s) Configure transmit line jitter attenuation INT4 cometqLineTxJatCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_TX_JAT *ptxJatCfg); PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 28 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE CMQ_TJAT_PLL_REF_CLK_BACKPLANE or 1, CMQ_TJAT_PLL_REF_CLK_RECOVERED or 2, CMQ_TJAT_PLL_REF_CLK_CTCLK or 3 Output Example none if success cometqLineTxJatCfg 0 { 1 1 1 1 1 0 0 } 5.3.6 cometqLineRxJatCfg Description Map to API Input field(s) Configure receive line jitter attenuation INT4 cometqLineRxJatCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_RX_JAT *prxJatCfg); Output Example 5.3.7 cometqLineClkSvcCfg < eCMQ_CSU_SVC_CLK > Description Map to API Input field(s) Output Example 1 Example 2 Configure clock service unit INT4 cometqLineClkSvcCfg(sCMQ_HNDL deviceHandle, eCMQ_CSU_SVC_CLK synthTxFreq); < eCMQ_CSU_SVC_CLK > = CMQ_XCLK_2048_TXCLK_2048 or 0, CMQ_XCLK_1544_TXCLK_1544 or 1, CMQ_XCLK_2048_TXCLK_1544 or 2 none if success cometqLineClkSvcCfg {CMQ_XCLK_2048_TXCLK_2048} cometqLineClkSvcCfg 1 5.3.8 cometqLineRxClkCfg Description Configure receive line clock PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 29 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Map to API Input field(s) INT4 cometqLineRxClkCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_RX_CLK *prxClkCfg); Output Example 5.4 System Side Interface 5.4.1 cometqBTIFAccessCfg Description Map to API Input field(s) Configure backplane transmit interface INT4 cometqBTIFAccessCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_BACKPLANE_ACCESS_CFG* pBTIFCfgData); Output Example PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 30 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.4.2 cometqBTIFFrmCfg Description Map to API Input field(s) Configure backplane transmit interface INT4 cometqBTIFFrmCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_BTIF_FRM *pfrmCfg); Output Example 5.4.3 cometqBRIFAccessCfg Description Map to API Input field(s) Configure backplane transmit interface INT4 cometqBRIFAccessCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_BACKPLANE_ACCESS_CFG* pBRIFCfgData); Output Example PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 31 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.4.4 cometqBRIFFrmCfg Description Map to API Input field(s) Configure backplane receive interface INT4 cometqBRIFFrmCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_BRIF_FRM *pfrmCfg); Output Example 5.4.5 cometqHMVIPCfg < rxHMVIPMode > < txHMVIPMode > Description Map to API Configure the H-MVIP receive and transmit interface INT4 cometqHMVIPCfg (sCMQ_HNDL deviceHandle, sCMQ_CFG_HMVIP *pHMVIPCfg) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 32 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Input field(s) Output Example CMQ_BACKPLANE_HMVIP_MODE or 0, CMQ_BACKPLANE_HMVIP_CCS or 1 CMQ_BACKPLANE_HMVIP_DISABLE or 2 < txHMVIPMode >: CMQ_BACKPLANE_HMVIP_MODE or 0, CMQ_BACKPLANE_HMVIP_CCS or 1, CMQ_BACKPLANE_HMVIP_DISABLE or 2 < rxHMVIPMode >: 5.4.6 cometqTxElstStCfg Description Map to API Input field(s) Output Example Configure the elastic store in receive data path INT4 cometqTxElstStCfg(sCMQ_HNDL deviceHandle, UINT2 chan, UINT1 elstEnable); 5.4.7 cometqRxElstStCfg Description Map to API Input field(s) Configure the elastic store in receive data path INT4 cometqRxElstStCfg(sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_RX_ELST* pElstCfg); Output Example PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 33 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.5 T1 /E1 Framers 5.5.1 cometqSetOperatingMode Description Map to API Input field(s) Output Example This function specifies whether the device will operate in T1 or E1 mode. INT4 cometqSetOperatingMode(sCMQ_HNDL deviceHandle, eCMQ_OPER_MODE operMode); 5.5.2 cometqT1TxFramerCfg Description Map to API Input field(s) T1 transmit framer configuration INT4 cometqT1TxFramerCfg (sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_T1TX_FRM *pfrmCfg) Output Example PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 34 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE 5.5.3 cometqT1RxFramerCfg Description Map to API Input field(s) T1 receive framer configuration INT4 cometqT1RxFramerCfg (sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_T1RX_FRM *pfrmCfg) Output Example 5.5.4 cometqE1TxFramerCfg Description Map to API Input field(s) E1 transmit framer configuration INT4 cometqE1TxFramerCfg (sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_E1TX_FRM *pfrmCfg) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 35 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE < < < < Output Example CMQ_FRM_MODE_E1_UNFRAMED or 2, ts16Signaling >: CMQ_E1_SIG_INS_NONE or 0, CMQ_E1_SIG_INS_HDLC_CCS or 1, CMQ_E1_SIG_INS_CAS or 2 insNatIntBitEn >: 0 or 1 insXtraBitsEn >: 0 or 1 insFEBEEn >: 0 or 1 none if success cometqE1TxFramerCfg 1{00111} 5.5.5 cometqE1RxFramerCfg Description Map to API Input field(s) E1 receive framer configuration INT4 cometqE1RxFramerCfg (sCMQ_HNDL deviceHandle, UINT2 chan, sCMQ_CFG_E1RX_FRM *pfrmCfg) Output PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 36 RELEASED EVALUATOR BOARD PMC-2001854 ISSUE 2 PM4354 COMET-QUAD COMET-QUAD EVALUATOR BOARD SOFTWARE Example cometqE1RxFramerCfg 1 {1 0 1 0 1 0 1 0 1 0 1} 5.5.6 cometqE1TxSetExtraBits Description Map to API Input field(s) Allows user to set extra bit values that will be inserted into bits 5, 7 and 8 of timeslot 16 if enabled in the E1 transmit framer configuration. INT4 cometqE1TxSetExtraBits(sCMQ_HNDL deviceHandle, UINT2 chan, UINT1 extraBits); ( bit 1: X3 - timeslot 16, bit 7 ) ( bit 2: X4 - timeslot 16, bit 8 ) ( bit 3-7: unused ) Output Example none if success cometqE1TxSetExtraBits 1 0x03 5.5.7 cometqE1TxSetIntBits Description Map to API Input field(s) Set value of the international bits to insert into the E1 stream. Must be enabled first in the configuration. INT4 cometqE1TxSetIntBits(sCMQ_HNDL deviceHandle, UINT2 chan, UINT1 intBits); bit 0: Si[0]: inserted into NFAS frames bit 1: Si[1]: inserted into FAS frames bit 2-7: unused Output Example none if success cometqE1TxSetIntBits 1 0xFF 5.5.8 cometqE1TxSetNatBits |