DS-200/300 Two Channel RS-422/485 Asynchronous Enhanced Serial Adapter for ISA compatible machines INTERFACE CARDS FOR IBM PC/AT AND PS/2 User's Manual QUATECH, INC. 5675 Hudson Industrial Parkway Hudson, Ohio 44236 TEL: (330) 655-9000 FAX: (330) 655-9010 http://www.quatech.
Warranty Information Quatech Inc. warrants the DS-200/300 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.
© 1998, 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.
(This Page Intentionally Left Blank) DS-200/300 User's Manual iii
Table of Contents 1. General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 2. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 3. Windows 95 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 8. 9. 3.1 Using the Add New Hardware Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.
1. General Information The Quatech, Inc. DS-200/300 provides two RS-422/RS-485 asynchronous serial communication interfaces for IBM-compatible personal computer systems using the 16-bit ISA (Industry Standard Architecture) expansion bus. The DS-200/300's serial ports are implemented using 16550 or 16750 Universal Asynchronous Receiver/Transmitters (UARTs). The 16550 UARTs enable the DS-200/300 to transmit and receive data at a rate of up to 230.4 kbaud; the 16750 UARTs enable data rates of up to 921.
(This Page Intentionally Left Blank) 1-2 Quatech Inc.
2. Installation If the default address and interrupt settings are sufficient, the DS-200/300 can be quickly installed and put to use. The factory defaults are listed in Figure 1. PORT ADDRESS IRQ ENABLED Serial 0 3F8 hex 4 YES Serial 1 2F8 hex 3 YES Figure 1 --- Default address and IRQ settings for DS-200/300 The output of the DS-200/300 is two 9-pin D-connectors labeled CN1 (serial 0) and CN2 (serial 1). 1.
Figure 2 --- Photo of DS-200/300 2-2 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 DS-200/300 Enhanced Serial Adapter 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.
10. Another dialog box will open to tell you that the installation is complete. Click the “Finish” button to end the software part of the installation. 11. Windows 95 now instructs you to shut down your computer and install the hardware. Click “Yes” to shut down your computer. Wait until Windows 95 informs you that it is safe to turn your computer off. When this message appears, power down your computer. 12.
Figure 3--- Windows 95 Device Manager 4. Double click the DS-200/300 Enhanced Serial Adapter 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 DS-200/300 match the hardware configuration. To modify any of the resource settings click the resource name and click the “Change Setting” button.
7. The DS-200/300 serial ports are also listed under the group Ports (Com and LPT). Windows 95 does not assign COM1 - COM4 to ports addressed at nonstandard locations. The DS-200/300 ports will be enumerated starting with COM5 (or higher) even if lower logical numbers are available. 8. Select any of the Quatech 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 DS-200/300. 9.
4. Addressing Ports 4.1 Setting the address The base address of each port of the DS-200/300 is set using 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.
Switch on bit = 0 Serial 0 uses SW1 and SW2 Serial 1 uses SW3 and SW4 Switch off bit = 1 Factory default setting for Serial 1 --- 03F8 hex (COM1) SW1 SW2 ON ON enable/disable 1 2 3 4 5 6 7 8 1 2 3 4 5 0 0 0 0 0 0 2 1 8 4 2 1 8 F 3 0 6 8 Factory default setting for Serial 2 --- 02F8 hex (COM2) SW3 SW4 ON ON enable/disable 1 2 3 4 5 6 7 8 1 2 3 4 5 0 0 0 0 0 0 2 0 8 4 2 1 8 F 2 0 6 8 enable/disable Example: 03E8 hex (typical for COM3
The standard addresses for serial ports COM1 and COM2 are listed in Figure 7. Recommended addresses for serial ports COM3 and COM4 are also listed. The switch settings for these addresses are shown in Figure 6. PORT TYPICAL I/O ADDRESS NOTES COM1 03F8 hex Factory default for Serial 0. COM2 02F8 hex Factory default for Serial 1. COM3 03E8 hex COM4 02E8 hex Recommendations only. No official standards exist for COM3 and COM4. Figure 7 --- Recommended addresses for serial ports 4.
5. Data Rate Multiplier A standard RS-422/485 serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, the DS-200/300 Enhanced Serial Adapter can operate at two times, four times (16750 UART only), or even eight times (16750 UART only) this standard clock speed. The user can set this speed, known as the data rate multiplier, in two different ways: by modifying hardware jumper settings or by writing to a DS-200/300 register known as the Options Register. 5.
5 4 3 2 1 0 OR5 OR4 OR3 OR2 RR1 RR0 not used not used not used not used rate register bit 1 rate register bit 0 Figure 9--- Options Register bit definitions WRITE ID1 ID0 0 0 0 1 1 0 1 1 READ ID1 0 0 0 1 ID0 0 1 1 0 Figure 10 --- ID bit write/read table The rate register allows software applications to check and set the data rate multiplier.
(This Page Intentionally Left Blank) DS-200/300 User's Manual 5-3
6. Interrupt Level (IRQ) IRQ11 IRQ12 IRQ14 IRQ15 20 21 22 9 10 11 IRQ5 IRQ6 IRQ7 12 13 14 15 16 3 4 5 6 7 8 IRQ10 IRQ10 17 18 19 IRQ4 Serial 0 J3 IRQ3 IRQ2 The DS-200/300 allows the use of any interrupt level in the range IRQ2 to IRQ7, IRQ10 to IRQ12, IRQ14, or IRQ15, selected using jumper block J3 (for Serial 0) or J4 (for Serial 1). In Figure 12, the factory default settings for Serial 0 and Serial 1 are shown.
6.1 Interrupt Sharing Both ports on the DS-200/300 can share the same interrupt level or they can share their interrupt with another Quatech adapter supporting sharable interrupts. Jumper J2 can be used to connect the UART generated interrupt directly to the selected IRQ or to enable the interrupt sharing circuit. In either case, the software driving the serial ports must determine which port or ports are requesting service when an interrupt is generated.
6.2 Interrupt Status Register The DS-200/300 is equipped with an Interrupt Status Register (ISR) which can be used to simplify the servicing of shared interrupts. This register is located at [base address+7] along with the Options Register. Like the OR, the SP jumper must be removed to access the ISR. To further indicate an access to this register, the DLAB bit in the LCR of the UART must be set to 0. The ISR is read-only.
(This Page Intentionally Left Blank) DS-200/300 User's Manual 6-4
7. Output Configuration The DS-200/300 provides 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 DS-200/300 allows the user to select whether handshaking signals or clock signals are transmitted over the auxiliary lines. The available input signals for AUXIN are Clear To Send (CTS) and the Receive Clock (RCLK).
7.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 17 shows how to select the RTS/CTS mode.
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 19 shows how to select the XCLK mode.
7.5 Half Duplex/Full Duplex selection Using jumper packs J6 and J8, the channels can be configured to operate in half duplex mode. This causes the transmitters 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 transmitters 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 22 --- Output control block diagram 7.6 Factory Default Configuration of DS-200/300 The DS-200/300 is shipped from the factory with each channel configured as shown in Figure 23.
7.7 Termination Resistors Optional line termination resistors are provided for the input signals of each of the DS-200/300’s RS-422/485 ports. The user has the option of selecting RS-422 termination (100W), RS-485 termination (120W), or no termination. Line termination may be selected or removed using jumper block J1. The board is shipped with no termination selected.
PIN 1 2 3 4 5 6 7 8 9 SIGNAL AUXOUT+ TXD+ GND RXD+ AUXIN+ AUXOUTTXDRXDAUXIN- DESCRIPTION Auxiliary channel output (positive) Serial data output (positive) Chassis ground Serial data input (positive) Auxiliary channel input (positive) Auxiliary channel output (negative) Serial data output (negative) Serial data input (negative) Auxiliary channel input (negative) Figure 26 --- DS-200/300 connector definitions for RS-422/485 1 6 2 7 3 4 5 8 9 D-9 connector (CN1 and CN2) Figure 27 --- DS-200/300 Output
(This Page Intentionally Left Blank) DS-200/300 User's Manual 7-8
8. Specifications BAUD RATES: 921.6 kbps with 16750 UARTs 230.4 kbps with 16550 UARTs UARTs: Two 16550 UARTs with 16-byte FIFOs or two 16750 UARTs with 64 byte FIFOs TRANSCEIVERS: MAX491 or compatible DRIVER RISE OR FALL TIME: 5 ns minimum 15 ns typical 25 ns maximum MAXIMUM DATA RATE: 2.5 Mbps BASE ADDRESS RANGE: 0000 hex to FFF8 hex INTERRUPT OPTIONS: 2-7, 10-12, 14-15 CONNECTORS: Two DB-9 female connectors SLOT REQUIREMENTS: One 16-bit ISA slot DIMENSIONS: 7.050” x 3.
(This Page Intentionally Left Blank) 8-2 Quatech Inc.
9. 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 DS-200/300's warranty. Computer will not boot up. 1. Is the DS-200/300 properly inserted? Remove the card and try again. Perhaps try a different expansion slot. 2.
DS-200/300 User's Manual Revision 3.