Four channel rs-422/485 asynchronous communications adapter (39 pages)
Summary of Contents for Quatech DS-200
Page 1
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. TEL: (330) 434-3154 662 Wolf Ledges Parkway FAX: (330) 434-1409 Akron, Ohio 44311 BBS: (330) 434-2481 http://www.quatech.com...
Quatech Inc. warrants the 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.
Page 4
The authors have taken due care in the preparation of this document and every attempt has been made to ensure its accuracy and completeness. In no event will Quatech, Inc. be liable for damages of any kind, incidental or consequential, in regard to or arising out of the performance or form of the materials presented in this document or any software programs that might accompany this document.
Page 5
(This Page Intentionally Left Blank) DS-200/300 User's Manual...
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.6 kbaud.
Page 8
(This Page Intentionally Left Blank) 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 ENABLED Serial 0 3F8 hex Serial 1 2F8 hex...
Page 10
Figure 2 --- Photo of DS-200/300 Quatech Inc.
Serial Adapter to allow easy configuration in the Windows 95 environment . Also, a custom Windows 95 serial device driver is included with the DS-200/300 to support the use of the FIFOs on the 16550 and 16750 UARTs. Windows 95 uses the “INF” file to determine...
Page 12
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. Windows 95 automatically browses the root directory for an INF file that defines configurations for Multi-function Adapters.
Page 13
When this message appears, power down your computer. 12. You are required to manually configure the DS-200/300 to match the resources allocated by Windows 95. Another option is to use the “Device Manager” in Windows 95 to change the system resources allocated in Windows 95 to match your preferences.
Page 14
Multi-function adapters. 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.
Page 15
Click “OK” to save your changes, or “Cancel” to abort. 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.
Page 16
Logical COM Port name is assigned to your ports by Windows 95. This name is required by a Windows 95 application when accessing a particular port. Quatech Inc.
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.
Page 18
These address bits are set by the switches. All other bits are considered to be zero. 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 Figure 5 --- Examination of a serial port base address DS-200/300 User's Manual...
Page 19
Factory default setting for Serial 1 --- 03F8 hex (COM1) enable/disable Factory default setting for Serial 2 --- 02F8 hex (COM2) enable/disable enable/disable Example: 03E8 hex (typical for COM3) enable/disable Example: 02E8 hex (typical for COM4) Figure 6 --- Serial Port base I/O address selection switches DS-200/300 User's Manual...
Figure 7 --- Recommended addresses for serial ports 4.2 Enabling or disabling ports Each port of the DS-200/300 may be individually enabled or disabled. To enable a port, move the appropriate switch to the "ON" position. To disable a port, move the switch to the "OFF" position. This is illustrated in Figure 8 below.
(LCR) of the UART be set to 1. See Figure 9 for the structure of the OR. The ID register provides a means for software applications to identify the board as a DS-200/300. It does this by performing logic on the bits written to these locations so that the values read out of these locations will not necessarily be the values that were written to these locations.
Page 22
The rate register allows software applications to check and set the data rate multiplier. As long as the SW jumper is installed in jumper block J9, the DS-200/300 gets the data rate multiplier from the value stored in the rate register portion of the OR.
Page 23
At power on and reset, the rate register is initialized at 00. This means that the DS-200/300 will power up in the x1 mode as long as the SW jumper is installed. The DS-200/300 ships from the factory with the SW jumper installed.
Page 24
(This Page Intentionally Left Blank) Quatech Inc.
6. Interrupt Level (IRQ) 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.
0. The ISR is read-only. When a hardware interrupt occurs, reading the ISR will return the interrupt status of both ports on the DS-200/300, as shown in Figure 14. Individual bits are cleared as the interrupting ports are serviced. The interrupt service routine must ensure that the ISR reads zero before exiting, or the DS-200/300 will be unable to signal subsequent interrupts.
Page 28
(This Page Intentionally Left Blank) Quatech Inc.
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).
AUXIN line by connecting pins 2 and 3 of the jumper pack. Figure 18 shows how to select the RCLK mode. AUXOUT XCLK AUXOUT XCLK AUXIN RCLK AUXIN RCLK Receive RCLK on AUXIN Loopback XCLK to RCLK Figure 18 --- RCLK selection on J5, J7 Quatech Inc.
This mode is accomplished by connecting pins 2 and 5 of the jumper pack. Figure 20 shows how to select this loopback mode. AUXOUT XCLK AUXIN RCLK Loopback AUXOUT to AUXIN Figure 20 --- AUXIN/AUXOUT loopback on J5, J7 DS-200/300 User's Manual...
WARNING: When operating in half duplex mode, the transmitters must be disabled before receiving any data. Failure to do so may result in multiple active output drivers being connected together, which may cause damage to the board, the computer, and the external device. Quatech Inc.
RS-422 or AUXIN RS-485 Receiver 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. TXEN /TXEN AUXOUT XCLK TXEN...
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 (100Ω), RS-485 termination (120Ω), or no termination. Line termination may be selected or removed using jumper block J1.
Page 35
Auxiliary channel output (negative) TXD- Serial data output (negative) RXD- Serial data input (negative) AUXIN- Auxiliary channel input (negative) Figure 26 --- DS-200/300 connector definitions for RS-422/485 D-9 connector (CN1 and CN2) Figure 27 --- DS-200/300 Output connectors DS-200/300 User's Manual...
Page 36
(This Page Intentionally Left Blank) Quatech Inc.
SLOT REQUIREMENTS: One 16-bit ISA slot DIMENSIONS: 7.050” x 3.900” POWER REQUIREMENTS: +5 volts 849 mA TEMPERATURE: Operating 0° to 70° Storage -50° to 80° HUMIDITY: 10% to 90% OS SUPPORT: Windows 95, Windows 3.1, Windows NT 4.0, OS/2 2.0, DOS 6.22, UNIX Quatech Inc.
Page 38
(This Page Intentionally Left Blank) Quatech Inc.
2. Is the base address correctly set? Check for address conflicts with other devices in the system. Remember that each port on the DS-200/300 requires 8 bytes of I/O space. Set a different address if necessary. 3. The DS-200/300 may be defective. Contact Quatech Customer Service for instructions.
Need help?
Do you have a question about the DS-200 and is the answer not in the manual?
Questions and answers