

Communications Adapter
for PCI bus
User's Manual

Quatech, Inc. warrants the ESC-100 to be free of defects for five (5) years 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.
MODEL NUMBER: ESC-100 (D/M)
PCI Bus Communications Adapter SERIAL NUMBER:

(c) 1998 - 2004, Quatech, Inc.
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.
DOS, Windows ME, Windows 2000, Windows 98, Windows 95, Windows NT are trademarks or registered trademarks of Microsoft Corporation. OS/2 is a registered trademark of IBM Corporation. All other trademarks or registered trademarks are property of their respective owners.

Manufacturer's Name: Quatech Inc.
Standards to which Conformity is Declared: * EN50081-1 (EN55022, EN60555-2, EN60555-3) * EN50082-1 (IEC 801-2, IEC 801-3, & IEC 801-4)

8 1.2.1 "IND" Option --- Surge Suppression Upgrade 8 1.2 Features 7 1.1 Connector Type 7 1 General Information
9 2.2 Enable Scratchpad Register (SPAD, J4) 9 2.1 Factory Default Configuration 9 2 Hardware Configuration
10 2.3 Force High-Speed UART Clock (X2, X4, or X8, J1-J3)
11 3 Hardware Installation
12 4 Address Map and Special Registers
12 4.1 Base Address and Interrupt Level (IRQ)
14 4.4 Options Register 13 4.3 Interrupt Status Register 13 4.2 Enabling the Special Registers
14 4.4.1 Enhanced Serial Adapter Identification
15 4.4.2 Clock Rate Multiplier
19 5.4 Windows 1995 18 5.3 Windows 98 17 5.2 Windows 2000 16 5.1 Windows Millennium 16 5 Windows Configuration
20 5.6 Viewing Resources with Device Manager 20 5.5 Windows NT
23 6 DOS and Other Operating Systems
23 6.1.1 QTPCI.EXE 23 6.1 DOS and other operating systems
26 7 OS/2
28 8.1 ESC-100D Channel Output Configuration 27 8 External Connections
30 8.2 ESC-100M Channel Output Configuration
32 9 PCI Resource Map
33 10 Specifications
35 11 Troubleshooting

The Quatech, Inc. ESC-100 provides eight RS-232 asynchronous serial communication interfaces for IBM-compatible personal computer systems using the PCI expansion bus. The ESC-100 uses Quatech's new Enhanced Serial Adapter design. Legacy serial port data rates are limited to a maximum of 115,200 bits per second. Quatech Enhanced Serial Adapters can achieve data rates as high as 921,600 bits per second.
As a PCI device, the ESC-100 requires no hardware configuration. The card is automatically configured by the computer's BIOS or operating system. The eight serial ports share a single interrupt line and are addressed in a contiguous block of 64 bytes. A special interrupt status register is provided to help software to manage the shared interrupt.
The ESC-100'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 receive data at a rate of up to 921,600 bits per second.
The ESC-100 is supported under several popular operating systems and environments. Contact the sales department for details on current software offerings. Most device drivers are available for download from the Quatech world wide web site at http://www.quatech.com
The ESC-100 is available with two different connector schemes, reflected in the specific model number of the board.
The ESC-100D uses a D-78 connector. A cable is supplied to break each serial port out into a standard male D-25 connector. All modem control signals are provided for each serial port.
The ESC-100M uses modular RJ-11 (phone jack style) connectors, one per serial port. Only six signals are available on the RJ-11 connector. Along with the transmit (TXD) and receive data (RXD) signals, carrier detect (DCD) and a ground, either the RTS/CTS signal pair or the DTR/DSR signal pair can be connected. The other signal pair can be connected in a loopback configuration on the board. Optional adapter cables translate the RJ-11 connectors to D-25 connectors with customer-configurable pinouts.

The standard ESC-100 implements each of its communication channels with a 16750 UART and uses standard line driver and receiver components. For improved performance and industrial-grade reliability, Quatech offers the following board upgrades:
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.
Figure 1 --- ESC-100 Product Series Summary

The ESC-100 is automatically configured at boot time by the computer's BIOS or operating system. There are no required switches or jumpers to set for installation.
This chapter lists a number of optional jumper settings that control various hardware features. Jumpers J1-J4 are grouped together at the end of the board opposite the D-78 or RJ-11 connector. Any changes from the factory default should be made before installing the ESC-100 in the computer.
Figure 2 shows the jumper configuration as shipped from the factory, with two spare jumpers applied in neutral positions. Remove one or both and apply as shown in following sections to set optional features.
J2
J3
J4
SPAD
Figure 2 --- Factory default jumper configuration
In the default configuration, an Interrupt Status Register and an Options Register (see page 9) replace the scratchpad (base address + 7) of each UART. If the SPAD jumper is applied as in Figure 3, the UART scratchpad registers are enabled, and the Interrupt Status Register and the Options Register are not available.
J2
J3
SPAD
J4
Figure 3 --- Enable scratchpad registers

These jumpers force an increase of the UART input clock frequency by a factor of two, four, or eight. This can allow legacy software to use baud rates above 115,200 bits per second. It is also useful if the serial port device driver does not directly support setting the higher baud rates through the Options Register (see page 9).
If one of these jumpers is applied, it overrides any value written to the Options Register to set the clock multiplier by software. The effective baud rate 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.
J1
J2
J2
J3
J3
SPAD
J4
SPAD
J4
Factory default software control
Force times-two clock Baud rates up to 230.4 kbps
J1
J2
J2
J3
J3
J4
SPAD
J4
SPAD
Force times-four clock Baud rates up to 460.8 kbps
Force times-eight clock Baud rates up to 921.6 kbps
Figure 4 --- Clock multiplier jumper options

The output of the ESC-100D is a 78-pin D-connector. A cable is provided to convert the D-78 into eight standard male D-25 connectors with all control signals provided to each port (RTS, DTR, CTS, DSR, DCD, and RI).
The output of the ESC-100M is eight 6-pin RJ-11 connectors. Optional cables are available to convert the RJ-11s into male D-25 connectors, with customer-configurable pinouts.
AUXIN/AUXOUT signal selection (ESC-100M only)
J7
J8
Clock multiplier/ scratchpad select
J10
J11
J1 J2 J3
X2 X4 X8 SPAD
J12
J4
Figure 5 --- Jumper/connector locations



The ESC-100 contains two unique registers, an Interrupt Status Register and an Options Register. These registers are enabled when the SPAD jumper (J4) 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 7.
Figure 7 --- DLAB bit selects between special registers
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 ESC-100, as shown in Figure 8. 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.
Figure 8 --- Interrupt Status Register

The Options Register allows software to identify the ESC-100 as a Quatech Enhanced Serial Adapter. It also allows software to set the UART clock rate multiplier. Figure 9 shows the structure of the Options Register.
The powerup default of the Options Register is all bits zero.
ID bit 0 ID0 6 ID bit 1 ID1 7 (MSB)
(reserved, 0) - 4 (reserved, 0) - 5
(reserved, 0) - 3
Clock rate multiplier bit 1 RR1 1 (reserved, 0) - 2
Clock rate multiplier bit 0 RR0 0
Figure 9--- Options Register bit definitions
The ID bits are used to identify the ESC-100 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 Adapter by writing the ID bits with the patterns shown in the "write" column of Figure 10, then reading the bits and comparing the result with the patterns in the "read" column. Matching read patterns verify the presence of the Options Register.
0 1 0 0 1 1 0 1 0 ID0 ID1 ID0 ID1
Figure 10 --- ID bit write/read table
Description Name Bit · Read Write

A standard RS-232 serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, Quatech Enhanced Serial Adapters can operate at two times, four times, or even eight times this standard clock speed. This is controlled by the clock rate multiplier bits in the Options Register.
Software can determine the UART clock frequency by reading the clock rate multiplier bits RR1 and RR0 in the Options Register as shown in Figure 11. RR1 and RR0 can be set by writing to the Options Register if the X2, X4, and X8 jumpers (J1-J3) are all removed. If one of these jumpers is applied, the RR1 and RR0 bits are forced to the appropriate value. Reading the Options Register will always return the clock rate multiplier at which the board is operating.
115.2 kbaud 1.8432 MHz X1 (default) 0 0
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
Figure 11 --- Rate Register bit definition
At powerup and reset, the Options Register is initialized to 0. The ESC-100 will thus powerup in the x1 mode with software control of the clock rate multiplier enabled as long as the X2, X4, and X8 jumpers are not installed.
Software can control high baud rates through a combination of changing the clock rate multiplier and the UART baud rate divisor. For example, a baud rate of 230.4 kbps could be achieved by setting the clock rate multiplier to X2 mode (or by applying the X2 jumper) and setting a software application for 115.2 kbps.


