background image

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

Summary of Contents for DSC-200

Page 1: ...00 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 ...

Page 2: ...he 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 Asynchro...

Page 3: ... made to ensure its accuracy and completeness In no event willQuatech 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 Sup...

Page 4: ...ation of Council Directive 89 336 EEC Standards to which Conformity is Declared 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 Product Name PCI Dual Serial Communications Card Model Number DSC 200 300 IND ...

Page 5: ... Enabling the Special Registers 13 4 1 Base Address and Interrupt Level IRQ 13 4 Address Map and Special Registers 12 3 Hardware Installation 10 2 3 2 Force High Speed UART Clock X2 X4 or X8 J3 J5 10 2 3 1 Enable Scratchpad Register SPAD J2 10 2 3 Clock Rate and Optional Registers 9 2 2 5 RXEN0_SEL RXEN1_SEL J16 23 9 2 2 4 TGL0_SEL1 0 TGL1_SEL1 0 J15 14 22 21 9 2 2 3 RCLK0_SEL RCLK1_SEL J13 20 9 2...

Page 6: ...RS 422 485 Peripheral Connection 37 7 6 Termination Resistors 35 7 5 Half Duplex Full Duplex Auto Toggle Selection 35 7 4 AUXIN AUXOUT Loopback 34 7 3 TCLK 34 7 2 RCLK 33 7 1 RTS cts Handshake 33 7 External Connections 31 6 2 1 QTPCI EXE 30 6 2 DOS and other operating systems Quatech DSC 200 300 User s Manual 4 ...

Page 7: ...a contiguous block of 32 bytes A special interrupt status register 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...

Page 8: ...ades 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 yes DSC 200 300IND no DSC 200 300 IND Option Part Number Figure 1 DSC 200 300 Pro...

Page 9: ...nd 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 c...

Page 10: ...TS0_SEL AUX0_SEL0 AUX0_SEL1 J10 J11 J12 RCLK0_SEL TGL0_SEL0 TGL0_SEL1 J13 J14 J15 RXEN0_SEL CTS1_SEL AUX1_SEL0 J16 J17 J18 AUX1_SEL1 RCLK1_SEL TGL1_SEL0 J19 J20 J21 TGL1_SEL1 RXEN1_SEL J22 J23 SPAD J2 Figure 2 Right Card Edge Jumpers Quatech DSC 200 300 User s Manual 8 ...

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

Page 12: ... the Interrupt Status Register and the Options Register are not available X8 X4 X2 J3 J4 J5 J2 SPAD Figure 4 Enable scratchpad registers 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 ...

Page 13: ...tions 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 X4 X2 J3 J4 J5 J2 SPAD Factory defaults X8 X4 X2 J3 J4 J5 J2 SPAD X8 mode X8 X4 X2 J3 J4 J5 J2 SPAD X4 mode X8 X4 X2 J3 J4 J5 J2 SPAD X2 mode Quatech DSC 200 300 User s Manual 11 ...

Page 14: ...00 in any empty PCI expansion slot The board should be secured by installing the Option Retaining Bracket 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 Serial Port 2 Seri...

Page 15: ...otal of 32 contiguous bytes as shown in Figure 7 Base Address 8 to Base Address 15 Serial 2 Base Address 0 to Base Address 7 Serial 1 I O Address Range Port Figure 7 Port Address Map Both serial ports share the same IRQ 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 t...

Page 16: ...r removed 1 Interrupt Status Register removed 0 Register selected for address 7 accesses SPAD Jumper DLAB Bit Figure 8 DLAB bit selects between special registers 4 3 Interrupt Status Register The read only Interrupt 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 en...

Page 17: ...te access to the QMCR The QMCR of the entire DSC 200 300 is shown in Figure 9a 00 TXEN Auto 01 TXEN DTR 10 TXEN RTS 11 TXEN TOGGLES DURING X MIT 1 0 0 AUXOUT RTS 1 AUXOUT TCLK 2 0 RCLK TCLK CTS AUXIN 1 RCLK AUXIN CTS RTS 3 0 Bits 2 and 3 are used 1 RCLK TCLK CTS RTS AUXOUT AUXIN 4 0 RXEN 1 1 RXEN TXEN 5 0 always 0 6 0 always 0 7 MSB Description Bit Figure 9a Quatech Modem Control Register Quatech ...

Page 18: ...on 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 ID0 will return their exclusive OR Software can thus identify a Quatech Enhanced Serial Adapte...

Page 19: ...ter will always return the clock rate multiplier at which the board is operating 921 6 kbaud 14 7456 MHz X8 1 1 460 8 kbaud 7 3728 MHz X4 0 1 230 4 kbaud 3 6864 MHz X2 1 0 115 2 kbaud 1 8432 MHz X1 default 0 0 Maximum Data Rate UART Clock Frequency Clock Rate Multiplier RR0 RR1 Figure 12 Rate Register bit definition At powerup and reset the Options Register is initialized to 0 The DSC 200 300 will...

Page 20: ... Select Search for the best driver for your device Check the Removable media and Specify location box Click the Next button 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 theCD Click the Finish button Quatech DSC 200 300 User s Manual 18 ...

Page 21: ...box insert the Communications Driver CD shipped with the device Click the OK button 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 ...

