QSP-200/300 Four Channel Asynchronous RS-422/485 PCMCIA Adapter INTERFACE CARDS FOR PERSONAL COMPUTERS User's Manual Quatech, Inc. 5675 Hudson Industrial Parkway Hudson, Ohio 44236 QSP-200/300 User's Manual TEL: (330) 655-9000 FAX: (330) 655-9010 WWW:quatech.
Warranty Information Quatech Inc. warrants the QSP-200/300 to be free of defects for five (5) years 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.
The information contained in this document cannot be reproduced in any form without the written consent of Quatech, Inc. Likewise, any software programs that might accompany this document can be used only in accordance with any license agreement(s) between the purchaser and Quatech, Inc. Quatech, Inc. reserves the right to change this documentation or the product to which it refers at any time and without notice.
Compliances - Electromagnetic Emissions EC - Council Directive 89/336/EEC This equipment has been tested and found to comply with the limits of the following standards for a digital device: EN50081-1 (EN55022, EN60555-2, EN60555-3) EN50082-1 (IEC 801-2, IEC 801-3, IEC 801-4) Type of Equipment: Information Technology Equipment Equipment Class: Commercial, Residential, & Light Industrial FCC - Class B This equipment has been tested and found to comply with the limits for a Class B digital device,
Table of Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Windows 95/98/ME/2000/NT Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 Installing a Quatech QSP-200/300 Under Windows 95/98/ME/2000 . . . . . . . . . . . . 4 2.1.1 Windows 95/98 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1.
This Page Left Blank Intentionally QSP-200/300 User's Manual
1 Introduction The Quatech QSP-200/300 provides four independent RS-422/485 asynchronous serial communications interfaces for systems equipped with PCMCIA Type II and/or Type III expansion sockets. The QSP-200/300 is a PCMCIA Type II (5 mm) card and is PCMCIA PC Card Standard Specification 2.1 compliant.
2 Windows 95/98/ME/2000/NT Installation Windows 95/98 maintains a registry of all known hardware installed within the computer. Inside this hardware registry Windows 95/98 keeps track of all the computer's resources, such as base I/O addresses, IRQ levels, and DMA channels. In the case of a PC Card (PCMCIA) type board, Windows 95/98 configures the new hardware using free resources it finds within the hardware registry, and updates the registry automatically.
2.1 Installing a Quatech QSP-200/300 Under Windows 95/98/ME/2000 2.1.1 Windows 95/98 1. Insert the QSP-200/300 into any available PC Card socket. 2. The first time a new PC Card is installed the Add New Hardware Wizard window opens. After the first installation, Windows 95/98 will automatically detect and configure the card. If the Add New Hardware Wizard window does not open, then skip to the next section, "Viewing the QSP-200/300 Settings". 3.
2. Insert the QSP-200/300 into any available PC Card socket. Windows 2000 will automatically install the driver for this device. 2.1.1 Installing QSP-200/300 Under Windows NT To allow easy configuration of the QSP-200/300 the Quatech Device Manager for Windows NT has been written for the hardware. This configuration utility supports the QSP-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.
2. Click the ‘Add’ button at the bottom of the Quatech Device Manager Window. 3. Follow the steps for the ‘Add Quatech Hardware Wizard’.
QSP-200/300 User's Manual 6
4. Complete the final steps of the installation, insert the PCMCIA Card and re-boot the computer. v Additional help is availabe online The QSP-200/300 PC Card should now be configured. In the future, Windows NT will automatically recognize and configure the QSP-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.
Viewing the QSP-200/300 Resource Settings The following steps detail how to view the resource settings that Windows 95/98/ME/2000 has allocated for the QSP-200/300. 2.1.4 Window 95/98/ME 1. Double click on the My Computer icon located on the Windows 95/98 desktop. This opens a folder showing various drives, Control Panel, etc. 2. Double click on the Control Panel icon. This opens another folder with many different system utilities. 3. Double click on the System icon.
information on how to change these settings, got to the section labeled "Changing Configuration of the QSP-200/300". 7. Use the Logical Com Port name to access any of the particular serial ports on the QSP-200/300. This name is required by a Windows 2000 application when accessing a particular port.
2.2 Changing Configuration of the QSP-200/300. To change the hardware configuration of the QSP-200/300, follow the instructions below. 2.2.1 Windows 95/98/ME 1. Double click the My Computer icon located on the Windows 95/98/ME desktop. 2. Double click on the Control Panel icon. 3. Double click the System icon inside the Control Panel folder. This will open the System Properties box. 4. Click the Device Manager tab located along the top of the System Properties box. 5.
Adapters" group or the QSP-200/300 model number does not appear, contact Quatech Technical Support for further assistance. 6. Click on the ‘Quatech QSP-200/300 PCMCIA Four-Port RS-422/465 Serial Adapter’ item and then click on the button labeled "Properties". 7. Un-check the box "use automatic settings". This keeps Windows from changing the resource settings when the system is restarted. 8. Select a "Basic Configuration" from the list box.
Basic Configuration 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B I/O any any any any any any any any any any any any IRQ any any any any any any any any any any any any Handshake Mode loopback enabled loopback enabled loopback enabled loopback disabled loopback disabled loopback disabled loopback enabled loopback enabled loopback enabled loopback disabled loopback disabled loopback disabled Output Mode always enabled RTS controlled DTR controlled always enabled RTS controlled DTR controll
3 Windows CE The Quatech PCMCIA Windows CD installation copies a multiple device-specific .cab files and the ini file to your desktop computer and launches the Application Manger (which resides on the user's desktop computer as a result of installing Active Sync) with the Application Manager .ini file as a parameter. This in turn will install the driver onto the Windows CE connected device or if not connected will install it on the next device connection to the desktop. 1.
3. The setup program will copy the files to predetermined location, which can be changed by the user. Click next to proceed.. Installation is now complete. In the event that installation process took place with out having the Windows CE device connected to the computer and the install program will prompt the user that on the next on the next connection the device will complete the installation. Choose ‘Yes’ on the following window and you installation is now complete.
4 DOS / Windows 3.x Installation Two configuration software programs are provided with the QSP-200/300: a Client Driver, QSP200CL.SYS, and a card Enabler, QSP200EN.EXE. Both of these programs are executed from DOS (before entering Windows) and allow operation of the QSP-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.
4.1 QSP-200/300 Client Driver for DOS In order to use the QSP-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 QSP-200/300. IMPORTANT: 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 QSP-200/300 does not configure or operate properly, an updated version of Card and Socket Services may be required.
correct the entry in the CONFIG.SYS file and reboot the system again. If the Client Driver reports "Card and Socket Services not found", a version of Card and Socket Services must be installed on the system or the QSP-200/300 Enabler program must be used to configure the adapter. If the Client Driver reports the desired adapter configuration, the installation process is complete and the QSP-200/300 may be removed and / or inserted from the system as desired.
o1 o2 DTR Controlled RTS Controlled Figure 3. DOS Client Output Driver Options. H instructs the client driver to enable the RTS-CTS modem control handshake. When modem control handshaking in enabled, the 16C550 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel (AuxOut and AuxIn). The auxiliary channel may then be used for handshaking between a DSP-200/300 RS-422/485 port and a peripheral device.
4.1.3 QSP-200/300 Client Driver Examples Example 1 DEVICE = C:\QSP-200\QSP200CL.SYS In example 1, no command line arguments are specified. The Client Driver will configure a QSP-200/300 inserted into any socket with a base address and IRQ assigned by Card and Socket Services. The output drivers will be configured for full duplex operation (always enabled), the RTS-CTS handshaking will be disabled (loopback mode), and the interrupt status register will be enabled. Example 2 DEVICE = C:\QSP-200\QSP200CL.
Example 4 DEVICE = C:\QSP-200\QSP200CL.SYS (i5,h,u,b300,o2) 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 QSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the card will not be configured.
Example 6 DEVICE = C:\QSP-200\QSP200CL.SYS (b300,i5) ( ) (i10) In example 6, the three command line arguments of example 5 have been rearranged. The Client Driver will first attempt to configure a QSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the Client Driver will proceed to the second command line argument and attempt to configure the card with a base address and IRQ assigned by Card and Socket Services.
4.1.4 Common Problems Generic Client Drivers: Many Card and Socket Services packages include a generic client driver (or "Super Client") which configures standard I/O devices. If one of these generic client drivers is installed, it may configure the QSP-200/300 causing the QSP-200/300 client driver to fail installation. In these cases, the user should do one of the following: 1. modify the operation of the generic client driver to disable the configuration of modem/serial port cards.
IMPORTANT: In order to use the QSP-200/300 Enabler for DOS, the system MUST NOT be configured with Card and Socket Services software. If a Card and Socket Services software is installed, the QSP-200/300 Enabler may interfere with its operation and with the device(s) it controls. The QSP-200/300 Enabler does not support automatic configuration of adapters upon insertion, more commonly referred to as "Hot Swapping".
4.2.1 Command Line Options To configure a QSP-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 QSP-200/300 must be inserted into for this configuration argument to be used. socket must be in the range 0 - 15.
other. If this option is omitted, the default setting is RTS-CTS modem control handshake disabled. See the Hardware Information section for more information. U instructs the Enabler to disable the QSP-200/300's interrupt status register and enable the Scratchpad registers of the individual UARTs. This option is only required in very rare cases where an application program requires access to the UART's Scratchpad register.
4.2.2 QSP-200/300 Enabler Examples Example 1 QSP200EN.EXE In example 1, no command line argument is specified. The Enabler will report an error and display the proper usage of the command. Example 2 QSP200EN.EXE (s0,b300,i5) In example 2, the Enabler will configure the QSP-200/300 in socket 0 with a base address of 300H and IRQ 5 using a configuration memory window at segment D000.
Example 5 QSP200EN.EXE (s0,b300,i5,r) In example 5, the Enabler will release the configuration used by the QSP-200/300 in socket 0 using a configuration memory window at segment D000. The base address and IRQ parameters are ignored and may be omitted. Example 6 QSP200EN.EXE (s1,r,wcc) In example 5, the Enabler will release the configuration used by the QSP-200/300 in socket 1 using a configuration memory window at segment CC00.
4.2.3 Common Problems Memory Range Exclusion: The Enabler requires a region of high DOS memory when configuring a QSP-200/300. This region is 1000H bytes (4KB) long and by default begins at address D0000H (the default address may be changed using the "W" option). If a memory manager such as EMM386, QEMM, or 386Max is installed on the system, this region of DOS memory must be excluded from the memory manager's control.
5 OS/2 Installation In order to use the QSP-200/300 Client Driver for OS/2, the system must be configured as follows: 1. The system must be running OS/2 2.1 or later. 2. OS/2 PCMCIA Card and Socket Services support must be installed. If PCMCIA support was not selected when OS/2 was installed, it can be added using the Selective Install facility in the System Setup folder. On OS/2 2.1 and 2.11, Socket Services must be added separately.
5.1 Command Line Options The QSP-200/300 Client Driver for OS/2 supports two methods of configuration: using "system assigned" resources and using "user assigned" resources. Both options provide full PCMCIA compliance and functionality (including "Hot-swapping") but each has some advantages and disadvantages as discussed in the following sections. 5.1.
5.1.2 Configuring With "User Assigned" Resources As mentioned in the previous section, allowing the OS/2 Plug-and-Play system to assign the hardware resources to the QSP-200/300 is ideal for OS/2 programs but can be a problem if DOS and/or Windows applications will be accessing the serial ports. This is because most DOS applications write directly to the communications hardware and the Windows' Control Panel also wants to know the hardware configuration of the serial ports.
Example 2 DEVICE=C:\QSP-200\QSP200.SYS (7,120,15) (3,300,4) In example 2, the Client Driver will attempt to configure the QSP-200/300 as COM3 through COM6 using I/O address 300-31F hex and IRQ 4. If COM3, 4, 5, or 6 already exists, or if the I/O address or IRQ resources are already in use, the Client Driver will attempt to configure the QSP-200/300 as COM7 through COM10 using I/O address 120-13F hex and IRQ 15.
5.2 Monitoring The Status Of PCMCIA Cards OS/2 Warp provides a utility called "Plug and Play for PCMCIA" that can be used to monitor the status of each PCMCIA socket. In OS/2 2.1, this utility is called "Configuration Manager". When a QSP-200/300 is inserted, the Card Type for the appropriate socket will display "Multi-Function". If the card is successfully configured, the Card Status will display "Ready". If the card cannot be configured, the Card Status will be "Not Ready".
5.3 Common Problems Invalid I/O Address When Using OS/2 2.1: PCMCIA Card Services for OS/2 2.1 sometimes fails to supply a valid I/O address when using "system assigned" resources. Use the "Configuration Manager" program to examine the I/O address range assigned to the QSP-200/300. If this range does not begin on an even 32 byte (20H) boundary, the QSP-200/300 will have to be installed using "user assigned" resources to force a valid configuration.
6 Hardware Information 6.1 Port Addressing The QSP-200/300's four asynchronous serial ports are implemented using 4 standard 16C550 UARTs. Each of these UARTs requires 8 bytes of I/O space and when enabled which requires the QSP-200/300 to be located on an even 32-byte (20H) boundary (e.g. 300H, 320H, 340H, etc.). QSP-200/300 channel Address assignment Channel A Base Address + 0 Channel B Base Address + 8 Channel C Base Address + 16 Channel D Base Address + 24 6.
6.3 Auxiliary Channel Configuration An auxiliary channel is provided which allows for handshaking between a QSP-200/300 RS-422/485 port and a peripheral device. This auxiliary channel may be configured in one of two ways: RTS-CTS handshake enabled. handshaking is disabled. All ports must be configured in the same manner. 6.3.
6.3.2 Auxiliary Channel: Handshaking Disabled The QSP-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 16C550 UART will be looped back to each other. In addition, the auxiliary output and input signals will be looped back to each other.
6.4 Termination Resistors No termination resistors are provided on the QSP-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 7. RS-422/485 Termination 6.
3 Options: Data Out Half Duplex + RS-422/485 Driver - -RTS -DTR MUX 16C550 Active Low Output Enable Aux Out Full Duplex NOTE: RS-422/485 Driver + - One of these three options must be selected via software configuration. Full duplex operation is the default mode. Figure 8.
7 External Connections An adapter cable is included with the QSP-200/300 to convert the PCMCIA output connector into 4 standard D-9 female RS-232 connectors as shown in the figure below. Port A Port B Port C Port D Figure 10. QSP-200/300 adapter cable to standard female D-9 connectors. AuxIn+ 5 RxD+ 4 Gnd 3 TxD+ 2 AuxOut+ 1 9 AuxIn- 8 RxD- 7 TxD- 6 AuxOut- Figure 11. D-9 female RS-422/485 connector signal assignment.
This Page Left Blank Intentionally QSP-200/300 User's Manual 41
8 Specifications Bus Interface PCMCIA PC Card Standard 2.1 compliant Physical Dimensions Type II PCMCIA card (5mm) Maximum Baud Rate Power Requirements Connector QSP-200/300 User's Manual 120K +5 volts 35.85 mA (typical) 45.
QSP-200/300 User's Manual Version 1.32 March 2004 Part No.