Connect Tech CTIM-00043 Interrupts and Memory I/O Range Selection, Unique Interrupt Lines

Page 19

CANpro/104 User Manual

Interrupts and Memory I/O Range Selection

CANpro/104’s interrupt lines and I/O ranges are jumper assignable.

Interrupt Selection

J1 and J2 are used for interrupt selection. Interrupt selection for the first CAN controller is achieved via the upper and centre rows of pins on the connector. The lower and center rows of pins allow selection of interrupts for the second CAN controller. Please refer to Figure 1 to locate jumper blocks J1 and J2.

CANpro/104 offers flexible interrupt configuration. Each CANpro/104 card can use one PC/104 interrupt per controller, share one interrupt across both controllers or use no interrupts at all.

Unique Interrupt Lines

The example below illustrates CANpro/104 configured for two unique interrupts with controller 0 interrupting on IRQ 4 and controller interrupting on IRQ 5.

Sharing a Single Interrupt Line

CANpro/104’s CAN controllers can also interrupt on the same interrupt line. The diagram below demonstrates both controllers interrupting on line IRQ 11. Please note that the interrupt selection for the interrupt that both controllers share must be made on the CAN 0 rows.

No Interrupts

To force operation without interrupts, simply leave the interrupt jumper blocks J1 and J2 unpopulated. This requires software polling to determine an interrupt condition.

19

www.connecttech.com

CTIM-00043 (0.01) 1/15/2010

 

800-426-8979 519-836-1291

 

Image 19
Contents CTIM-00043 0.02 January 15 CANpro/104Table of Contents CTIM-00043 0.01 1/15/2010 Trademark Acknowledgement Copyright NoticeRevision History Introduction FeaturesMemory vs I/O Spaces Hardware Installation Rev C & LaterMemory Space J3A Position #1 Function CTI CANpro/104 SpacesSpace Memory Space EnablingJumper Memory Space Position Address Bit Group Base Address DecodingAddress Position #5 Position #6 Position #7When I/O Space is selected When Memory Space is selectedJ3C Position #2 Function Address Bit J3A or J3B Installed Value Position Or RemovedPeliCAN vs BasicCAN Addressing Modes Addressing Examples0x600 = XXXX.XXXX.XXXX.X 110.CJJJ.JJJJ binary Example #30x340 = XXXX.XXXX.XXXX.X 011.01CJ.JJJJ binary Example #4Can Controller Addressing Table Base Common Memory Space Address SelectionsMemory Address Can Bus Options Interrupt Mode and Selections9D Connector Shell Ground Performance EnhancementCan Bus Dominant Timeout and Minimum Speed Single Interrupt ModeDual Interrupt Mode Shared Interrupt ModePosition Function Jumper Installed Jumper Removed Security ID FeatureJumper Summaries J4 and J5 J3BCANpro/104 Opto Diagrams Hardware Installation Rev a & BNo Interrupts Interrupts and Memory I/O Range SelectionUnique Interrupt Lines Sharing a Single Interrupt LineCan Address Mode and Range SelectionInterrupt Sharing Other On-board Jumper Selection DB-9 Cable Connector Pinouts Pin No Signal Connector Pinouts10-pin Header Pinouts Pin No Signal Certification SpecificationsCertification for CANpro/104 Email/Internet Mail/Courier Telephone/Facsimile