Page 22: ...ar at start up Click the Next button 2 Select Search for the best driver for you device Click the Next button 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 ...

Page 23: ...0 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 theDSC 200 300 searches for available resources to fill the boards requirements and then updates the hardware registry with an entry t...

Page 24: ... 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 ...

Page 25: ...vice 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 Start Help from within Windows for additional information on this utility 1 Double click the System icon inside the Control Panel folder This opens up the S...

Page 26: ...at nonstandard locations So in Windows 95 the DSC 200 300 ports will be enumerated starting with COM5 or higher even if lower logical numbers are available 7 Select any of the Quatech Serial Ports listed under the group Port COM and LPT and click the Properties button This action opens a properties dialog for the specific COM port on the DSC 200 300 Then click the Resources tab to view the Input O...

Page 27: ...e click on the hardware class Multi Port Serial Adapters to list hardware devices in the class 3 The DSC 200 300 parent device belongs to this hardware class The full device name for the DSC 200 300 is Quatech DSC 200 300 Two Port RS 422 485 Serial Adapter 4 Open the Properties dialog for the DSC 200 300 device then click the Resources tab to view the Input Output Range and Interrupt Request resou...

Page 28: ... mode is useful for legacy applicattions which cannot request baud rates over 115 200 230 400 X2 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 115 200 X1 Auto clock mode enables applications to request any baud rate up to 921 600 The hardware drivers will select the correct clock...

Page 29: ...n 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 RTS routed to CTS AUXIN routed to AUXOUT and TC...

Page 30: ... Control RTS routed to CTS AUXIN routed to RCLK and TCLK routed to AUXOUT Used to connect ports transmitting at different baud rates In order to function all ports must have and use this feature Clocks RTS routed to AUXOUT AUXIN routed to CTS and TCLK routed to RCLK Used when RTS CTS handshaking is required Modem Control Used when external handshaking or clocking signals are not available 8 To sum...

Page 31: ...ich allows the ports UART compatibility mode and FIFO threshold levels to be configured The threshold values of full scale for the transmit buffer and scale for the receive buffer are optimal for most applications Note that the FIFO option for each of the DSC 200 300 s two ports is configured independently Quatech DSC 200 300 User s Manual 29 ...

Page 32: ...e 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 appl...

Page 33: ...as been pressed In this example the DSC 200 300 uses I O base address FFA0 hex and IRQ 3 The hardware revision of the DSC 200 300 is also displayed Pressing the N key will show similar information for all non Quatech PCI devices in the system including those devices integrated on the motherboard The QTPCI program is capable only of displaying the PCI configuration It cannot be used to make changes...

Page 34: ...egions 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 Baseaddr 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 Figure 14 QTPCI EXE Expert ...

Page 35: ... 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 J17 23 Port 2 J10 16 Port 1 Signal routing Channel Figure 15 Jumper Channel correspondence 7 1 RTS CTS Handshake Transmission of RTS combined with reception of CTS allo...

Page 36: ...UXIN Jumper J13 RCLK0_SEL J13 RCLK0_SEL J13 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 t...

Page 37: ...d 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 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 t...

Page 38: ...e to the board the computer and the external device Full Duplex Operation Half Duplex DTR Operation Half Duplex RTS Operation Jumpers J14 16 TGL0_SEL0 TGL0_SEL1 J14 J15 RXEN0_SEL J16 TGL0_SEL0 TGL0_SEL1 J14 J15 RXEN0_SEL J16 TGL0_SEL0 TGL0_SEL1 J14 J15 RXEN0_SEL J16 Auto Toggle Operation TGL0_SEL0 TGL0_SEL1 J14 J15 RXEN0_SEL J16 Figure 20 Half full duplex and Auto Toggle selection Quatech DSC 200 ...

Page 39: ...external connector Any termination which is required must be added externally RS 422 485 Receiver Rt RXD RXD RS 422 485 Receiver Rt AUXIN AUXIN RS 422 100 ohm 1 2W resistor RS 485 60 ohms total resistance 120 ohms at each end Recommended Termination Resistor Values Figure 21 RS 422 485 Termination Quatech DSC 200 300 User s Manual 37 ...

Page 40: ...eral 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 3 GND 9 AUXIN 5 AUXIN 6 AUXOUT 1 AUXOUT 8 RxD 4 RxD 7 TxD 2 TxD D 9 Connector Pin SignalDescription Figure 22 DSC 200 300 connector definitions 1 2 3 4 5 6 7 8 9 D 9 connector CN2 and CN3 Figure 23 DSC 200 300 output connectors Quatech DSC...

Page 41: ...n 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 I O Serial ports Port 1 at offset 0 Port 2 at ...

Page 42: ...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 96k ohm min Input current 100 microAmps min 125 microAmps Power requirements 5 volts approx 250 mA Temperature operating 0 to 70 storage 50 to 80 Humidity 10 to 90 Quatech DSC 200 300...

Page 43: ... 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 3 The DSC 200 300 may be defective Contact technical support for instructions Cannot communicate with other equipment 1 Are the cable connections correct Are the cables securely attached 2 Is the software configured with the correct ba...

Page 44: ...DSC 200 300 User s Manual Revision 1 12 November 2006 940 0145 112 Quatech DSC 200 300 User s Manual 42 ...

Reviews: