Transcript
®
Serial Communications
COMR 8232J & COMR 8232P COMR 8232J: 8-Port PCI RS-232 Card, up to 921.6 kbaud COMR 8232P: COMR 8232J with Surge Protection
USER’S MANUAL VER. 1.75 • JAN 2003 &( No part of this manual may be reproduced without permission.
CyberResearch®, Inc. www.cyberresearch.com 25 Business Park Dr., Branford, CT 06405 USA 203-483-8815 (9am to 5pm EST) FAX: 203-483-9024
©Copyright 2003 All Rights Reserved. January 2003 The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of CyberResearch, Inc. In no event will CyberResearch, Inc. be liable for direct, indirect, special, incidental, or consequential damages arising out of the use of or inability to use the product or documentation, even if advised of the possibility of such damages. This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of CyberResearch, Inc. TRADEMARKS “CyberResearch,” “COMR 8232J,” and “COMR 8232P,” are trademarks of CyberResearch, Inc. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.
• NOTICE • CyberResearch, Inc. does not authorize any CyberResearch product for use in life support systems, medical equipment, and/or medical devices without the written approval of the President of CyberResearch, Inc. Life support devices and systems are devices or systems which are intended for surgical implantation into the body, or to support or sustain life and whose failure to perform can be reasonably expected to result in injury. Other medical equipment includes devices used for monitoring, data acquisition, modification, or notification purposes in relation to life support, life sustaining, or vital statistic recording. CyberResearch products are not designed with the components required, are not subject to the testing required, and are not submitted to the certification required to ensure a level of reliability appropriate for the treatment and diagnosis of humans.
i
Intentionally Blank
1 General Information
........................................ 1.1 Connector Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 "P" Option --- Surge Suppression Upgrade . . . . . . . . . . . . . .
1 1 2 2
................................. 2.1 Factory Default Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Enable Scratchpad Register (SPAD, J4) . . . . . . . . . . . . . . . . . . . . . . 2.3 Force High-Speed UART Clock (X2, X4, or X8, J1-J3) . . . . .
3 3 3 4
2 Hardware Configuration
3 Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Address Map and Special Registers . . . . . . . . . . . . . . . . .
5
4.1 Base Address and Interrupt Level (IRQ) . . . . . . . . . . . . . . . . . . . 4.2 Enabling the Special Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Interrupt Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4 Options Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.1 Enhanced Serial Adapter Identification . . . . . . . . . . . . . . . . . 4.4.2 Clock Rate Multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 6 7 7 8 8 9
................................. Windows Millennium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Windows 2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Windows 98 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Windows 1995 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Windows NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing Resources with Device Manager . . . . . . . . . . . . . . . . . .
10 10 11 12 13 14 15
5 Windows Configuration 5.1 5.2 5.3 5.4 5.5 5.6
6 DOS and Other Operating Systems
. . . . . . . . . . . . . . . . . . 17 6.1 DOS and other operating systems . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6.1.1 QTPCI.EXE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 OS/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 External Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 COMR 8232J Channel Output Configuration . . ............ .
9 PCI Resource Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20 21 22 24 32
25 27
1 General Information The CyberResearch, Inc. COMR 8232 provides eight RS-232 asynchronous serial communication interfaces for IBM-compatible personal computer systems using the PCI expansion bus. The COMR 8232 uses CyberResearch's new Enhanced Serial Adapter design. Legacy serial port data rates are limited to a maximum of 115,200 bits per second. CyberResearch Enhanced Serial Adapters can achieve data rates as high as 921,600 bits per second. As a PCI device, the COMR 8232 requires no hardware configuration. The card is automatically configured by the computer's BIOS or operating system. The eight serial ports share a single interrupt line and are addressed in a contiguous block of 64 bytes. A special interrupt status register is provided to help software to manage the shared interrupt. The COMR 8232's serial ports are using 16750 Universal Asynchronous Receiver/Transmitters (UARTs). These UARTs contain hardware buffers (FIFOs) which reduce processing overhead and allow higher data rates to be achieved. The 16750 contains a 64-byte FIFO and can transmit and receive data at a rate of up to 921,600 bits per second. The COMR 8232 is supported under several popular operating systems and environments. Contact the sales department for details on current software offerings. This manual covers both the COMR 8232J and COMR 8232P. From this point forward "COMR 8232J," refers to both boards, unless otherwise noted.
1.1 Connector Type The COMR 8232J is available with two different connector schemes, reflected in the specific model number of the board.
The COMR 8232J uses modular RJ-12 (phone jack style) connectors, one per serial port. Only six signals are available on the RJ-12 connector. Along with the transmit (TXD) and receive data (RXD) signals, carrier detect (DCD) and a ground, either the RTS/CTS signal pair or the DTR/DSR signal pair can be connected. The other signal pair can be connected in a loopback configuration on the board. Optional adapter cables translate the RJ-12 connectors to D-25 connectors with customer-configurable pinouts.
1
1.2 Features The standard COMR 8232J implements each of its communication channels with a 16750 UART and uses standard line driver and receiver components. For improved performance and industrial-grade reliability, CyberResearch offers the fo llowing board upgrades:
1.2.1 "P" Option --- Surge Suppression Upgrade The "P" upgrade provides the protection essential for reliable use in an industrial environment. Each communication line has a surge suppressor capable of sustaining up to 40A 20us peak transient surges, a clamping voltage of 30V and a peak energy dissipation of 0.1 Joules.
Part Number COMR 8232J COMR 8232P
P Option no yes
Connector RJ-12 RJ-12
Figure 1 --- COMR 8232 Product Series Summary
2
Intentionally Blank
2 Hardware Configuration The COMR 8232J is automatically configured at boot time by the computer's BIOS or operating system. There are no required switches or jumpers to set for installation. This chapter lists a number of optional jumper settings that control various hardware features. Jumpers J1-J4 are grouped together at the end of the board opposite the RJ-12 connector. Any changes from the factory default should be made before installing the COMR 8232J in the computer.
2.1 Factory Default Configuration Figure 2 shows the jumper configuration as shipped from the factory, with two spare jumpers applied in neutral positions. Remove one or both and apply as shown in following sections to set optional features.
J1
X2
J2
X4
J3
X8
J4
SPAD
Figure 2 --- Factory default jumper configuration
2.2 Enable Scratchpad Register (SPAD, J4) In the default configuration, an Interrupt Status Register and an Options Register (see page 9) replace the scratchpad (base address + 7) of each UART. If the SPAD jumper is applied as in Figure 3, the UART scratchpad registers are enabled, and the Interrupt Status Register and the Options Register are not available.
J1
X2
J2
X4
J3
X8
J4
SPAD
Figure 3 --- Enable scratchpad registers 3
2.3 Force High-Speed UART Clock (X2, X4, or X8, J1-J3) These jumpers force an increase of the UART input clock frequency by a factor of two, four, or eight. This can allow legacy software to use baud rates above 115,200 bits per second. It is also useful if the serial port device driver does not directly support setting the higher baud rates through the Options Register (see page 9). If one of these jumpers is applied, it overrides any value written to the Options Register to set the clock multiplier by software. The effective baud rate will be either two, four, or eight times the value for which the UART itself is programmed. The factory default is none of these jumpers applied, which allows for software control of the clock multiplier via the Options Register. The Options Register powerup default is for a standard times-1 clock of 1.8432 MHz for compatibility with standard serial ports.
J1
X2
J1
X2
J2
X4
J2
X4
J3
X8
J3
X8
J4
SPAD
J4
SPAD
Factory default software control
Force times-two clock Baud rates up to 230.4 kbps
J1
X2
J1
X2
J2
X4
J2
X4
J3
X8
J3
X8
J4
SPAD
J4
SPAD
Force times-four clock Baud rates up to 460.8 kbps
Force times-eight clock Baud rates up to 921.6 kbps
Figure 4 --- Clock multiplier jumper options
4
3 Hardware Installation 1. Turn off the power of the computer system in which the COMR 8232J is to be installed. 2. Remove the system cover according to the instructions provided by the computer manufacturer. 3. Make any desired optional jumper setting changes. 4. Install the COMR 8232J in any empty PCI expansion slot. The board should be secured by installing the Option Retaining Bracket (ORB) screw. 5. Replace the system cover according to the instructions provided by the computer manufacturer. 6. Attach and secure the cable connectors to the desired equipment. 7. Turn on the power of the computer system. The output of the COMR 8232J is eight 6-pin RJ-12 connectors. Optional cables are available to convert the RJ-12s into male D-25 connectors, with customer-configurable pinouts.
J5 J6
AUXIN/AUXOUT signal selection (COMR 8232J only)
J7 J8 J9
Clock multiplier/ scratchpad select
J10 J11 J12
J1 J2 J3 J4
X2 X4 X8 SPAD
Figure 5 --- Jumper/connector locations 5
4 Address Map and Special Registers This chapter explains how the eight UARTs and special registers are addressed, as well as the layout of those registers. This material will be of interest to programmers writing driver software for the COMR 8232J.
4.1 Base Address and Interrupt Level (IRQ) The base address and IRQ used by the COMR 8232J are determined by the BIOS or operating system. Each serial port uses 8 consecutive I/O locations. The eight ports reside in a single block of I/O space in eight-byte increments, for a total of 64 contiguous bytes, as shown in Figure 6. Port
I/O Address Range
Serial 1
Base Address + 0
to Base Address + 7
Serial 2
Base Address + 8
to Base Address + 15
Serial 3
Base Address + 16 to Base Address + 23
Serial 4
Base Address + 24 to Base Address + 31
Serial 5
Base Address + 32 to Base Address + 39
Serial 6
Base Address + 40 to Base Address + 47
Serial 7
Base Address + 48 to Base Address + 55
Serial 8
Base Address + 56 to Base Address + 63 Figure 6 --- Port Address Map
All eight serial ports share the same IRQ. The COMR 8232J signals a hardware interrupt when any port requires service. The interrupt signal is maintained until no port requires service. Interrupts are level-sensitive on the PCI bus. The base address and IRQ are automatically detected by the device drivers CyberResearch supplies for various operating systems. For cases where no device driver is available, such as for operation under DOS, CyberResearch supplies the "QTPCI" DOS software utility for manually determining the resources used. See page 16 for details.
6
4.2 Enabling the Special Registers The COMR 8232J contains two unique registers, an Interrupt Status Register and an Options Register. These registers are enabled when the SPAD jumper (J4) is removed (factory default). They replace the UART Scratchpad Register on accesses to register address 7. The Interrupt Status Register and Options Register are accessed through the scratchpad location of any UART. The DLAB bit of the UART (Line Control Register, bit 7) is used to select between the two registers. The most recent write of a DLAB bit in any UART selects between the two registers as shown in Figure 7. DLAB Bit
SPAD Jumper
0 1 X
removed removed applied
Register selected for address 7 accesses Interrupt Status Register Options Register Scratchpad Registers
Figure 7 --- DLAB bit selects between special registers
4.3 Interrupt Status Register The read-only Interrupt Status Register can be used to quickly identify which serial ports require servicing after an interrupt. Reading the Interrupt Status Register will return the interrupt status of the entire COMR 8232J, as shown in Figure 8. The individual bits are cleared as the interrupting ports are serviced. The interrupt service routine should ensure that the interrupt status register reads zero before exiting. Bit
Description
7 (MSB)
Port 8 --- 1 if interrupt pending
6
Port 7 --- 1 if interrupt pending
5
Port 6 --- 1 if interrupt pending
4
Port 5 --- 1 if interrupt pending
3
Port 4 --- 1 if interrupt pending
2
Port 3 --- 1 if interrupt pending
1
Port 2 --- 1 if interrupt pending
0
Port 1 --- 1 if interrupt pending Figure 8 --- Interrupt Status Register
7
4.4 Options Register The Options Register allows software to identify the COMR 8232J as a CyberResearch Enhanced Serial Adapter. It also allows software to set the UART clock rate multiplier. Figure 9 shows the structure of the Options Register. The powerup default of the Options Register is all bits zero. Bit
Name
Description
7 (MSB) 6
ID1 ID0
ID bit 1 ID bit 0
5 4
-
(reserved, 0) (reserved, 0)
3
-
(reserved, 0)
2 1
RR1
(reserved, 0) Clock rate multiplier bit 1
0
RR0
Clock rate multiplier bit 0
Figure 9--- Options Register bit definitions
4.4.1 Enhanced Serial Adapter Identification The ID bits are used to identify the COMR 8232J as a CyberResearch Enhanced Serial Adapter. Logic operations are performed such that the values read back from these bits will not necessarily be the values that were written to them. Bit ID1 will return the logical-AND of the values written to ID[1:0], while bit ID0 will return their exclusive-OR. Software can thus identify a CyberResearch Enhanced Serial Adapter by writing the ID bits with the patterns shown in the "write" column of Figure 10, then reading the bits and comparing the result with the patterns in the "read" column. Matching read patterns verify the presence of the Options Register. Write ID1 ID0 0 0 0 1 1 0 1 1
Read ID1 ID0 0 0 0 1 0 1 1 0
Figure 10 --- ID bit write/read table 8
4.4.2 Clock Rate Multiplier A standard RS-232 serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, CyberResearch Enhanced Serial Adapters can operate at two times, four times, or even eight times this standard clock speed. This is controlled by the clock rate multiplier bits in the Options Register. Software can determine the UART clock frequency by reading the clock rate multiplier bits RR1 and RR0 in the Options Register as shown in Figure 11. RR1 and RR0 can be set by writing to the Options Register if the X2, X4, and X8 jumpers (J1-J3) are all removed. If one of these jumpers is applied, the RR1 and RR0 bits are forced to the appropriate value. Reading the Options Register will always return the clock rate multiplier at which the board is operating. RR1
RR0
0
0
0 1 1
1 0 1
Clock Rate Multiplier X1 (default) X2 X4 X8
UART Clock Frequency
Maximum Data Rate
1.8432 MHz
115.2 kbaud
3.6864 MHz 7.3728 MHz 14.7456 MHz
230.4 kbaud 460.8 kbaud 921.6 kbaud
Figure 11 --- Rate Register bit definition At powerup and reset, the Options Register is initialized to 0. The COMR 8232J will thus powerup in the x1 mode with software control of the clock rate multiplier enabled as long as the X2, X4, and X8 jumpers are not installed. Software can control high baud rates through a combination of changing the clock rate multiplier and the UART baud rate divisor. For example, a baud rate of 230.4 kbps could be achieved by setting the clock rate multiplier to X2 mode (or by applying the X2 jumper) and setting a software application for 115.2 kbps.
9
5 Windows Configuration 5.1 Windows Millennium 1. After inserting the COMR 8232J for the first time the "Add New Hardware Wizard" will begin. Select "Search for the best driver for your device.". Check the "Removable media" and "Specify location" box. Click the "Next" button.
2. 3.
Window will locate the proper INF file and copy the file from the CD. Click the "Next" button. The final dialog screen will verify the file copy from the diskette. Click the "Finish" button.
10
5.2 Windows 2000 1.
After inserting a COMR 8232J for the first time, the "Add New Hardware Wizard will appear at start up. Click the "OK" button.
2.
The following dialog box insert the CyberResearch COM CD (shipped with the device). Click the "OK" button.
4.
The following dialog box will display the appropriate INF file on the CD in the drive. Click the "OK" button.
5.
Window will copy the INF file from the diskette and display a final dialog indication that the process is complete. Click the "Finish" button.
11
5.3 Windows 98 1.
After inserting a COMR 8232J for the first time, the "Add New Hardware Wizard will appear at start up. Click the "Next" button.
2. Select "Search for the best driver for you device". Click the "Next" button.
3.
On the next dialog, select the "CD-ROM DRIVE" check box. Insert the PCI Communication Drivers CD (shipped with the device) into the CD-ROM. Click the "Next" button.
12
4.
The following dialog box will display the appropriate INF file on the CD in drive. Click the "Next" button.
5.
Window will copy the INF file from the CD and display a final dialog indication that the process is complete. Click the "Finish" button.
5.4 Windows 1995 The following instructions provide step-by-step instructions on installing the COMR 8232J in Windows 95 using the "New Hardware Found " wizard. 1. After booting the computer with a newly-installed COMR 8232J, the "New Hardware Found" dialog box will appear. If you have never installed a CyberResearch PCI communications adapter before, the dialog box may simply indicate that it has found a "PCI Card." 2. Select the radio button for "Driver from disk provided by hardware manufacturer." Click the "OK" button to continue. 3. An "Install From Disk" dialog box should pop up. Insert the CD with the CyberResearch INF files on it, select the correct drive letter, and click the "OK" button. Windows 95 automatically browses the root directory for an INF file that defines configurations for Multi-function Adapters. If no INF files are found, click the "Browse" button and search the Win95 sub directory on the installation CD. You 13
are not required to select the file name. After finding the directory containing the INF files, Windows 95 will choose the correct file. 4. The "New Hardware Found" dialog box will appear again, this time for an "Unknown Device." 5. Again select the radio button for "Driver from disk provided by hardware manufacturer." Click the "OK" button to continue. 6. Another "Install From CD" dialog box will pop up. The path should already be pointing to the CyberResearch diskette. Click the "OK" button to continue. 7. You should now see the "Copying Files" dialog box as Windows 95 copies the driver files from the CD. 8. The installation utility will ask for your Windows 95 installation CD. Serial communication ports require two drivers supplied by Microsoft to function: SERIAL.VXD and SERIALUI.DLL. Insert the disk or CD and click "OK". NOTE:
You may be able to skip this step if you are certain that your system has the latest version of these files installed. If you do not have your Windows 95 install CD immediately available, click "OK" anyway. A dialog box appears with an option to Skip the files. Click the Skip button and the files will not be installed. This is all right if the latest version of these drivers are currently in the \WINDOWS\SYSTEM directory.
9. The "New Hardware Found" dialog will repeat for each of the serial ports on the COMR 8232J as each port is registered with Windows 95. 10. Installation is complete.
5.5 Windows NT The Windows NT device driver is installed by running the SETUP program. Up to 256 serial ports are supported. There is a command line-based configuration utility which is used for adding PCI bus and ISA bus serial ports. Please refer to the documentation included with the device driver for full installation and configuration details.
14
5.6 Viewing Resources with Device Manager The following instructions provide step-by-step instructions on viewing resources used by the COMR 8232J in Windows using the "Device Manager" utility. Select Start|Help from within Windows for additional information on this utility. 1. Double click the "System" icon inside the Control Panel folder. This opens up the System Properties box. 2. Click the "Device Manager" tab located along the top of the System Properties box. This lists all hardware devices registered inside the Windows registry. Additional information is available on any of these devices by click on the device name and then selecting the "Properties" button. 3. Double click the device group "Multi-function Adapters". The COMR 8232J model name should appear in the list of Multi-function adapters. 4. Double click the COMR 8232J model name and a properties box should open for the hardware adapter. 5. Click the "Resources" tab located along the top of the properties box to view the resources Windows has allocated for the COMR 8232J match the hardware configuration. Because PCI is a true plug-and-play bus, do not attempt to modify the configuration values listed. Click "Cancel" to exit without making changes. 6. The COMR 8232J serial ports are also listed under the group Ports (COM and LPT). Windows does not assign COM1-COM4 to ports addressed at nonstandard locations. The COMR 8232J ports will be enumerated starting with COM5 (or higher) even if lower logical numbers are available. 7. Select any of the CyberResearch Serial Ports listed under the group Port (COM and LPT) and click the "Properties" button. This action opens a properties dialog for the specific COM port on the COMR 8232J. 8. Click the "Port Settings" tab and then click the "Advanced" button. The COMR 8232J driver will display a custom Advanced Port Settings control, which allows the ports UART compatibility mode and FIFO threshold levels to be configured. The threshold values of full-scale for the transmit buffer and 3/4-scale for the receive buffer shown below are optimal for most applications. Note that the FIFO option for each of the COMR 8232J's eight ports is configured independently. 9. Use the Logical COM Port names to access the serial ports on your COMR 8232J through your software applications. Note: The Logical COM Port name is 15
assigned to your ports by Windows 95. This name is required by a Windows 95 application when accessing a particular port. Windows maintains a registry of all known hardware installed in your computer. Inside this hardware registry Windows keeps track of all of your system resources, such as I/O locations, IRQ levels, and DMA channels. The "Add New Hardware Wizard" utility in Windows 95 was designed to add new hardware and update this registry. An "INF" configuration file is included with the COMR 8232J to allow easy configuration in the Windows 95 environment. Also a custom Windows serial device driver is included with the COMR 8232J to support the use of the 16750 UART's 64 byte FIFO. Windows uses the "INF" file to determine the system resources required by the COMR 8232J, searches for available resources to fill the boards requirements, and then updates the hardware registry with an entry that allocates these resources.
16
6 DOS and Other Operating Systems 6.1 DOS and other operating systems The COMR 8232J is not a direct drop-in replacement for a legacy serial port because its base address and IRQ cannot be fixed at values such as 3F8 hex, IRQ 4 (COM1) or 2F8 hex, IRQ 3 (COM2), etc. Rather, the system BIOS assigns the address and the IRQ in a plug-and-play fashion at boot time. Software which is to use the COMR 8232J must be able to accommodate any valid assignments of these resources. For Windows and OS/2 the CyberResearch device drivers determine what the resource assignments are and proceed accordingly. In other cases, however, the user must intervene. The discussion below will center on DOS, but the concepts can be applied to other operating systems as well. Many DOS applications support user configuration of the base address and IRQ of a serial port. Such applications can generally make use of the COMR 8232J. Older applications, as well as some custom software, may use hard-coded standard legacy serial port addresses. These applications will require modifications if they are to use the COMR 8232J. Custom applications for which the customer has source code can be modified to make just a few PCI BIOS function calls to obtain all the necessary configuration information. The PCI BIOS specification can be obtained from the PCI Special Interest Group. Contact CyberResearch technical support for more information.
6.1.1 QTPCI.EXE CyberResearch's "QTPCI" utility supplies the information required when modifying the serial port settings of the application. This program should be run from real DOS, not in a Windows DOS box. Figure 14 shows the Basic Mode display for the COMR 8232J after the "Q" key has been pressed. In this example, the COMR 8232J uses I/O base address FE80 hex and IRQ 11. The hardware revision of the COMR 8232J is also displayed. Pressing the "N" key will show similar information for all non-CyberResearch PCI devices in the system, including those devices integrated on the motherboard.
17
The QTPCI program is capable only of displaying the PCI configuration. It cannot be used to make changes. Cyber PCI Configuration Information Display Software Version 1.00
INSTRUCTIONS: -----------------------Press keys listed in the menu at the bottom of the screen. This program only displays information. It cannot make changes PCI BIOS detected, version 2.10
Cyber PCI adapters detected --------------------------------------------COMR 8232 Eight-port RS-232 adapter Uses IRQ 11 Base addr 1 = 0xfe80 I/O _
Q - Cyber PCI adapters N - Other PCI devices X - EXIT
(Hardware Revision A1)
M - Change to Expert Mode
Figure 14 --- QTPCI.EXE Basic Mode display Figure 15 shows the Expert Mode display for the COMR 8232J after the "Q" key has been pressed. The information from the Basic Mode display is presented along with more details such as the Vendor and Device IDs, PCI Class Code, size of memory and 18
I/O regions, etc. Pressing the "N" key will show similar information for all non-CyberResearch PCI devices in the system, including those devices integrated on the motherboard. In this example, the "Base addr 0" resource is reserved. For users interested in even more details, PCI BIOS information can be displayed by pressing the "B" key. Pressing the "I" key displays the PCI interrupt routing table. Cyber PCI Configuration Information Display Software Version 1.00
PCI adapters detected --------------------------------------------COMR 8232 eight-port RS-232 adapter Vendor ID 0x135c, Device id 0x0050 found in slot 0x04 on bus 0x00 Device/function code = 0x98, Revision ID = 0x01 (Hardware revision A1) PCI Class Code = 0x070200 Communications controller, multiport serial Subsystem Vendor ID 0x135c, Subsystem Id 0x0050 INTA# mapped to IRQ 11 (route 0x61) Base addr 0 = 0xfc80 I/O 0X80 bytes allocated Base addr 1 = 0xfe80 I/O 0X40 bytes allocated _
Q - Cyber PCI adapters N - Other PCI devices X - EXIT
M - Change to Basic Mode B - PCI BIOS details I - Interrupt routing details
Figure 15 --- QTPCI.EXE Expert Mode display
19
Intentionally Blank
7 OS/2 The OS/2 device driver supports up to 32 serial ports in a system. Installation is a manual, but simple, process. Please refer to the read me documentation included on the CyberResearch COM CD with the device driver for full installation and configuration details.
Note: CyberResearch no longer supports this device driver
20
Intentionally Blank
8 External Connections RS-232-C devices are classified by their function as either Data Terminal Equipment (DTE) or Data Communication Equipment (DCE). Generally, data terminal equipment is defined as the communication source and data communication equipment is defined as the device that provides a communication channel between two DTE-type devices.
Terminal DTE
Modem RS-232-C
DCE Telephone line
Terminal DTE
Modem RS-232-C
DCE
Figure 16 --- Use of DTEs and DCEs in a communications link DTE- and DCE-type devices have complementary pinouts to allow terminals and modems to be connected directly using a one-to-one cable as shown in Figure 17. In many applications, DCEs are unnecessary, and in these cases a cable called a "null modem cable" or "modem eliminator cable" is used to directly connect two DTE-type devices. A typical null modem cable is also shown in Figure 17.
(3) RxD (2) TxD (4) RTS (5) CTS (20) DTR (6) DSR (8) DCD (22) RI (7) GND
TxD RxD CTS RTS DSR DTR DCD RI GND Typical DTE-to-DCE cable
(3) (2) (4) (5) (20) (6) (8) (22) (7)
(3) RxD (2) TxD (4) RTS (5) CTS (20) DTR (6) DSR (8) DCD (22) RI (7) GND
RxD TxD RTS CTS DTR DSR DCD RI GND
(3) (2) (4) (5) (20) (6) (8) (22) (7)
Typical DTE-to-DTE null modem cable
Figure 17 --- Cabling requirements for RS-232-C devices (cables using 25-pin connectors shown)
21
8.1 COMR 8232J Channel Output Configuration The COMR 8232J connects to peripheral equipment through RJ-12 connectors, or using the optional adapter cables, male D-25 connectors. When the RJ-12 connector is converted to a D-25 connector, the adapter cables must be assembled with respect to either a DTE or DCE configuration. The standard serial port connections are listed in Figure 20. RS-232 Signal Description
DTE connection
DCE connection
RJ-12
D-25
RJ-12
D-25
AuxIn
(CTS) (DSR)
1
5 6
1
4 20
Transmit Data
(TxD)
2
2
2
3
Carrier Detect
(DCD)
3
8
3
8
4
7
4
7
Signal Ground Receive Data
(RxD)
5
3
5
2
AuxOut
(DTR) (RTS)
6
20 4
6
6 5
Figure 20 --- COMR 8232J Connector Pinouts
(Top of board)
1
13 25 12 24
2
11 23 10 22
3
9 21 8
RJ-12 connector pinout
4
20 7 19 6
5 1
2
3
4
5
18 5 17
6 4
6
16 3 15 2
7
14 1
8 D-25 connector (using adapter cable) RJ-12 connectors in CN1
Figure 21 --- COMR 8232J Output Connectors 22
The AUXIN and AUXOUT signals on the RJ-12 connector must be determined as well. Either CTS or DSR may be received on AUXIN. Either RTS or DTR may be transmitted on AUXOUT . The decision of which signals to use is made separately for each channel as shown in Figure 22 below. The Ring Indicator (RI) signal is tied permanently to DSR.
J5-J12 Output Configuration Jumpers (COMR 8232J ONLY)
RTS 1
4
CTS
AUXOUT 2
5
AUXIN
DTR
3
6 DSR
RTS 1
4 CTS
AUXOUT 2
5 AUXIN
DTR 3
6 DSR
RTS 1
4 CTS
AUXOUT 2
5 AUXIN
DTR 3
6 DSR
RTS 1
4 CTS
AUXOUT 2 DTR 3
5 AUXIN 6 DSR
(A) Auxiliary control jumpers. J5 - channel 1 J9 - channel 5 J6 - channel 2 J10 - channel 6 J7 - channel 3 J11 - channel 7 J8 - channel 4 J12 - channel 8
(B) Output configuration: Transmit RTS Receive CTS Loopback DTR - DSR
(C) Output configuration: Transmit DTR Receive DSR Loopback RTS - CTS
(D) Output configuration: Loopback RTS - CTS Loopback DTR - DSR Loopback AUXIN - AUXOUT
Figure 22 --- COMR 8232J Auxiliary Signal Configuration Jumpers
23
Intentionally Blank
9 PCI Resource Map Listed below are the PCI resources used by the COMR 8232J. Such information may be of use to customers writing their own device drivers or other custom software.
(all numbers in hex) PCI Vendor ID:
0x135C
CyberResearch, Inc.
PCI Device ID:
0x0060
COMR 8232J
PCI Class Code Base class: Subclass: Interface:
0x07 0x02 0x00
Simple communications controller Multiport serial controller
IRQ sourced by:
INTA#
Base address 0:
0x80 bytes I/O Reserved region
Base address 1:
0x40 bytes I/O Serial ports Port 1 at offset 0x00 Port 2 at offset 0x08 Port 4 at offset 0x18 Port 5 at offset 0x20 Port 6 at offset 0x28 Port 7 at offset 0x30 Port 8 at offset 0x38
24
Intentionally Blank
10 Specifications Bus interface:
PCI, 32-bit bus, 5-volt only IBM-compatible computers
Dimensions:
approx. 5.0" x 3.7"
Serial ports Controller: Interface:
16750 with 64-byte FIFOs
(COMR 8232J) Eight RJ-12 connectors, or eight male D-25 connectors using optional adapter cables Transmit drivers: High-level output: Low-level output: Switching speed low-to-high: high-to-low:
SN75150 or compatible +5V min, +8V typical -5V max, -8V typical 1.4 µs with 2500 pF load 40 ns with 15 pF load 1.5 µs with 2500 pF load 20 ns with 15 pF load
Receive buffers: High-level input: Low-level input: Switching speed:
MC1489 or compatible +3V to +13V -3V to -13V 120 ns typical, 175 ns max
Power requirements +5 volts: +/-12 volts:
approx. 260 mA approx. 35 mA
Temperature :
operating 0° to 70° storage -50° to 80°
Humidity:
10% to 90% 25
Data Rate (kbaud) 921.6 460.8 230.4 115.2
4% trans time N/ A 100 330 800
Maximum Load (pF) 10% 15% 20% trans trans trans time time time 100 300 430 430 670 900 900 1100 1630 1570 3300 4300
25% trans time 470 1100 2000 4800
Note 1: The signal transition time ratio is defined as the percentage of the unit interval or bit time (the inverse of the data rate ) that is occupied by the signal transitioning from -3V to +3V. The EIA/TIA-232-E standard defines a maximum signal transition time ratio of 4%; most RS-232 receivers will recognize signal transitions with much larger ratios. With a 4% signal transition time ratio, EIA/TIA-232-E is limited to a theoretical data rate of 200 kbaud. If maximum signal transition time ratio is extended to 10%, 15%, 20%, or even 25%, the maximum data rate achievable using EIA/TIA-232-E can be increased past 200 kbaud. Note 2: A typical value for capacitance per foot of standard cable is 50 pF/ft.
26
11 Troubleshooting Listed here are some common problems and frequent causes of those problems. If the information here does not provide a solution, contact CyberResearch technical support. Any unauthorized repairs or modifications will void the COMR 8232J's warranty Computer will not boot up. 1. Is the COMR 8232J properly inserted? Remove the card and try again. Perhaps try a different expansion slot. 2. Ensure that an ISA-bus card is not using the same IRQ that the PCI BIOS tries to assign to the COMR 8232J. Most computers have BIOS setup options to reserve IRQs for either ISA or PCI use. Try reserving the IRQ for the ISA card. The BIOS will automatically choose a different IRQ for the COMR 8232J. An address conflict is unlikely because most PCI-based computers will assign I/O addresses in such a way that they cannot conflict with ISA-bus devices. 3. The COMR 8232J may be defective. Contact technical support for instructions. Cannot communicate with other equipment. 1. Are the cable connections correct? Are the cables securely attached? 2. Is the software configured with the correct base address and IRQ information for the COMR 8232J? (This is mainly a DOS issue.) 3. Is the device driver installed? 4. If you are trying to communicate with another DTE, a null-modem cable will be required. 5. If possible, use a loopback connector to test the port. This connector needs to connect the following sets of signals on a D-25 connector: TxD and RxD (pins 2 and 3) RTS and CTS (pins 4 and 5) DCD, DTR, DSR, and RI (pins 8, 20, 6 and 22)
27
Intentionally Blank
Product Service Diagnosis and Debug CyberResearch, Inc. maintains technical support lines staffed by experienced Applications Engineers and Technicians. There is no charge to call and we will return your call promptly if it is received while our lines are busy. Most problems encountered with data acquisition products can be solved over the phone. Signal connections and programming are the two most common sources of difficulty. CyberResearch support personnel can help you solve these problems, especially if you are prepared for the call. To ensure your call’s overall success and expediency: 1) Have the phone close to the PC so you can conveniently and quickly take action that the Applications Engineer might suggest. 2) Be prepared to open your PC, remove boards, report back-switch or jumper settings, and possibly change settings before reinstalling the modules. 3) Have a volt meter handy to take measurements of the signals you are trying to measure as well as the signals on the board, module, or power supply. 4) Isolate problem areas that are not working as you expected. 5) Have the source code to the program you are having trouble with available so that preceding and prerequisite modes can be referenced and discussed. 6) Have the manual at hand. Also have the product’s utility disks and any other relevant disks nearby so programs and version numbers can be checked. Preparation will facilitate the diagnosis procedure, save you time, and avoid repeated calls. Here are a few preliminary actions you can take before you call which may solve some of the more common problems: 1) Check the PC-bus power and any power supply signals. 2) Check the voltage level of the signal between SIGNAL HIGH and SIGNAL LOW, or SIGNAL+ and SIGNAL– . It CANNOT exceed the full scale range of the board. 3) Check the other boards in your PC or modules on the network for address and interrupt conflicts. 4) Refer to the example programs as a baseline for comparing code.
Warranty Notice CyberResearch, Inc. warrants that this equipment as furnished will be free from defects in material and workmanship for a period of one year from the confirmed date of purchase by the original buyer and that upon written notice of any such defect, CyberResearch, Inc. will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein. This warranty shall not apply to equipment that has been previously repaired or altered outside our plant in any way which may, in the judgment of the manufacturer, affect its reliability. Nor will it apply if the equipment has been used in a manner exceeding or inconsistent with its specifications or if the serial number has been removed. CyberResearch, Inc. does not assume any liability for consequential damages as a result from our products uses, and in any event our liability shall not exceed the original selling price of the equipment. The equipment warranty shall constitute the sole and exclusive remedy of any Buyer of Seller equipment and the sole and exclusive liability of the Seller, its successors or assigns, in connection with equipment purchased and in lieu of all other warranties expressed implied or statutory, including, but not limited to, any implied warranty of merchant ability or fitness and all other obligations or liabilities of seller, its successors or assigns. The equipment must be returned postage prepaid. Package it securely and insure it. You will be charged for parts and labor if the warranty period has expired. Returns and RMAs If a CyberResearch product has been diagnosed as being non-functional, is visibly damaged, or must be returned for any other reason, please call for an assigned RMA number. The RMA number is a key piece of information that lets us track and process returned merchandise with the fastest possible turnaround time. PLEASE CALL FOR AN RMA NUMBER! Packages returned without an RMA number will be refused! In most cases, a returned package will be refused at the receiving dock if its contents are not known. The RMA number allows us to reference the history of returned products and determine if they are meeting your application’s requirements. When you call customer service for your RMA number, you will be asked to provide information about the product you are returning, your address, and a contact person at your organization. Please make sure that the RMA number is prominently displayed on the outside of the box. • Thank You •