Quatech DSC-300 User Manual

Two channel rs-422/485 asynchronous communications adapter
Hide thumbs Also See for DSC-300:

Advertisement

Quick Links

Two Channel RS-422/485 Asynchronous
QUATECH, INC.
5675 Hudson Industrial Parkway
Hudson, Ohio 44236
DSC-200/300
Communications Adapter
for PCI bus
User's Manual
TEL:
FAX:
http://www.quatech.com
(330) 655-9000
(330) 655-9010

Advertisement

Table of Contents
loading

Summary of Contents for Quatech DSC-300

  • Page 1 DSC-200/300 Two Channel RS-422/485 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 Quatech, Inc. warrants the DSC-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 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 4: Declaration Of Conformity

    Standards to which Conformity is Declared: Type of Equipment: Equipment Class: Product Name: Model Number : Declaration of Conformity Quatech Inc. 5675 Hudson Industrial Parkway Hudson, Ohio 44236 (USA) 89/336/EEC * EN50081-1 (EN55022, EN60555-2, EN60555-3) * EN50082-1 (IEC 801-2, IEC 801-3, & IEC 801-4)
  • Page 5: Table Of Contents

    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 Configuration 5.1 Windows Millennium...
  • Page 6 9 Specifications 10 Troubleshooting Quatech DSC-200/300 User's Manual ................
  • Page 7: General Information

    The DSC-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.
  • Page 8: Features

    The standard DSC-200/300 implements each of its communication channels with a 16550 UART and uses standard line driver and receiver components. For improved performance and industrial-grade reliability, Quatech offers the following board upgrades: 1.1.1 "IND" Option --- Surge Suppression Upgrade The "IND"...
  • Page 9: Hardware Configuration

    For details, refer to section 7.5. The DSC-200/300 is shipped from the factory with each channel configured with No jumpers on J10-23. The following conditions occur: CTS=AUXIN, AUXOUT=RTS, RCLK=TCLK, TXEN=1 AND RXEN=1. Quatech DSC-200/300 User's Manual...
  • Page 10 Jumpers J10-J23 define the options for this card: SPAD Quatech DSC-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 Figure 2 - Right Card Edge Jumpers...
  • Page 11: Cts0_Sel, Cts1_Sel (J10,17)

    TXEN=RTS. With Jumpers installed on J15, J14 or J22, J21, the mode selection is TXEN=”Auto Toggle”. 2.2.5 RXEN0_SEL, RXEN1_SEL (J16, 23) With NO jumpers on J16 or J23 the mode selection is RXEN=1. With Jumpers installed on J16 or J23 the mode selection is RCLK=!TXEN. Quatech DSC-200/300 User's Manual...
  • Page 12: Clock Rate And Optional Registers

    If one of these jumpers is applied, it overrides any value written to the Options Register to set the clock multiplier by software. The effective baud rate will be either two, four, or eight times the value for which the UART itself is programmed. Quatech DSC-200/300 User's Manual Figure 4 --- Enable scratchpad registers...
  • Page 13 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 SPAD SPAD Quatech DSC-200/300 User's Manual Factory defaults X8 mode X4 mode X2 mode...
  • Page 14: Hardware Installation

    6. Attach and secure the cable connectors to the desired equipment. 7. Turn on the power of the computer system. The output of the DSC-200/300 is a pair of 9-pin D-connectors. Serial Port Serial Port Quatech DSC-200/300 User's Manual Figure 6 --- Jumper/connector locations...
  • Page 15: Address Map And Special Registers

    The interrupt signal is maintained until no port requires service. 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"...
  • Page 16: Enabling The Special Registers

    DSC-200/300, as shown in Figure 9. The individual bits are cleared as the interrupting ports are serviced. The interrupt service routine should ensure that the interrupt status register reads zero before exiting. 7 (MSB) Quatech DSC-200/300 User's Manual Register selected for SPAD Jumper address 7 accesses...
  • Page 17: Quatech Modem Control Register

    4.4 Quatech Modem Control Register The Quatech Modem Control Register can be used to setup 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 DSC-200/300 is shown in Figure 9a.
  • Page 18: Options Register

    Figure 10--- Options Register bit definitions 4.5.1 Enhanced Serial Adapter Identification The ID bits are used to identify the DSC-200/300 is a Quatech Enhanced Serial Adapter. Logic operations are performed such that the values read back from these bits will not necessarily be the values that were written to them.
  • Page 19: Clock Rate Multiplier

    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, four times, or even eight times this standard clock speed. This is controlled by the clock rate multiplier bits in the Options Register.
  • Page 20: Windows Configuration

    "Removable media" and "Specify location" box. Click the "Next" button. Window will locate the proper INF file and copy the file from the CD. Click the "Next" button. The final dialog screen will verify the file copy from the CD. Click the "Finish" button. Quatech DSC-200/300 User's Manual...
  • Page 21: Windows 2000

    The following dialog box will display the appropriate INF file on the CD in drive. Click the "OK" 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. Quatech DSC-200/300 User's Manual...
  • Page 22: Windows 98

    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 Communication Drivers CD (shipped with the device) into the CD - ROM drive. Click the "Next" button. Quatech DSC-200/300 User's Manual...
  • Page 23 DSC-200/300 in Windows 95 using the "New Hardware Found" wizard. 1. After booting the computer with a newly-installed DSC-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."...
  • Page 24: Windows 1995

    2. Select the radio button for "Driver from disk provided by hardware manufacturer." Click the "OK" button to continue. 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 25: Viewing Resources With Device Manager

    2. Click the "Device Manager" tab located along the top of the System Properties box. This lists all hardware devices registered inside the Windows registry. Additional information is available on any of these devices by right-clicking on the device name and then selecting "Properties" from the pop-up menu. Quatech DSC-200/300 User's Manual...
  • Page 26 Windows 95, the DSC-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 DSC-200/300.
  • Page 27: Changing Resource Settings With Device Manager

    3. The DSC-200/300 “parent device” belongs to this hardware class. The full device name for the DSC-200/300 is Quatech DSC-200/300: Two-Port RS-422/485 Serial Adapter. 4. Open the Properties dialog for the DSC-200/300 device, then click the Resources tab to view the Input/Output Range and Interrupt Request resource allocations.
  • Page 28 Max bps Auto 921,600 115,200 230,400 460,800 Quatech DSC-200/300 User's Manual Data Rate Multiplier Description Auto clock mode enables applications to request any baud rate up to 921,600. The hardware drivers will select the correct clock multiplier based on the baud rate requested The X1 clock mode mimics a standard COM port.
  • Page 29 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 DSC-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 30 DTR (data terminal ready) signals, or in auto-toggle mode, set to enable only when data is being transmitted. Both RTS and DTR are controlled through the Modem Control Register of the 16550. Quatech DSC-200/300 User's Manual Used when external handshaking or clocking signals are not available.
  • Page 31 UART compatibility mode and FIFO threshold levels to be configured. The threshold values of full-scale for the transmit buffer and ¾-scale for the receive buffer are optimal for most applications. Note that the FIFO option for each of the DSC-200/300's two ports is configured independently. Quatech DSC-200/300 User's Manual...
  • Page 32: Other Operating Systems

    Device drivers for Windows NT and OS/2 are also available for the DSC-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.
  • Page 33: Qtpci.exe

    In this example, the DSC-200/300 uses I/O base address FFA0 hex and IRQ 3. The hardware revision of the DSC-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 34 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"...
  • Page 35: External Connections

    RTS output can be looped back to the CTS input by connecting pins 1 and 2 of the jumper block J10. Figure 16 shows how to select the RTS/CTS mode. CTS0_SEL AUX0_SEL0 AUX0_SEL1 Transmit RTS on AUXOUT Receive CTS on AUXIN Quatech DSC-200/300 User's Manual Channel Signal routing Port 1 J10-16 Port 2 J17-23...
  • Page 36: Rclk

    AUXOUT line by connecting pins 1 and 2 of the jumper block J12. Figure 18 shows how to select the TCLK mode. RCLK0_SEL Loopback TCLK to RCLK Quatech DSC-200/300 User's Manual Jumper J13 Receive RCLK on AUXIN Figure 17 --- RCLK selection...
  • Page 37: Auxin/Auxout Loopback

    J14-16 only. The drivers and receivers are always enabled in full-duplex mode. For Auto-Toggle, apply jumpers between pins 1 and 2 of jumper blocks J14 and J15. Figure 20 shows how to select half-, full-duplex or Auto-Toggle operation. Quatech DSC-200/300 User's Manual Jumpers J11-13 AUX0_SEL0...
  • Page 38 Jumpers J14-16 TGL0_SEL0 TGL0_SEL1 RXEN0_SEL TGL0_SEL0 TGL0_SEL1 RXEN0_SEL TGL0_SEL0 TGL0_SEL1 RXEN0_SEL TGL0_SEL0 TGL0_SEL1 RXEN0_SEL Figure 20 --- Half/full-duplex and Auto-Toggle selection Quatech DSC-200/300 User's Manual WARNING: device. Half-Duplex(DTR) Operation Half-Duplex(RTS) Operation Full-Duplex Operation Auto-Toggle Operation...
  • Page 39: Termination Resistors

    Any termination which is required must be added externally. RS-422/485 Receiver RS-422/485 Receiver Recommended Termination Resistor Values RS-422 100 ohm 1/2W resistor Quatech DSC-200/300 User's Manual RS-485 60 ohms total resistance (120 ohms at each end) Figure 21. RS-422/485 Termination RXD+...
  • Page 40: Rs-422/485 Peripheral Connection

    The DSC-200/300 connects to peripheral equipment through two female D-9 connectors. The serial port connector definitions are listed in Figure 22. Figure 22 --- DSC-200/300 connector definitions Figure 23 --- DSC-200/300 output connectors Quatech DSC-200/300 User's Manual SignalDescription D-9 Connector Pin TxD+...
  • Page 41: Pci Resource Map

    Listed below are the PCI resources used by the DSC-200/300. Such information may be of use to customers writing their own device drivers or other custom software. A detailed description of the DSC-200/300's UARTs is available on the Quatech web site. (all numbers in hex)
  • Page 42: Specifications

    Input resistance: Input current: Power requirements volts: Temperature: Humidity: Quatech DSC-200/300 User's Manual PCI, 32-bit bus, Universal Signalling Voltage IBM-compatible computers approx. 4.725" x 3.5" 16550 with 16-byte FIFOs Two female D-9 connectors MAX-3076E or compatible 2V min. with 50-ohm load (RS-422) 1.5V min.
  • Page 43: Troubleshooting

    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 DSC-200/300's warranty. Computer will not boot up.
  • Page 44 DSC-200/300 User's Manual Revision 1.12 November 2006 940-0145-112 Quatech DSC-200/300 User's Manual...

This manual is also suitable for:

Dsc-200

Table of Contents