Quatech, Inc. warrants the QSC(LP)-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.
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 95/98/2000/ME, 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.
The Quatech, Inc. QSC(LP)-100 provides four RS-232 asynchronous serial
communication interfaces for Low Profile IBM-compatible personal computer
systems using the PCI expansion bus. The QSC(LP)-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 QSC(LP)-100 requires no hardware configuration.
The card is automatically configured by the computer's BIOS or operating system.
The four serial ports share a single interrupt line and are addressed in a
contiguous block of 32 bytes. A special interrupt status register is provided to
help software to manage the shared interrupt.
The QSC(LP)-100's serial ports are implemented using 16550 Universal
Asynchronous Receiver/Transmitters (UARTs). These UARTs contain hardware
buffers (FIFOs) which reduce processing overhead and allow higher data rates to
be achieved.
The QSC(LP)-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.
QSC(LP)-100 User's Manual6
2 Hardware Configuration
The QSC(LP)-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
hardware features. Jumpers J2-J5 are grouped together at the end of the board
opposite the HD-44 connector. Any changes from the factory default should be
made before installing the QSC(LP)-100 in the computer.
2.1Factory Default Configuration
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.
jumper settings that control various
J2
J3
J4
J5
SPAD
X8
X4
X2
Figure 2 --- Factory default jumper configuration
2.2Enable Scratchpad Register (SPAD, J2)
In the default configuration, an Interrupt Status Register (see section 4.3)
and an Options Register (see section 4.4) 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
X8
J4
J5
X4
X2
Figure 3 --- Enable scratchpad registers
QSC(LP)-100 User's Manual7
2.3Force High-Speed UART Clock (X2, X4, or X8, J3-J5)
p
p
p
These jumpers force an increase of the UART input clock frequency by a
factor of two, four, or eight. This feature 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 section 4.4).
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.
J2
J3
J4
J5
Factory default
software control
J2
J3
J4
J5
Force times-four clock
Baud rates u
to 460.8 kbps
Figure 4 --- Clock multiplier jumper options
SPAD
X8
X4
X2
SPAD
X8
X4
X2
J2
J3
J4
J5
Force times-two clock
Baud rates u
J2
J3
J4
J5
Force times-eight clock
Baud rates u
to 230.4 kbps
SPAD
to 921.6 kbps
SPAD
X8
X4
X2
X8
X4
X2
QSC(LP)-100 User's Manual8
3 Hardware Installation
1. Turn off the power of the computer system in which the QSC(LP)-100 is
to be installed.
2. Remove the system cover according to the instructions provided by the
computer manufacturer.
3. Make any desired optional jumper setting changes.
4. Install the QSC(LP)-100 in any empty PCI 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 cable connectors to the desired equipment.
7. Turn on the power of the computer system.
The output of the QSC(LP)-100 is a 44-pin D-connector. A cable is
provided to convert the D-44 into four standard male D-9 connectors with all
control signals provided to each port (RTS, DTR, CTS, DSR, DCD, and RI).
Clock multiplier/
scratchpad select
SPAD
X8
X4
X2
Figure 5 --- Jumper/connector locations
QSC(LP)-100 User's Manual9
4 Address Map and Special Registers
This chapter explains how the four UARTs and special registers are
addressed, as well as the layout of those registers. This material will be of interest
to programmers writing driver software for the QSC(LP)-100.
4.1Base Address and Interrupt Level (IRQ)
The base address and IRQ used by the QSC(LP)-100 are determined by the
BIOS or operating system. Each serial port uses 8 consecutive I/O locations. The
four ports reside in a single block of I/O space in eight byte increments, for a total
of 32 contiguous bytes, as shown in Figure 6.
I/O Address RangePort
Base Address + 0to Base Address + 7Serial 1
Base Address + 8to Base Address + 15Serial 2
Base Address + 16to Base Address + 23Serial 3
Base Address + 24to Base Address + 31Serial 4
Figure 6 --- Port Address Map
All four serial ports share the same IRQ. The QSC(LP)-100 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 address and IRQ are automatically detected by the device drivers
Quatech supplies for various operating systems. For cases where no device driver
is available, such as for operation under DOS, Quatech supplies the "QTPCI"
DOS software utility for manually determining the resources used. See section
6.3.1 for details.
QSC(LP)-100 User's Manual10
4.2Enabling the Special Registers
The QSC(LP)-100 contains two unique registers, an Interrupt Status
Register and an Options Register. These registers are enabled when the SPAD
jumper (J6) 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.
SPAD JumperDLAB Bit
Figure 7 --- DLAB bit selects between special registers
Register selected for
address 7 accesses
Interrupt Status Registerremoved0
Options Registerremoved1
Scratchpad RegistersappliedX
4.3Interrupt 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 entire QSC(LP)-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.
DescriptionBit
0 (not used)7 (MSB)
0 (not used)6
0 (not used)5
0 (not used)4
Port 4 --- 1 if interrupt pending3
Port 3 --- 1 if interrupt pending2
Port 2 --- 1 if interrupt pending1
Port 1 --- 1 if interrupt pending0
Figure 8 --- Interrupt Status Register
QSC(LP)-100 User's Manual11
4.4Options Register
The Options Register allows software to identify the QSC(LP)-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.
DescriptionNameBit
ID bit 1ID17 (MSB)
ID bit 0ID06
(reserved, 0)-5
(reserved, 0)-4
(reserved, 0)-3
(reserved, 0)-2
Clock rate multiplier bit 1RR11
Clock rate multiplier bit 0RR00
Figure 9--- Options Register bit definitions
4.4.1 Enhanced Serial Adapter Identification
The ID bits are used to identify the QSC(LP)-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.
ReadWrite
ID0ID1ID0ID1
0000
1010
1001
0111
Figure 10 --- ID bit write/read table
QSC(LP)-100 User's Manual12
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.