Two channel rs-422/485 asynchronous enhanced serial adapter (41 pages)
Summary of Contents for Quatech RS-422
Page 1
DSCLP-200/300 Two Channel RS-422/485 Asynchronous Communications Adapter User's Manual QUATECH, INC. 662 Wolf Ledges Parkway Akron, Ohio 44311 for PCI bus TEL: (330) 434-3154 FAX: (330) 434-1409 http://www.quatech.com...
Page 2
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.
WARRANTY INFORMATION Quatech, Inc. warrants the DSCLP-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.
Application of Council Directive: Standards to which Conformity is Declared: Type of Equipment: Equipment Class: Product Name: Model Number : Quatech Inc. 662 Wolf Ledges Parkway Akron, Ohio 44311 (USA) 89/336/EEC * EN50081-1 (EN55022, EN60555-2, EN60555-3) * EN50082-1 (IEC 801-2, IEC 801-3, &...
PCI expansion bus. The 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 460,800 bits per second. This discussion relates to DSCLP-200/300. A SSCLP-200/300 is just one port in the discussion.
Jumpers J1-J4, located in a column near the D-9 connectors, control the RS-422 or RS-485 signal line termination. Jumpers J5-J8, located in a column just to the right of J1-J4, control how signals are routed from the UARTs to the connector, as well as full- or half- duplex operation.
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.
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.
With NO jumpers on J13 or J20 the mode selection is RCLK=TCLK. With Jumpers installed on J13 or J20 the mode selection is RCLK=AUXIN. 2.3.4 TGL0_SEL1,0, TGL1_SEL1,0 (J15,14,22,21) With NO jumpers on J15,14, or J22,21 the mode selection is TXEN=1. With Jumpers installed on J14 or J21 and NO jumpers on J15 or J22, the mode selection is TXEN=DTR.
Figure 4 --- Enable scratchpad registers 2.4.2 Force High-Speed UART Clock (X2 or X4, J4-J5) These jumpers force an increase of the UART input clock frequency by a factor of two, four, or eight. This feature can allow legacy software to use baud rates above 115,200 bits per second.
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. 4.
Interrupts are level-sensitive on the PCI bus. The base address and IRQ are automatically detected by the device drivers Quatech supplies for various operating systems. For cases where no device driver is available, such as for operation under DOS, Quatech supplies the "QTPCI" DOS software utility for manually determining the resources used.
4.2 Enabling the Special Registers The DSCLP-200/300 contains two unique registers, an Interrupt Status Register and an Options Register. These registers are enabled when the SPAD jumper (J13) 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.
4.4 Quatech Modem Control Register The Quatech Modem Control Register can be used to setup each port. To access QMCR write a 0xBF to the LCR(base + 3) and a 0x10 to the Opt Reg(base+7). This will allow the user read/write access to QMCR. The QMCR of the entire DSCLP-200/300, as 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.
A standard serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, Quatech Enhanced Serial Adapters can operate at two times or four times this standard clock speed. This is controlled by the clock rate multiplier bits in the Options Register.
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" button. Window will locate the proper INF file and copy the file from the CD.
Page 20
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). Click the "OK" button.
Page 21
2. 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. Click the "Next" button.
DSCLP-200/300 in Windows 95 using the "New Hardware Found" wizard. 1. After booting the computer with a newly-installed DSCLP-200/300, the "New Hardware Found" dialog box will appear. If you have never installed a Quatech PCI communications adapter before, the dialog box may simply indicate that it has found a "PCI Card."...
3. 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 24
utility. Select Start|Help from within Windows 95 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.
Page 25
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 dialog for the specific COM port on the DSCLP-200/300.
Page 26
Figure 14 --- Windows 95 Device Manager 9. Use the Logical COM Port names to access the serial ports on your DSCLP-200/300 through your software applications. Note: The 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 p DSCLP-200/300 User's Manual...
DSCLP-200/300. The board can be used under DOS and other operating systems as well in many circumstances. The software described below can be obtained from the Quatech web site if it did not come with the board. 6.1 Windows NT The Windows NT device driver is installed by running the SETUP program.
Page 28
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. Pressing the "N" key will show similar information for all non-Quatech PCI devices in the system, including those devices integrated on the motherboard.
Page 29
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. In this example, the "Base addr 0" resource is reserved.
Factory-installed resistors allow for signal line termination in compliance with the RS-422 and RS-485 standards. The desired termination can be selected or removed per port by applying a jumper. Configuration is done using jumpers J1 through J4 for termination selection, and jumpers J5 through J8 for interface signal routing.
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 block. CTS is received on AUXIN by connecting pins 1 and 2 of the jumper block.
7.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 block. If desired, XCLK can be transmitted to an external source over the AUXOUT line by connecting pins 5 and 6 of the jumper block.
7.5 Half-Duplex/Full-Duplex Selection Using jumper blocks J6 and J8, the transmitters and receivers of each channel can be enabled and disabled by modem control signals. This allows operation in both half-duplex or full-duplex 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 J1-J4. RS-422/485 Receiver no termination Figure 25 --- RS-422/485 Line termination resistance values...
7.7 RS-422/485 Peripheral Connection The DSCLP-200/300 connects to peripheral equipment through two female D-9 connectors. The serial port connector definitions are listed in Figure 26. SignalDescription TxD+ TxD- RxD+ RxD- AUXOUT+ AUXOUT- AUXIN+ AUXIN- Figure 26 --- DSCLP-200/300 connector definitions...
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. (all numbers in hex) PCI Vendor ID:...
10 Troubleshooting Listed here are some common problems and frequent causes of those problems. If the information here does not provide a solution, contact Quatech technical support. Any unauthorized repairs or modifications will void the DSCLP-200/300's warranty. Computer will not boot up.
Need help?
Do you have a question about the RS-422 and is the answer not in the manual?
Questions and answers