background image

DS-200/300

Two Channel RS-422/485 Asynchronous

Enhanced Serial Adapter

for ISA compatible machines

User's Manual

QUATECH, INC.

TEL: (330) 434-3154

662 Wolf Ledges Parkway

FAX: (330) 434-1409

Akron, Ohio  44311

BBS: (330) 434-2481
http://www.quatech.com

INTERFACE CARDS FOR IBM PC/AT AND PS/2

Summary of Contents for DS-200

Page 1: ...nchronous Enhanced Serial Adapter for ISA compatible machines User s Manual QUATECH INC TEL 330 434 3154 662 Wolf Ledges Parkway FAX 330 434 1409 Akron Ohio 44311 BBS 330 434 2481 http www quatech com INTERFACE CARDS FOR IBM PC AT AND PS 2 ...

Page 2: ......

Page 3: ...ill 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 or the product s to whic...

Page 4: ...ment 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 writt...

Page 5: ... This Page Intentionally Left Blank DS 200 300 User s Manual iii ...

Page 6: ...S handshake 7 1 7 Output Configuration 6 3 6 2 Interrupt Status Register 6 2 6 1 Interrupt Sharing 6 1 6 Interrupt Level IRQ 5 1 5 2 Options Register 5 1 5 1 Data Rate Multiplier Jumper Block 5 1 5 Data Rate Multiplier 4 4 4 2 Enabling or disabling ports 4 1 4 1 Setting the address 4 1 4 Addressing Ports 3 3 3 2 Viewing and Changing Resources with Device Manager 3 1 3 1 Using the Add New Hardware ...

Page 7: ...to access higher data rates by either setting a jumper on the board or by programming a special register The register also allows the board to be identified as a Quatech Enhanced Serial Adapter This enables specially written software to take advantage of the added features The DS 200 300 is highly flexible with respect to addressing and interrupt level use The serial ports are individually address...

Page 8: ... This Page Intentionally Left Blank 2 2 Quatech Inc ...

Page 9: ...kip to step 2 otherwise refer to sections 4 and 6 of this document for detailed information on how to set the address and IRQ level 2 Turn off the power of the computer system in which the DS 200 300 is to be installed 3 Remove the system cover according to the instructions provided by the computer manufacturer 4 Install the DS 200 300 in any vacant expansion slot The board should be secured by in...

Page 10: ...Figure 2 Photo of DS 200 300 3 2 Quatech Inc ...

Page 11: ...at Windows 95 allocates to the DS 200 300 Another option is to use the Device Manager in Windows 95 to change the system resources allocated to match the configuration of the hardware See section 3 2 for information on changing resources within Windows 95 3 1 Using the Add New Hardware Wizard The following instructions provide step by step instructions on installing the DS 200 300 Enhanced Serial ...

Page 12: ... will choose the correct file 7 Your computer should read the INF file on the diskette and display a list of Quatech Multi function Adapter models supported by Windows 95 Select the DS 200 300 Enhanced Serial Adapter Model Name from the list and click the Next button to continue 8 A dialog box will appear with an unused I O range and IRQ resources that Windows 95 has found available in the registr...

Page 13: ...quired to manually configure the DS 200 300 to match the resources allocated by Windows 95 Another option is to use the Device Manager in Windows 95 to change the system resources allocated in Windows 95 to match your preferences See chapter 2 for information on installing and configuring the DS 200 300 3 2 Viewing and Changing Resources with Device Manager The following instructions provide step ...

Page 14: ...rm that the resources Windows 95 has allocated for the DS 200 300 match the hardware configuration To modify any of the resource settings click the resource name and click the Change Setting button If the Automatic Settings option is selected it will have to be unselected to access the Change Settings option This is accomplished by pointing the mouse at the check next to Automatic Settings and cli...

Page 15: ... higher even if lower logical numbers are available 8 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 DS 200 300 9 Click the Port Settings tab and then click the Advanced button The DS 200 300 driver will display a custom Advanced Port Settings control which allows ...

Page 16: ...Logical COM Port name is assigned to your ports by Windows 95 This name is required by a Windows 95 application when accessing a particular port 4 6 Quatech Inc ...

Page 17: ...ystem Each serial port on the DS 200 300 uses 8 consecutive I O locations The two ports reside in their own independent block of I O space in eight byte increments Switches SW1 and SW2 select address lines A15 through A3 for Serial 0 and switches SW3 and SW4 select address lines A15 through A3 for Serial 1 The remaining address lines A2 A1 and A0 are used by the UART to select the register being a...

Page 18: ...four A possible serial port address is 5220 hex The example below shows how the hex digits are broken down into binary bits Bit weight Binary bits Sum of bits Hex digits 2 2 0 5 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 0 4 0 1 0 0 2 0 0 0 2 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 These address bits are set by the switches All other bits are considered to be zero Figure 5 E...

Page 19: ... SW3 SW4 Factory default setting for Serial 2 02F8 hex COM2 ON 1 2 3 4 5 6 7 8 8 8 2 0 E 4 8 1 2 3 4 5 6 ON 0 2 1 3 0 0 0 0 0 0 Example 03E8 hex typical for COM3 ON 1 2 3 4 5 6 7 8 8 8 2 0 E 4 8 1 2 3 4 5 6 ON 0 2 0 2 0 0 0 0 0 0 Example 02E8 hex typical for COM4 enable disable enable disable enable disable Factory default setting for Serial 1 03F8 hex COM1 Figure 6 Serial Port base I O address se...

Page 20: ...TES TYPICAL I O ADDRESS PORT Figure 7 Recommended addresses for serial ports 4 2 Enabling or disabling ports Each port of the DS 200 300 may be individually enabled or disabled To enable a port move the appropriate switch to the ON position To disable a port move the switch to the OFF position This is illustrated in Figure 8 below The factory default configuration is both serial ports enabled Seri...

Page 21: ...er OR Virtually no commercially available software makes use of the Scratchpad Register SCR on the UART at base address 7 By co locating the new DS 200 300 registers at this address the use of additional I O memory locations has been avoided If the SP jumper is installed the SCR of the UART will be accessed at base address 7 as in a standard serial port However if the SP jumper is removed then eit...

Page 22: ...ts the data rate multiplier from the value stored in the rate register portion of the OR 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 0 0 MAX DATA RATE UART CLOCK SPEED DATA RATE MULTIPLIER RR0 RR1 with 16750 UART only Figure 11 Rate Register bit definition A read of this register will return the value for the data rate multip...

Page 23: ...rate register is initialized at 00 This means that the DS 200 300 will power up in the x1 mode as long as the SW jumper is installed The DS 200 300 ships from the factory with the SW jumper installed DS 200 300 User s Manual 5 3 ...

Page 24: ... This Page Intentionally Left Blank 6 4 Quatech Inc ...

Page 25: ...ial 1 are shown To select a different IRQ move the jumper to the appropriate position on J3 or J4 J3 Serial 0 Default is IRQ 4 1 2 3 4 5 6 7 8 9 10 11 IRQ7 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ11 IRQ12 IRQ14 IRQ15 IRQ10 13 14 15 16 17 18 19 20 21 22 12 1 2 3 4 5 6 7 8 9 10 11 IRQ7 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ11 IRQ12 IRQ14 IRQ15 IRQ10 13 14 15 16 17 18 19 20 21 22 12 Serial 1 J4 Default is IRQ 3 Figure 12 ...

Page 26: ...4 4 1 2 5 5 2 3 6 6 3 Serial 0 non sharable Serial 1 non sharable Serial 0 non sharable Serial 1 sharable Serial 0 sharable Serial 1 non sharable Serial 0 sharable Serial 1 sharable jumper block configurations Figure 13 Sharable interrupt selection The DS 200 300 signals a hardware interrupt when any port requires service The interrupt signal is maintained until no port requires service Because th...

Page 27: ...R is read only When a hardware interrupt occurs reading the ISR will return the interrupt status of both ports on the DS 200 300 as shown in Figure 14 Individual bits are cleared as the interrupting ports are serviced The interrupt service routine must ensure that the ISR reads zero before exiting or the DS 200 300 will be unable to signal subsequent interrupts Serial 0 1 if interrupt pending 0 Se...

Page 28: ... This Page Intentionally Left Blank 7 4 Quatech Inc ...

Page 29: ... J5 and J7 Either half duplex or full duplex operation can be selected for each communications channel If half duplex operation is selected one of the UART s signals either DTR or RTS is used to enable the transmitter drivers TXEN The inverse of the transmitter enable TXEN is used to enable the receiver drivers RXEN This insures that the driver and the receiver are not enabled at the same time Con...

Page 30: ...CLK RCLK 1 3 2 6 5 AUXOUT RTS CTS AUXIN XCLK RCLK Transmit RTS on AUXOUT Receive CTS on AUXIN Loopback RTS to CTS 6 5 6 Figure 17 RTS CTS selection on J5 J7 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 XCLK This is done by connecting pins 3 and 6 of the jumper pack If desired RCLK can be...

Page 31: ...CLK Loopback XCLK to RCLK Transmit XCLK on AUXOUT 4 5 4 Figure 19 XCLK selection on J5 J7 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...

Page 32: ...led To operate in half duplex DTR mode configure J6 J8 so that pin 1 is connected to pin 4 and pin 3 is connected to pin 6 To operate in half duplex RTS mode configure J6 J8 so that pins 2 and 5 are connected and pins 3 and 6 are connected The transmitters and receivers are always enabled in full duplex mode Figure 21 shows how to select half or full duplex operation Half Duplex DTR Operation Full...

Page 33: ...ault Configuration of DS 200 300 The DS 200 300 is shipped from the factory with each channel configured as shown in Figure 23 1 3 2 6 5 7 AUXOUT RTS CTS AUXIN XCLK Loopback RTS to CTS Loopback AUXOUT to AUXIN Loopback XCLK to RCLK Full Duplex Operation RCLK RTS TXEN 1 2 3 4 6 5 J5 J7 J6 J8 TXEN DTR TXEN RXEN Figure 23 Factory Default Configuration on J5 J8 DS 200 300 User s Manual 7 5 ...

Page 34: ...ped with no termination selected 8 16 120Ω 7 15 100Ω Serial 1 AUXIN 6 14 120Ω 5 13 100Ω Serial 1 RXD 4 12 120Ω 3 11 100Ω Serial 0 AUXIN 2 10 120Ω 1 9 100Ω Serial 0 RXD PINS JUMPERED ON J1 TERM SIZE CHANNEL SIGNAL Figure 24 RS 422 485 Line Termination J1 1 2 3 4 5 6 7 8 10 11 13 14 15 16 12 9 Figure 25 Line Termination Option Block 7 8 RS 422 485 Peripheral Connection The DS 200 300 connects to per...

Page 35: ...ary channel input positive AUXIN 5 Serial data input positive RXD 4 Chassis ground GND 3 Serial data output positive TXD 2 Auxiliary channel output positive AUXOUT 1 DESCRIPTION SIGNAL PIN Figure 26 DS 200 300 connector definitions for RS 422 485 5 4 3 2 1 9 8 7 6 D 9 connector CN1 and CN2 Figure 27 DS 200 300 Output connectors DS 200 300 User s Manual 7 7 ...

Page 36: ... This Page Intentionally Left Blank 8 8 Quatech Inc ...

Page 37: ...s minimum 15 ns typical 25 ns maximum MAXIMUM DATA RATE 2 5 Mbps BASE ADDRESS RANGE 0000 hex to FFF8 hex INTERRUPT OPTIONS 2 7 10 12 14 15 CONNECTORS Two DB 9 female connectors SLOT REQUIREMENTS One 16 bit ISA slot DIMENSIONS 7 050 x 3 900 POWER REQUIREMENTS 5 volts 849 mA TEMPERATURE Operating 0 to 70 Storage 50 to 80 HUMIDITY 10 to 90 OS SUPPORT Windows 95 Windows 3 1 Windows NT 4 0 OS 2 2 0 DOS...

Page 38: ... This Page Intentionally Left Blank 9 2 Quatech Inc ...

Page 39: ...different address if necessary 3 The DS 200 300 may be defective Contact Quatech Customer Service for instructions Cannot communicate with other equipment 1 Are the cable connections correct Are the cables securely attached 2 Are the base address and interrupt level IRQ correctly set Check for address and IRQ conflicts with other devices in the system Change the settings if necessary 3 If you are ...

Page 40: ......

Page 41: ...DS 200 300 User s Manual Revision 3 10 May 1999 P N 940 0049 310 ...

Reviews: