QS-200/300D Series Four Channel Asynchronous Communications Adapter for ISA compatible machines INTERFACE CARDS FOR IBM PC/AT AND PS/2 User's Manual QUATECH, INC.
http://www.quatech.
Warranty Information Quatech Inc. warrants the QS-200/300/210/310(DS/IND) to be free of defects for one (1) year from the date of purchase. Quatech Inc. will repair or replace any adapter that fails to perform under normal operating conditions and in accordance with the procedures outlined in this document during the warranty period. Any damage that results from improper installation, operation, or general misuse voids all warranty rights.
© 2002, Quatech, Inc. NOTICE The information contained in this document cannot be reproduced in any form without the written consent of Quatech, Inc. Likewise, any software programs that might accompany this document can be used only in accordance with any license agreement(s) between the purchaser and Quatech, Inc. Quatech, Inc. reserves the right to change this documentation or the product to which it refers at any time and without notice.
IBM PCTM, PC-ATTM, PS/2™, and Micro Channel™ are trademarks of International Business Machines Corporation. Other product and company names are registered trademarks or trademarks of their respective holders . Declaration of Conformity Manufacturer's Name: Quatech Inc.
Table of Contents 1. General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 Explanation of Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 IND Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.2 UART Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.
1. General Information The Quatech, Inc. QS-200DS, QS-200D750, QS-200IND, and QS-200IND750 provide four RS-422 asynchronous serial communication interfaces for IBM-compatible personal computer systems using the 16-bit ISA (Industry Standard Architecture) expansion bus. The QS-300DS, QS-300D750 QS-300IND, and QS-300IND750 are RS-485 versions of the same product. The QS-210DS and QS-210D750 provide two RS-422 and two RS-232 asynchronous serial communication interfaces.
In order to support the use of the shared interrupt feature of the QS-200\300, Quatech has developed device drivers for several popular operating systems and environments. The sales department can be contacted for details on current offerings. 1.1 Explanation of Packages The base four port RS-232 asynchronous communications adapter is the QS-200/300DS. This product inplements each of its four communication channels with a 16550 UART, which include 16 byte FIFOs on transmit and receive.
operating in 16750 mode, in which case the default operation will be 16550 compatible mode. 1-3 Quatech Inc.
2. Hardware Installation If the default address and interrupt settings are sufficient, the QS-200/300D can be quickly installed and put to use. The factory defaults are listed in Figure 2. PORT ADDRESS IRQ Serial 1 300 hex 3 Serial 2 308 hex 3 Serial 3 310 hex 3 Serial 4 318 hex 3 Figure 2 --- Default address and IRQ settings for QS-200/300D The output of the QS-200/300D is a 37-pin D-connector labeled CN1.
J6 SW1, SW2 J1 J7-J10 J11 J2-J5 Figure 3 --- Jumper and Switch Locations 2-2 Quatech Inc.
2.1 Setting the Base Address The base address of the QS-200/300D is set using the two DIP switch packs. When setting the address selection switches, a switch in the "ON" position specifies that the corresponding address line must be a logic 0 for the port to be selected. Similarly, a switch in the "OFF" position forces the corresponding address line to be a logic 1 for the port to be selected.
A serial port's address is a 16-bit quantity that is most often expressed in four hexadecimal (base 16) digits. A hex digit can hold a value from 0 to 15 (decimal), and is made up of four binary bits given weights of eight, four, two, and one, hence the maximum value of 8+4+2+1 = 15. A possible serial port address is 5220 hex. The example below shows how the hex digits are broken down into binary bits.
2.2 Interrupt Level (IRQ) 16 17 18 19 20 1 2 3 4 5 6 8 9 IRQ12 IRQ11 IRQ10 IRQ7 IRQ5 IRQ4 J6 --- IRQ6 7 21 10 22 11 IRQ2 15 IRQ3 14 IRQ15 12 13 IRQ14 The QS-200/300D allows the use of any interrupt level in the range IRQ2 to IRQ7, IRQ10 to IRQ12, IRQ14, or IRQ15, selected using jumper pack J6. (Early versions of the board are limited to IRQ2-7.) In Figure 7, the factory default setting of IRQ3 is shown.
1 3 2 1 non-sharable 3 2 sharable J1---Default is non-sharable Figure 8--- Sharable interrupt selection The QS-200/300D signals a hardware interrupt when any port requires service. The interrupt signal is maintained until no port requires service. Because the ISA bus is edge-sensitive, this behavior forces the interrupt service routine to ensure that all ports are checked before exiting. A way to do this is to poll each port until an interrupting port is found.
When a hardware interrupt occurs, reading the interrupt status register will return the interrupt status of the entire QS-200/300D, as shown in Figure 10. Individual bits are cleared as the interrupting ports are serviced. The interrupt service routine must ensure that the interrupt status register reads zero before exiting, or the QS-200/300D will be unable to signal subsequent interrupts.
(This page intentionally left blank.) 2-8 Quatech Inc.
3. Windows 95 Configuration Windows 95 maintains a registry of all known hardware installed in your computer. Inside this hardware registry Windows 95 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 QS-200/300D to allow easy configuration in the Windows 95 environment .
4. A hardware types list box should appear. Find the “Multi-function Adapters” type on the list and click it. Click the “Next” button to continue. 5. A list box opens with Manufacturers on the left and the associated board Models on the right. Click the “Have Disk” button. 6. An Install From Disk dialog box should pop up. Insert the diskette with the Quatech INF files on it, select the correct drive letter, and click the “OK” button.
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 disks 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 SYSTEM directory. 10. Another dialog box will open to tell you that the installation is complete.
3. Double click the device group “Multi-function Adapters”. The QS-200D or QS-300D model name should appear in the list of Multi-function adapters. 4. Double click the QS-200/300D 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. Confirm that the resources Windows 95 has allocated for the QS-200/300D match the hardware configuration.
Figure 11--- Windows 95 Device Manager 6. If the “Change Settings” button was selected an Edit Resource window will open up. Inside these Edit Resource windows click on the up/down arrows to the right of the resource value. This scrolls you through all of the allowable resources for your hardware. Pay attention to the Conflict Information at the bottom of the window. Do not select a resource that causes a conflict with any other installed hardware. Click “OK” to save your changes, or “Cancel” to abort. 7.
opens a properties dialog for the specific COM port on the QS-200/300D. 9. Click the “Port Settings” tab and then click the “Advanced” button. The QS-200/300D driver will display a custom Advanced Port Settings control, which allows the ports UART compatibility mode and FIFO levels to be configured. Note that FIFO option for each of the four ports QS-200/300D ports is configured independently. Figure 12 --- Windows 95 Device Manager 10.
(This Page Intentionally Left Blank) QS-200/300D User's Manual 3-7
4. External Connections The QS-200DS, QS-200D750, QS-300DS, QS-300D750, QS-200IND, QS-200IND750, QS-300IND, and QS-300IND750 provide four differential communication signals per channel. The two output signals are Transmit Data (TxD) and Auxiliary Output (AUXOUT). The two input signals are Receive Data (RxD) and Auxiliary Input (AUXIN). A ground signal is also provided. The available input signals for AUXIN are Clear To Send (CTS) and the Receive Clock (RCLK).
Figure 14 --- Pinout of jumpers J2-J5 and J7-J10 QS-200/300D User's Manual 4-2
4.1 RTS/CTS handshake Transmission of RTS, combined with reception of CTS, allows for hardware handshaking (data flow control) between the UART and the external device. RTS is transmitted on AUXOUT by connecting pins 4 and 5 of the jumper pack. CTS is received on AUXIN by connecting pins 1 and 2 of the jumper pack. If RTS/CTS handshaking is not desired, the RTS output can be looped back to the CTS input by connecting pins 1 and 4 of the jumper pack. Figure 15 shows how to select the RTS/CTS mode.
4.3 XCLK This is the output clock signal used by the transmitter portion of the UART. It is generally connected to the UART's own receive clock input (RCLK). This is done by connecting pins 3 and 6 of the jumper pack. If desired, XCLK can be transmitted to an external source over the AUXOUT line by connecting pins 5 and 6 of the jumper pack. Figure 17 shows how to select the XCLK mode.
4.5 Half Duplex/Full Duplex selection Using jumper packs J7-J10, the channels can be configured to operate in half duplex mode. This causes the transmitter drivers to be controlled by either the Data Terminal Ready (DTR) or the Request to Send (RTS) output from the UART. In half duplex mode, if the UART signal (DTR or RTS) is asserted (logic 1), the transmitter drivers are enabled for both TxD and AUXOUT.
AUXOUT 4 5 6 1 2 3 XCLK RTS CTS RCLK DTR DSR DCD RI RS-422 or RS-485 Driver + - TXEN 4 5 6 1 2 3 -1 RS-422 or RS-485 Receiver AUXIN + - RXEN Figure 20 --- Output control block diagram 4.6 Factory Default Configuration of QS-200/300D The QS-200DS, QS-200D750, QS-300DS, QS-300D750, QS-200IND, QS-200IND750, QS-300IND, and QS-300IND750 are shipped from the factory with each channel configured as shown in Figure 21.
4.7 Configuration for a QS-210/310D The QS-210DS and QS-210D750 provide two channels of RS-232 asynchronous communication and two channels of RS-422 asynchronous communication. On this board, channels one and two are the RS-232 channels, while channels three and four use RS-422 communication. The only difference between the QS-210 type and QS-310 type is that the QS-310DS's and QS-310D750's channels three and four implement RS-485 communication instead of RS-422.
4.8 Termination Resistors Optional line termination resistors are provided for the input signals of each of the QS-200/300D’s RS-422/485 ports. Line termination may be selected or removed using jumper block J11.
4.9 RS-422/485 Peripheral Connection The QS-200/300D connects to peripheral equipment through a single female D-37 connector, or using the optional adapter cable, four male D-25 connectors. The serial port connector definitions are listed in Figure 25. For the QS-210DS, QS-310DS, QS-210D750, QS-310D750 the signal names in parenthesis describe the signals found in channels one and two.
1 2 3 20 21 13 22 12 23 11 24 10 25 9 26 8 27 7 28 6 29 5 30 4 31 3 32 2 33 1 25 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 24 23 22 21 20 19 18 17 16 15 14 34 35 36 37 D-25 connector (using optional adapter cable) D-37 connector (dashed lines delineate channels) Figure 26 --- QS-200/300D output connectors QS-200/300D User's Manual 4-10
(This page intentionally left blank.) 4-11 Quatech Inc.
5. Specifications Bus interface: Industry Standard Architecture (ISA) 16-bit bus IBM PC-AT TM compatible Dimensions: 7.5" x 3.
(This page intentionally left blank.) 5-2 Quatech Inc.
6. Troubleshooting Listed here are some common problems and frequent causes of those problems. Suggestions for corrective action are given. If the information here does not provide a solution, contact Quatech Customer Service for technical support. Any unauthorized repairs or modifications will void the QS-200/300's warranty. Computer will not boot up. 1. Is the QS-200/300D properly inserted? Remove the card and try again. Perhaps try a different expansion slot. 2.
(This page intentionally left blank.) 6-2 Quatech Inc.
QS-200/300D User's Manual Revision 3.
July 1997 P/N 940-0023-320