background image

4.2 Enabling the Special Registers

The DSC-100 contains two unique registers, an Interrupt Status Register and an Options

Register.  These registers are enabled when the SPAD jumper is removed (factory default).  They
replace the UART Scratchpad Register on accesses to register address 7.

The Interrupt Status Register and Options Register are  accessed through the scratchpad

location of either UART.  The DLAB bit of the UART (Line Control Register, bit 7) is used to
select between the two registers.  The most recent write of a DLAB bit in either UART selects
between the two registers as shown in Figure 7.

Scratchpad Registers

applied

X

Options Register

removed

1

Interrupt Status Register

removed

0

Register selected for

address 7 accesses

SPAD Jumper

DLAB Bit

Figure 7 --- DLAB bit selects between special registers

4.3 Interrupt Status Register

The read-only Interrupt Status Register can be used to quickly identify which serial ports

require servicing after an interrupt.  Reading the Interrupt Status Register will return the interrupt
status of the entire DSC-100, as shown in Figure 8.  The individual bits are cleared as the
interrupting ports are serviced.  The interrupt service routine should ensure that the interrupt
status register reads zero before exiting.

Port 1 --- 1 if interrupt pending

0

Port 2 --- 1 if interrupt pending

1

0 (not used)

2

0 (not used)

3

0 (not used)

4

0 (not used)

5

0 (not used)

6

0 (not used)

7  (MSB)

Description

Bit

Figure 8 --- Interrupt Status Register

Quatech  DSC-100 User's Manual

10

Summary of Contents for DSC-100

Page 1: ...SC 100 Two Channel RS 232 Asynchronous Communications Adapter for PCI bus User s Manual QUATECH INC TEL 330 655 9000 5675 Hudson Industrial Parkway FAX 330 655 9010 Hudson Ohio 44236 http www quatech com ...

Page 2: ... the procedures outlined in this document during the warranty period Any damage that results from improper installation operation or general misuse voids all warranty rights Please complete the following information and retain for your records Have this information available when requesting warranty service DATE OF PURCHASE MODEL NUMBER DSC 100 PRODUCT DESCRIPTION Two Channel RS 232 Asynchronous P...

Page 3: ... made to ensure its accuracy and completeness In no event willQuatech 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 Quatech Inc encourages feedback about this document Please send any written comments to the Technical Sup...

Page 4: ...ication of Council Directive 89 336 EEC Standards to which Conformity is Declared EN50081 1 EN55022 EN60555 2 EN60555 3 EN50082 1 IEC 801 2 IEC 801 3 IEC 801 4 Type of Equipment Information Technology Equipment Equipment Class Commercial Residential Light Industrial Product Name PCI Dual Serial Communications Card Model Number DSC 100 IND ...

Page 5: ... 15 5 2 Windows 2000 14 5 1 Windows Millennium 14 5 Windows Configuration 13 4 4 2 Clock Rate Multiplier 12 4 4 1 Enhanced Serial Adapter Identification 12 4 4 Options Register 11 4 3 Interrupt Status Register 11 4 2 Enabling the Special Registers 10 4 1 Base Address and Interrupt Level IRQ 10 4 Address Map and Special Registers 9 3 Hardware Installation 8 2 3 Force High Speed UART Clock X2 X4 or ...

Page 6: ...tiguous block of 16 bytes A special interrupt status register is provided to help software to manage the shared interrupt The DSC 100 s serial ports use 16550 Universal Asynchronous Receiver Transmitters UARTs These UARTs contain hardware buffers FIFOs which reduce processing overhead and allow higher data rates to be achieved The 16550 contains a 16 byte FIFO and can transmit and receive data at ...

Page 7: ...d upgrades 1 1 1 IND Option Surge Suppression Upgrade The IND option provides the protection essential for reliable use in an industrial environment Each communication line has a surge suppressor capable of sustaining up to 40A 20us peak transient surges a clamping voltage of 30V and a peak energy dissipation of 0 1 Joules yes DSC 100IND no DSC 100 IND Option Part Number Figure 1 DSC 100 Product S...

Page 8: ...e 2 shows the jumper configuration as shipped from the factory with two spare jumpers applied in neutral positions Remove one or both and apply as shown in following sections to set optional features X2 SPAD X8 X4 Figure 2 Factory default jumper configuration 2 2 Enable Scratchpad Register SPAD In the default configuration an Interrupt Status Register see section 4 3 and an Options Register see se...

Page 9: ...y software The effective baud rate will be two four or eight times the value for which the UART itself is programmed The factory default is none of these jumpers applied which allows for software control of the clock multiplier via the Options Register The Options Register powerup default is for a standard times 1 clock of 1 8432 MHz for compatibility with standard serial ports X2 SPAD X8 X4 Force...

Page 10: ... by installing the Option Retaining Bracket ORB screw 5 Replace the system cover according to the instructions provided by the computer manufacturer 6 Attach and secure the cable connectors to the desired equipment 7 Turn on the power of the computer system The output of the DSC 100 is a pair of 9 pin D connectors All modem control signals RTS DTR CTS DSR DCD RI are provided to each port SPAD X8 X...

