Quatech DS-102 User Manual

Dual channel rs-232 asynchronous communications adapter

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DS-102 and is the answer not in the manual?

Questions and answers

Summary of Contents for Quatech DS-102

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

    FIFO CONTROL REGISTER (16550 only) LINE CONTROL REGISTER MODEM CONTROL REGISTER LINE STATUS REGISTER MODEM STATUS REGISTER SCRATCHPAD REGISTER FIFO INTERRUPT MODE OPERATION (16550 UART only) FIFO polled mode operation (16550 UART only) BAUD RATE SELECTION VII. SPECIFICATIONS VIII. TROUBLESHOOTING Quatech DS-102 User's Manual...
  • Page 5 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.
  • Page 6 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.
  • Page 7: General Information

    The DS-102 is highly flexible with respect to addressing and interrupt level use. The base I/O address of each serial port can be independently set anywhere within the range of 0000 hex to 07FF hex, and available interrupt levels include IRQ2 through IRQ7.
  • Page 8: Installation

    IRQ level for each port, and for how to disable or enable each port. 2. Turn off the power of the computer system in which the DS-102 is to be installed. 3. Remove the system cover according to the instructions provided by the computer manufacturer.
  • Page 9 Set addresses here (SW1, SW2) (Diagram not to scale) 16450/16550 Serial 1 16450/16550 Serial 1 Serial 2 Serial 2 Serial 1 Serial 2 QUATECH INC. DS-102 Set IRQ levels here (J5, J6) Figure 2 --- Diagram of DS-102 Quatech DS-102 User's Manual...
  • Page 10: Enabling And Addressing Ports

    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"...
  • Page 11 Factory default setting for Serial 1 --- 03F8 hex (COM1) Factory default setting for Serial 2 --- 02F8 hex (COM2) Example: 03E8 hex (typical for COM3) Example: 02E8 hex (typical for COM4) Figure 4 --- Serial Port base I/O address selection switches Quatech DS-102 User's Manual...
  • Page 12: Enabling Or Disabling Ports

    Figure 5 --- Recommended addresses for serial ports Enabling or disabling ports Each port of the DS-102 may be individually enabled or disabled. To enable a port, install a jumper between the appropriate pins of jumper pack J4. To disable a port, remove the appropriate jumper from J4. This is illustrated in Figure 6 below.
  • Page 13 (This page intentionally left blank.) Quatech DS-102 User's Manual...
  • Page 14: Setting Interrupt Levels (Irqs)

    IV. SETTING INTERRUPT LEVELS (IRQS) 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.
  • Page 15: Interrupt Sharing

    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: External Connections

    Figure 11. (20) (20) (20) (20) (20) (22) (22) (22) (22) (22) (22) Typical DTE-to-DCE cable Typical DTE-to-DTE null modem cable Figure 11 --- Cabling requirements for RS-232-C devices (cables using 25-pin connectors shown) Quatech DS-102 User's Manual...
  • 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.
  • 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. RS-232 Signal DTE Connection DCE Connection Description D-25...
  • Page 19 (This page intentionally left blank.) Quatech DS-102 User's Manual...
  • Page 20: Serial Port Functional Description

    | Independent and prioritized interrupts. | Transmit clock output / receive clock input. The DS-102's serial ports are controlled by the 16450 or 16550 UARTs labeled U7 and U8. The serial ports will generate interrupts in accordance with the bits set in the interrupt enable register of the UARTs.
  • Page 21: Accessing The Serial Port Registers

    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 (see section III). Notice that two locations access different registers depending on whether an I/O read or I/O write is attempted.
  • Page 22: Interrupt Enable Register

    UART, but are not reported in this register until the access completes. For the 16550 only, this register can be used to indicate whether the FIFO mode is engaged by examining bits 6 and 7. Quatech DS-102 User's Manual...
  • Page 23 (Indicates transmit FIFO empty for 16550.) 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 18 --- IIDx bit decoding Quatech DS-102 User's Manual...
  • Page 24: Fifo Control Register (16550 Only)

    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 supported by the DS-102 adapter. DESCRIPTION...
  • Page 25: Line Control Register

    6 bits 7 bits 8 bits 5 bits 6 bits 7 bits 8 bits Word length select: WLS1 --- Determines the WLS0 --- number of bits per transmitted word. Figure 20 --- Line Control Register bit definitions Quatech DS-102 User's Manual...
  • Page 26: Modem Control Register

    Finally, the user-defined outputs OUT1 and OUT2 are controlled from this register. The DS-102 handles the OUT1 and OUT2 signals in the manner appropriate for maintaining compatibility with standard PC serial ports: | The OUT1 output is not connected.
  • Page 27: Line Status Register

    The bits are reset by reading the line status register. In 16550 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. Quatech DS-102 User's Manual...
  • Page 28: Modem Status Register

    This register is located at I/O address [base+7]. It is not used by the 16450 or 16550. It may be used by the programmer for temporary data storage. The Scratchpad Register is eight bits wide and can be read or written. Quatech DS-102 User's Manual...
  • Page 29: Fifo Interrupt Mode Operation

    FIFO since the last time the transmitter holding register was empty. 3. The first transmitter interrupt after enabling the FIFO mode will be immediate if that interrupt is enabled. Quatech DS-102 User's Manual...
  • Page 30: Fifo Polled Mode Operation (16550 Uart Only)

    4. The Transmitter Empty bit indicates that the transmitter shift register is empty as well as the transmit FIFO being empty. 5. Trigger levels and FIFO timeouts do not apply. Both FIFOs are fully capable of holding multiple characters at any time. Quatech DS-102 User's Manual...
  • Page 31: Baud Rate Selection

    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 circuit to produce the standard clock frequency. Jumper block J1 is used to set the frequency input to the UART. It may be connected to divide the clock input by 1, 2, 5, or 10.
  • Page 32 LATCH VALUE ACTUAL VALUES (%) 2304 1536 1047 0.026 1200 1800 2000 0.69 2400 3600 4800 7200 9600 19200 38400 56000 2.86 Figure 25 --- Divisor Latch settings for common baud rates using 1.8432 MHz input clock Quatech DS-102 User's Manual...
  • Page 33: Specifications

    I/O Address range: 0000H - 07FFH Interrupt levels: IRQ2 through IRQ7 Power requirements +5 volts: 390 mA typ, 443 mA max +12 volts: 38 mA typ, 46 mA max -12 volts: 36 mA typ, 43 mA max Quatech DS-102 User's Manual...
  • Page 34: Troubleshooting

    Any unauthorized repairs or modifications will void the DS-102's warranty. Computer will not boot up. 1. Is the DS-102 properly inserted? Remove the card and try again. Perhaps try a different expansion slot. 2. Is the base address correctly set? Check for address conflicts with other devices in the system.
  • Page 35 DS-102 Dual Channel RS-232 Asynchronous Communications Adapter User's Manual Revision 3.00 August 13, 1993...

Table of Contents