background image

QSP-200/300

Four Channel Asynchronous

RS-422/485 PCMCIA Adapter

User's Manual

Quatech, Inc.

TEL: (330) 655-9000

5675 Hudson Industrial Parkway

FAX: (330) 655-9010

Hudson, Ohio  44236

WWW:quatech.com

QSP-200/300 User's Manual

INTERFACE CARDS FOR PERSONAL COMPUTERS

Summary of Contents for QSP-200

Page 1: ...synchronous RS 422 485 PCMCIA Adapter User s Manual Quatech Inc TEL 330 655 9000 5675 Hudson Industrial Parkway FAX 330 655 9010 Hudson Ohio 44236 WWW quatech com QSP 200 300 User s Manual INTERFACE CARDS FOR PERSONAL COMPUTERS ...

Page 2: ...e program s 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 herein and in the program s accompanying this document No representation is made regarding the suitability of this product for any particular purpose Quatech Inc reserves the right to edit or append to this document...

Page 3: ...s 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 Quatech Inc encourages feedback about this document Please send any written comments to the Technical Support department a...

Page 4: ...ill not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the e...

Page 5: ... Options 30 5 OS 2 Installation 29 4 2 3 Common Problems 27 4 2 2 QSP 200 300 Enabler Examples 25 4 2 1 Command Line Options 23 4 2 QSP 200 300 Enabler for DOS 23 4 1 4 Common Problems 20 4 1 3 QSP 200 300 Client Driver Examples 18 4 1 2 Command Line Options 17 4 1 1 Client Driver Installation 17 4 1 QSP 200 300 Client Driver for DOS 16 4 DOS Windows 3 x Installation 14 3 Windows CE 11 2 2 2 Windo...

Page 6: ...This Page Left Blank Intentionally QSP 200 300 User s Manual ...

Page 7: ...ed using 16C550 Universal Asynchronous Receiver Transmitters UARTs which are the recommended communications interface for multitasking environments and with applications involving high data transfer rates The QSP 200 300 s four serial ports are addressed in a single 32 byte I O block for simplified programming and all four channels share a common interrupt IRQ A special interrupt status register i...

Page 8: ... device To allow easy configuration of Quatech s QSP 200 300 two configuration files have been written These files are called INF files The QSP 200 INF file describes the resources of the QSP 200 300 parent device and indicates the number of child devices There are 4 child COM ports for the QSP 200 300 The MLTPT_SP INF file describes the settings for each serial port including all the necessary de...

Page 9: ... supply the computer with the Windows 95 98 CD Insert the CD when prompted and click OK IMPORTANT NOTE If the user has previously used any of the PC s COM ports and the Windows 95 98 installation CD is not available the user may be able to skip this step When prompted for the Windows installation CD click the Skip button to abort copying of the serial communication drivers If these drivers are alr...

Page 10: ...n 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 See following Windows Explorer figure D Serial Port Adapters Drivers Windows NT 4 0 for PCI PCMCIA ISA Once the installation is complete an icon will be placed on the desktop Windows NT Exporer 1 Locate and doubl...

Page 11: ...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 5 ...

Page 12: ...QSP 200 300 User s Manual 6 ...

Page 13: ...00 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 QSP 200 300 User s Manual 7 ...

Page 14: ...e For 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 95 98 application when accessing a particular port 2 1 5 Windows 2000 1 Double click on the My Computer icon located on the Windows 2000 desktop This ...

Page 15: ...on 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 QSP 200 300 User s Manual 9 ...

Page 16: ...e list box Each Basic Configuration is associated with a specific set of handshake and output driver options as listed in the table below a functional description of these options are contained in the section Hardware Information 9 If a change in I O address and or IRQ setting is required select the resource to be modified I O or IRQ and select Change Settings Make the desired changes and then cli...

Page 17: ... associated with a specific set of handshake and output driver options as listed in the table below a functional description of these options are contained in the section Hardware Information 9 If a change in I O address and or IRQ setting is required select the resource to be modified I O or IRQ and select Change Settings Make the desired changes and then click on OK A shutdown of the system may ...

Page 18: ...nabled loopback enabled any any 0006 DTR controlled loopback disabled any any 0005 RTS controlled loopback disabled any any 0004 always enabled loopback disabled any any 0003 DTR controlled loopback enabled any any 0002 RTS controlled loopback enabled any any 0001 always enabled loopback enabled any any 0000 Output Mode Handshake Mode IRQ I O Basic Configuration Figure 1 Windows 95 98 configuratio...