Page 11: ...l of 32 contiguous bytes as shown in Figure 6 Base Address 8 to Base Address 15 Serial 2 Base Address 0 to Base Address 7 Serial 1 I O Address Range Port Figure 6 Port Address Map Both serial ports share the same IRQ The DSC 100 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 ...

Page 12: ...ter removed 1 Interrupt Status Register removed 0 Register selected for address 7 accesses SPAD Jumper DLAB Bit Figure 7 DLAB bit selects between special registers 4 3 Interrupt Status Register The read only Interrupt Status Register can be used to quickly identify which serial ports require servicing after an interrupt Reading the Interrupt Status Register will return the interrupt status of the ...

Page 13: ...ion The ID bits are used to identify the DSC 100 is a Quatech Enhanced Serial Adapter Logic operations are performed such that the values read back from these bits will not necessarily be the values that were written to them Bit ID1 will return the logical AND of the values written to ID 1 0 while bit ID0 will return their exclusive OR Software can thus identify a Quatech Enhanced Serial Adapter b...

Page 14: ...ns Register will always return the clock rate multiplier at which the board is operating 921 6 kbaud 14 7456 MHz X8 1 1 460 8 kbaud 7 3728 MHz X4 0 1 230 4 kbaud 3 6864 MHz X2 1 0 115 2 kbaud 1 8432 MHz X1 default 0 0 Maximum Data Rate UART Clock Frequency Clock Rate Multiplier RR0 RR1 Figure 11 Rate Register bit definition At powerup and reset the Options Register is initialized to 0 The DSC 100 ...

Page 15: ... Select Search for the best driver for your device Check the Removable media and Specify location box Click the Next button 2 Window will locate the proper INF file and copy the file from the CD Click the Next button 3 The final dialog screen will verify the file copy from theCD Click the Finish button Quatech DSC 100 User s Manual 13 ...

Page 16: ...be displayed Insert the Communications Driver CD shipped with the device Click the OK button 3 The following dialog box will display the appropriate INF file on the CD in drive Click the OK button 4 Window will copy the INF file from the diskette and display a final dialog indication that the process is complete Click the Finish button Quatech DSC 100 User s Manual 14 ...

Page 17: ...r at start up Click the Next button 2 Select Search for the best driver for your device Click the Next button 3 On the next dialog select the CD ROM drive check box Insert the Communication Drivers CD shipped with the device into the CD ROM drive Click the Next button Quatech DSC 100 User s Manual 15 ...

Page 18: ...e appropriate INF file on the diskette in drive Click the Next button 5 Window will copy the INF file from the diskette and display a final dialog indication that the process is complete Click the Finish button Quatech DSC 100 User s Manual 16 ...

Page 19: ...ons adapter before the dialog box may simply indicate that it has found a PCI Card 2 Select the radio button for Driver from disk provided by hardware manufacturer Click the OK button to continue 3 An Install From Disk dialog box should pop up Insert the disk with the Quatech INF files on it select the correct drive letter and click the OK button Windows 95 automatically browses the root directory...

Page 20: ...s using the Device Manager utility Select Start Help from within Windows for additional information on this utility 1 Double click the System icon inside the Control Panel folder This opens up the System Properties box 2 Click the Device Manager tab located along the top of the System Properties box This lists all hardware devices registered inside the Windows registry Additional information is av...

Page 21: ... the Properties button This action opens a properties dialog for the specific COM port on the DSC 100 8 Click the Port Settings tab and then click the Advanced button The DSC 100 driver will display a custom Advanced Port Settings control which allows the ports UART compatibility mode and FIFO threshold levels to be configured The threshold values of full scale for the transmit buffer and 3 4 scal...

Page 22: ...ames to access the serial ports on your DSC 100 through your software applications Note The Logical COM Port name is assigned to your ports by Windows This name is required by a Windows application when accessing a particular port Quatech DSC 100 User s Manual 20 ...

Page 23: ... Manager 2 Double click on the hardware class Multi Port Serial Adapters to list hardware devices in the class 3 The DSC 100 parent device belongs to this hardware class The full device name for the DSC 100 is Quatech DSC 100 Dual Port RS 232 Serial Adapter Quatech DSC 100 User s Manual 21 ...

Page 24: ...quest resource allocations Do not change these settings without specific instructions from a Quatech Technical Support Specialist To exit without saving changes click the cancel button 5 Open the Properties dialog for the DSC 100 device then click the Advanced tab to view the clock rate settings Quatech DSC 100 User s Manual 22 ...

Page 25: ...t request baud rates over 115 200 230 400 X2 The X1 clock mode mimics a standard COM port The hardware drivers lock the clock to the standard rate The port will run at the baud rate requested by the application 115 200 X1 Auto clock mode enables applications to request any baud rate up to 921 600 The hardware drivers will select the correct clock multiplier based on the baud rate requested 921 600...

Page 26: ...s useful for legacy applications which cannot request baud rates over 115 200 6 Double click the hardware class Ports Com and LPT Each Quatech PCI Serial Port listed in this class is a child device of the DSC 100 parent device 7 Open the Properties dialog for a COM port then click the Port Properties tab to view the settings for that port 8 Click the Port Settings tab and then click the Advanced b...

Page 27: ... scale for the transmit buffer and scale for the receive buffer are optimal for most applications Note that the FIFO option for each of the DSC 100 s ports is configured independently Quatech DSC 100 User s Manual 25 ...

Page 28: ...d at values such as 3F8 hex IRQ 4 COM1 or 2F8 hex IRQ 3 COM2 etc Rather the system BIOS assigns the address and the IRQ in a plug and play fashion at boot time Software which is to use the DSC 100 must be able to accommodate any valid assignments of these resources For Windows 95 98 2000 ME Windows NT and OS 2 the Quatech device drivers determine what the resource assignments are and proceed accor...

Page 29: ...C 100 after the Q key has been pressed In this example the DSC 100 uses I O base address FF80 hex and IRQ 11 The hardware revision of the DSC 100 is also displayed Pressing the N key will show similar information for all non Quatech PCI devices in the system including those devices integrated on the motherboard The QTPCI program is capable only of displaying the PCI configuration It cannot be used...

Page 30: ...Q 11 Base addr 1 0xfe80 I O _ Numbers preceeded by 0x are hexadecimal Figure 14 QTPCI EXE Basic Mode display Figure 15 shows the Expert Mode display for the DSC 100 after the Q key has been pressed The information from the Basic Mode display is presented along with more details such as the Vendor and Device IDs PCI Class Code size of memory and I O regions etc Pressing the N key will show similar ...

Page 31: ...nterrupt routing details Quatech PCI adapters detected DSC 100d Two port RS 232 adapter Vendor ID 0x135c Device id 0x0020 found in slot 0x04 on bus 0x00 Device function code 0x98 Revision ID 0x01 Hardware revision A1 PCI Class Code 0x070200 Communications controller multiport serial Subsystem Vendor ID 0x135c Subsystem Id 0x0050 INTA mapped to IRQ 11 route 0x62 Base addr 0 0xfc80 I O 0X80 bytes al...

Page 32: ... be connected directly using a one to one cable as shown in Figure 16 In many applications DCEs are unnecessary and in these cases a cable called a null modem cable or modem eliminator cable is used to directly connect two DTE type devices A typical null modem cable is also shown in Figure 17 RxD TxD RTS CTS DTR DSR DCD GND 3 2 4 5 20 6 8 22 7 RI TxD RxD CTS RTS DSR DTR DCD GND 3 2 4 5 20 6 8 22 7...

Page 33: ...20 4 6 6 Data Set Ready DSR 7 5 7 5 Signal Ground 6 6 20 4 Data Terminal Ready DTR 3 2 2 3 Transmit Data TxD 2 3 3 2 Receive Data RxD 8 1 8 1 Data Carrier Detect DCD D 25 D 9 D 25 D 9 DCE Connection DTE Connection RS 232 Signal Description Figure 18 DS 100 connector definitions for EIA TIA 232 E 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 22 23 24 25 14 15 16 17 18 19 D 25 connector using adapter cable 1 ...

Page 34: ...n the Quatech web site all numbers in hex PCI Vendor ID 0x135C Quatech Inc PCI Device ID 0x0181 DSC 100 PCI Class Code Base class 0x07 Simple communications controller Subclass 0x02 Multiport serial controller Interface 0x00 IRQ sourced by INTA Base address 0 0x80 bytes memory Reserved region Base address 1 0x80 bytes I O Base address 2 0x10 bytes I O Serial ports Port 1 at offset 0 Port 2 at offs...

Page 35: ... Two male D 9 connectors or two male D 25 connectors optional using adapter cables Transceivers ICL 3245E or compatible Driver output voltage low 0 4V max high 2 7V min Receiver threshold voltage low 0 6V min high 2 4V max Maximum Baud Rate 921 600 Power requirements 5 volts approx 250 mA Temperature operating 0 to 70 storage 50 to 80 Humidity 10 to 90 Quatech DSC 100 User s Manual 33 ...

Page 36: ... signal transitioning from 3V to 3V The EIA TIA 232 E standard defines a maximum signal transition time ratio of 4 most RS 232 receivers will recognize signal transitions with much larger ratios With a 4 signal transition time ratio EIA TIA 232 E is limited to a theoretical data rate of 200 kbaud If maximum signal transition time ratio is extended to 10 15 20 or even 25 the maximum data rate achie...

Page 37: ...nt IRQ for the DSC 100 An address conflict is unlikely because most PCI based computers will assign I O addresses in such a way that they cannot conflict withISA bus devices 3 The DSC 100 may be defective Contact technical support for instructions Cannot communicate with other equipment 1 Are the cable connections correct Are the cables securely attached 2 Is the software configured with the corre...

Page 38: ...DSC 100 User s Manual Revision 1 13 November 2006 940 0138 113 Quatech DSC 100 User s Manual 36 ...

Reviews: