background image

PCM-3753I User Manual

20

3.3.4 Interrupt Source Control 

The “mode bits” in the interrupt control registers determine the allowable 
sources of signals generating an interrupt.  For the PCM-3753I, bit 4 and 
bit 5 of Base+16 determines the interrupt source of port C0, bit 4 and bit 5 
of Base+17 determines the interrupt source for port C1, and so forth.  
Because of sharing the same PCI controller with the PCM-3753I, the 
PCM-3753IE’s interrupt sources are also controlled by the PCM-3753I’s 
interrupt control register.  Bit 4 and bit 5 of Base+48 determines the 
interrupt source of port C0 on the PCM-3753IE, bit 4 and bit 5 of 
Base+49 determines the interrupt source of port C1, and so forth.  Please 
refer the table in Appendix A to find the corresponding address for the 
interrupt source control of each port C.  

The following table shows the relationship between an interrupt source 
and the values in the mode bits.

Table 3.3: Interrupt Mode Bit Values

Base+16/48

Port 0

Base+17/49

Port 1

M01

M00

Description

M11

M10

Description

0

0

Disable interrupt

0

0

Disable interrupt

0

1

Source = PC00

0

1

Source = PC10

1

0

Source = PC00 
and PC04

1

0

Source = PC10 
and PC14

1

1

Disable interrupt

1

1

Disable interrupt

Base+18/50

Port 2

Base+19/51

Port 3

M21

M20

Description

M31

M30

Description

0

0

Disable interrupt

0

0

Disable interrupt

0

1

Source = PC20

0

1

Source = PC30

1

0

Source = PC20 
and PC24

1

0

Source = PC30 
and PC34

1

1

Disable interrupt

1

1

Disable interrupt

Summary of Contents for PCM-3753I

Page 1: ...PCM 3753I 96 channel Digital I O PCI 104 Module User Manual...

Page 2: ...Advantech Co Ltd assumes no responsibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgments PC LabCard is a trademark of Advantech Co...

Page 3: ...lacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem enc...

Page 4: ...lem The exact wording of any error messages Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table pl...

Page 5: ...4 3 2 Digital I O Ports 14 3 2 1 Introduction 14 3 2 2 8255 Mode 0 14 3 2 3 Input Output Control 15 Table 3 1 Bitmap of Port Configuration Register 15 3 2 4 Initial Configuration 15 3 2 5 Dry Contact...

Page 6: ...PCM 3753I User Manual vi...

Page 7: ...2 CHAPTER 1 General Information...

Page 8: ...l input channel at the PCM 3753I accepts either 0 5 VDC wet contact or dry contact inputs This dry contact capability allows the channel to respond to changes in external circuitry e g the closing of...

Page 9: ...ard with more capability and flexibility The PCM 3753I also provides Pattern Match interrupt function for port A0 The card monitors the states of port A0 and compares them with a pre set pattern When...

Page 10: ...n match and Change of state interrupt functions for critical I O monitoring Keeps I O setting and digital output values when hot system reset Supports dry contact and wet contact 50 pin pin header Boa...

Page 11: ...V max 24 mA sink Logic level 1 3 76 V min 24 mA source Transfer Rate 1 6 Mbytes sec tested under DOS K6 300MHz CPU Power Consumption 5 V 105 mA typical 5 V 210 mA max Operating Temperature 0 60 C 32...

Page 12: ...PCM 3753I User Manual 6 1 5 Pin Assignments CN5 CN8 CN5 A0 B0 C0 CN6 A1 B1 C1 CN7 A2 B2 C2 CN8 A3 B3 C3...

Page 13: ...2 CHAPTER 2 Installation...

Page 14: ...rton and packing materials for inspection by the carrier We will then make arrangements to repair or replace the unit 2 2 Unpacking The PCM 3753I contains components that are sensitive and vulnerable...

Page 15: ...t Ports as Input or Output by Software When the two pins of jumpers JPA0 JPB0 JPC0L JPC0H JPA1 JPB1 JPC1L JPC1H JPA2 JPB2 JPC2L JPC2H JPA3 JPB3 JPC3L or JPC3H are not shorted i e by setting a jumper t...

Page 16: ...rt just prior to reset are restored to each port following reset This feature applies to both ports set by software and to ports configured as output ports via jumper Depending on the application this...

Page 17: ...tory If you need to adjust this setting please see below 2 4 1 BoardID Register You can determine the BoardID setting in the register as shown below Table 2 2 BoardID Setting SW2 BoardID DEC Switch Po...

Page 18: ...connector J1 of the PCM 3753I card to the PCI 104 con nector Carefully align the pins with the PC 104 connector Slide the module into the connector The module pins may not slide all the way into the c...

Page 19: ...2 CHAPTER 3 Operation...

Page 20: ...er driving capability than a standard 8255 chip Each of these 8255 chip emulators has 24 programmable I O pins that are divided into three 8 bit ports The total 96 digital I O pins on the PCM 3753I is...

Page 21: ...ts configured by software are automatically set as input ports during system start up or reset with a default signal level of logic 1 high All ports set via jumpers as output ports are set as output p...

Page 22: ...s the channel to respond to changes in external circuitry e g the closing of a switch in the external circuitry when no voltage is present in the external circuit Figure 3 1 shows external circuitry w...

Page 23: ...y 3 3 2 IRQ Level The IRQ level is set automatically by the PCI plug and play BIOS and is saved in the PCI controller There is no need for users to set the IRQ level Only one IRQ level is used by this...

Page 24: ...01 pattern patch interrupt flag bit of port A0 F02 change of state interrupt flag bit of port B0 Table 3 2 Interrupt Control Register Bitmap Base 16 48 Port 0 Bit D7 D6 D5 D4 D3 D2 D1 D0 Abbreviation...

Page 25: ...Interrupt Sources M01 M00 0 0 0 1 1 0 1 1 PC00 PC04 M11 M10 0 0 0 1 1 0 1 1 PC10 PC14 M21 M20 0 0 0 1 1 0 1 1 PC20 PC24 M31 M30 0 0 0 1 1 0 1 1 PC30 PC34 M2 1 0 M1 1 0 Change of State PB0 Pattern Matc...

Page 26: ...Base 49 determines the interrupt source of port C1 and so forth Please refer the table in Appendix A to find the corresponding address for the interrupt source control of each port C The following tab...

Page 27: ...t Read the bit s value to find the status of the interrupt write 1 to this bit to clear the interrupt This bit must be cleared in the ISR to service the next incoming interrupt F01 pattern patch inter...

Page 28: ...ern match function for the I O channels PA01 PA02 PA06 and PA07 of the PCM 3753I is enabled i e PA00 PA03 PA04 and PA05 on the PCM 3753I and port A0 on the PCM 3753IE are ignored during the pattern ma...

Page 29: ...t function for the I O channels PB01 PB02 PB06 and PB07 on the PCM 3753IE are enabled i e the signals in PB00 PB03 PB04 and PB05 on the PCM 3753IE and port B0 of the PCM 3753I are ignored during the c...

Page 30: ...PCM 3753I User Manual 24...

Reviews: