Quatech RS-422 user manual Address Map and Special Registers, Base Address and Interrupt Level IRQ

Page 14

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 DSCLP-200/300.

4.1 Base Address and Interrupt Level (IRQ)

The base address and IRQ used by the DSCLP-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, for a total of 16 contiguous bytes, as shown in Figure 7.

Channel

I/O Address Range

 

 

 

 

Port 1

Base Address + 0

to

Base Address + 7

 

 

 

 

Port 2

Base Address + 8

to

Base Address + 15

 

 

 

 

Figure 7 --- Port Address Map

All two serial ports share the same IRQ. The DSCLP-200/300 signals a hardware interrupt when any 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 17 for details.

DSCLP-200/300 User's Manual

9

Image 14
Contents DSCLP-200/300 Page Serial Number Declaration of Conformity Table of Contents General Information Hardware Configuration RS-422 or RS-485 Signal Line TerminationSignal Connections Full-duplex/Half-duplex OperationRCLK0SEL, RCLK1SEL J13 1 CTS0SEL, CTS1SEL J10,172 AUX0SEL1,0, AUX1SEL1,0 J12,11,19,18 RXEN0SEL, RXEN1SEL J16 Enable Scratchpad Register SPAD, J24 TGL0SEL1,0, TGL1SEL1,0 J15,14,22,21 Clock Rate and Optional RegistersEnable scratchpad registers Force High-Speed Uart Clock X2 or X4, J4-J5X4 mode Hardware Installation Jumper/connector locationsAddress Map and Special Registers Base Address and Interrupt Level IRQEnabling the Special Registers Interrupt Status RegisterQuatech Modem Control Register Quatech Modem Control RegisterOptions Register Enhanced Serial Adapter IdentificationClock Rate Multiplier RR1 RR0Windows Configurations Windows MillenniumWindows Windows Windows Using the New Hardware Found Wizard Viewing Resources with Device Manager Page Page Page OS/2 Other Operating SystemsWindows NT DOS and other operating systemsQTPCI.EXE Basic Mode display QTPCI.EXE Expert Mode display External Connections Jumper/Channel correspondenceRTS/CTS Handshake RclkXclk AUXIN/AUXOUT LoopbackHalf-Duplex/Full-Duplex Selection Half- or full-duplex selection Termination Resistors RS-422/485 Line termination resistance valuesDSCLP-200/300 connector definitions RS-422/485 Peripheral ConnectionPCI Resource Map INTA#Specifications With 64-byte FIFOs optionalTroubleshooting Computer will not boot upDSCLP-200/300 Revision December