Quatech DS-102 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Quatech DS-102, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Quatech DS-102 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Quatech DS-102. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Quatech DS-102 should contain:
- informations concerning technical data of Quatech DS-102
- name of the manufacturer and a year of construction of the Quatech DS-102 item
- rules of operation, control and maintenance of the Quatech DS-102 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Quatech DS-102 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Quatech DS-102, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Quatech service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Quatech DS-102.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Quatech DS-102 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    DS-102 Dual Channel RS-232 Asynchronous Communications Adapter for ISA compatible machines User's Manual QUATECH, INC. TEL: (330) 434-3154 662 Wolf Ledges Parkway FAX: (330) 434-1409 Akron, Ohio 44311 BBS: (330) 434-2481 INTERFACE CARDS FOR IBM PC/AT AND PS/2[...]

  • Page 2

    [...]

  • Page 3

    28 VIII. TROUBLESHOOTING 27 VII. SPECIFICATIONS 25 BAUD RATE SELECTION 24 FIFO polled mode operation (16550 UART only) 23 FIFO INTERRUPT MODE OPERATION (16550 UART only) 22 SCRATCHPAD REGISTER 22 MODEM STATUS REGISTER 21 LINE STATUS REGISTER 20 MODEM CONTROL REGISTER 19 LINE CONTROL REGISTER 18 FIFO CONTROL REGISTER (16550 only) 16 INTERRUPT IDENTI[...]

  • Page 4

    [...]

  • Page 5

    WARRANTY INFORMATION 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 impro[...]

  • Page 6

    © 1993, Quatech, Inc. NOTICE 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 righ[...]

  • Page 7

    I . GENERAL INFORMATION 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 p[...]

  • Page 8

    II . INSTALLATION 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 . YES 3 2F8 hex (COM2) Serial 2 YES 4 3F8 hex (COM1) Serial 1 ENABLED ? IRQ ADDRESS PORT Figure 1 --- Default address and IRQ settings for DS-102 The serial port outputs on t[...]

  • Page 9

    IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 Set IRQ levels here (Diagram not to scale) 16450/16550 16450/16550 SW1 Serial 1 SW2 Serial 2 J4 Set addresses here (SW1, SW2) (J5, J6) J7 J8 J1 Serial 1 Serial 2 CN1 CN2 J5 J6 Serial 1 Serial 2 J2 J3 QUATECH INC. DS-102 Figure 2 --- Diagram of DS-102 Quatech DS-102 User's Manual 3[...]

  • Page 10

    III . ENABLING AND ADDRESSING PORTS 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 correspondin[...]

  • Page 11

    Switch on bit = 0 Switch off bit = 1 Serial 1 uses SW1 Serial 2 uses SW2 Factory default setting for Serial 1 --- 03F8 hex (COM1) ON 1234567 8 8 2 1 F 4 8 8 2 1 3 0 SW1 Factory default setting for Serial 2 --- 02F8 hex (COM2) ON 123456 78 8 2 1 F 4 8 8 2 0 2 0 SW2 Example: 03E8 hex (typical for COM3) ON 1234567 8 8 2 0 E 4 8 8 2 1 3 0 Example: 02E8[...]

  • Page 12

    The standard addresses for serial ports COM1 and COM2 are listed in Figure 5 . Recommended addresses for serial ports COM3 and COM4 are also listed. The switch settings for these addresses are shown in Figure 4 . 02E8 hex COM4 Recommendations only. No official standards exist for COM3 and COM4. 03E8 hex COM3 Factory default for Serial 2. 02F8 hex C[...]

  • Page 13

    (This page intentionally left blank.) Quatech DS-102 User's Manual 7[...]

  • Page 14

    IV . SETTING INTERRUPT LEVELS ( IRQ S) The DS-102 interrupt circuitry allows each port to use any interrupt level in the range IRQ2 through IRQ7. The interrupt levels are selected using jumper packs J5 for Serial 1 and J6 for Serial 2. In Figure 7 , the factory default settings for Serial 1 and Serial 2 are shown. IRQ7 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 Seri[...]

  • Page 15

    Interrupt Sharing An interrupt sharing circuit allows a port on the DS-102 to share an interrupt with the other port on the board or with another Quatech adapter supporting sharable interrupts. When interrupt sharing is used, the software must query each port attached to a given IRQ level when an interrupt for that IRQ is received by the computer. [...]

  • Page 16

    V . EXTERNAL CONNECTIONS 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 devic[...]

  • Page 17

    To simplify connections to other devices, each port on the DS-102 is equipped with a jumper block that allows the port to be configured as either a DTE- or DCE-type device. This allows the DS-102 to communicate with either DTE- or DCE-type devices without using a null modem cable. J7 is used for Serial 1 and J8 is used for Serial 2. The DTE/DCE sel[...]

  • Page 18

    The DS-102 connects to peripheral equipment through male D-9 connectors. Adapters are available to convert these connectors into standard D-25 male connectors. The standard serial port connections are listed in Figure 13 . 22 9 22 9 Ring Indicator (RI) 4 7 5 8 Clear To Send (CTS) 5 8 4 7 Request To Send (RTS) 20 4 6 6 Data Set Ready (DSR) 7 5 7 5 S[...]

  • Page 19

    (This page intentionally left blank.) Quatech DS-102 User's Manual 13[...]

  • Page 20

    VI . SERIAL PORT FUNCTIONAL DESCRIPTION This section contains information intended for advanced users planning to do custom programming with the DS-102. The information presented here is a technical description of the interface to the 16450 or 16550 UART. The 16450 UART is an improved functional equivalent of the 8250 UART, performing serial-to-par[...]

  • Page 21

    Accessing the Serial Port registers Figure 15 lists the address map for the 16450 and 16550 UARTs. Each register can be accessed by reading from or writing to the proper I/O address. This I/O address is determined by adding an offset to the base address set for the particular serial port. The base address is set using DIP switches on the DS-102 (se[...]

  • Page 22

    INTERRUPT ENABLE REGISTER This register is located at I/O address [base+1]. It enables the five types of UART interrupts. Interrupts can be totally disabled by setting all of the enable bits in this register to a logic 0. Setting any bit to a logic 1 enables that particular interrupt. ETBEI --- Received Data Available Interrupt: When set (logic 1),[...]

  • Page 23

    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 Figure 18 . 0 IID0 --- 1 IID1 --- 2 Interrupt Identification: Indicates highest priority interrupt pending if any. See Figure 18 . NOTE: IID2 is always a logic 0 [...]

  • Page 24

    FIFO CONTROL REGISTER (16550 only) This register, which applies only to the 16550 UART, is a write-only register located at I/O address [base+2]. It is used to enable the FIFO mode, clear the FIFOs, set the threshold level for the receive FIFO to generate interrupts, and to set the mode under which the device uses DMA. Note that DMA mode is NOT sup[...]

  • Page 25

    LINE CONTROL REGISTER This register is located at I/O address [base+3]. It is used for specifying the format of the asynchronous serial data to be processed by the UART, and to set the Divisor Latch Access Bit (DLAB) allowing access to the baud rate divisor latches. WLS0 --- 0 Word length select: Determines the number of bits per transmitted word. [...]

  • Page 26

    MODEM CONTROL REGISTER This register is located at I/O address [base+4], and is used to control the interface with the modem or device used in place of a modem. This register allows the states of the "modem control signals" to be changed. These are DTR (Data Terminal Ready) and RTS (Request To Send). It is also possible to place the UART [...]

  • Page 27

    LINE STATUS REGISTER This register is located at I/O address [base+5]. It is used to provide various types of status information concerning the data transfer. As Figure 22 shows, the Line Status Register indicates several types of errors, an empty transmit buffer, a ready receive buffer, or a break on the receive line. DR --- Data ready: Indicates [...]

  • Page 28

    MODEM STATUS REGISTER This register is located at I/O address [base+6]. It reports on the status of signals coming from the modem or equipment used in place of a modem. It allows the current states of "modem control signals" to be sensed. These signals include the DCD (Data Carrier Detect), RI (Ring Indicator), DSR (Data Set Ready), and C[...]

  • Page 29

    FIFO INTERRUPT MODE OPERATION (16550 UART only) When the receiver FIFO and receiver interrupts are enabled: 1 . The receive data interrupt is issued when the receive FIFO reaches the trigger level. The interrupt is cleared as soon as the receive FIFO falls below the trigger level. 2 . The Interrupt Identification Register's receive data availa[...]

  • Page 30

    FIFO polled mode operation (16550 UART only) The receiver and transmitter are operated independently, which would allow either or both to be used in a polled mode rather than using interrupts to determine when the UART needs to be serviced. To use the UART in a polled mode, the software is responsible for continuously checking for the conditions th[...]

  • Page 31

    BAUD RATE SELECTION The 16450 or 16550 UART determines the baud rate of the serial output using a combination of the clock input frequency and the value written to the divisor latches. Standard personal computer serial interfaces use an input clock of 1.8432 MHz. To increase versatility, the DS-102 uses an 18.432 MHz crystal and a frequency divider[...]

  • Page 32

    2.86 2 56000 - 3 38400 - 6 19200 - 12 9600 - 16 7200 - 24 4800 - 32 3600 - 48 2400 0.69 58 2000 - 64 1800 - 96 1200 - 192 600 - 384 300 - 768 150 0.026 1047 110 - 1536 75 - 2304 50 ERROR BETWEEN DESIRED AND ACTUAL VALUES (%) DIVISOR LATCH VALUE DESIRED BAUD RATE Figure 25 --- Divisor Latch settings for common baud rates using 1.8432 MHz input clock[...]

  • Page 33

    VII . SPECIFICATIONS Bus interface: Industry Standard Architecture (ISA) 8-bit bus Serial ports Controller: 16450 (16550 optional) Interface: Two male D-9 connectors Two male D-25 connectors optional using adapter cables Transmit drivers: MC1488 or compatible High level output voltage: +9V min, +10.5V max Low level output voltage: -9V min, -10.5V m[...]

  • Page 34

    VIII . TROUBLESHOOTING Listed here are some common problems and frequent causes of those problems. Suggestions for corrective action are given. If the information here does not provide a solution, contact Quatech Customer Service for technical support. Any unauthorized repairs or modifications will void the DS-102's warranty. Computer will not[...]

  • Page 35

    DS-102 Dual Channel RS-232 Asynchronous Communications Adapter User's Manual Revision 3.00 August 13, 1993[...]