Connect Tech CTIM-00043 user manual Interrupt Sharing

Page 21

CANpro/104 User Manual

Interrupt Sharing

Jumper block J3 also plays a part in the interrupt sharing. PC/104 supports the sharing of an interrupt between multiple cards. For example, two separate CANpro/104 cards are able to share the same interrupt across all four controllers. To accomplish interrupt sharing, the following steps must be taken:

All cards that share the same interrupt, but are not actively asserting an interrupt, must tri-state their outputs. On CANpro/104 cards, this is accomplished by installing a jumper on the INTshrX jumper location of each CAN controller(s) you wish to share interrupts.

One 1K Ohm resistor must also be attached to each shared interrupt. With the example of two CANpro/104 cards, the INTres jumper would be installed on only one of the cards.

NOTE:

CANpro/104 has the capability to tri-state its interrupt outputs and the 1K Ohm resistor is jumper configurable. Other cards may not be able to share interrupts. Please check the manual for each card.

The example below has configured both cards to interrupt on IRQ 11. Both controllers will tri-state their outputs when not driving the interrupt line active. This example assumes that another card in the stack has enabled the 1K Ohm pull-down resistor. Only one card in the group of cards sharing the same interrupt should enable a pull-down resistor.

To enable the resistor, simply install a jumper on the INTres jumper location, as shown below.

Please note that the Interrupt Resistor Enable controls the Interrupt Resistor for all shared CAN controller interrupts on the card. You cannot enable the Interrupt Termination Resistor for one controller only if both are configured for interrupt sharing.

If a card has interrupt sharing enabled for only one of its controllers, the resistor will only be enabled on the interrupt of the controller that is sharing interrupts.

21

www.connecttech.com

CTIM-00043 (0.01) 1/15/2010

 

800-426-8979 519-836-1291

 

Image 21
Contents CTIM-00043 0.02 January 15 CANpro/104Table of Contents CTIM-00043 0.01 1/15/2010 Copyright Notice Trademark AcknowledgementRevision History Introduction FeaturesHardware Installation Rev C & Later Memory vs I/O SpacesMemory Space Space CTI CANpro/104 SpacesMemory Space Enabling J3A Position #1 FunctionAddress Base Address DecodingPosition #5 Position #6 Position #7 Jumper Memory Space Position Address Bit GroupWhen I/O Space is selected When Memory Space is selectedPeliCAN vs BasicCAN Addressing Modes Address Bit J3A or J3B Installed Value Position Or RemovedAddressing Examples J3C Position #2 Function0x340 = XXXX.XXXX.XXXX.X 011.01CJ.JJJJ binary Example #3Example #4 0x600 = XXXX.XXXX.XXXX.X 110.CJJJ.JJJJ binaryCan Controller Addressing Table Common Memory Space Address Selections BaseMemory Address 9D Connector Shell Ground Interrupt Mode and SelectionsPerformance Enhancement Can Bus OptionsDual Interrupt Mode Single Interrupt ModeShared Interrupt Mode Can Bus Dominant Timeout and Minimum SpeedSecurity ID Feature Position Function Jumper Installed Jumper RemovedJumper Summaries J4 and J5 J3BCANpro/104 Opto Diagrams Hardware Installation Rev a & BUnique Interrupt Lines Interrupts and Memory I/O Range SelectionSharing a Single Interrupt Line No InterruptsCan Address Mode and Range SelectionInterrupt Sharing Other On-board Jumper Selection Connector Pinouts DB-9 Cable Connector Pinouts Pin No Signal10-pin Header Pinouts Pin No Signal Specifications CertificationCertification for CANpro/104 Email/Internet Mail/Courier Telephone/Facsimile