the "Next" button. 3. The final dialog screen will verify the file copy from the diskette. Click the
"Finish" button.


Click the "OK" button.





The following instructions provide step-by-step instructions on installing the ESC-100 in Windows 95 using the "New Hardware Found" wizard.

are not required to select the file name. After finding the directory containing the INF files, Windows 95 will choose the correct file.
latest version of these files installed. If you do not have your Windows 95
install CD 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 \WINDOWS\SYSTEM directory.
The Windows NT device driver is installed by running the SETUP program. Up to 256 serial ports are supported. There is a command line-based configuration utility which is used for adding PCI bus and ISA bus serial ports. Please refer to the ReadMe.txt file located in the Serial Port Adapters\Drivers\Windows NT 4.0 for PCI, PCMCIA, ISA folder on the Quatech COM CD for complete installation and configuration instructions.

The following instructions provide step-by-step instructions on viewing resources used by the ESC-100 in Windows using the "Device Manager" utility. Select Start|Help from within Windows for additional information on this utility.

assigned to your ports by Windows 95. This name is required by a Windows 95 application when accessing a particular port.
Windows maintains a registry of all known hardware installed in your computer. Inside this hardware registry Windows 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 ESC-100 to allow easy configuration in the Windows 95 environment. Also a custom Windows serial device driver is included with the ESC-100 to support the use of the 16750 UART's 64 byte FIFO. Windows uses the "INF" file to determine the system resources required by the ESC-100, searches for available resources to fill the boards requirements, and then updates the hardware registry with an entry that allocates these resources.

The ESC-100 is not a direct drop-in replacement for a legacy serial port because its base address and IRQ cannot be fixed at values such as 3F8 hex, IRQ 4 (COM1) or 2F8 hex, IRQ 3 (COM2), etc. Rather, the system BIOS assigns the address and the IRQ in a plug-and-play fashion at boot time. Software which is to use the ESC-100 must be able to accommodate any valid assignments of these resources.
For Windows and OS/2 the Quatech device drivers determine what the resource assignments are and proceed accordingly. In other cases, however, the user must intervene. The discussion below will center on DOS, but the concepts can be applied to other operating systems as well.
Many DOS applications support user configuration of the base address and IRQ of a serial port. Such applications can generally make use of the ESC-100. Older applications, as well as some custom software, may use hard-coded standard legacy serial port addresses. These applications will require modifications if they are to use the ESC-100.
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 Interest Group. Contact Quatech technical support for more information.
Quatech's "QTPCI" utility supplies the information required when modifying the serial port settings of the application. This program should be run from real DOS, not in a Windows DOS box.
Figure 14 shows the Basic Mode display for the ESC-100 after the "Q" key has been pressed. In this example, the ESC-100 uses I/O base address FE80 hex and IRQ 11. The hardware revision of the ESC-100 is also displayed. Pressing the "N" key will show similar information for all non-Quatech PCI devices in the system, including those devices integrated on the motherboard.

The QTPCI program is capable only of displaying the PCI configuration. It
cannot be used to make changes.
Quatech PCI Configuration Information Display Software Version 1.00
INSTRUCTIONS: Press keys listed in the menu at the bottom of the screen. This program only displays information. It cannot make changes
PCI BIOS detected, version 2.10
Quatech PCI adapters detected ESC-100D Eight-port RS-232 adapter (Hardware Revision A1) Uses IRQ 11 Base addr 1 = 0xfe80 I/O _
Q - Quatech PCI adapters N - Other PCI devices X - EXIT
M - Change to Expert Mode
Figure 14 --- QTPCI.EXE Basic Mode display
Figure 15 shows the Expert Mode display for the ESC-100 after the "Q" key has been pressed. The information from the Basic Mode display is presented along with more details such as the Vendor and Device IDs, PCI Class Code, size of memory and

