Quatech RS-485 user manual Base Address and Interrupt Level IRQ

Page 15

4 Address Map and Special Registers

This chapter explains how the two UARTs and special registers are addressed, as well as the layout of those registers. This material will be of interest to programmers writing driver software for the DSC-200/300.

4.1 Base Address and Interrupt Level (IRQ)

The base address and IRQ used by the DSC-200/300 are determined by the BIOS or operating system. Each serial port uses 8 consecutive I/O locations. The two ports reside in a single block of I/O space in eight-byte increments, along with a sixteen-byte reserved region, for a total of 32 contiguous bytes, as shown in Figure 7.

Port

I/O Address Range

Serial 1

Base Address + 0

to

Base Address + 7

 

 

 

 

Serial 2

Base Address + 8

to

Base Address + 15

 

 

 

 

Figure 7 --- Port Address Map

Both serial ports share the same IRQ. The DSC-200/300 signals a hardware interrupt when either port requires service. The interrupt signal is maintained until no port requires service. Interrupts are level-sensitive on the PCI bus.

The base address and IRQ are automatically detected by the device drivers Quatech supplies for various operating systems. For cases where no device driver is available, such as for operation under DOS, Quatech supplies the "QTPCI" DOS software utility for manually determining the resources used. See page 31 for details.

Quatech DSC-200/300 User's Manual

13

Image 15
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 1 CTS0SEL, CTS1SEL J10,17 RCLK0SEL, RCLK1SEL J13RXEN0SEL, 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