Qua Tech Inc. warrants the DS-1000
defects for one
Tech 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.
Although every attempt has been made to guarantee the
accuracy of this manual, Qua Tech Inc. assumes no liability
for damages resulting from errors in this document. Qua Tech
Inc. reserves the right to edit or append to this document at
any time without notice.
Please complete the following information and retain for
your records. Have this information available when requesting
warranty service.
DATE OF PURCHASE:
MODEL NUMBER: DS-1000
PRODUCT DESCRIPTION: DUAL
(1) year from the date of purchase. Qua
CHANNEL RS-232 ASYNCHRONOUS
to be free of
COMMUNICATIONS
SERIAL NUMBER:
BOARD
IBMTM, PS/2TM, and Micro Channel
are registered trademarks of
International Business Machines.
i
TM
FEDERAL COMMUNICATIONS COMMISSION STATEMENT
+-----------------------------------------------+
| |
| The Qua Tech DS-1000 is certified to comply |
| with Class B limits, Part 15 of FCC Rules. |
| |
| FCC ID: F4A4LUDS1000 |
| |
+-----------------------------------------------+
This equipment generates and uses radio frequency energy
and if not installed and used properly, that is, in strict
accordance with the manufacturer's instructions, may cause
interference to radio and television reception. It has been
type tested and found to comply with the limits for a Class B
computing device in accordance with the specifications in
Subpart J of Part 15 of FCC Rules, which are designed to
provide reasonable protection against such interference in a
residential installation. However, there is no guarantee that
interference will not occur in a particular installation. If
this equipment does cause interference to radio or television
reception, which can be determined by turning the equipment
off and on, the user is encouraged to try to correct the
interference by one or more of the following measures:
Reorient the receiving antenna.
Relocate the computer with respect to the receiver.
Move the computer away from the receiver.
Plug the computer into a different outlet so that the
computer and receiver are on different branch circuits.
If necessary, the user should consult the dealer or an
experienced radio / television technician for additional
suggestions. The user may find the following booklet prepared
by the Federal Communications Commission helpful:
"How to Identify and Resolve
Radio-TV Interference Problems"
This booklet is available from:
U.S. Government Printing Office
Washington, DC 20402
Stock No. 004-000-00345-4
The DS-1000 is a dual channel RS-232C asynchronous serial
communication adapter for the PS/2. The DS-1000 is designed
to be used in the Serial 1 through Serial 8 address range as
specified for the PS/2, although eight other addresses are
available for applications requiring additional serial ports.
The available interrupt selections (IRQ 3,4,7 and 9) can be
used to reduce the number of interrupt sources on a single
interrupt input. This feature can reduce software overhead in
interrupt driven, high throughput applications.
The DS-1000 serial interface is accomplished through a
pair of 16550 Asynchronous Communication Elements (ACEs). The
16550 is compatible with the 8250 and 16450 ACEs used in the
IBM PC/XT/AT models. The 16550 also has an additional FIFO
mode that reduces CPU overhead at higher data rates.
The DS-1000 address and interrupt selections are selected
through the Programmable Option Select (POS) using the IBM
installation utilities. In addition, jumpers are provided on
the DS-1000 to configure the adapter as Data Terminal
Equipment (DTE) or Data Communications Equipment (DCE).
DTE/DCE selection can ease the cabling burden in local
applications where MODEMS are not required.
II. BOARD
A component diagram of the DS-1000 showing the locations
of the 16550 ACEs, DTE/DCE configuration jumpers, and D-9
connectors is shown in Figure 1. The first communication
channel is controlled by the 16550 labeled U27, jumper J1, and
is accessed through connector P1. The second channel uses the
16550 labeled U28, jumper J2, and is accessed through
connector P2.
DESCRIPTION
iv
iv
III. 16550 FUNCTIONAL DESCRIPTION
The 16550 is an upgrade of the standard 16450
Asynchronous Communications Element (ACE). Designed to be
compatible with the 16450, the 16550 enters the character mode
on reset and in this mode will appear as a 16450 to user
software. An additional mode, FIFO mode, can be selected to
reduce CPU overhead at high data rates. The FIFO mode
increases performance by providing two internal 16-byte FIFOs
(one transmit and one receive) to buffer data and reduce the
number of interrupts issued to the CPU.
Other features include:
Programmable baud rate, character length, parity,
and number of stop bits
Automatic addition and removal of start, stop, and
parity bits
Independent and prioritized transmit, receive and
status interrupts
Transmitter clock output to drive receiver logic
The following pages provide a brief summary of the
internal registers available within the 16550 ACE. The
registers are addressed as shown in Figure 2 below.
+---------------+----------------------------------------+
| DLAB A2 A1 A0 | REGISTER DESCRIPTION |
+---------------+----------------------------------------+
| 0 0 0 0 | Receive buffer (read only) |
| | Transmit holding register (write only) |
| 0 0 0 1 | Interrupt enable |
| x 0 1 0 | Interrupt identification (read only) |
| | FIFO control (write only) |
| x 0 1 1 | Line control |
| x 1 0 0 | MODEM control |
| x 1 0 1 | Line status |
| x 1 1 0 | MODEM status |
| x 1 1 1 | Scratch |
| 1 0 0 0 | Divisor latch (least significant byte) |
| 1 0 0 1 | Divisor latch (most significant byte) |
+---------------+----------------------------------------+
Figure 2. Internal register map for 16550 ACE. DLAB is
accessed through the Line Control Register.
iv
IIIA. INTERRUPT ENABLE REGISTER
+-------+
D7 | 0 |
+-------+
D6 | 0 |
+-------+
D5 | 0 |
+-------+
D4 | 0 |
+-------+
D3 | EDSSI |----- MODEM status
+-------+
D2 | ELSI |----- Receiver line status
+-------+
D1 | ETBEI |----- Transmitter holding register empty
+-------+
D0 | ERBFI |----- Received data available
+-------+
Figure 3. Interrupt enable register bit definitions.
EDSSI - MODEM Status Interrupt:
When set (logic 1), enables interrupt on clear to
send, data set ready, ring indicator, and data carrier
detect.
ELSI - Receiver Line Status Interrupt:
When set (logic 1), enables interrupt on overrun,
parity, and framing errors, and break indication.
Indicates highest priority interrupt pending if any.
See IP and Figure 5. NOTE: IID2 is always a logic 0
in character mode.
IP - Interrupt Pending:
When logic 0, indicates that an interrupt is pending
and the contents of the interrupt identification
register may be used to determine the interrupt
source. See IIDx and Figure 5.
+---------------------+----------+----------------------+
| IID2 IID1 IID0 IP | Priority | Interrupt Type |
+---------------------+----------+----------------------+
| x x x 1 | N/A | None |
| 0 1 1 0 | Highest | Receiver Line Status |
| 0 1 0 0 | Second | Received Data Ready |
| 1 1 0 0 | Second | Character Timeout |
| | | (FIFO only) |
| 0 0 1 0 | Third | Transmitter Holding |
| | | Register Empty |
| 0 0 0 0 | Fourth | MODEM Status |
+---------------------+----------+----------------------+
Figure 5. Interrupt identification bit definitions.
Receiver Line Status:
Indicates overrun, parity, or framing errors or break
interrupts. The interrupt is cleared by reading the
line status register.
Received Data Ready:
Indicates receiver data available. The interrupt is
cleared by reading the receiver buffer register
FIFO mode:
Indicates the receiver FIFO trigger level has been
reached. The interrupt is reset when the FIFO drops
below the the trigger level.
Character Timeout: (FIFO mode only)
Indicates no characters have been removed from or input to the
receiver FIFO for the last four character times and
there is at least one character in the FIFO during
this time. The interrupt is cleared by reading the
receiver FIFO.
Transmitter Holding Register Empty:
Indicates the transmitter holding register is empty.
The interrupt is cleared by reading the interrupt
identification register or writing to the transmitter
holding register.
MODEM Status:
Indicates clear to send, data set ready, ring
indicator, or data carrier detect have changed state.
The interrupt is cleared by reading the MODEM status
register.
Figure 11. MODEM control register bit definitions.
LOOP - Loopback Enable:
When set (logic 1), the transmitter shift register is
connected directly to the receiver shift register.
The MODEM control inputs are internally connected to
the MODEM control outputs and the outputs are forced
to the inactive state. Therefore all characters
transmitted are immediately received to verify
transmit and receive data paths. Transmitter and
receiver interrupts still operate normally. MODEM
control interrupts are available but are now
controlled through the MODEM control register.
Bits OUT2, OUT1, RTS, and DTR perform
identical functions on their respective
outputs. When these bits are set (logic 1)
in the register, the associated output is
forced to a logic 0. When cleared (logic
0), the output is forced to a logic 1.
OUT2 - Output 2:
Controls the OUT2 output, pin 31, as described above.
Used for interrupt enable. See section VII.
OUT1 - Output 1:
Controls the OUT1 output, pin 34, as described above.
Unused on DS-1000.
RTS - Request To Send:
Controls the RTS output, pin 32, as described above.
DTR - Data Terminal Ready:
Controls the DTR output, pin 33, as described above.
Indicates one or more parity errors, framing errors,
or break indications in the receiver FIFO. FFRX is
reset by reading the line status register.
TEMT - Transmitter Empty:
Indicates the transmitter holding register (or FIFO)
and the transmitter shift register are empty and are
ready to receive new data. TEMT is reset by writing a
character to the transmitter holding register.
THRE - Transmitter Holding Register Empty:
Indicates the transmitter holding register (or FIFO)
is empty and it is ready to accept new data. THRE is
reset by writing data to the transmitter holding
register (or FIFO).
iv
IIIF. LINE STATUS REGISTER (continued)
Bits BI, FE, PE, and OE are the sources of
receiver line status interrupts. The bits
are reset by reading the line status
register. In FIFO mode, these bits are
associated with a specific character in the
FIFO and the exception is revealed only
when that character reaches the top of the
FIFO.
BI - Break Interrupt:
Indicates the receive data input has been in the
spacing state (logic 0) for longer than one full word
transmission time.
FIFO mode:
Only one zero character is loaded into the FIFO and
transfers are disabled until SIN goes to the mark
state (logic 1) and a valid start bit is received.
FE - Framing Error:
Indicates the received character had an invalid stop
bit. The stop bit following the last data or parity
bit was a 0 bit (spacing level).
PE - Parity Error:
Indicates that the received data does not have the
correct parity.
OE - Overrun Error:
Indicates the receive buffer was not read before the
next character was received and the character is
destroyed.
FIFO mode:
Indicates the FIFO is full and another character has
been shifted in. The character in the shift register
is destroyed but is not transferred to the FIFO.
DR - Data ready:
Indicates data is present in the receive buffer or
FIFO. DR is reset by reading the receive buffer
register or receiver FIFO.
iv
IIIG. MODEM STATUS REGISTER
+------+
D7 | DCD |----- Data carrier detect
+------+
D6 | RI |----- Ring indicator
+------+
D5 | DSR |----- Data set ready
+------+
D4 | CTS |----- Clear to send
+------+
D3 | DDCD |----- Delta data carrier detect
+------+
D2 | TERI |----- Trailing edge ring indicator
+------+
D1 | DDSR |----- Delta data set ready
+------+
D0 | DCTS |----- Delta clear to send
+------+
Figure 13. MODEM status register bit definitions.
DCD - Data Carrier Detect:
Complement of the DCD input, pin 38.
RI - Ring Indicator:
Complement of the RI input, pin 39.
DSR - Data Set Ready:
Complement of the DSR input, pin 37.
CTS - Clear To Send:
Complement of the CTS input, pin 36.
Bits DDCD, TERI, DDSR, and DCTS are the
sources of MODEM status interrupts. These
bits are reset when the MODEM status
register is read.
DDCD - Delta Data Carrier Detect:
Indicates the Data Carrier Detect input, pin 38, has
changed state.
TERI - Trailing Edge Ring Indicator:
Indicates the Ring Indicator input, pin 39, has
changed from a low to a high state.
DDSR - Delta Data Set Ready:
Indicates the Data Set Ready input, pin 37, has
changed state.
DCTS - Delta Clear To Send:
Indicates the Clear to Send input, pin 36, has changed
state.
iv
IIIH. SCRATCHPAD REGISTER
This register is not used by the 16550. It may be used
by the programmer for data storage.
IV. FIFO
INTERRUPT MODE OPERATION
1. The receive data interrupt is issued when
the FIFO reaches the trigger level. The
interrupt is cleared as soon as the FIFO
falls below the trigger level.
2. The interrupt identification register's
receive data available indicator is set
and cleared along with the receive data
interrupt above.
3. The data ready indicator is set as soon
as a character is transferred into the
receiver FIFO and is cleared when the
FIFO is empty.
Figure 14. Divisor latch settings for common baud rates
using a 1.8432 Mhz crystal.
iv
VI. ADDRESSING
Each channel of the DS-1000 uses 8 consecutive I/O
address locations. The base addresses are independent but
must begin on an even 8-byte boundary (xxx0H - xxx7H or
xxx8H - xxxFH). The numbers xxx are controlled by the
Programmable Option Select (POS) and address decoders to
provide complete 16-bit addressing for each channel. Sixteen
choices of base address are provided for each channel and
include the eight addresses defined as SERIAL 1 through SERIAL
8. The remaining eight addresses are a constant 8000H offset
from these values. A complete table of available addresses is
given in Figure 16. The 16550 utilizes its eight assigned
addresses as shown in Figure 2.
VII. INTERRUPTS
The DS-1000 is capable of supporting four interrupt
levels, IRQ 3,4,7 and 9. Each channel may select a separate
interrupt or one may be shared by both channels. If interrupt
sharing is used, the interrupt pending (IP) bit in the
interrupt identification register should be used to test for
the source of the interrupt.
CAUTION:
To maintain compatibility with earlier personal
computer systems, the user defined output, OUT 2, is
used as an external interrupt enable and must be set
active for interrupts to be acknowledged. OUT 2 is
accessed through the 16550's MODEM control register.
VIII. PROGRAMMABLE
OPTION SELECT
The IBM PS/2 family of computers using the MicroChannel
bus structure utilize on board registers referred to as the
Programmable Option Select (POS) registers to hold the
adapter's configuration information. The first two POS
registers hold a unique adapter identification number that has
been issued to Qua Tech for the DS-1000. This number is
defined in hardware and can not be changed. These registers
are read only.
The remaining POS registers are used for address and
interrupt selections. These registers are programmed by the
user through the IBM installation utility supplied with the
PS/2. These registers are read/write but should not be
written to by user software. The bit definitions of these
registers are given in Figures 15(a) and 15(b).
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 while data communication
equipment is defined as devices that provide a communication
channel between two DTE type devices.
Figure 18. Use of Data Terminal Equipment (DTE) and
Data Communication Equipment (DCE) to
implement an RS-232-C communication link.
Data terminal equipment and data communication equipment
have complementary pinouts to allow terminals and MODEMs to be
connected directly using a one-to-one cable as shown in figure
21(a). In many applications, DCEs are unnecessary because of
the short distances involved. In these cases, a custom cable
called a null MODEM or MODEM eliminator is usually required to
perform the direct connection of two DTEs. A typical null
MODEM cable is shown in figure 21(b). To further simplify
these connections, the DS-1000 is equipped with a DTE/DCE
jumper configuration block for each channel. This allows the
DS-1000 to communicate with DCE or DTE devices without any
special cabling.
Shown are jumpers for port 1. NOTE:
Connections are referenced by port and pin
number. e.g. P1.3 _ port 1 pin 3, P1.6 _
port 1 pin 6.
iv
X. INSTALLATION
Make sure there is a copy of the original
reference diskette available. This
diskette must be modified to accept any
option adapters.
1. Turn unit off.
2. Remove system cover as instructed in the IBM Quick
Reference Guide.
3. Insert adapter into any vacant slot following the
guidelines for installing an optional adapter in the
IBM Quick Reference Guide.
4. Replace system cover.
5. Turn unit on and insert copy of reference diskette
into drive A.
6. Respond "N" to automatic configuration.
7. Select "Copy an option diskette" and follow copying
instructions.
8. Select "Set configuration"
9. Select "Change configuration" or "Run automatic
configuration" and follow installation instructions.
After the initial installation, the reference diskette will
contain the configuration file for the DS-1000. Subsequent
re-installation or address changes may omit step 7 and a "Y"
response may be given in step 6 (automatically configure
system) if desired.
iv
XI. SPECIFICATIONS
Bus interface: IBM MicroChannel 16-bit bus
Controllers: 2 - 16550 Asynchronous Communication
Elements (ACEs)
RS-232 interface: 2 - D-9 connectors (male)
optional: 2 - D-25 connectors (male) available
using adapter cables provided
Transmit drivers: MC1488 or compatible
Receive buffers: MC1489 or compatible
I/O Address range: See Figure 16
Interrupt levels: IRQ 3,4,7,9
Power requirements:
+--------+--------+-----------+
| IT | I
+--------+--------+-----------+
| 500mA | 575mA | +5 Volts |
| 38mA | 46mA | +12 Volts |
| 36mA | 43mA | -12 Volts |
+--------+--------+-----------+
IT - Typical adapter current
I
- Maximum statistical adapter current
MS
| Supply |
MS
iv
Loading...
+ 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.