Quatech RS-485 user manual Clock Rate Multiplier, RR1 RR0

Page 19

4.5.2 Clock Rate Multiplier

A standard serial port operates at a clock speed of 1.8432 MHz. In order to achieve higher data rates, Quatech Enhanced Serial Adapters can operate at two times, four times, or even eight times this standard clock speed. This is controlled by the clock rate multiplier bits in the Options Register.

Software can determine the UART clock frequency by reading the clock rate multiplier bits RR1 and RR0 in the Options Register as shown in Figure 12. RR1 and RR0 can be set by writing to the Options Register if the X2, X4, and X8 jumpers are all removed. If one of these jumpers is applied, the RR1 and RR0 bits are forced to the appropriate value. Reading the Options Register will always return the clock rate multiplier at which the board is operating.

RR1

RR0

Clock Rate

UART Clock

Maximum Data

Multiplier

Frequency

Rate

 

 

0

0

X1

1.8432 MHz

115.2 kbaud

(default)

 

 

 

 

0

1

X2

3.6864 MHz

230.4 kbaud

1

0

X4

7.3728 MHz

460.8 kbaud

1

1

X8

14.7456 MHz

921.6 kbaud

Figure 12 --- Rate Register bit definition

At powerup and reset, the Options Register is initialized to 0. The DSC-200/300 will thus powerup in the x1 mode with software control of the clock rate multiplier enabled as long as the X2, X4, and X8 jumpers are not installed.

Software can control high baud rates through a combination of changing the clock rate multiplier and the UART baud rate divisor. For example, a baud rate of 230.4 kbps could be achieved by setting the clock rate multiplier to X2 mode (or by applying the X2 jumper) and setting a software application for 115.2 kbps.

Quatech DSC-200/300 User's Manual

17

Image 19
Contents DSC-200/300 Date of Purchase Model Number Page Declaration of Conformity 4 TGL0SEL1,0, TGL1SEL1,0 J15,14,22,21 IND Option --- Surge Suppression UpgradeChanging Resource Settings with Device Manager 2 AUX0SEL1,0, AUX1SEL1,0 J12,11,19,18Half-Duplex/Full-Duplex/Auto-Toggle Selection External ConnectionsGeneral Information DSC-200/300 Product Series Summary FeaturesFull-duplex/Half-duplex Operation Signal ConnectionsJumpers J10-J23 define the options for this card RCLK0SEL, RCLK1SEL J13 1 CTS0SEL, CTS1SEL J10,17RXEN0SEL, RXEN1SEL J16 Clock Rate and Optional Registers Enable Scratchpad Register SPAD, J2Clock multiplier jumper options Hardware Installation Base Address and Interrupt Level IRQ Interrupt Status Register Enabling the Special RegistersQuatech Modem Control Register Quatech Modem Control RegisterBit Name Description Options RegisterRR1 RR0 Clock Rate MultiplierWindows Millennium Windows Windows Windows Windows NT Viewing Resources with Device Manager Quatech DSC-200/300 PCI Two-Port RS-422/RS485 Serial Adapter Adapter Data Rate Multiplier Application. This mode is useful for legacy Used when external handshaking or Page DOS and other operating systems OS/2QTPCI.EXE QTPCI.EXE Expert Mode display Jumpers J10-12 RTS/CTS HandshakeTclk RclkAUXIN/AUXOUT loopback AUXIN/AUXOUT LoopbackHalf/full-duplex and Auto-Toggle selection RS-422/485 Termination Termination ResistorsRS-422/485 Peripheral Connection DSC-200/300 connector definitionsPCI Resource Map Specifications Computer will not boot up