Qua Tech Inc. warrants the DS-2000
free of defects for one
purchase. Qua 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-2000
PRODUCT DESCRIPTION: DUAL
(1) year from the date of
CHANNEL RS-422 ASYNC.
to be
COMMUNICATIONS
SERIAL NUMBER:
IBM PC/XT/ATTM, PS/2TM, and MicroChannelTM are trademarks
of International Business Machines.
The DS-2000 is a dual channel asynchronous serial
communication adapter which utilizes balanced
differential drivers and receivers to provide RS-422-A
communications. It is capable of reliable communications
over long distances (4000 feet) within noisy industrial
environment. Data is communicated through two D-9
connectors which provide shielding from environmental
noise. Optional high speed transient suppressers may
also be installed on the DS-2000 to further reduce the
effects of environmental signal transients and surges.
The 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-2000 supports sixteen base addresses for each
ACE through the Programmable Option Select (POS)
including the eight addresses designated SERIAL 1 through
SERIAL 8. The addresses are independent for each
channel. CPU interrupt level selections are also handled
through the POS. Each channel may select a separate
interrupt or share an interrupt level with other devices.
II. BOARD
DESCRIPTION
A component diagram of the DS-2000 showing the
locations of the 16550 ACEs, configuration jumpers, and
D-9 connectors is shown in figure 1. The first
communication channel is controlled by the 16550 labeled
U9, jumper J2, and is accessed through the connector
labeled CN1. The second channel uses the 16550 labeled
U10, jumper J3, and is accessed through the connector
labeled CN2. The clock rate divider for both channels is
controlled by jumper J1.
iii
FUNCTIONAL DESCRIPTION
Figure 1. DS-2000 board layout.
iii
FUNCTIONAL DESCRIPTION
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 of the 16550 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
External receiver clock input
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) |
| | Transmit holding register (write) |
| 0 0 0 1 | Interrupt enable |
| x 0 1 0 | Interrupt identification (read) |
| | FIFO control (write) |
| 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) |
| 1 0 0 1 | Divisor latch (most significant) |
+---------------+-----------------------------------+
Figure 2. Internal register map for 16550 ACE. DLAB is
accessed through the Line Control Register.
iii
FUNCTIONAL DESCRIPTION
A. 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.
iii
FUNC
TIONAL DESCRIPTION
+-------------------+----------+----------------------+
| 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 receive 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.
iii
Loading...
+ 18 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.