background image

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 (J13) 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 any 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
any UART selects between the two registers as shown in Figure 8.

Scratchpad Registers

applied

X

Options Register

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 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.

Port 1 --- 1 if interrupt pending

0

Port 2 --- 1 if interrupt pending

1

0 (not used)

2

0 (not used)

3

0 (not used)

4

0 (not used)

5

0 (not used)

6

0 (not used)

7  (MSB)

Description

Bit

Figure 9 --- Interrupt Status Register

Quatech   DSC-200/300 User's Manual

15

Summary of Contents for Asynchronous Communications Adapter...

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

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

Page 3: ...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 ma...

Page 4: ...on 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 Equi...

Page 5: ...4 1 Enhanced Serial Adapter Identification 16 4 4 Options Register 15 4 3 Interrupt Status Register 15 4 2 Enabling the Special Registers 14 4 1 Base Address and Interrupt Level IRQ 14 4 Address Map...

Page 6: ...38 11 Troubleshooting 37 10 Specifications 36 9 PCI Resource Map 35 8 7 RS 422 485 Peripheral Connection 34 8 6 Termination Resistors...

Page 7: ...ntiguous block of 16 bytes A special interrupt status register is provided to help software to manage the shared interrupt The DSC 200 300 s serial ports are using 16750 Universal Asynchronous Receive...

Page 8: ...nd industrial grade reliability 1 1 1 IND Option Surge Suppression Upgrade The IND upgrade provides the protection essential for reliable use in an industrial environment Each communication line has a...

Page 9: ...m the UARTs to the connector as well as full or half duplex operation Jumpers J10 J13 grouped together at the end of the board opposite the D 9 connectors control special options Any changes from the...

Page 10: ...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 The factory default as sho...

Page 11: ...efault clock rate and options settings 2 4 1 Enable Scratchpad Register SPAD J13 In the default configuration an Interrupt Status Register and an Options Register see page 10 replace the scratchpad ba...

Page 12: ...te will be either two four or eight times the value for which the UART itself is programmed The factory default is none of these jumpers applied which allows for software control of the clock multipli...

Page 13: ...g 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 equipmen...

Page 14: ...bytes as shown in Figure 7 Base Address 8 to Base Address 15 Port 2 Base Address 0 to Base Address 7 Port 1 I O Address Range Channel Figure 7 Port Address Map All two serial ports share the same IRQ...

Page 15: ...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 o...

Page 16: ...n The ID bits are used to identify the DSC 200 300 as a Quatech Enhanced Serial Adapter Logic operations are performed such that the values read back from these bits will not necessarily be the values...

Page 17: ...ill always return the clock rate multiplier at which the board is operating 16750 UART only 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 843...

Page 18: ...elect Search for the best driver for your device Check the Removable media and Specify location box Click the Next button 3 Window will locate the proper INF file and copy the file from the CD Click t...

Page 19: ...dialog box insert the Quatech COM CD shipped with the device Click the OK button 4 The following dialog box will display the appropriate INF file on the CD in drive Click the OK button 5 Window will c...

Page 20: ...appear 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 Quatech COM CD shipp...

Page 21: ...Start then Help from within Windows 95 for additional information 1 Double click the System icon inside the Control Panel folder This opens up the System Properties box 2 Click the Device Manager tab...

Page 22: ...of full scale for the transmit buffer and 3 4 scale for the receive buffer shown below are optimal for most applications Note that the FIFO option for each of the DSC 200 300 s two ports is configure...

Page 23: ...ry containing the INF files Windows 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 d...

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

Page 25: ...s 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...

Page 26: ...IOS detected version 2 10 Quatech PCI adapters detected DSC 200 300 Two port RS 422 485 adapter Hardware Revision A1 Uses IRQ 3 Base addr 1 0xffa80 I O _ Numbers preceeded by 0x are hexadecimal Figure...

Page 27: ...n Information Display Software Version 1 00 B PCI BIOS details I Interrupt routing details Quatech PCI adapters detected DSC 200 300 Two port RS 422 485 adapter Vendor ID 0x135c Device id 0x0050 found...

Page 28: ...erial ports in a system Installation is a manual but simple process Please refer to the read me documentation included on the Quatech COM CD with the device driver for full installation and configurat...

Page 29: ...used to enable the transmitter drivers The inverse of the transmitter enable can be used to enable the receiver drivers Factory installed resistors allow for signal line termination in compliance with...

Page 30: ...opback RTS to CTS CTS AUXIN XCLK RTS AUXOUT RCLK 1 2 3 6 5 4 CTS AUXIN XCLK RTS AUXOUT RCLK 1 2 3 6 5 4 Jumpers J5 J7 Figure 19 RTS CTS selection 8 2 RCLK This is the clock signal used by the receiver...

Page 31: ...4 CTS AUXIN XCLK RTS AUXOUT RCLK 1 2 3 6 5 4 Jumpers J5 J7 Figure 21 XCLK selection 8 4 AUXIN AUXOUT Loopback The AUXIN signal is an input from the external device and connecting it to the AUXOUT sig...

Page 32: ...d by the inverse of the transmit enable If a jumper is applied between pins 3 and 6 the receivers for RxD and AUXIN will be disabled when the transmit drivers are enabled and vice versa based on the D...

Page 33: ...Rx ENABLE Half Duplex RTS Operation 1 2 3 6 5 4 RTS DTR Tx ENABLE Tx ENABLE Tx ENABLE Rx ENABLE Jumpers J6 J8 Figure 23 Half or full duplex selection AUXOUT AUXIN RS 422 or RS 485 Receiver TXEN RXEN...

Page 34: ...removed for individual signal lines using jumper blocks J1 J4 RS 422 Rt 100 ohm 1 2W RS 485 Rt 120 ohm 1 2W RS 422 485 Receiver Rt RXD AUXIN RXD AUXIN or 1 2 3 RS 485 termination 120 omhs 1 2 3 RS 422...

Page 35: ...serial port connector definitions are listed in Figure 26 3 GND 9 AUXIN 5 AUXIN 6 AUXOUT 1 AUXOUT 8 RxD 4 RxD 7 TxD 2 TxD D 9 Connector Pin SignalDescription Figure 26 DSC 200 300 connector definitio...

Page 36: ...s available on the Quatech web site all numbers in hex PCI Vendor ID 0x135C Quatech Inc PCI Device ID 0x0030 DSC 200 300 PCI Class Code Base class 0x07 Simple communications controller Subclass 0x02 M...

Page 37: ...SP491 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 3ns min 40ns max 15ns typ Differential input Threshold 0 2V min 0 2V max...

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

Page 39: ...DSC 200 300 User s Manual Revision 1 21 March 2004 P N 940 0145 121 Quatech DSC 200 300 User s Manual 39...

Reviews: