background image

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

3

GND

9

AUXIN- 

5

AUXIN+

6

AUXOUT- 

1

 

8

RxD-

4

RxD+

7

TxD-

2

TxD+

D-9 Connector Pin

SignalDescription

Figure 26 --- DSC-200/300 connector definitions

1

2

3

4

5

6

7

8

9

D-9 connector

(CN2 and CN3)

Figure 27 --- DSC-200/300 output connectors

Quatech   DSC-200/300 User's Manual

35

Содержание Asynchronous Communications Adapter DSC-200/300

Страница 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 ...

Страница 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...

Страница 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 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 Su...

Страница 4: ...ion 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 750 IND ...

Страница 5: ...4 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 and Special Registers 13 3 Hardware Installation 12 2 4 2 Force High Speed UART Clock X2 X4 or X8 J10 J12 11 2 4 1 Enable Scratchpad Register SPAD J13 11 2 4 Clock Rate and Optional Registers 10 2 3 ...

Страница 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 ...

Страница 7: ...ontiguous 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 Receiver Transmitters UARTs These UARTs contain hardware buffers FIFOs which reduce processing overhead and allow higher data rates to be achieved The 16750 contains a 64 byte FIFO and can transmit and rece...

Страница 8: ...and 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 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 Quatech DSC 200 300 User s Manual 8 ...

Страница 9: ...om 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 factory default should be made before installing the DSC 200 300 in the computer 2 1 RS 422 or RS 485 Signal Line Termination Jumpers J1 J4 allow the selection of 100 ohm RS 422 termination 120 ohm R...

Страница 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 shown in Figure 2 is for both the drivers and receivers of both channels to be continuously enabled Two spare jumpers are installed in neutral positions For details refer to page 22 The DSC 200 300 is s...

Страница 11: ...default 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 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 SPAD X2 X...

Страница 12: ...ate 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 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 SPAD X2 X4 X8 J10 J11 J12 J13 Force times e...

Страница 13: ...ng 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 two female 9 pin D connectors J10 J11 J12 J13 X2 X4 X8 SPAD Clock multiplier scratchpad select Termination select Interfa...

Страница 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 The DSC 200 300 signals a hardware interrupt when any port requires service The interrupt signal is maintained until no port requires service Interrupts are level sensitive on the PCI bus The base ad...

Страница 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 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 ent...

Страница 16: ...on 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 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...

Страница 17: ...will 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 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 ...

Страница 18: ...Select 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 the Next button 4 The final dialog screen will verify the file copy from the CD Click the Finish button Quatech DSC 200 300 User s Manual 18 ...

Страница 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 copy the INF file from the CD and display a final dialog indication that the process is complete Click the Finish button Quatech DSC 200 300 User s Manual 19 ...

Страница 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 shipped with the device into the CD ROM drive Click the Next button Quatech DSC 200 300 User s Manual 20 ...

Страница 21: ...t 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 located along the top of the System Properties box This lists all hardware devices registered inside the Windows 95 registry Additional information is available on any of these devices by click on t...

Страница 22: ...s 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 configured independently 9 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 ...

Страница 23: ...ory 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 disk provided by hardware manufacturer Click the OK button to continue 6 Another Install From Disk dialog box will pop up The path should already be pointing to the Quatech diskette Click the OK butto...

Страница 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 Device drivers for Windows 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 b...

Страница 25: ...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 configuration information The PCI BIOS specification can be obtained from the PCI Special Intere...

Страница 26: ...BIOS 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 15 QTPCI EXE Basic Mode display Figure 16 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 ...

Страница 27: ...on 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 in slot 0x04 on bus 0x00 Device function code 0x98 Revision ID 0x01 Hardware revision A1 PCI Class Code 0x070200 Communications controller multiport serial Subsystem Vendor ID 0x135c Subsystem Id 0x...

Страница 28: ...serial 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 configuration details Quatech DSC 200 300 User s Manual 28 ...

Страница 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 the RS 422 and RS 485 standards The desired termination can be selected or removed per port by applying a jumper Configuration is done using jumpers J1 through J4 for termination selection and jumpe...

Страница 30: ...oopback 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 portion of the UART It is generally provided by connecting it to the UART s own transmit clock output XCLK This is done by connecting pins 3 and 6 of the jumper block If desired RCLK can be received...

Страница 31: ...5 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 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 Thi...

Страница 32: ...ed 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 DTR or RTS connections on pins 1 4 or 2 5 To operate in half duplex DTR mode apply jumpers between pins 1 and 4 and pins 3 and 6 To operate in half duplex RTS mode apply jumpers between pins 2 and 5 a...

Страница 33: ...E 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 1 2 3 6 5 4 1 2 3 6 5 4 XCLK RTS CTS RCLK DTR DSR DCD RI RS 422 or RS 485 Driver Figure 24 Output control block diagram Quatech DSC 200 300 User s Manual 33 ...

Страница 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 termination 100 ohms factory default 1 2 3 no termination Jumpers J1 J4 Figure 25 RS 422 485 Line termination resistance values Quatech DSC 200 300 User s Manual 34 ...

Страница 35: ...e 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 definitions 1 2 3 4 5 6 7 8 9 D 9 connector CN2 and CN3 Figure 27 DSC 200 300 output connectors Quatech DSC 200 300 User s Manual 35 ...

Страница 36: ...is 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 Multiport serial controller Interface 0x00 IRQ sourced by INTA Base address 0 0x80 bytes I O Reserved region Base address 1 0x10 bytes I O Serial ports Port 1 at offset 0x00 Port 2 at offset 0x08 Quat...

Страница 37: ...s 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 Input resistance 12k ohm min 15k ohm typ Input current 1 0mA max Power requirements 5 volts approx 320 mA Temperature operating 0 to 70 storage 50 to 80 Humidity 10 to 90 Quatech DSC 200 300 User s M...

Страница 38: ...y 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 3 The DSC 200 300 may be defective Contact technical support for instructions Cannot communicate with other equipment 1 Are the cable connec...

Страница 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 ...

Отзывы: