DSP-200/300 Dual Channel RS-422/485 PCMCIA Asynchronous Adapter for PCMCIA Card Standard compatible machines User's Manual INTERFACE CARDS FOR IBM PC/AT AND PS/2 QUATECH, INC. 5675 Hudson Industrial Parkway Hudson, Ohio 44236 TEL: (330) 665-9000 FAX: (330) 665-9010 www.quatech.
Warranty Information Quatech Inc. warrants the DSP-200/300 to be free of defects for one (5) 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.
Declaration of Conformity Manufacturer's Name: Quatech, Inc. Manufacturer's Address: 662 Wolf Ledges Parkway Akron, OH 44311 (USA) Application of Council Directive: 89/336/EEC Standards to which Conformity is Declared: Type of Equipment: * EN50081-1 (EN55022) * EN50082-1 (IEC 801-2, IEC 801-3, & IEC 801-4) Information Technology Equipment Equipment Class: Commercial, Residential, & Light Industrial Product Name: PCMCIA Card Model Number : DSP-200/300 DSP-200/300 (Rev.
Table of Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 DOS/Windows 3.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 DSP-200/300 Client Driver for DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Client Driver Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Introduction The DSP-200/300 is a dual channel RS-422/RS-485 asynchronous serial adapter for systems equipped with PCMCIA Type II and/or Type III expansion sockets. The DSP-200/300 is a PCMCIA Type II (5 mm) card and is PCMCIA PC Card Standard Specification 2.1 compliant.
This page intentionally left blank. 2-1 DSP-200/300 (Rev.
2. DOS/Windows 3.x Two configuration software programs are provided with the DSP-200/300: a Client Driver, and a card Enabler. Both of these programs are executed from DOS (before entering Windows) and allow operation of the DSP-200/300 in both the DOS and Windows 3.x environments. For optimal operation, however, the Client Driver is the preferred method of installation and configuration. The table below highlights the differences between these programs.
2.1 DSP-200/300 Client Driver for DOS In order to use the DSP-200/300 Client Driver, the system must be configured with Card and Socket Services software. Card and Socket Services software is not provided with the DSP-200/300 but is available from Quatech. IMPORTANT: Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards.
removed and/ or inserted from the system as desired. On each insertion into the PCMCIA socket, the DSP-200/300 will be automatically reconfigured according to the command line options. 2.1.2 Command Line Options The DSP-200/300 Client Driver accepts up to eight command line arguments from the user to determine the configuration of theDSP-200/300.
H instructs the client driver to enable the RTS-CTS modem control handshake on the RS-422/485 port. When modem control handshaking in enabled, the 16C750 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel. The auxiliary channel may then be used for handshaking between the DSP-200/300’s port and a peripheral device. When modem control handshaking is disabled, the RTS and CTS signals from the 16C750 UART are looped back to each other.
2.1.2.4 Example 4 DEVICE = C:\DSP-200\DSP230CL.SYS(i5,h,b300) In example 4, a single command line argument is provided. Because the parameter order is not significant, the Client Driver will attempt to configure a DSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the DSP-200/300 will not be configured.
2.1.2.7 Example 7 DEVICE = C:\DSP-200\DSP230CL.SYS (s0,b300,i5) (s1,b340,i10) The type of configuration shown in example 7 may be desirable in systems where more than one DSP-200/300 is to be installed. In this example, the Client Driver will attempt to configure a DSP-200/300 inserted into socket 0 with a base address of 300H and IRQ 5. If the DSP-200/300 is inserted into socket 1, the Client Driver will attempt to configure it with base address 340H and IRQ 10.
Older Versions of Card and Socket Services: Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards. If after careful installation of the Client Driver the DSP-200/300 does not configure or operate properly, an updated version of Card and Socket Services may be required. Card and Socket Services software is available from Quatech. 2.
2.2.1 Command Line Options To configure a DSP-200/300 in the system, the Enabler requires one command line argument from the user to determine the configuration of the card. This argument must be enclosed in parenthesis and within the argument, any or all of the following parameters may be specified using a comma (no spaces) to separate each parameter: Ssocket specifies which PCMCIA socket the DSP-200/300 must be inserted into for this configuration argument to be used. socket must be in the range 0 - 15.
H instructs the enabler to enable the RTS-CTS modem control handshake on the RS-422/485 port. When modem control handshaking in enabled, the 16C750 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel. The auxiliary channel may then be used for handshaking between the DSP-200/300’s RS-422/485 port and a peripheral device. When modem control handshaking is disabled, the RTS and CTS signals from the 16C750 UART are looped back to each other.
2.2.1.4 Example 4 DSP230EN.EXE (s0,b300,i3,wd8) In example 4, the Enabler will configure the DSP-200/300 in socket 0 with a base address of 300H and IRQ 3 using a configuration memory window at segment D800. The DSP-200/300's RS-422/485 output drivers will always be enabled, and RTS-CTS modem control handshaking will be disabled 2.2.1.5 Example 5 DSP230EN.
Furthermore, some systems use the high memory area for BIOS shadowing to improve overall system performance. In order for the Enabler to operate, any BIOS shadowing must be disabled in the address range specified for the configuration window. BIOS shadowing can usually be disabled through the system's CMOS setup utility. Socket Numbers: The Enabler requires the DSP-200/300's socket number to be specified on the command line and the DSP-200/300 must be inserted into the socket before the Enabler is invoked.
This page intentionally left blank. 3-1 DSP-200/300 (Rev.
3. Windows 95/98/Millennium (ME) To allow easy configuration of the DSP-200/300, an Windows 95/98/ME "INF" configuration file has been written for the hardware. It supports the AUXIN/AUXOUT options and the RS-422/485 output driver enable options for full and half duplex operation. 3.1 Installing a DSP-200/300 Under Windows 95/98/ME 1. Insert the DSP-200/300 into any available PC Card socket. 2. The first time a new PC Card type is installed the New Hardware Found window opens.
3.2.1Viewing Resource Settings with Device Manager 1. Start the Windows 95/98/ME Device Manager. 2. Double click on the hardware class Quatech Comm Adapters to list hardware devices in the class. 3. The DSP-200/300 “parent device” belongs to this hardware class. The device name for the DSP-200/300 is Quatech DSP-200/300: Dual RS-422/RS-485 Serial Port PC Card. 4.
transmitter may be enabled and disabled via the RTS (request to send) or DTR (data terminal ready) signals, or set to enable only when data is being transmitted (auto-toggle). Both RTS and DTR are controlled through the Modem Control Register of the 16750. When the Use Automatic Settings check box is enabled Windows 95/98/ME will attempt to configure the DSP-200/300 in the order listed in the Basic Configurations table.
Basic Configuration 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 001A 001B 001C 001D 001E 001F 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 002A 002B 002C 002D 002E 002F 3-5 Auxiliary Connections** Loopback Loopback Loopback Loopback Loopback Handshaking Clocking Loopback Loopback Loopback Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Han
** Handshaking indicates RTS routed to AUXOUT, AUXIN routed to CTS, and TCLK routed to RCLK. Loopback indicates RTS routed to CTS, AUXIN routed to AUXOUT, and TCLK routed to RCLK. Clocking indicates RTS routed to CTS, AUXIN routed to RCLK, and TCLK routed to AUXOUT. *** Any indicates variable value; this value may or may not be user selectable depending on platform. 6.
This page intentionally left blank. 4-1 DSP-200/300 (Rev.
4 Windows 2000 To allow easy configuration of the DSP-200/300, an Windows 2000 "INF" configuration file has been written for the hardware. This configuration file supports the DSP-200/300 in both addressing modes: block mode and “com” mode. Additionally, the RTS-CTS modem control handshake option and the RS-422/485 output driver enable option for full and half duplex operation is supported. 4.1 Installing a DSP-200/300 Under Windows 2000. 1. Insert the Quatech COM CD into an available CD-ROM. 2.
4. Double click ‘Serial Port Adapters’ 5. Double click ‘Drivers’ 4-3 DSP-200/300 (Rev.
6. Double click on ‘Windows 2000, XP, for PCI, PCMCIA, ISA’ 7. Click on ‘qserbrd’ and select open.
8. Select ‘OK’ at the ‘Files Needed’ window 9. The same process as above in steps 1-9 will apply for the next file ‘qserpt.inf’. In step 7 be sure to choose ‘qserpt.inf’ and select ‘Open’. 4.2 DSP-200/300 Resource Settings in Windows 2000 Windows 2000 maintains a registry of all known hardware installed within the computer. Inside this hardware registry Windows 2000 keeps track of all the computer's resources, such as base I/O addresses, IRQ levels, and DMA channels.
4.2.1 Viewing Resource Settings with Device Manager 1. Start the Windows 2000 Device Manager. 2. Double click on the hardware class Quatech Multiport Serial Devices to list hardware devices in the class. 3. The DSP-200/300 “parent device” belongs to this hardware class. The device name for the DSP-200/300 is Quatech DSP-200/300 PCMCIA Two-Port RS-422/RS-485 Serial Adapter. (Figure 10) 4.
6. Use the COM Port device names (COM5, COM6, etc.) to access any of the particular serial ports on the DSP-200/300. These names are required by Windows 2000 applications when accessing particular ports. 4.2.2 Changing Resource Settings with Device Manager 1. Start the Windows 2000 Device Manager.
4. Open the Properties dialog for the DSP-200/300 device (Figure 12), then click the Advanced tab to view the clock rate settings.
Clock Mode Max bps Auto 921,600 X1 115,200 X2 230,400 X4 460,800 X8 921,600 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. The hardware drivers lock the clock to the standard rate. The port will run at the baud rate requested by the application.
Windows 2000 4-10
RS-422/485 Connector Setup RTS routed to CTS, AUXIN routed to AUXOUT, and TCLK routed to RCLK. Loopback All Used when external handshaking or clocking signals are not available. RTS routed to AUXOUT, AUXIN routed to CTS, and TCLK routed to Modem Control RCLK. Used when RTS/CTS handshaking is required. RTS routed to CTS, AUXIN routed to RCLK, and TCLK routed to AUXOUT. Used to connect ports transmitting at Clocks different baud rates. In order to function, all ports must have and use this feature.
Basic Configuration 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 Windows 2000 Auxiliary Connections** Loopback Loopback Loopback Loopback Loopback Handshaking Clocking Loopback Loopback Loopback Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking I/O Range*** Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any RS-422/485 Output Drivers Always Enabled Always Enabled Auto
0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 0040 0041 0042 0043 0044 0045 0046 0047 0048 Handshaking Clocking Handshaking Clocking Loopback Loopback Loopback Loopback Loopback Handshaking Clocking Loopback Loopback Loopback Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Handshaking Clocking Loopback Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any Any An
9. To modify the Interrupt Request setting click the resource name and click the Change Setting button. An Edit Resource window will open up. Inside this window click on the up/down arrows to the right of the Interrupt Request value. This scrolls you through all of the allowable resources for your hardware. Pay attention to the conflict information at the bottom of the window. Do not select a value that causes a conflict with any other installed hardware. 10.
This page intentionally left blank. 5-1 DSP-200/300 (Rev.
5 Windows NT 5.1 Installing DSP-200/300 To allow easy configuration of the DSP-200/300 the Quatech Device Manager for Windows NT has been written for the hardware. This configuration utility supports the DSP-200/300 only in block addressing mode. To begin the installation, open Windows Explorer and search for the ‘Setup.exe’ command to install the Quatech Device Manager. (D:\Serial Port Adapters\Drivers\Windows NT 4.0 for PCI, PCMCIA,ISA).
1. Locate and double click the Quatech Device Manager icon on the desktop Device Manager Icon on Desktop 2. Click the ‘Add’ button at the bottom of the Quatech Device Manager Window 5-3 DSP-200/300 (Rev.
3. Follow the steps for the ‘Add Quatech Hardware Wizard’.
4. Complete the final steps of the installation, shut down Windows NT and then insert the PCMCIA Card and re-boot the computer. Additional help is available online The DSP-200/300 PC Card should now be configured. In the future, Windows NT will automatically recognize and configure the DSP-200/300. Note: Windows NT does not support ‘Plug and Play’ for PCMCIA cards. The PCMCIA Card must be inserted prior to starting Windows NT and can not be removed and reinserted while Windows NT is running.
6. Hardware Information 6.1 Auxiliary Channel Configuration An auxiliary channel is provided which allows for handshaking between the DSP-200/300 port and a peripheral device. This auxiliary channel may be configured in one of two ways: v RTS-CTS handshake enabled. v handshaking is disabled. 6.1.1 Auxiliary Channel: RTS-CTS Handshaking. The RTS-CTS handshake may be enabled so that RTS (request to send) is the auxiliary output signal on AUX OUT+ (pin 1) and AUX OUT- (pin 6).
6.1.2 Auxiliary Channel: Handshaking Disabled. The DSP-200/300 ports may be configured so that the RTS-CTS handshake is disabled. This is the default configuration. In this configuration, RTS and CTS from the 16C750 UART will be looped back to each other. In addition, the auxiliary output and input signals will be looped back to each other.
6.2 Half Duplex Operation The DSP-200/300’s ports may be configured for either full duplex or half duplex operation. By default, the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled. In half duplex mode, the RS-422/485 transmitter may be enabled and disabled via the RTS (request to send) or DTR (data terminal ready) signals. Both RTS and DTR are controlled through the Modem Control Register of the 16750.
Selection of half duplex mode operation is dependent upon the configuration software and/or the operating system used. Each of these, however, ultimately control the half duplex mode by accessing the PCMCIA Configuration Register on the DSP-200/300. CAUTION: When operating in half duplex mode, the transmitter output drivers must be disabled before receiving any information.
6.3 Termination Resistors No termination resistors are provided on the DSP-200/300 ports. Both output and input signals are connected only to the external connector. Any termination which is required must be added externally. RS-422/485 Receiver RXD+ + Rt - RXD- RS-422/485 Receiver AUXIN+ + Rt - AUXIN- Recommended Termination Resistor Values RS-422 100 ohm 1/2W resistor RS-485 60 ohms total resistance (120 ohms at each end) Figure 12.
This page intentionally left blank. 7-1 DSP-200/300 (Rev.
7. External Connections An adapter cable is included with the DSP-200/300 to convert the 9-pin PCMCIA output connector into a standard D-9 female connector, data terminal equipment (DTE), as shown in the figures below. Standard D-9 (Male) Figure 14. DSP-200/300 Adapter Cable. AUXOUT+ 1 DATAOUT+ 2 GND 3 DATAIN+ 4 AUXIN+ 5 6 AUXOUT- 7 DATAOUT- 8 DATAIN - 9 AUXIN - D-9 Female Connector Figure 15. RS-422/485 Signal Assignment.
This page intentionally left blank. 8-1 DSP-200/300 (Rev.
8. Specifications Bus Interface PCMCIA PC Card Standard 2.1 compliant Physical Dimensions Type II PCMCIA card (5mm) Maximum Baud Rate 921.
DSP-200/300 User's Manual Revision 3.12 March 2004 P/N 940-0075-312 Quatech, Inc.