I/O regions, etc. Pressing the "N" key will show similar information for all non-Quatech PCI devices in the system, including those devices integrated on the motherboard. In this example, the "Base addr 0" resource is reserved.
For users interested in even more details, PCI BIOS information can be displayed by pressing the "B" key. Pressing the "I" key displays the PCI interrupt routing table.
Quatech PCI Configuration Information Display Software Version 1.00
Quatech PCI adapters detected ESC-100d eight-port RS-232 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 0x0050 INTA# mapped to IRQ 11 (route 0x61) Base addr 0 = 0xfc80 I/O 0X80 bytes allocated Base addr 1 = 0xfe80 I/O 0X40 bytes allocated _
Q - Quatech PCI adapters N - Other PCI devices X - EXIT
M - Change to Basic Mode
B - PCI BIOS details I - Interrupt routing details
Figure 15 --- QTPCI.EXE Expert Mode display

The OS/2 device driver supports up to 32 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.

RS-232-C devices are classified by their function as either Data Terminal Equipment (DTE) or Data Communication Equipment (DCE). Generally, data terminal equipment is defined as the communication source and data communication equipment is defined as the device that provides a communication channel between two DTE-type devices.
DTE
DCE
RS-232-C
DTE
DCE
Figure 16 --- Use of DTEs and DCEs in a communications link
DTE- and DCE-type devices have complementary pinouts to allow terminals and modems to be connected directly using a one-to-one cable as shown in Figure 17. In many applications, DCEs are unnecessary, and in these cases a cable called a "null modem cable" or "modem eliminator cable" is used to directly connect two DTE-type devices. A typical null modem cable is also shown in Figure 17.
(3) (2) (4) (5) (20)
(3) (2) (4) (5) (20)
RxD TxD RTS CTS DTR DSR DCD
RxD TxD RTS CTS DTR DSR DCD
(3) (2) (4) (5) (20) (6) (8) (22) (7) RI
TxD RxD CTS RTS DSR DTR DCD
(3) (2) (4) (5) (20)
RxD TxD RTS CTS DTR DSR
RxD TxD RTS CTS DTR DSR
(3) (2) (4) (5) (20)
RI DCD
RI DCD
RI
GND
GND
GND
GND
GND
GND
Typical DTE-to-DTE null modem cable
Figure 17 --- Cabling requirements for RS-232-C devices
(cables using 25-pin connectors shown)

The ESC-100D connects to peripheral equipment through a single female D-78 connector, or using the adapter cable, eight male D-25 connectors. The standard serial port connections are listed in Figure 18. Unlisted pins are not used and not connected.

Port 4 Port 3 Port 2 Port 1 RS-232
2 65 2 26 2 60 2 21 TxD
3 45 3 6 3 40 3 1 RxD
4 46 4 7 4 41 4 2 RTS
5 66 5 27 5 61 5 22 CTS
20 47 20 8 20 42 20 3 DTR
6 67 6 28 6 62 6 23 DSR
8 48 8 9 8 43 8 4 DCD
22 68 22 29 22 63 22 24 RI
7 49 7 10 7 44 7 5 GND
Port 8 Port 7 Port 6 Port 5 RS-232
2 75 2 36 2 70 2 31 TxD
3 55 3 16 3 50 3 11 RxD
4 56 4 17 4 51 4 12 RTS
5 76 5 37 5 71 5 32 CTS
20 57 20 18 20 52 20 13 DTR
6 77 6 38 6 72 6 33 DSR
8 58 8 19 8 53 8 14 DCD
22 78 22 39 22 73 22 34 RI
7 59 7 20 7 54 7 15 GND
Figure 18 --- ESC-100D Connector Pinouts


Dashed lines delineate channels Pins 25, 30, 35, 64, 69, 74 unused
Figure 19 --- ESC-100D Output Connectors

The ESC-100M connects to peripheral equipment through RJ-11 connectors, or using the optional adapter cables, male D-25 connectors. When the RJ-11 connector is converted to a D-25 connector, the adapter cables must be assembled with respect to either a DTE or DCE configuration. The standard serial port connections are listed in Figure 20.
DCE connection DTE connection RS-232 Signal
4 20 1 5 6 1 AuxIn (CTS) (DSR)
3 2 2 2 Transmit Data (TxD)
8 3 8 3 Carrier Detect (DCD)
7 4 7 4 Signal Ground
2 5 3 5 Receive Data (RxD)
6 5 6 20 4 6 AuxOut (DTR) (RTS)
Figure 20 --- ESC-100M Connector Pinouts
4 1 2 3 5 6
D-25 connector (using adapter cable)
RJ-11 connectors in CN1
Figure 21 --- ESC-100M Output Connectors
Description · (Top of board) · RJ-11 connector pinout

The AUXIN and AUXOUT signals on the RJ-11 connector must be determined as well. Either CTS or DSR may be received on AUXIN. Either RTS or DTR may be transmitted on AUXOUT. The decision of which signals to use is made separately for each channel as shown in Figure 22 below.
The Ring Indicator (RI) signal is tied permanently to DSR.
J5-J12 Output Configuration Jumpers
RTS
CTS
(A) Auxiliary control jumpers.
J5 - channel 1 J6 - channel 2 J7 - channel 3 J8 - channel 4
J9 - channel 5 J10 - channel 6 J11 - channel 7 J12 - channel 8
AUXIN
DTR
DSR
RTS
CTS
(B) Output configuration:
Transmit RTS Receive CTS Loopback DTR - DSR
DTR
DSR
RTS
CTS
(C) Output configuration:
AUXIN
Transmit DTR Receive DSR Loopback RTS - CTS
DSR
RTS
CTS
(D) Output configuration:
AUXIN
Loopback RTS - CTS Loopback DTR - DSR Loopback AUXIN - AUXOUT
DSR
Figure 22 --- ESC-100M Auxiliary Signal Configuration Jumpers

Listed below are the PCI resources used by the ESC-100. Such information may be of use to customers writing their own device drivers or other custom software. A detailed description of the ESC-100's UARTs is available on the Quatech web site.
(all numbers in hex)
PCI Vendor ID: 0x135C Quatech, Inc.
Port 1 at offset 0x00 Port 2 at offset 0x08 Port 3 at offset 0x10 Port 4 at offset 0x18 Port 5 at offset 0x20 Port 6 at offset 0x28 Port 7 at offset 0x30 Port 8 at offset 0x38
PCI Class Code

Bus interface PCI, 32-bit bus, 5-volt only
Controller: 16750 with 64-byte FIFOs Interface: (ESC-100D) One female D-78 connector, with eight male D-25 connectors using supplied adapter cable
(ESC-100M) Eight RJ-11 connectors, or eight male D-25 connectors using optional adapter cables
Transmit drivers: SN75150 or compatible High-level output: +5V min, +8V typical Low-level output: -5V max, -8V typical Switching speed low-to-high: 1.4 µs with 2500 pF load 40 ns with 15 pF load high-to-low: 1.5 µs with 2500 pF load 20 ns with 15 pF load
Receive buffers: MC1489 or compatible High-level input: +3V to +13V Low-level input: -3V to -13V Switching speed: 120 ns typical, 175 ns max
IBM-compatible computers · Serial ports · Power requirements

Maximum Load (pF) Data Rate
4800 4300 3300 1570 800 115.2 2000 1630 1100 900 330 230.4 1100 900 670 430 100 460.8 470 430 300 100 N/A 921.6
Note 1: The signal transition time ratio is defined as the percentage of the unit interval or bit time (the inverse of the data rate) that is occupied by the signal transitioning from -3V to +3V. The EIA/TIA-232-E standard defines a maximum signal transition time ratio of 4%; most RS-232 receivers will recognize signal transitions with much larger ratios. With a 4% signal transition time ratio, EIA/TIA-232-E is limited to a theoretical data rate of 200 kbaud. If maximum signal transition time ratio is extended to 10%, 15%, 20%, or even 25%, the maximum data rate achievable using EIA/TIA-232-E can be increased past 200 kbaud.

Listed here are some common problems and frequent causes of those problems. If the information here does not provide a solution, contact Quatech technical support.
Any unauthorized repairs or modifications will void the ESC-100's warranty.
Computer will not boot up.
Cannot communicate with other equipment.
TxD and RxD (pins 2 and 3) RTS and CTS (pins 4 and 5) DCD, DTR, DSR, and RI (pins 8, 20, 6 and 22)

ESC-100D/M User's Manual Revision 1.30 March 2004 P/N: 940-0147-130
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.