Quatech DS-200/300 user manual Data Rate Multiplier Jumper Block, Options Register

Page 19

5. Data Rate Multiplier

A standard RS-422/485 serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, the DS-200/300 Enhanced Serial Adapter can operate at two times, four times (16750 UART only), or even eight times (16750 UART only) this standard clock speed. The user can set this speed, known as the data rate multiplier, in two different ways: by modifying hardware jumper settings or by writing to a DS-200/300 register known as the Options Register.

5.1 Data Rate Multiplier Jumper Block

The data rate multiplier jumper block (J9) is used to set the data rate multiplier if software is not available to do so. This jumper block contains five positions (three positions with the 16550 UARTs): X8 (16750 UART only), X4 (16750 UART only), X2, SW, and SP. Placing a jumper in the X2, X4, or X8 positions sets the data rate multiplier accordingly. Placing a jumper in the SW position tells the board to fetch its data rate multiplier from the Options Register. The SP jumper position determines access to two special registers on the DS-200/300: the Interrupt Status Register (ISR) and the Options Register (OR). Virtually no commercially available software makes use of the Scratchpad Register (SCR) on the UART at [base address+7]. By co-locating the new DS-200/300 registers at this address, the use of additional I/O memory locations has been avoided. If the SP jumper is installed, the SCR of the UART will be accessed at [base address+7], as in a standard serial port. However, if the SP jumper is removed, then either the ISR (see Section 6) or the OR will be accessed at [base address+7].

5.2 Options Register

The DS-200/300 is equipped with an Options Register which has two functions: a two-bit rate register which allows software to set the data rate multiplier and a two-bit ID register which allows software to identify the DS-200/300. The register is located at [base address+7], and requires that the SP jumper be removed and the DLAB bit in the Line Control Register (LCR) of the UART be set to 1. See Figure 9 for the structure of the OR.

The ID register provides a means for software applications to identify the board as a DS-200/300. It does this by performing logic on the bits written to these locations so that the values read out of these locations will not necessarily be the values that were written to these locations. When performing a write-read operation to the ID register, the software can identify a DS-200/300 board by recognizing the pattern read back from the ID bits (seeFigure 10).

BIT

NAME

DESCRIPTION

7

ID1

ID register bit 1

6

ID0

ID register bit 0

DS-200/300 User's Manual

5-1

Image 19
Contents DS-200/300 Page DS-200/300 Warranty InformationQuatech Inc Iii Table of Contents General Information This Page Intentionally Left Blank Installation Photo of DS-200/300 Quatech Inc Using the Add New Hardware Wizard Windows 95 ConfigurationQuatech Inc Viewing and Changing Resources with Device Manager Page Page Addressing Ports Setting the addressSerial 0 uses SW1 and SW2 Serial 1 uses SW3 and SW4 Recommended addresses for serial ports Enabling or disabling portsData Rate Multiplier Jumper Block Data Rate MultiplierOptions Register Options Register bit definitions This Page Intentionally Left Blank Interrupt level IRQ selection Quatech Inc Interrupt Level IRQInterrupt Sharing Interrupt Status Register Interrupt Status Register contents Quatech IncThis Page Intentionally Left Blank Jumper/Channel/Function correspondence Output ConfigurationRclk RTS/CTS handshakeXclk Xclk selection on J5, J7 AUXIN/AUXOUT LoopbackJ6/J8 J6 = Serial0 J8 = Serial1 Half Duplex/Full Duplex selectionOutput control block diagram Factory Default Configuration of DS-200/300RS-422/485 Peripheral Connection Termination ResistorsDS-200/300 connector definitions for RS-422/485 This Page Intentionally Left Blank Baud Rates SpecificationsQuatech Inc Computer will not boot up TroubleshootingPage DS-200/300 Revision March