Home
Quatech DS-200/300 Computer Drive User Manual
Contents
1. 5 8 8 enable disable Figure 6 Serial Port base I O address selection switches DS 200 300 User s Manual 4 2 The standard addresses for serial ports COM1 and COM2 are listed in Figure 7 Recommended addresses for serial ports COM3 and COMA are also listed The switch settings for these addresses are shown in Figure 6 PORT TYPICAL I O ADDRESS NOTES COMI 03F8 hex Factory default for Serial 0 COM2 02F8 hex Factory default for Serial 1 COM3 03E8 hex Recommendations only No official standards COM4 02E8 hex exist for COM3 and COM4 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 Serial 1 uses SW2 Enabled Disabled Serial 2 uses SW4 SW2 or SWA SW2 or SWA Disabled Enabled default
2. m Throughput Configurations Select lower settings to correct connection problems Select higher settings for faster performance Receive Buffer Low 1 e High 56 Transmit Buffer Low 1 High 54 Figure 4 Windows 95 Device Manager 10 Use the Logical COM Ports numbers to access the serial ports on your DS 200 300 through your software applications Note The 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 DS 200 300 User s Manual 3 5 4 Addressing Ports 4 4 Setting the address The base address of each port of the DS 200 300 is set using two DIP switch packs When setting the address selection switches a switch in the ON position specifies that the corresponding address line must be a logic 0 for the port to be selected Similarly a switch in the OFF position forces the corresponding address line to be a logic 1 for the port to be selected A full sixteen bit address decode is implemented to reduce the chance of address conflicts with other adapters in the system 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 SWA select address lines A15 through A3 for Serial 1 The remaining address
3. T cE Yer DS 200 300 Two Channel RS 422 485 Asynchronous Enhanced Serial Adapter for ISA compatible machines INTERFACE CARDS FOR IBM PC AT AND PS 2 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 DS 200 300 to be free of defects for one 1 year from the date of purchase Quatech Inc will repair or replace any adapter 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 The authors have taken due care in the preparation of this document and any associated software program s 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 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 which it refers at any time and without notice Please complete the following information and retain for your records Have this information available when requesting warranty service Dat
4. Figure 8 Enabling and disabling ports DS 200 300 User s Manual 4 3 5 Data Rate Multiplier A standard RS 422 485 serial port operates at a clock speed of 1 8432 MHz In order to achieve higher data rates the DS 200 300 Enhanced Serial Adapter can operate at two times four times 16750 UART only or even eight times 16750 UART only this standard clock speed The user can set this speed known as the data rate multiplier in two different ways by modifying hardware jumper settings or by writing to a DS 200 300 register known as the Options Register 5 1 Data Rate Multiplier Jumper Block The data rate multiplier jumper block J9 is used to set the data rate multiplier if software is not available to do so This jumper block contains five positions three positions with the 16550 UARTs X8 16750 UART only X4 16750 UART only X2 SW and SP Placing a jumper in the X2 X4 or X8 positions sets the data rate multiplier accordingly Placing a jumper in the SW position tells the board to fetch its data rate multiplier from the Options Register The SP jumper position determines access to two special registers on the DS 200 300 the Interrupt Status Register ISR and the Options Register 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
5. 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 either the ISR see Section 6 or the OR will be accessed at base address 7 5 2 Options Register The DS 200 300 is equipped with an Options Register which has two functions a two bit rate register which allows software to set the data rate multiplier and a two bit ID register which allows software to identify the DS 200 300 The register is located at base address 7 and requires that the SP jumper be removed and the DLAB bit in the Line Control Register LCR of the UART be set to 1 See Figure 9 for the structure of the OR The ID register provides a means for software applications to identify the board as a DS 200 300 It does this by performing logic on the bits written to these locations so that the values read out of these locations will not necessarily be the values that were written to these locations When performing a write read operation to the ID register the software can identify a DS 200 300 board by recognizing the pattern read back from the ID bits seeFigure 10 BIT NAME DESCRIPTION 7 ID1 ID register bit 1 6 IDO ID register bit 0 DS 200 300 User s Manual 5 5 ORS not used 4 OR4 not used 3 OR3 not used 2 OR2 not used 1 RRI rate register bit 1 0 RRO rate register bit 0 Figure 9 Options Reg
6. click the Next button to continue A dialog box will appear with an unused I O range and IRQ resources that Windows 95 has found available in the registry Windows 95 has assigned these resources to the DS 200 300 Review these settings carefully before proceeding You should either take notes of these resources being allocated to your new hardware or have Windows 95 print a copy You are required to manually configure the DS 200 300 to match these resources Windows 95 will not automatically configure a DS 200 300 board it will only assign an available I O range and IRQ The Add New Hardware utility now asks 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 OR NOTE You may be able to skip step 9 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 are currently in the SYSTEM directory 3 2 Quatech Inc 10 11 12 Another dialog box will open to tell you that the installation is complete Click the Finish button to end the software part of the installation Windows 95 now
7. 16750 UARTs 230 4 kbps with 16550 UARTs UARTs Two 16550 UARTS with 16 byte FIFOs or two 16750 UARTS with 64 byte FIFOs TRANSCEIVERS MAX491 or compatible DRIVER RISE OR FALL TIME 5 ns 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 6 22 UNIX 8 1 Quatech Inc This Page Intentionally Left Blank 8 2 Quatech Inc 9 Troubleshooting Listed here are some common problems and frequent causes of those problems Suggestions for corrective action are given If the information here does not provide a solution contact Quatech Customer Service for technical support Any unauthorized repairs or modifications will void the DS 200 300 s warranty Computer will not boot up 1 Is the DS 200 300 properly inserted Remove the card and try again Perhaps try a different expansion slot 2 Is the base address correctly set Check for address conflicts with other devices in the system Remember that each port on the DS 200 300 requires 8 bytes of I O space Set a different address if necessary 3 The DS 200 300 may be defective Contact Quatech Custom
8. DS 200 300 User s Manual 5 3 6 Interrupt Level IRQ The DS 200 300 allows the use of any interrupt level in the range IRQ2 to IRQ7 IRQIO to IRQ12 IRQ14 or IRQIS selected using jumper block J3 for Serial 0 or J4 for Serial 1 In Figure 12 the factory default settings for Serial 0 and Serial 1 are shown To select a different IRQ move the jumper to the appropriate position on J3 or J4 O GCC O GO c c K K EEE 14 x o Oo ES _ oO Serial 0 J3 Default is IRQ 4 O O M IRO12 O C M RQ14 O M IRQ15 gQ e CONO EO CO EFO ors e IRQ5 IRQ6 IRQ7 IRQ10 IRQ11 o o ES oO Serial 1 J4 Default is IRQ 3 w O O IRQ4 o O O M IRQ12 O O M IRQ14 P M IRQ15 SCO Q Os IRQ QO AORO Su eO0O0 e Figure 12 Interrupt level IRQ selection 6 1 Quatech Inc 6 1 Interrupt Sharing Both ports on the DS 200 300 can share the same interrupt level or they can share their interrupt with another Quatech adapter supporting sharable interrupts Jumper J2 can be used to connect the UART generated interrupt directly to the selected IRQ or to enable the interrupt sharing circuit In either case the software driving the serial ports must determine which port or ports are requesting service when an interrupt is generated To maintain 10095 ISA bus compatibility J2 should be set in the no
9. User s Manual 3 3 System Properties General Device Manager Herdware Profiles Performance View devices by type C View devices by connection Display adapters amp Floppy disk controllers amp Hard disk controllers 3 Keyboard amp Modem Monitor A Mouse 2 Multi function adapters 7 Quatech DS 200 300 2 RS 422 485 Ports B9 Network adapters 4 Other devices PCMCIA socket a Ports COM amp LPT 9 Quatech Serial Port COM1 Y Quatech Serial Port COM amp SCSI controllers 6 Sound video and game controllers System devices F E 6 PE E E 8 F F F X Properties Refresh Remove Print Figure 3 Windows 95 Device Manager 4 Double click the DS 200 300 Enhanced Serial Adapter model name and a properties box should open for the hardware adapter 5 Click the Resources tab located along the top of the properties box Confirm 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 clicking on it Clic
10. 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 BIT DESCRIPTION 7 MSB 0 not used 0 not used 0 not used 0 not used 0 not used 0 not used Serial 1 1 if interrupt pending OJIN RIL alta Serial 0 1 if interrupt pending Figure 14 Interrupt Status Register contents 6 3 Quatech Inc This Page Intentionally Left Blank DS 200 300 User s Manual 6 4 7 Output Configuration The DS 200 300 provides four differential communication 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 DS 200 300 allows the user to select whether handshaking signals or clock signals are transmitted over the auxiliary lines 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 XCLK and the AUXIN signal for loopback Configuration is done using jumpers 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 e
11. 200 300 The output of the DS 200 300 is two 9 pin D connectors labeled CN1 serial 0 and CN2 serial 1 l If the default settings are correct skip 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 Turn off the power of the computer system in which the DS 200 300 is to be installed Remove the system cover according to the instructions provided by the computer manufacturer Install the DS 200 300 in any vacant expansion slot The board should be secured by installing the Option Retaining Bracket ORB screw Replace the system cover according to the instructions provided by the computer manufacturer Attach and secure the cable connectors to the desired equipment DS 200 300 User s Manual 2 1 Figure 2 Photo of DS 200 300 aJ m m m E 2 2 Quatech Inc 3 Windows 95 Configuration Windows 95 maintains a registry of all known hardware installed in your computer 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 DS 200 300 Enhanced Serial Adapter to allow easy configuration in the Windows 95 environment Also a custom Windows 95 serial device driver is included wi
12. 5 automatically detect your new hardware Click the No option The dialog in the box recommends selecting the Yes option but unless the hardware is installed at some standard I O and IRQ levels this option will fail Click the Next button to continue DS 200 300 User s Manual 3 1 A hardware types list box should appear Find the Multi function Adapters type on the list and click it Click the Next button to continue A list box opens with Manufacturers on the left and the associated board Models on the right Click the Have Disk button 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 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 or Other Location button double click the Win95 sub directory on the installation diskette and choose OK The edit box should now read A WIN95 If it does choose OK You are not required to select the file name After finding the directory containing the INF files Windows 95 will choose the correct file 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
13. RT 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 received from an external source over the AUXIN line by connecting pins 2 and 3 of the jumper pack Figure 18 shows how to select the RCLK mode AUXOUT XCLK AUXOUT XCLK RTS RTS CTS gs CTS AUXIN RCLK AUXIN RCLK Loopback XCLK to RCLK Receive RCLK on AUXIN Figure 18 RCLK selection on J5 J7 7 3 XCLK DS 200 300 User s Manual 7 2 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 connecting pins 3 and 6 of the jumper pack If desired XCLK can be transmitted to an external source over the AUXOUT line by connecting pins 5 and 6 of the jumper pack Figure 19 shows how to select the XCLK mode AUXOUT XCLK AUXOUT XCLK RTS un cts RCLK AUXIN RCLK Loopback XCLK to RCLK Transmit XCLK on AUXOUT 9 0 09 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 This m
14. d using jumper block J1 The board is shipped with no termination selected SIGNAL CHANNEL TERM SIZE PINS JUMPERED ON J1 RXD Serial 0 1000 1 9 1200 2 10 AUXIN Serial 0 10002 3 11 120Q 4 12 RXD Serial 1 100Q 5 13 120Q 6 14 AUXIN Serial 1 10002 7 15 120Q 8 16 Figure 24 RS 422 485 Line Termination JI a8 7 6 5 43 2 1 91070101010100 OOOOOOOQOO 16 15 14 13 12 11 10 9 Figure 25 Line Termination Option Block 7 8 RS 422 485 Peripheral Connection The DS 200 300 connects to peripheral equipment through two female D 9 connectors The serial port connector definitions are listed in Figure 28 DS 200 300 User s Manual 7 6 PIN SIGNAL DESCRIPTION 1 AUXOUT Auxiliary channel output positive 2 TXD Serial data output positive 3 GND Chassis ground 4 RXD Serial data input positive 5 AUXIN Auxiliary channel input positive 6 AUXOUT Auxiliary channel output negative 7 TXD Serial data output negative 8 RXD Serial data input negative 9 AUXIN Auxiliary channel input negative Figure 26 DS 200 300 connector definitions for RS 422 485 Figure 2 09600 O D 9 connector CN1 and CN2 7 DS 200 300 Output connectors Quatech Inc This Page Intentionally Left Blank DS 200 300 User s Manual 7 8 8 Specifications BAUD RATES 921 6 kbps with
15. e of purchase Model Number DS 200 300 Product Description Two Channel RS 422 485 Asynchronous Enhanced Serial Adapter Serial Number DS 200 300 User s Manual i 1998 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 preparation 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 Microsoft and Windows 95 are registered trademarks of Microsoft Corporation IBM PC PC AT PS 2 and Micro Channel are trademarks of International Business Machines Corporation ii Quatech Inc This Page Intentionally Left Blan
16. er Service for instructions Cannot communicate with other equipment 1 Are the cable connections correct Are the cables securely attached 2 Arethe 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 trying to communicate with a DTE a null modem cable may be required 4 If possible use a loopback connector to test the port This loopback needs to connect the following 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 Sample Code and a detailed description of the DS 200 300 s UARTS is available on Quatech s BBS 330 434 2481 9 Quatech Inc DS 200 300 User s Manual Revision 3 11 March 2004 P N 940 0049 311
17. ex DTR Operation Half Duplex RTS Operation Full Duplex Operation J6 J8 J6 SerialO J8 Serial1 Figure 21 Half or Full Duplex selection on J6 J8 WARNING When operating in half duplex mode the transmitters 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 DS 200 300 User s Manual 7 4 AUXOUT RS 220r RS 485 Driver TXEN OOH RCLK DTR AUXIN RS488 ot SR Receiver _ DCD RI RXEN Figure 22 Output control block diagram 7 6 Factory Default Configuration of DS 200 300 The DS 200 300 is shipped from the factory with each channel configured as shown in Figure 23 AUXOUT XCLK RTS TXEN cts DTR AUXIN RCLK RTS RXEN J5 J7 J6 J8 Loopback RTS to CTS Full Duplex Operation Loopback AUXOUT to AUXIN Loopback XCLK to RCLK Figure 23 Factory Default Configuration on J5 J8 7 5 Quatech Inc 7 7 Termination Resistors Optional line termination resistors are provided for the input signals of each of the DS 200 300 s RS 422 485 ports The user has the option of selecting RS 422 termination 100Q RS 485 termination 120Q or no termination Line termination may be selected or remove
18. instructs you to shut down your computer and install the hardware Click Yes to shut down your computer Wait until Windows 95 informs you that it is safe to turn your computer off When this message appears power down your computer You are required 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 by step instructions on viewing and changing resources of the DS 200 300 in Windows 95 using the Device Manager utility Select Start Help from within Windows 95 for additional information on this utility l Double click the System icon inside the Control Panel folder This opens up the System Properties box 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 clicking on the device name and then selecting the Properties button Double click the device group Multi function Adapters The DS 200 300 Enhanced Serial Adapter model name should appear in the list of Multi function adapters DS 200 300
19. ister bit definitions WRITE READ 1 IDO ID1 I I 0 D D 0 0 0 1 1 0 1 1 D D 0 0 0 1 0 1 1 0 Figure 10 ID bit write read table The rate register allows software applications to check and set the data rate multiplier As long as the SW jumper is installed in jumper block J9 the DS 200 300 gets the data rate multiplier from the value stored in the rate register portion of the OR RR1 RRO DATA RATE UART CLOCK SPEED MAX DATA RATE MULTIPLIER 0 0 xl 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 with 16750 UART only Figure 11 Rate Register bit definition A read of this register will return the value for the data rate multiplier that the board is actually operating at regardless of what is written to the register In other words even when the data rate multiplier is being controlled by the hardware jumper setting the value read from this register will correspond to that hardware jumper setting This allows applications software to detect the actual rate at which the board is running At power on and reset the 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 5 2 Quatech Inc This Page Intentionally Left Blank
20. k DS 200 300 User s Manual iii i Table of Contents General Information sssssslsslesssss 1 1 Installation oo ccie ente oos defi uae bee eth 2 1 Windows 95 Configuration s sess 3 1 3 1 Using the Add New Hardware Wizard vd esa d Od qb e Cea aU Ea SCR lege a ee ee eke 3 1 3 2 Viewing and Changing Resources with Device Manager 0 ce cece eee eee ee 3 3 Addressing Ports nonan aaaea aaea 4 1 4 1 Setting the address 6834 05 2G a naw a E a a a qae NOE 4 1 4 2 Enabling or disabling ports 1 0 0 0 0 eee 4 4 Data Rate Multiplier LLuuuuuusssssssssse 5 1 5 1 Data Rate Multiplier Jumper Dio Accu 5 1 3 2 HOS REISTER oaeeo feque de RU RESET SERERE PUE ds 5 1 Interrupt Level IRQ nananana ees 6 1 b I Interrupt Sharin uoo etn ERR INN RAV phy oie ere PU motes 6 2 6 2 Interrupt Status Register seva ee ax a eek O44 es ep PwERS RS 6 3 Output Configuration sssssssss 7 1 T RIB CISdhandslake 25 9s See anum a cedunt E eco ars ea VS 7 2 Jo ROB wis A sa dato pedet intel ia one ss Ct d t 7 2 Tee DAO E GENTE 7 3 TA AUXIN AUXOUT Loopback 0 zzekeerRieet SER oe GERSERE RES 7 3 7 5 Half Duplex Full Duplex BE IGCUOHe id dances eaae esas vatem Valse cct pd war sata d h 7 4 7 6 Factory Default Configuration of IDS 200 300 quixtceschtisie Xt doe Seni Y steep cC Sa C MES 7 5 7 7 Termination Resistors l4gackka
21. k Cancel to exit without making changes 6 Ifthe Change Settings button was selected an Edit Resource window will open up Inside these Edit Resource windows click on the up down arrows to the right of the resource value This scrolls you through all of the allowable resources for your hardware Pay attention to the Conflict Information at the bottom of the window Do not select a resource that causes a conflict with any other installed hardware Click OK to save your changes or Cancel to abort Quatech Inc 7 The DS 200 300 serial ports are also listed under the group Ports Com and LPT Windows 95 does not assign COMI COMA to ports addressed at nonstandard locations The DS 200 300 ports will be enumerated starting with COMS or 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 the ports UART compatibility mode and FIFO levels to be configured Note that the FIFO option for each of the two ports of the DS 200 300 1s configured independently Advanced Port Settings C NoFIFO C 16550 Compatible Cancel 15750 Compatible Defaults
22. lines A2 Al and AO are used by the UART to select the register being accessed The sixth position on SW2 is used to enable or disable Serial 0 and the sixth position on SW4 is used to enable or disable Serial 1 Figure 5 shows how the switches on the DS 200 300 represent the address values for serial ports This figure can be used to explain the examples shown in Figure 6 A serial port s address is a 16 bit quantity that is most often expressed in four hexadecimal base 16 digits A hex digit can hold a value from 0 to 15 decimal and is made up of four binary bits given weights of eight four two and one hence the maximum value of 8 4 2 1 15 A possible serial port address is 5220 hex The example below shows how the hex digits are broken down into binary bits Binary bits 0101 00100010 0000 Bit weight 8421 8421 8421 8421 Sum of bits 0 4 0 1 0 0 2 0 0404240 0 0 0 0 Hex digits 5 2 2 0 These address bits are set by the switches All other bits are considered to be zero 0101 0010 0010 0000 Figure 5 Examination of a serial port base address DS 200 300 User s Manual 4 Switch on Switch off Serial 0 uses SW1 and SW2 bit Q bt 1 Serial 1 uses SW3 and SW4 Factory default setting for Serial 1 03F8 hex COM1 SW1 SW2 enable disable SW3 SWA enable disable
23. n sharable mode s0 C 26 Serial 0 non sharable Serial 0 non sharable Serial 1 non sharable Serial 1 sharable Ge a E 2 Oe 3 Serial 0 sharable Serial 0 sharable Serial 1 non sharable Serial 1 sharable J2 Sharable interrupt 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 the ISA bus is edge sensitive this behavior forces the interrupt service routine to ensure that all ports are checked before exiting A way to do this is to poll each port until an interrupting port is found After servicing the port all ports should be checked again If any interrupting port is left unserviced the DS 200 300 will be unable to signal any further interrupts DS 200 300 User s Manual 6 2 6 2 Interrupt Status Register The DS 200 300 is equipped with an Interrupt Status Register ISR which can be used to simplify the servicing of shared interrupts This register is located at base address 7 along with the Options Register Like the OR the SP jumper must be removed to access the ISR To further indicate an access to this register the DLAB bit in the LCR of the UART must be set to 0 The ISR 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
24. nable 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 Configuration is done using jumpers J6 and J8 JUMPER CHANNEL FULL HALF AUX SIGNAL DUPLEX J5 Serial 0 X J6 Serial 0 X J7 Serial 1 X J8 Serial 1 X Figure 15 Jumper Channel Function correspondence Figure 16 illustrates how connecting adjacent pins on the jumper pack routes communication signals AUXOUT XCLK TXEN TXEN RTS TXEN Figure 16 Pinout of jumpers J5 J8 7 1 Quatech Inc 7 4 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 connecting pins 4 and 5 of the jumper pack CTS is received on AUXIN by connecting pins 1 and 2 of the jumper pack If RTS CTS handshaking is not desired the RTS output can be looped back to the CTS input by connecting pins 1 and 4 of the jumper pack Figure 17 shows how to select the RTS CTS mode AUXOUT XCLK AUXOUT XCLK RTS a CTS 1 CTS AUXIN RCLK AUXIN RCLK Transmit RTS on AUXOUT Loopback RTS to CTS Receive CTS on AUXIN Figure 17 RTS CTS selection on J5 J7 7 22 RCLK This is the clock signal used by the receiver portion of the UA
25. nbaucet mu e hd gut du robes es 7 6 7 8 RS 422 485 Peripheral Connechloti ooa C ee RE A OY ER NR Ma HERR a RERO REPAS 7 6 Specifications diocese ene codes wigan cade esate test 8 1 Troubleshooting s sese 9 1 Quatech Inc 1 General Information The Quatech Inc DS 200 300 provides two RS 422 RS 485 asynchronous serial communication interfaces for IBM compatible personal computer systems using the 16 bit ISA Industry Standard Architecture expansion bus The DS 200 300 s serial ports are implemented using 16550 or 16750 Universal Asynchronous Receiver Transmitters UARTs The 16550 UARTS enable the DS 200 300 to transmit and receive data at a rate of up to 230 4 kbaud the 16750 UARTS enable data rates of up to 921 6 kbaud The data rate can be altered either through hardware or software The 16550 contains a 16 byte hardware buffer that reduces processing overhead the 16750 contains a 64 byte hardware buffer To use the 16550 16750 s buffering capabilities the software must be aware of the UART s presence Otherwise it will act as a 16450 UART The 16750 is suggested for heavy multitasking environments and for applications involving high data rates The DS 200 300 uses Quatech s new Enhanced Serial Adapter design This allows the user 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 Enha
26. nced 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 addressed and can be placed anywhere within the range of 0000 hex to FFF8 hex at 0008 hex intervals Available interrupt levels include IRQ2 to IRQ7 IRQIO to IRQ12 IRQI1A or IRQIS5 Both ports on the DS 200 300 can share one interrupt level or an interrupt level can be shared with another Quatech adapter that supports interupt sharing A special Interrupt Status Register is provided to allow controlling software to manage the shared interrupt level The shared interrupt feature minimizes the system resources consumed by the adapter In order to support the use of the shared interrupt feature and the higher data rates of the DS 200 300 Quatech has developed device drivers for several popular operating systems and environments The sales department can be contacted for details on current offerings DS 200 300 User s Manual 1 1 This Page Intentionally Left Blank 1 2 Quatech Inc 2 Installation If the default address and interrupt settings are sufficient the DS 200 300 can be quickly installed and put to use The factory defaults are listed in Figure 1 PORT ADDRESS IRQ ENABLED Serial 0 3F8 hex 4 YES Serial 1 2F8 hex 3 YES Figure 1 Default address and IRQ settings for DS
27. ode is accomplished by connecting pins 2 and 5 of the jumper pack Figure 20 shows how to select this loopback mode AUXOUT XCLK RTS CTS AUXIN RCLK Loopback AUXOUT to AUXIN Figure 20 AUXIN AUXOUT loopback on J5 J7 7 3 Quatech Inc 7 5 Half Duplex Full Duplex selection Using jumper packs J6 and J8 the channels can be configured to operate in half duplex mode This causes the transmitters to be controlled by either the Data Terminal Ready DTR or the Request to Send RTS output from the UART In half duplex mode if the UART signal DTR or RTS is asserted logic 1 the transmitters are enabled for both TxD and AUXOUT At the same time since the inverse of the transmitter enable is connected to the receiver enable the receivers are disabled and the signal lines RXD and AUXIN enter a high impedence state If the signal from the UART is not asserted logic 0 the transmitter lines enter a high impedance state and the receivers are enabled 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 TXE TXEN ous TXEN DEN mew amp DOO Ho 00O ae enses A e Half Dupl
28. th the DS 200 300 to support the use of the FIFOs on the 16550 and 16750 UARTs Windows 95 uses the INF file to determine the system resources required by the DS 200 300 searches for available resources to fill the requirements of the board and then updates the hardware registry with an entry that allocates these resources Windows 95 will not automatically configure the DS 200 300 The user is required to manually configure the hardware to match the resources that 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 Adapter in Windows 95 using the Add New Hardware wizard Select Start Help from within Windows 95 for additional information on this utility 1 Start the Add New Hardware Wizard utility The icon for this utility is located in the Windows 95 control panel Double click the My Computer icon double click the Control Panel icon and double click the Add New Hardware icon 2 A dialog box should appear explaining the Add New Hardware Wizard utility Click the Next button to continue 3 An option box appears providing the choice of having Windows 9
Download Pdf Manuals
Related Search
Related Contents
1763-RM001 - Rockwell Automation SF-MATE USER`S MANUAL syslib-rm050 - Literature Library Buddy Products 5424-32 Instructions / Assembly Courier V.Everything Internal Modem: Getting Started Garmin 100 Gas Grill User Manual Brother 885-S61 Sewing Machine User Manual sub zero 700 series CENTRO DE IDIOMAS S Manual Descargar - Hitachi Copyright © All rights reserved.
Failed to retrieve file