Four channel rs-422/485 asynchronous communications adapter (39 pages)
Summary of Contents for Quatech DSCLP-200
Page 1
DSCLP/SSCLP-200/300 Two and One Channel RS-422/485 Low Profile Asynchronous Communications Adapter User's Manual QUATECH, INC. 5675 Hudson Industrial Parkway Hudson, Ohio 44236 for PCI bus TEL: (330) 655-9000 FAX: (330) 655-9010 http://www.quatech.com...
Page 2
WARRANTY INFORMATION Quatech, Inc. warrants the DSCLP-200/300 or SSCLP-200/300 to be free of defects for five (5) years from the date of purchase. Quatech, Inc. will repair or replace any board that fails to perform under normal operating conditions and in accordance with the procedures outlined in this document during the warranty period.
Page 3
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.
4 Address Map and Special Registers 4.1 Base Address and Interrupt Level (IRQ) 4.2 Enabling the Special Registers 4.3 Interrupt Status Register 4.4 Quatech Modem Control Register 4.5 Options Register 4.5.1 Enhanced Serial Adapter Identification 4.5.2 Clock Rate Multiplier 5 Windows Configurations 5.1 Windows Millennium...
Page 6
6.1 OS/2 ..........6.2 DOS and other operating systems 6.2.1 QTPCI.EXE 7 External Connections...
DSCLP-200/300 uses Quatech's new Enhanced Serial Adapter design. Legacy serial port data rates are limited to a maximum of 115,200 bits per second. Quatech Enhanced Serial Adapters can achieve data rates as high as 921,600 bits per second. As a PCI device, the DSCLP-200/300 requires no hardware configuration.
D-type connector (D-25 for DSCLP, D-9 for SSCLP), control special options. Any changes from the factory default should be made before installing the DSCLP-200/300 in the computer. These settings can also be changed in Device Manager under Windows operating systems. 2.1 RS-422 or RS-485 Signal Line Termination Jumpers J6-J9 allow the selection of 100-ohm RS-422 termination, 120-ohm RS-485 termination, or no termination at all.
2.2 Signal Connections The DSCLP-200/300 provides each of two serial ports with four differential signal pairs: TxD, RxD, AUXOUT, and AUXIN. TxD and RxD are always present at the connector. The AUXOUT and AUXIN signals can be used to support RTS/CTS handshaking, external clocking, or external signal loopback.
Page 11
Jumpers J10-J23 define the options for this card: SPAD Figure 2 - Right Card Edge Jumpers DSCLP/SSCLP-200/300 User's Manual CTS0_SEL AUX0_SEL0 AUX0_SEL1 RCLK0_SEL TGL0_SEL0 TGL0_SEL1 RXEN0_SEL CTS1_SEL AUX1_SEL0 AUX1_SEL1 RCLK1_SEL TGL1_SEL0 TGL1_SEL1 RXEN1_SEL...
2.3.1 CTS0_SEL, CTS1_SEL (J10, 17) With NO jumpers on J10 or J17 the mode selection is CTS=AUXIN. With Jumpers installed the mode selection is CTS=RTS. 2.3.2 AUX0_SEL1,0, AUX1_SEL1,0 (J12, 11, 19, 18) With NO jumpers on J12 or J19 the mode selection is AUXOUT=RTS. With Jumpers installed on J12 or J19 and NO jumpers installed on J11 or J18, the mode selection is AUXOUT=TCLK.
2.4 Clock Rate and Optional Registers Figure 3 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 subsections to set optional features. SPAD Figure 3 --- Factory default clock rate and options settings 2.4.1 Enable Scratchpad Register (SPAD, J2)
Page 14
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. Figure 5 --- Clock multiplier jumper options SPAD SPAD...
3 Hardware Installation 1. Turn off the power of the computer system in which the DSCLP-200/300 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.
DSCLP-200/300. 4.1 Base Address and Interrupt Level (IRQ) The base address and IRQ used by the DSCLP-200/300 are determined by the BIOS or operating system. Each serial port uses 8 consecutive I/O locations.
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 DSCLP-200/300, as shown in Figure 9. The individual bits are cleared as the interrupting ports are serviced.
4.4 Quatech Modem Control Register The Quatech Modem Control Register can be used to set up each port. To access the QMCR write a 0xBF to the LCR (base + 3) and a 0x10 to the Options Register (base+7). This will allow the user read/write access to the QMCR. The QMCR of the entire DSCLP-200/300 is shown in Figure 9a.
4.5 Options Register The Options Register allows software to identify the DSCLP-200/300 as a Quatech Enhanced Serial Adapter. It also allows software to set the UART clock rate multiplier. Figure 10 shows the structure of the Options Register. The powerup default of the Options Register is all bits zero.
At powerup and reset, the Options Register is initialized to 0. The DSCLP-200/300 will thus powerup in the x1 mode with software control of the clock rate multiplier enabled as long as the X2 or X4 or X8 jumpers are not installed.
5 Windows Configurations 5.1 Windows Millennium After inserting the DSCLP-200/300 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"...
5.2 Windows 2000 After inserting a DSCLP-200/300 for the first time, the "Add New Hardware Wizard will appear at start up. Click the "OK" button. The following dialog box insert the Quatech COM CD (shipped with the device). The following dialog box will display the appropriate INF file from the CD in the drive.
5.3 Windows 98 After inserting a DSCLP-200/300 for the first time, the "Add New Hardware Wizard will appear at start up. Click the "Next" button. Select "Search for the best driver for you device". Click the "Next" button. On the next dialog, select the "CD-ROM DRIVE" check box. Insert the Quatech COM CD (shipped with the device) into the CD-ROM drive.
Page 24
The following dialog box will display the appropriate INF file on the diskette in the drive. Click the "Next" button. Window will copy the INF file from the diskette and display a final dialog indication that the process is complete. Click the "Finish" button. DSCLP/SSCLP-200/300 User's Manual...
Windows 95 environment. Also a custom Windows 95 serial device driver is included with the DSCLP-200/300 to support the use of the 16550 UART's 64 byte FIFO. Windows 95 uses the "INF" file to determine the...
9. The "New Hardware Found" dialog will repeat for each of the serial ports on the DSCLP-200/300 as each port is registered with Windows 95. 10. Installation is complete.
Manager. Consult Windows on-line help for details on the use of the Device Manager. The following instructions provide step-by-step instructions on viewing resources used by the DSCLP-200/300 in Windows using the "Device Manager" utility. Select Start|Help from within Windows for additional information on this utility.
Page 28
95, the DSCLP-200/300 ports will be enumerated starting with COM5 (or higher) even if lower logical numbers are available. 7. 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...
Page 29
COM port on the DSCLP-200/300. Then click the Resources tab to view the Input/Output Range and Interrupt Request resource allocations. These will match those of the “parent device.” Click "Cancel" to exit without making changes. 8. Click the "Port Settings" tab and then click the "Advanced" button. The...
3. The DSCLP-200/300 “parent device” belongs to this hardware class. The full device name for the DSCLP-200/300 is Quatech DSCLP-200/300: Two-Port RS-422/485 Serial Adapter. 4. Open the Properties dialog for the DSCLP-200/300 device, then click the Resources tab to view the Input/Output Range and Interrupt Request resource allocations.
Page 31
921,600 6. Double click the hardware class Ports (Com and LPT). Each Quatech PCI Serial Port listed in this class is a “child device” of the DSCLP-200/300 “parent device.” 7. Open the Properties dialog for a COM port, then click the RS-422/485 tab to view the settings for that port.
Page 32
RS-422/485 Connector Setup RTS routed to CTS, AUXIN routed to AUXOUT, and TCLK Loopback All routed to RCLK. Used when external handshaking or clocking signals are not available. RTS routed to AUXOUT, AUXIN routed to CTS, and Modem Control TCLK routed to RCLK. Used when RTS/CTS handshaking is required.
Page 33
Auto Toggle 8. To summarize the RS-422/485 output drivers enable options: The DSCLP-200/300’s ports may be configured for either full duplex or half duplex operation with this option. The default setting is the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled.
Page 34
¾-scale for the receive buffer are optimal for most applications. Note that the FIFO option for each of the DSCLP-200/300's two ports is configured independently. DSCLP/SSCLP-200/300 User's Manual...
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 DSCLP-200/300 must be able to accommodate any valid assignments of these resources.
DOS, not in a Windows DOS box. Figure 13 shows the Basic Mode display for the DSCLP-200/300 after the "Q" key has been pressed. In this example, the DSCLP-200/300 uses I/O base address FFA0 hex and IRQ 3. The hardware revision of the DSCLP-200/300 is also displayed.
Page 37
Figure 14 shows the Expert Mode display for the DSCLP-200/300 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 I/O regions, etc. Pressing the "N" key will show similar information for all non-Quatech PCI devices in the system, including those devices integrated on the motherboard.
7 External Connections The DSCLP-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.
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 not connecting pins 1 and 2 of the jumper blocks J11-12. CTS is received on AUXIN by not connecting pins 1 and 2 of the jumper block J10.
7.3 TCLK 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 not connecting pins 1 and 2 of the jumper block J13. If desired, TCLK can be transmitted to an external source over the AUXOUT line by connecting pins 1 and 2 of the jumper block J12.
7.5 Half-Duplex/Full-Duplex/Auto-Toggle Selection Using jumper blocks J14 thru J16, the transmitters and receivers of each channel can be enabled and disabled by modem control signals. This allows operation in both half-duplex, full-duplex or Auto-Toggle modes. The transmit drivers can be controlled by either the Data Terminal Ready (DTR) or the Request to Send (RTS) output from the UART.
7.6 Termination Resistors Line termination resistors are provided for the input signals of each of the DSCLP-200/300's RS-422/485 ports. Termination may be selected or removed for individual signal lines using jumper blocks J6-J9. RS-422/485 Receiver no termination Figure 21 --- RS-422/485 Line termination resistance values...
7.7 RS-422/485 Peripheral Connection The DSCLP-200/300 connects to peripheral equipment through a 25-pin D-connector. A cable is provided to convert the D-25 into two standard female D-9 connectors. The SSCLP-200-300 has a single D-9 connector. The serial port connector definitions are listed in Figure 22.
8 PCI Resource Map Listed below are the PCI resources used by the DSCLP-200/300. Such information may be of use to customers writing their own device drivers or other custom software. A detailed description of the DSCLP-200/300's UARTs is available on the Quatech web site.
Computer will not boot up. 1. Is the DSCLP-200/300 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 DSCLP-200/300.
Need help?
Do you have a question about the DSCLP-200 and is the answer not in the manual?
Questions and answers