Quatech, Inc. warrants the DS-102 to be free of defects for
one (1) year from the date of purchase. Quatech, Inc. will repair or
replace any board 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.
Please complete the following information and retain for your
records. Have this information available when requesting warranty
service.
DATE OF PURCHASE:
MODEL NUMBER:DS-102
PRODUCT DESCRIPTION: Dual Channel RS-232 Asynchronous
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.
IBM PCTM, PC-ATTM, PS/2™, and Micro Channel™ are trademarks of International
Business Machines Corporation.
I.GENERAL INFORMATION
Quatech
DS-102 User's Manual
1
The Quatech, Inc. DS-102 provides two RS-232 asynchronous serial
communication interfaces for IBM-compatible personal computer systems
using the ISA (Industry Standard Architecture) expansion bus.
The DS-102's two serial ports are implemented using 16450
Universal Asynchronous Receiver/Transmitters (UARTs). For higher
performance, 16550 UARTs can be installed in place of the 16450 UARTs.
The 16550 contains a hardware buffer that reduces processing overhead.
Software must be aware of the 16550 UART for the device's extra
capabilities to be used, otherwise it will act as a 16450 UART. The 16550
is suggested for multitasking environments and for applications involving
high data rates.
The DS-102 is highly flexible with respect to addressing and
interrupt level use. The base I/O address of each serial port can be
independently set anywhere within the range of 0000 hex to 07FF hex,
and available interrupt levels include IRQ2 through IRQ7.
II.INSTALLATION
YES
3
2F8 hex
(COM2)
Serial 2
YES
4
3F8 hex
(COM1)
Serial 1
ENABLED ?
IRQ
ADDRESS
PORT
2
Quatech
DS-102 User's Manual
If the default address and interrupt settings are sufficient, the
DS-102 can be quickly installed and put to use. The factory defaults are
listed in Figure 1.
Figure 1 --- Default address and IRQ settings for DS-102
The serial port outputs on the DS-102 are CN1 and CN2, which are
shielded D-9 connectors. Serial 1 is available on CN1 and Serial 2 is
available on CN2.
1. If the default settings are correct, skip to step 2, otherwise refer to
sections III and IV of this document for detailed information on
how to set the address and IRQ level for each port, and for how to
disable or enable each port.
2. Turn off the power of the computer system in which the DS-102 is
to be installed.
3. Remove the system cover according to the instructions provided by
the computer manufacturer.
4. Install the DS-102 in any vacant 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 D-9 connectors to the desired equipment.
Set addresses here
Quatech
DS-102 User's Manual
3
(SW1, SW2)
J1
J2
SW1
Serial 1
J3
QUATECH INC. DS-102
Set IRQ levels here
(J5, J6)
16450/16550
16450/16550
SW2
J4
Serial 2
Serial 1
J5
Serial 2
J6
IRQ2
IRQ3
IRQ4
IRQ5
IRQ6
(Diagram not to scale)
IRQ7
J7
J8
CN1
Serial 1
Serial 2
CN2
Figure 2 --- Diagram of DS-102
III.ENABLING AND ADDRESSING PORTS
15 (decimal), and is made up of four binary bits given weights of eight, four,
4
Quatech
DS-102 User's Manual
Setting the address
Each serial port on the DS-102 uses 8 consecutive I/O locations in
the range of 0000 hex to 07FF hex. The base address of each port is set
using a DIP switch pack on the DS-102. 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.
Switch SW1 selects address lines A10 through A3 for Serial 1.
Switch SW2 serves the same purpose with respect to Serial 2. The
remaining address lines (A2, A1 and A0) are used by the UART to select
the register being accessed. Address lines A11 through A15 must be at
logic 0 for a port to be selected. The serial ports may be independently
enabled or disabled by installing or removing a jumper from jumper pack
J4.
Figure 3 shows how the switches on the DS-102 represent the
address values for serial ports. This figure can be used to explain the
examples shown in Figure 4.
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
two, and one, hence the maximum value of 8+4+2+1 = 15.
A common serial port address is 03F8 hex. The example below shows
how the hex digits are broken down into binary bits.