Page 19: ... 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 1Installing Quatech PCMCIA Cards under Windows CE 1 Connect and establish communication to the device to the desk to using Active Sync refer to Active Sync factory documentation 2 Locate and run the setup exe file loca...

Page 20: ...lete 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 QSP 200 300 User s Manual 14 ...

Page 21: ...g Allows automatic configuration of QSP 200 300 adapters upon insertion Hot Swapping Interfaces directly to Intel 82365SL and other PCIC compatible PCMCIA host adapters Interfaces to PCMCIA Card and Socket Services software PCMCIA host adapter independent File type DOS executable File type DOS device driver File name QSP200EN EXE File name QSP200CL SYS Enabler not recommended Client Driver recomme...

Page 22: ...ory of the boot drive 3 Locate the line s in the CONFIG SYS file where the Card and Socket Services software is installed 4 AFTER the line s installing the Card and Socket Services software add the following line to the CONFIG SYS file DEVICE drive path QSP200CL SYS options where options are the QSP 200 300 Client Driver command line options discussed on the following pages 5 Save the CONFIG SYS f...

Page 23: ...ress specifies the base I O address of the QSP 200 300 in hexadecimal and must reside on an even 32 byte 20H boundary If this option is omitted a base address will be assigned by Card and Socket Services Iirq specifies the interrupt level IRQ of the QSP 200 300 in decimal irq must be one of the following values 3 4 5 7 9 10 11 12 14 15 or 0 if no IRQ is desired If this option is omitted an interru...

Page 24: ...bled the RTS and CTS signals from the 16C550 UART are looped back to each 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 Client Driver to disable the QSP 200 300 s interrupt status register and enable the Scratchpad registers of the individual UARTs This option is only require...

Page 25: ...lable the QSP 200 300 will not be configured If the Client Driver can successfully configure the card 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 3 DEVICE C QSP 200 QSP200CL SYS s0 b300 i5 In example 3 a single command line argument is provided The Cli...

Page 26: ...b300 i5 i10 In example 5 three command line arguments are provided 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 assigned by Card and Socket Services and IRQ ...

Page 27: ...he user s responsibility to place the command line arguments in a logical order Example 7 DEVICE C QSP 200 QSP200CL SYS s0 b300 i5 s1 b340 i10 o1 The type of configuration shown in example 7 may be desirable in systems where more than one QSP 200 300 is to be installed In this example the Client Driver will attempt to configure a QSP 200 300 inserted into socket 0 with a base address of 300H and I...

Page 28: ...r can modify to adjust the available system resources Consult the Card and Socket Services documentation for availability and details of this feature Multiple Configuration Attempts Some Card and Socket Services have a setting which aborts the configuration process after a single configuration failure such as a request for an unavailable resource The user should change this setting to allow for mu...

Page 29: ...QSP200EN EXE should be executed to release the resources used by the adapter before it is removed from the PCMCIA socket Since PCMCIA adapters do not retain their configuration after removal any adapter that is removed from the system must be reconfigured with the Enabler after reinserting it into a PCMCIA socket IMPORTANT The Enabler requires a region of high DOS memory when configuring a QSP 200...

Page 30: ... etc Valid settings for address are C8 CC D0 D4 D8 and DC If this option is omitted a memory window at segment D000 will be used Omode specifies RS 422 485 output driver mode The QSP 200 300 s ports may be configured for either full duplex or half duplex operation with this option If this option is omitted the default setting is the RS 422 485 ports are configured for full duplex operation with th...

Page 31: ...s option is omitted the QSP 200 300 s interrupt status register is enabled and the UARTs Scratchpad registers are disabled Before removing a QSP 200 300 from its PCMCIA socket the Enabler should be executed to free the system resources allocated when the card was installed For this operation the Enabler provides on additional command line option R instructs the Enabler to release the resources pre...

Page 32: ... Enabler will configure the QSP 200 300 in socket 1 with a base address of 340H and IRQ 10 using a configuration memory window at segment D000 The output drivers will be configured for DTR controlled half duplex operation the RTS CTS handshaking will be enabled and the UARTs Scratchpad registers will be enabled i e the interrupt status register will be disabled Note that the parameter order is not...

Page 33: ...t 0 using a configuration memory window at segment D000 The base address andIRQ 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 QSP 200 300 User s Manual 27 ...

Page 34: ... Services support the QSP 200 300 Enabler has no way to determine the resources in use by other devices in the system It is the user s responsibility to guarantee that the parameters specified on the Enabler command line are available in the system and will not cause a conflict Socket Numbers The Enabler requires the QSP 200 300 s socket number to be specified on the command line and the card must...

Page 35: ...l not operate with the standard OS 2 serial port device drivers Quatech Inc can not guarantee the operation of the QSP 200 300 with any other third party device drivers for OS 2 4 There must be at least 32 bytes of available I O space and 1 availableIRQ After the system has been configured to the above specifications the QSP 200 300 Client Driver may be installed with the following procedure 1 Cop...

Page 36: ...roblem however 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 In these cases the user may want to configure the QSP 200 300 with user assigned resources Example 1 DEVICE C QSP 200 QSP200 SYS COM3 I...

Page 37: ...the interrupt level IRQ of the QSP 200 300 in decimal irq must be one of the following values 3 4 5 7 9 10 11 12 14 or 15 Each argument must be enclosed in parentheses and must be separated from other arguments by a space on the command line Within each argument the parameters must be separated using a comma no spaces When a QSP 200 300 is inserted into a PCMCIA socket the client driver will confi...

Page 38: ... QSP 200 300 while allowing the OS 2 Plug and Play system to assign the hardware resources for any additional cards This can be accomplished by mixing the configuration methods on the QSP 200 300 Client Driver command line DEVICE C QSP 200 QSP200 SYS 3 100 5 COM7 It is important to remember that when a QSP 200 300 is inserted into a PCMCIA socket the client driver will configure the card as a seri...

Page 39: ...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 You can view the resources claimed by a configured card by double clicking on that card s line in the window QSP 200 300 User s Manual 33...

Page 40: ...ls When using system assigned resources if the user knows the port number is available then the system may not have sufficient resources available to configure the QSP 200 300 Again the RMVIEW utility provided with OS 2 Warp may be useful in determining the problem Regardless of the configuration method each command line argument specifies the first of four COM ports for the QSP 200 300 If any of ...

Page 41: ...state of the entire QSP 200 300 with a single input operation The format of the interrupt status register is shown below Intr A Intr B Intr C Intr D 0 0 0 0 D0 D1 D2 D3 D4 D5 D6 D7 When one or more UARTs have interrupts pending the associated bit s in the interrupt status register are set to logic 1 When all the pending interrupts have been serviced for a specific UART its interrupt status bit wil...

Page 42: ...y Channel RTS CTS Handshaking The RTS CTS handshake may be enabled so that RTS Request To Send is the auxiliary output signal on AuxOut and AuxOut pins 1 and 6 of the D9 female connector Similarly CTS Clear To Send is the auxiliary input signal on AuxIn and AuxIn pins 5 and 9 of the D9 female connector This configuration is shown below RS 422 485 16C550 UART DATA OUT DATA IN AUX OUT AUX IN TXD RXD...

Page 43: ... 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 This configuration is shown below RS 422 485 16C550 UART DATA OUT DATA IN AUX OUT AUX IN TXD RXD RTS CTS Drivers Receivers Driver Receiver Driver Receiver Figure 6 Auxiliary Channel Handshaking Disabled QSP 200 300 User s Manual 37 ...

Page 44: ... each end Recommended Termination Resistor Values Figure 7 RS 422 485 Termination 6 5 2 Wire Operation The QSP 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 R...

Page 45: ...gnal to enable the output drivers setting bit 0 of the Modem Control Register to logic 1 will enable the output drivers and clearing bit 0 of the Modem Control Register to logic 0 will force the outputs into a high impedance state 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 d...

Page 46: ...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 1 2 3 4 5 9 8 7 6 AuxOut TxD Gnd RxD AuxIn AuxOut TxD RxD AuxIn Figure 11 D 9 female RS 422 485 connector signal assignment QSP 200 300 User s Manual 40 ...

Page 47: ...This Page Left Blank Intentionally QSP 200 300 User s Manual 41 ...

Page 48: ...MCIA PC Card Standard 2 1 compliant Physical Dimensions Type II PCMCIA card 5mm Maximum Baud Rate 120K Power Requirements 5 volts 35 85 mA typical 45 87 mA maximum Connector Adapter to 4 standard female D 9 QSP 200 300 User s Manual 42 ...

Page 49: ...QSP 200 300 User s Manual Version 1 32 March 2004 Part No 940 0151 132 QSP 200 300 User s Manual ...

Reviews: