Home

Quatech RS-485 Network Router User Manual

image

Contents

1. 6 2 Hardware Configuration ss 1 2 1 Signal Connections iria 7 2 2 Full duplex Half duplex Operation 000 7 2 2 1 CTS0 SEL CTS1 SEL J10 17 o oo anaana 9 2 2 2 AUX0_SEL1 0 AUX1_SEL1 0 J12 11 19 18 9 2 2 3 RCLKO_SEL RCLK1_SEL J13 20 9 2 2 4 TGLO_SEL1 0 TGL1 SEL1 0 J15 14 22 21 9 2 2 5 RXENO SEL RXEN1_SEL J16 23 o 9 2 3 Clock Rate and Optional Registers o o o o oooo 10 2 3 1 Enable Scratchpad Register SPAD J2 10 2 3 2 Force High Speed UART Clock X2 X4 or X8 J3 J5 10 3 Hardware Installation mi 4 Address Map and Special Registers ra 4 1 Base Address and Interrupt Level IRQ 13 4 2 Enabling the Special Registers 000000005 14 4 3 Interrupt Status Register Luna uaaa nnana 14 4 4 Quatech Modem Control Register o o o o o oooooooo 15 4 5 Options Register A A SER OS 16 4 5 1 Enhanced Serial Adapter Identification 16 4 5 2 Clock Rate Multiplier 00 0000 0000 aa 17 5 Windows Configuration ss re 5 1 Windows Millennium 5 aaa 18 5 2 Windows 2000 dere ht cr O Gna aeaaeae AE 19 5 9 WINDOWS 98 da ada beaten 20 5 4 Windows 1995 AAA OTE PA 21 SIMIO WSNT A AAA oye ees 22 5 6 Viewing Resources with Device Manager 23 5 6 1 Cha
2. DSC 200 300 Two Channel RS 422 485 Asynchronous Communications Adapter for PCI bus User s Manual QUATECH INC TEL 330 655 9000 5675 Hudson Industrial Parkway FAX 330 655 9010 Hudson Ohio 44236 http www quatech com WARRANTY INFORMATION 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 Any damage that results from improper installation operation or general misuse voids all warranty rights Please complete the following information and retain for your records Have this information available when requesting warranty service DATE OF PURCHASE MODEL NUMBER DSC 200 300 PRODUCT DESCRIPTION Two Channel RS 422 485 Asynchronous PCI Bus Communications Adapter SERIAL NUMBER O 1998 2006 Quatech Inc NOTICE 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 The authors have taken due care in the pre
3. 4 5 Options Register The Options Register allows software to identify the DSC 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 Bit Name Description 7 MSB ID1 ID bit 1 6 IDO ID bit 0 5 reserved 0 4 reserved 0 3 reserved 0 2 reserved 0 1 RRI Clock rate multiplier bit 1 0 RRO Clock rate multiplier bit O 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 Bit ID1 will return the logical AND of the values written to ID 1 0 while bit IDO will return their exclusive OR Software can thus identify a Quatech Enhanced Serial Adapter by writing the ID bits with the patterns shown in the write column of Figure 11 then reading the bits and comparing the result with the patterns in the read column Matching read patterns verify the presence of the Options Register Write Read IDI IDO IDI IDO 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 Figure 11 ID bit write read table Quatech DSC 200 300 User s Manual 16 4 5 2
4. O D 9 connector CN2 and CN3 Figure 23 DSC 200 300 output connectors Quatech DSC 200 300 User s Manual 38 8 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 PCI Vendor ID 0x135C Quatech Inc PCI Device ID 0x01B1 DSC 200 300 PCI Class Code Base class 0x07 Simple communications controller Subclass 0x02 Multiport serial controller Interface 0x00 IRQ sourced by INTA Base address 0 0x80 bytes memory Reserved region Base address 1 0x80 bytes I O Base address 2 0x10 bytes O Serial ports Port 1 at offset 0 Port 2 at offset 8 Quatech DSC 200 300 User s Manual 39 9 Specifications Bus interface PCI 32 bit bus Universal Signalling Voltage IBM compatible computers Dimensions approx 4 725 x 3 5 Serial ports Controller 16550 with 16 byte FIFOs Interface Two female D 9 connectors Transceivers MAX 3076E or compatible Differential output 2V min with 50 ohm load RS 422 1 5V min with 27 ohm load RS 485 Output rise fall time 15ns max Differential input threshold 0 2V min 0 05V max Input resistance Input current Power requirements 5 volts Temperature Humidity 96k ohm min 100 microAmps min 125 microAmps appro
5. Windows 95 automatically browses the root directory for an INF file that defines configurations for Multi function Adapters If no INF files are found click the Browse button and search the Win95 sub directory on the installation diskette You are not required to select the file name After finding the directory containing the INF files Windows 95 will choose the correct file 4 The New Hardware Found dialog box will appear again this time for an Unknown Device 5 Again select the radio button for Driver from CD provided by hardware manufacturer Click the OK button to continue 6 Another Install From CD dialog box will pop up The path should already be pointing to the Quatech CD Click the OK button to continue 7 You should now see the Copying Files dialog box as Windows 95 copies the driver files from the CD 8 The installation utility will ask for your Windows 95 installation disks Serial communication ports require two drivers supplied by Microsoft to function SERIAL VXD and SERIALUI DLL Insert the disk or CD and click OK NOTE You may be able to skip this step if you are certain that your system has the latest version of these files installed If you do not have your Windows 95 install disks immediately available click OK anyway A dialog box appears with an option to Skip the files Click the Skip button and the files will not be installed This is all right if the latest version of these drivers
6. 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 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 System Properties General Device Manager Hardware Profiles Pertarmance E View davicgs by type View devices by connection wy Mouse gt Multifunci n adapters O Quetech OSC 200 300 FCI Serial C pf Network adapters a Oher dewoes PCMCIA socket Parts COM amp LPT I Communications Part COM IF Communications Port ioy af Printer Port LPT1 af Quetech Serial Pod COME aff Quetech Serial Pod COME aff Quetech Serial Pod COM ff Quetech Seriel Pori COME X Sound video and game controllers FH m System devices Properties Redresh Remove Print Quatech DSC 200 300 User s Manual 23 Double click the device group Multi function Adapters 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 PCI Two Port RS 422 RS485 Serial Adapter Double click the DSC 200 300 name and a properties dialog should open for the hardware adapter Click the Resources tab located along the top of the properties box to view t
7. 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 Software can determine the UART clock frequency by reading the clock rate multiplier bits RR1 and RRO in the Options Register as shown in Figure 12 RR1 and RRO can be set by writing to the Options Register if the X2 X4 and X8 jumpers are all removed If one of these jumpers is applied the RR1 and RRO bits are forced to the appropriate value Reading the Options Register will always return the clock rate multiplier at which the board is operating Clock Rate UART Clock Maximum Data isa Multiplier Frequency Rate XI 0 0 default 1 8432 MHz 115 2 kbaud 0 1 X2 3 6864 MHz 230 4 kbaud 1 0 X4 7 3728 MHz 460 8 kbaud 1 1 X8 14 7456 MHz 921 6 kbaud Figure 12 Rate Register bit definition At powerup and reset the Options Register is initialized to 0 The DSC 200 300 will thus powerup in the x1 mode with software control of the clock rate multiplier enabled as long as the X2 X4 and X8 jumpers are not installed Software can control high baud rates through a combination of changing the clock rate multiplier and the UART baud rate divisor For example a baud rate of 230 4 kbps could be achieved by
8. are currently in the WINDOWS SYSTEM directory 9 The New Hardware Found dialog will repeat as each serial port is registered with Windows 95 10 Installation is complete 5 5 Windows NT The Windows NT device driver is installed by running the SETUP program Up to 256 serial ports are supported There is a command line based configuration utility which is used for adding PCI bus and ISA bus serial ports Please refer to the documentation included with the device driver for full installation and configuration details Quatech DSC 200 300 User s Manual 22 5 6 Viewing Resources with Device Manager This discussion applies equally to Windows 95 98 ME and 2000 XP Windows maintains a registry of all known hardware installed within the computer Inside this hardware registry Windows keeps track of all the computer s resources such as base I O addresses IRQ levels and DMA channels In the case of a PCI plug in card Windows configures the new hardware using free resources it finds within the hardware registry and updates the registry automatically To view and or edit hardware devices in Windows use the system Device Manager Consult Windows on line help for details on the use of the Device Manager The following instructions provide step by step instructions on viewing resources used by the DSC 200 300 in Windows using the Device Manager utility Select StartlHelp from within Windows for additional information on this utility
9. s RTS signal is asserted If neither of these jumpers is applied the drivers remain enabled at all times When disabled the transmit drivers enter a high impedance state The receivers can be controlled by the inverse of the transmit enable If a jumper is applied between pins 1 and 2 of jumper block J16 the receivers for RxD and AUXIN will be disabled when the transmit drivers are enabled and vice versa based on the DTR or RTS connections on pins 1 2 of J14 and J15 To operate in half duplex DTR mode apply jumpers between pins and 2 of jumper blocks J14 and J16 To operate in half duplex RTS mode apply jumpers between pins 1 and 2 of jumper blocks J15 and J16 To operate in full duplex mode leave the jumpers in their factory default locations installed in the spare locations of 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 35 WARNING When operating in half duplex mode the transmitter drivers must be disabled before receiving any data Failure to do so may result in multiple active output drivers being connected together which may cause damage to the board the computer and the external device Jumpers J14 16 J14 TGLO_SELO J15 TGLO SEL1 Half Duplex DTR Operation J16 RXENO_SEL J14 QO T
10. 11 13 J11 AUXO_SELO 313 O RCLKO_SEL OO J12 AUXO SEL1 313 O RCLKO_SEL Loopback TCLK to RCLK Transmit TCLK on AUXOUT Figure 18 TCLK selection Quatech DSC 200 300 User s Manual 34 7 4 AUXIN AUXOUT Loopback The AUXIN signal is an input from the external device and connecting it to the AUXOUT signal provides for a loopback mode of operation In other words whatever signal is transmitted by the external device over the AUXIN line will be fed back to the external device over the AUXOUT line This mode is accomplished by connecting pins and 2 of the jumper blocks J11 and J12 Figure 19 shows how to select this loopback mode Jumpers J11 13 J11 AUXO_SELO J12 AUXO_SEL1 J13 O O RCLKO SEL Loopback AUXOUT to AUXIN Figure 19 AUXIN AUXOUT loopback 7 5 Half Duplex Full Duplex Auto Toggle Selection Using jumper blocks J14 thru J16 the transmitters and receivers of each channel can be enabled and disabled by modem control signals This allows operation in both half duplex full duplex or Auto Toggle modes The transmit drivers can be controlled by either the Data Terminal Ready DTR or the Request to Send RTS output from the UART If a jumper is applied between pins 1 and 2 of jumper block J14 the drivers are enabled for TxD and AUXOUT when the UART s DTR signal is asserted If a jumper is applied between pins 1 and 2 of jumper block J15 the drivers are enabled for TxD and AUXOUT when the UART
11. 200 300 User s Manual 31 Figure 14 shows the Expert Mode display for the DSC 200 300 after the Q key has been pressed The information from the Basic Mode display is presented along with more details such as the 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 For users interested in even more details PCI BIOS information can be displayed by pressing the B key Pressing the I key displays thePCI interrupt routing table Quatech PC Configuration Information Display Roftwara Darszion 1 40 mitech PEI adaptera detected D5C 264 3848 Tuo port KE 4A224485 adapter Vendor ID Mide Device ID BBB foam in alot Had am bus 100 Devwice Punccion code 4 98 Hevision Ib Bol Hardware Revision Ai PGI Glass Code BEBA Communications controller miltiport aerial Eubsyaten Vendor ID ml3be fubayaten 1b Bese IHTAS mapped to RQ 3 route Hebi Eroe addr gt HxFcBH Lo Beh bytes allocated Hace addr 1 Haffa 1 0 Bulb bres allocated Guatech PCI adapters Change to Basic Mode Gther PEI devdoes A PC BIOS details i EXIT Interrupt routing details Figure 14 QTPCI EXE Expert Mode display Quatech DSC 200 300 User s Manual 32 7 External Connections The DSC 200 300 provides four differential communication
12. GLo_SELo J15 TGLO SEL1 Half Duplex RTS Operation J16 RXENO_SEL J14 O O TGLO_SELO N5 Q TGLo_SEL1 Full Duplex Operation J16 QO RXENO_SEL J14 TGLO_SELO J15 TGLO_SEL1 Auto Toggle Operation J16 QO RXENO_SEL Figure 20 Half full duplex and Auto Toggle selection Quatech DSC 200 300 User s Manual 36 7 6 Termination Resistors No termination resistors are provided on the 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 lt RS 422 485 Receiver AUXIN AUXIN Recommended Termination Resistor V alues RS 422 RS 485 100 ohm 1 2W resistor 60 ohms total resistance 120 ohms at each end Figure 21 RS 422 485 Termination Quatech DSC 200 300 User s Manual 37 7 7 RS 422 485 Peripheral Connection The DSC 200 300 is a DTE device which connects to peripheral equipment through two female D 9 connectors The standard serial port connections are listed in Figure 22 7 8 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 SignalDescription D 9 Connector Pin TxD 2 TxD RxD RxD AUXOUT AUXOUT AUXIN AUXIN GND VID UN oI AJN Figure 22 DSC 200 300 connector definitions 0g Oo O
13. IN routed to Loopback All AUXOUT and TCLK routed to RCLK Quatech DSC 200 300 User s Manual 27 Used when external handshaking or clocking signals are not available RTS routed to AUXOUT AUXIN routed to CTS and TCLK routed to MA 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 Receive Control Always Receive Receivers are always enabled In a Half Duplex mode you will receive what you transmit sometimes called echo When NOT Tranmitting Receivers are only enabled when not transmitting In a Half Duplex mode you will not receive what you transmit RS 422 485 Duplex Mode Full Duplex Transmitters and receivers are always enabled ports can send and receive simultaneously Used in four wire communication Half Duplex using RTS RTS is set to enable the transmitters Used in two wire communication Half Duplex using DTR DTR is set to enable the transmitters Used in two wire communication Auto Toggle Hardware automatically enables the transmitters when transmitting Transmitters will turn off three bit times after the last stop bit of the last character regardless of baud rate Used in two wire communication 8 To summarize the RS 422 485 out
14. Product Series Summary Quatech DSC 200 300 User s Manual 6 2 Hardware Configuration The DSC 200 300 is automatically configured at boot time by the computer s BIOS or operating system There are no required switches or jumpers to set for installation This chapter lists a number of optional jumper settings that control various hardware features These jumpers located in a column at the end of the board opposite the D type connectors control how signals are routed from the UARTs to the connector as well as full or half duplex operation and special options Any changes from the factory default should be made before installing the DSC 200 300 in the computer 2 1 Signal Connections The DSC 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 The factory default configuration as shown in Figure 2 is a loopback of AUXOUT to AUXIN at the connector with RTS and CTS looped back on the board There is an extensive discussion of this topic in section 7 2 2 Full duplex Half duplex Operation The DTR or RTS modem control output of the UART can be used to enable and disable the transmit drivers The inverse of these signals can also be used to enable and disable the receivers These options are selectable per channel Th
15. The hardware drivers lock the clock to the standard rate The port will run at the baud rate requested by the application X2 230 400 The X2 clock mode locks the ports hardware clock at double the standard rate The baud rate the port runs at will always be double the rate requested by the applications This mode is useful for legacy applicattions which cannot request baud rates over 115 200 X4 460 800 Quatech DSC 200 300 User s Manual The X4 clock mode locks the ports hardware clock at four times the standard rate The baud rate the port runs at will always be four times the rate requested by 26 the application This mode is useful for legacy applications which cannot request baud rates over 115 200 The X8 clock mode locks the ports hardware clock at eight times the standard rate The baud rate the port x8 921 600 S at will always be eight times the rate requested by the application This mode is useful for legacy applications which cannot request baud rates over 115 200 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 Quatech DSP 200 300 PCMCIA Two Port RS 422 485 Serial Ada RS 422 485 Connector Setup RTS routed to CTS AUX
16. The DSC 200 300 signals a hardware interrupt when either port requires service 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 DOS software utility for manually determining the resources used See page 31 for details Quatech DSC 200 300 User s Manual 13 4 2 Enabling the Special Registers The DSC 200 300 contains two unique registers an Interrupt Status Register and an Options Register These registers are enabled when the SPAD jumper 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 either UART The DLAB bit of the UART Line Control Register bit 7 is used to select between the two registers The most recent write of a DLAB bit in either UART selects between the two registers as shown in Figure 8 Register selected for DLAB Bit SPAD Jumper address 7 accesses 0 removed Interrupt Status Register 1 removed Options Register X applied Scratchpad Registers Figure 8 DLAB bit selects between special registers 4 3 Interrupt Status Register The read only Interru
17. cket ORB screw 5 Replace the system cover according to the instructions provided by the computer manufacturer 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 Figure 6 Jumper connector locations Quatech DSC 200 300 User s Manual 12 4 Address Map and Special Registers This chapter explains how the two UARTs and special registers are addressed as well as the layout of those registers This material will be of interest to programmers writing driver software for the DSC 200 300 4 1 Base Address and Interrupt Level IRQ The base address and IRQ used by the DSC 200 300 are determined by the BIOS or operating system Each serial port uses 8 consecutive I O locations The two ports reside in a single block of I O space in eight byte increments along with a sixteen byte reserved region for a total of 32 contiguous bytes as shown in Figure 7 Port VO Address Range Serial 1 Base Address 0 to Base Address 7 Serial 2 Base Address 8 to Base Address 15 Figure 7 Port Address Map Both serial ports share the same IRQ
18. connector to test the port This connector needs to connect the following sets of signals on a D 9 connector TxD and RxD pins 2 and 4 TxD and RxD pins 7 and 8 AuxOut and AuxIn pins 1 and 5 AuxOut and AuxIn pins 6 and 9 Quatech DSC 200 300 User s Manual 41 DSC 200 300 User s Manual Revision 1 12 November 2006 940 0145 112 Quatech DSC 200 300 User s Manual 42
19. e factory default as shown in Figure 2 is for both the drivers and receivers of both channels to be continuously enabled Spare jumpers are installed in neutral positions 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 7 Jumpers J10 J23 define the options for this card saD OO 42 43 J4 a al J10 O O O O O O O Ja O O O O O O O O C c sS w N a C ah mah O al a _ N Ca qe mak O 00 qc N o 0 8 0019 01018 6 018 0 0 9 C hw part OO OO X8 X4 X2 CTSO_SEL AUX0_SELO AUXO_SEL1 RCLKO_SEL TGLO_SELO TGLO_SEL1 RXENO_SEL CTS1_SEL AUX1_SELO AUX1_SEL1 RCLK1_SEL TGL1_SELO TGL1_SEL1 RXEN1_SEL Figure 2 Right Card Edge Jumpers Quatech DSC 200 300 User s Manual 2 2 1 CTS0 SEL CTS1_SEL 310 17 With NO jumpers on J10 or J17 the mode selection is CTS AUXIN With Jumpers installed the mode selection is CTS RTS 2 2 2 AUXO 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 Jumpers installed on J12 J11 or J19 J18 the mode selection is AUXOUT AUXIN 2 2 3 RCLKO_SEL RCLK1_SEL J13 20 Wi
20. er Inside this hardware registry Windows 95 keeps track of all of your system resources such as I O locations IRQ levels and DMA channels The Add New Hardware Wizard utility in Windows 95 was designed to add new hardware and update this registry An INF configuration file is included with the DSC 200 300 to allow easy configuration in the Windows 95 environment Also a custom Windows 95 serial device driver is included with the DSC 200 300 to support the use of the 16550 UART s 64 byte FIFO Windows 95 uses the INF file to determine the system resources required by the DSC 200 300 searches for available resources to fill the boards requirements and then updates the hardware registry with an entry that allocates these resources The following instructions provide step by step instructions on installing the 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 Quatech DSC 200 300 User s Manual 21 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
21. he resources Windows has allocated for Input Output Range and Interrupt Request Because PCT is a true plug and play bus do not attempt to modify the configuration values listed Click Cancel to exit without making changes 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 Windows 95 does not assign COM1 COMA to ports addressed at nonstandard locations So in Windows 95 the DSC 200 300 ports will be enumerated starting with COMS or higher even if lower logical numbers are available 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 Then click the Resources tab to view the Input Output Range and Interrupt Request resource allocations These will match those of the parent device Click Cancel to exit without making changes Click the Port Settings tab and then click the Advanced button The DSC 200 300 driver will display a custom Advanced Port Settings control which allows the ports UART compatibility mode and FIFO threshold levels to be configured The threshold values of full scale for the transmit buffer and 34 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 independen
22. ing pins and 2 of the jumper block J10 If RTS CTS handshaking is not desired the 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 Jumpers J10 12 Jo QO erso seL J10 CTSO_SEL J QO AUX0_SELO J1 O O AUXO_SELO J2 Q O AUXO_SEL1 J2 Q O AUXO_SEL1 Transmit RTS on AUXOUT Loopback RTS to CTS Receive CTS on AUXIN Figure 16 RTS CTS selection Quatech DSC 200 300 User s Manual 33 7 2 RCLK This is the clock signal used by the receiver portion of the UART It is generally provided by connecting it to the UART s own transmit clock output TCLK This is done by not connecting pins and 2 of the jumper block J13 If desired RCLK can be received from an external source over the AUXIN line by connecting pins 1 and 2 of the jumper block J13 Figure 17 shows how to select the RCLK mode Jumper J13 J13 O O RCLKO_SEL J13 RCLKO_ SEL Loopback TCLK to RCLK Receive RCLK on AUXIN Figure 17 RCLK selection 7 3 TCLK 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 not connecting pins 1 and 2 of the jumper block J13 If desired TCLK can be transmitted to an external source over the AUXOUT line by connecting pins 1 and 2 of the jumper block J12 Figure 18 shows how to select the TCLK mode Jumpers J
23. ion information The PCI BIOS specification can be obtained from the PCI Special Interest Group Contact Quatech technical support for more information Quatech DSC 200 300 User s Manual 30 6 2 1 QTPCIEXE Quatech s QTPCI utility supplies the information required when modifying the serial port settings of the application This program should be run from real DOS not in a Windows DOS box Figure 13 shows the Basic Mode display for the DSC 200 300 after the Q key has been pressed In this example the DSC 200 300 uses I O base address FFAO 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 The QTPCI program is capable only of displaying the PCI configuration It cannot be used to make changes Quatech PC Configuration Information Display Software Version 1 08 IME TRUCT DOME Preis heys listed in the asenu at the bottom of the screen This program only displays information It cannot make changes Minbers precceded by Hex are heradecinal PEI BLOG detected version 2 18 Quatech PCI adapters detected DEC ZHA PAA Teo port RE 4273 485 adapter Harduare Revision A1 Msez IRQ 3 Hace addr i Axf fa T0 Quatech POL adaptera A Change ta Expert Meili ri H Ocher PC devices a EXIT Figure 13 QTPCI EXE Basic Mode display Quatech DSC
24. nging Resource Settings with Device Manager 25 6 Other Operating Systems ais CLOS a pb sates add dle o UST acne a 30 6 2 DOS and other operating systems nnana anaa 30 G27 OTPOLEXD sonora tocaba 31 7 External Connections a 7 1 RTS cts Handshake 0 NAAN ANAN BAGA 33 KAN a AA 34 TERA LO PAA AA PO KA MAPAG ANAY 34 7 4 AUXIN AUXOUT Loopback 002022200 a 35 7 5 Half Duplex Full Duplex Auto Toggle Selection 35 7 6 Termination Resistors 2 02 37 7 7 RS 422 485 Peripheral Connection 0 38 7 8 RS 422 485 Peripheral Connection 0 005 38 8 PCI Resource Map ME 9 Sp eeifications 40 10 Troubleshooting a Quatech DSC 200 300 User s Manual 4 1 General Information The Quatech Inc DSC 200 300 provides two RS 422 or RS 485 asynchronous serial communication interfaces for IBM compatible personal computer systems using the PCI expansion bus 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 As a PCI device the DSC 200 300 requires no hardware configuration The card is automatically configured by the computer s BIOS or operating system The two serial ports share a single interrupt line and are addressed in a contiguous block of 32 bytes A special interrupt status regis
25. oard 6 1 0S 2 The OS 2 device driver supports up to 32 serial ports in a system Installation is a manual but simple process Please refer to the documentation included with the device driver for full installation and configuration details 6 2 DOS and other operating systems The DSC 200 300 is not a direct drop in replacement for a legacy serial port because its base address and IRQ cannot be fixed at values such as 3F8 hex IRQ 4 COM1 or 2F8 hex IRQ 3 COM2 etc Rather the system BIOS assigns the address and the IRQ in a plug and play fashion at boot time Software which is to use the DSC 200 300 must be able to accommodate any valid assignments of these resources For Windows 95 Windows NT and OS 2 the Quatech device drivers determine what the resource assignments are and proceed accordingly In other cases however the user must intervene The discussion below will center on DOS but the concepts can be applied to other operating systems as well Many DOS applications support user configuration of the base address and IRQ of a serial port Such applications can generally make use of the DSC 200 300 Older applications as well as some custom software may use hard coded standard legacy serial port addresses These applications will require modifications to support PCI devices Custom applications for which the customer has source code can be modified to make just a few PCI BIOS function calls to obtain all the necessary configurat
26. paration 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 Quatech Inc encourages feedback about this document Please send any written comments to the Technical Support department at the address listed on the cover page of this document DOS Windows ME Windows 2000 Windows 98 Windows 95 Windows NT are trademarks or registered trademarks of Microsoft Corporation OS 2 is a registered trademark of IBM Corporation All other trademarks or registered trademarks are property of their respective owners Declaration of Conformity Manufacturer s Name Manufacturer s Address Application of Council Directive Standards to which Conformity is Declared Type of Equipment Equipment Class Product Name Model Number Quatech Inc 5675 Hudson Industrial Parkway Hudson Ohio 44236 USA 89 336 EEC ENS0081 1 EN55022 EN60555 2 EN60555 3 EN50082 1 IEC 801 2 IEC 801 3 amp IEC 801 4 Information Technology Equipment Commercial Residential amp Light Industrial PCI Dual Serial Communications Card DSC 200 300 IND NE A A nA cd 5 DR F atures A o dad 6 1 1 1 IND Option Surge Suppression Upgrade
27. pt Status Register can be used to quickly identify which serial ports require servicing after an interrupt Reading the Interrupt Status Register will return the interrupt status of the entire 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 Bit Description 7 MSB 0 not used 6 0 not used 5 0 not used A 0 not used 3 0 not used 2 0 not used 1 Port 2 1 if interrupt pending 0 Port 1 1 if interrupt pending Figure 9 Interrupt Status Register Quatech DSC 200 300 User s Manual 14 4 4 Quatech Modem Control Register The Quatech Modem Control Register can be used to setup each port To access the QMCR write a OxBF 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 Bit Description 7 MSB 0 always 0 6 0 always 0 5 0 RXEN 1 1 RXEN TXEN 4 0 Bits 2 and 3 are used 1 RCLK TCLK CTS RTS AUXOUT AUXIN 3 0 RCLK TCLK CTS AUXIN 1 RCLK AUXIN CTS RTS 2 0 AUXOUT RTS 1 AUXOUT TCLK 1 0 00 TXEN Auto 01 TXEN DTR 10 TXEN RTS 11 TXEN TOGGLES DURING X MIT Figure 9a Quatech Modem Control Register Quatech DSC 200 300 User s Manual
28. put drivers enable options The DSC 200 300 s ports may be configured for either full duplex or half duplex operation with this option The default setting is 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 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 28 9 Click the Port Settings tab and then click the Advanced button The DSC 200 300 driver will display a custom Advanced Port Settings control which allows the ports UART compatibility mode and FIFO threshold levels to be configured The threshold values of full scale for the transmit buffer and 34 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 Advanced Port Settings a Quatech DSC 200 300 User s Manual 29 6 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 b
29. rowse 3 The following dialog box will display the appropriate INF file on the CD in drive Click the OK button 4 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 19 5 3 Windows 98 1 After inserting a DSC 200 300 for the first time the Add New Hardware Wizard will appear at start up Click the Next button 2 Select Search for the best driver for you device Click the Next button Add New Hardware Wizard 3 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 20 Add New Hardware Wizard Windows vall search for new drivers in its driver database on your hard drive and in any of the following selected locations Click Next to start the search T Floppy disk drives Iv CD ROM drive T Microsoft Windows Update I Specify a location Jos Browse Carcel 4 The following dialog box will display the appropriate INF file on the diskette in drive Click the Next button 5 Window will copy the INF file from the diskette and display a final dialog indication that the process is complete Click the Finish button 5 4 Windows 1995 Windows 95 maintains a registry of all known hardware installed in your comput
30. rs 2 3 2 Force High Speed UART Clock X2 X4 or X8 J3 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 It is also useful if the serial port device driver does not directly support setting the higher baud rates through the Options Register see section 4 5 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 10 The factory default is none of these jumpers applied which allows for software control of the clock multiplier via the 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 X8 mode X2 mode Quatech DSC 200 300 User s Manual 11 3 Hardware Installation 1 Turn off the power of the computer system in which the DSC 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 Install the DSC 200 300 in any empty PCI expansion slot The board should be secured by installing the Option Retaining Bra
31. setting the clock rate multiplier to X2 mode or by applying the X2 jumper and setting a software application for 115 2 kbps Quatech DSC 200 300 User s Manual 17 5 Windows Configuration 5 1 Windows Millennium 1 After inserting the DSC 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 Add New Hardware Wizard 2 Window will locate the proper INF file and copy the file from the CD Click the Next button 3 The final dialog screen will verify the file copy from the CD Click the Finish button Quatech DSC 200 300 User s Manual 18 5 2 Windows 2000 1 After inserting a DSC 200 300 for the first time the Add New Hardware Wizard will appear at start up Click the OK button Please insert the Compact Disc labeled Duatech PCI PCMCIA Multiport Serial Driver Installation Disk into your CD ROM drive H and then click OK You can also click OK if you want files to be copied from an alternate location such as a floppy disk or a network server 2 The following dialog box insert the Communications Driver CD shipped with the device Click the OK button Li x The file qserfilt sys on Quatech PCI PCMCIA Multiport E Serial Driver Installation Disk is needed Cancel Type the path where the file is located and then click OK Copy files from B
32. signals per channel The two output signals are Transmit Data TxD and Auxiliary Output AUXOUT The two input signals are Receive Data RxD and Auxiliary Input AUXIN A ground signal is also provided The available input signals for AUXIN are Clear To Send CTS and the Receive Clock RCLK The available output signals for AUXOUT are Request To Send RTS the Transmit Clock TCLK and the AUXIN signal for loopback Either half duplex or full duplex operation can be selected for each communications channel Auto Toggle is also jumper selectable If half duplex operation is selected one of the UART s signals either DTR or RTS is used to enable the transmitter drivers The inverse of the transmitter enable can be used to enable the receiver drivers Configuration is done using jumpers J10 through J23 for interface signal routing Each jumper block provides the same functions for its particular channel All below examples are for Channel 1 Channel 2 is the same but different sets of jumpers See Figure 15 for Channel 2 jumpers Channel Signal routing Port 1 J10 16 Port 2 J17 23 Figure 15 Jumper Channel correspondence 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 not connecting pins 1 and 2 of the jumper blocks J11 12 CTS is received on AUXIN by not connect
33. ter is provided to help software to manage the shared interrupt The DSC 200 300 s serial ports use 16550 Universal Asynchronous Receiver Transmitters UARTs These UARTs contain hardware buffers FIFOs which reduce processing overhead and allow higher data rates to be achieved The 16550 contains a 16 byte FIFO and can transmit and receive data at a rate of up to 921 600 bits per second The 16550 is recommended for heavy multitasking environments and for applications involving high data rates The DSC 200 300 is supported under several popular operating systems and environments Contact the sales department for details on current software offerings Most device drivers are available for download from the Quatech world wide web site at http www quatech com Quatech DSC 200 300 User s Manual 5 1 1 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 option provides the protection essential for reliable use in an industrial environment Each communication line has a surge suppressor capable of sustaining up to 40A 20us peak transient surges a clamping voltage of 30V and a peak energy dissipation of 0 1 Joules IND Option DSC 200 300 DSC 200 300IND Figure 1 DSC 200 300
34. th 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 2 4 TGLO_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 With Jumpers installed on J15 or J22 and NO jumpers on J14 or J21 the mode selection is TXEN RTS With Jumpers installed on J15 J14 or J22 J21 the mode selection is TXEN Auto Toggle 2 2 5 RXENO_SEL RXENI 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 2 3 Clock Rate and Optional Registers Figure 3 shows the jumper configuration as shipped from the factory with two spare jumpers applied in neutral positions Remove one or both and apply as shown in following subsections to set optional features Figure 3 Factory default clock rate and options settings 2 3 1 Enable Scratchpad Register SPAD J2 In the default configuration an Interrupt Status Register and an Options Register see page 15 replace the scratchpad base address 7 of each UART If the SPAD jumper is applied as in Figure 4 the UART scratchpad registers are enabled and the Interrupt Status Register and the Options Register are not available Figure 4 Enable scratchpad registe
35. tly Quatech DSC 200 300 User s Manual 24 Advanced Port Settings a E Use the Logical COM Port names to access the serial ports on your DSC 200 300 through your software applications Note The Logical COM Port name is assigned to your ports by Windows This name is required by Windows applications when accessing a particular port 5 6 1 Changing Resource Settings with Device Manager 1 2 Start the Windows 95 98 ME Device Manager Double click on the hardware class Multi Port Serial Adapters to list hardware devices in the class 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 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 Open the Properties dialog for the DSC 200 300 device then click the Advanced tab to view the clock rate settings Quatech DSC 200 300 User s Manual 25 Quatech DSP 200 300 PCMCIA Two Port RS 422 485 Serial Ada KIE Data Rate Multiplier Clock Mode Max bps Description Auto 921 600 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 XI 115 200 The X1 clock mode mimics a standard COM port
36. x 250 mA operating 0 to 70 storage 50 to 80 10 to 90 Quatech DSC 200 300 User s Manual 40 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 1 3 Is the DSC 200 300 properly inserted Remove the card and try again Perhaps try a different expansion slot Ensure that an ISA bus card is not using the same IRQ that the PCI BIOS tries to assign to the DSC 200 300 Most computers have BIOS setup options to reserve IRQs for either ISA or PCI use Try reserving the IRQ for the ISA card The BIOS will automatically choose a different IRQ for the DSC 200 300 An address conflict is unlikely because most PCI based computers will assign I O addresses in such a way that they cannot conflict with ISA bus devices The DSC 200 300 may be defective Contact technical support for instructions Cannot communicate with other equipment i 2 Are the cable connections correct Are the cables securely attached Is the software configured with the correct base address and IRQ information for the DSC 200 300 This is mainly a DOS issue Is the device driver installed If you are trying to communicate with another DTE a null modem cable will be required If possible use a loopback

Download Pdf Manuals

image

Related Search

Related Contents

NITROCAT 1355-XL Installation Guide  AWZ 508 PK2 - Modern Alarm Kft.    Reason Essentials を Propellerhead Balance で  courrier de mobilisation - La Semaine de la solidarité internationale  Stage 1000 - 1600 - Music Electronics Forum  worksheet - ADAS-EU  P INT SPY INT P SPY  König CSAC100  OEC 7700 Service Setup Preview with B345  

Copyright © All rights reserved.
Failed to retrieve file