Connect Tech CANpro/104 Скачать руководство пользователя страница 21

 

 

CANpro/104 User Manual 

 
 

21

 

www.connecttech.com

 

CTIM-00043 (0.01) 1/15/2010 

 

800-426-8979 | 519-836-1291 

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. 

 

Содержание CANpro/104

Страница 1: ...USER MANUAL CANpro 104 CTIM 00043 0 02 January 15 2010 ...

Страница 2: ...e 7 Memory Space Enabling 7 Base Address Decoding 8 PeliCAN vs BasicCAN Addressing Modes 10 Addressing Examples 10 CAN Controller Addressing Table 12 Common Memory Space Address Selections 13 Performance Enhancement 14 CAN Bus Options 14 Termination 14 9D Connector Shell Ground 14 Interrupt Mode and Selections 14 Single Interrupt Mode 15 Dual Interrupt Mode 15 Shared Interrupt Mode 15 Shared Inter...

Страница 3: ...ines 19 Sharing a Single Interrupt Line 19 No Interrupts 19 Address Mode and Range Selection 20 Interrupt Sharing 21 Other On board Jumper Selection 22 Connector Pinouts 23 Specifications 24 Operating Environment 24 Power Requirements 24 PC Bus Interface 24 Optical Power Isolation CANpro 104 Opto models only 24 Dimensions 24 Connectors Interface 24 Certification 24 Certification for CANpro 104 24 ...

Страница 4: ...pied reproduced or translated to another language without the prior written consent of Connect Tech Inc Copyright 2009 by Connect Tech Inc Trademark Acknowledgement Connect Tech Inc acknowledges all trademarks registered trademarks and or copyrights referred to in this document as the property of their respective owners Not listing all possible trademarks or copyright acknowledgments does not cons...

Страница 5: ...d option available Fail safe power up power down using on board impendence transceivers to maximize nodes on the bus and ensure glitch free operation Supports up to 1 0 Mbps operation and over 120 nodes on the bus 2000 V AC 50 60 Hz sine wave 2500 V peak signal and power isolation for each port from the host system on CANpro 104 Opto models only Jumper configurable address range and interrupt shar...

Страница 6: ...rom left to right J3A and J3C have 6 positions J3B has 7 positions J4 and J5 positions are labeled T and G Memory vs I O Spaces The first decision to make when configuring this board it to select whether the board will operate within the Memory or I O address Space of the computer system in which the board is installed First a quick description of the two different Spaces Memory Space Most but not...

Страница 7: ...lock depending on the selection of either the PeliCAN or BasicCAN mode more on this selection later When the PeliCAN mode is selected the board decodes a 256 0x100 byte block on a 256 0x100 byte address boundary at I O addresses from 0x000 to 0x700 When the BasicCAN mode is selected the board decodes a 64 0x40 byte block on a 64 0x40 byte address boundary at I O addresses from 0x000 to 0x7C0 The s...

Страница 8: ...le the Memory Space address decoding 2 Writing a data value of 0xA5 will enable the Memory Space and a data value of 0x5A will disable the Memory Space All other data values written will be ignored 3 When the Memory Space is permanently enabled when J3C 1 is removed any data value written to the Memory Enable I O address will be ignored Base Address Decoding The CTI CANpro 104 board decodes its Ba...

Страница 9: ...he following manner When Memory Space is selected PC 104 Bus Address Bit SJA1000 Selection or Register Address Bit 12 Address bit is ignored 11 Address bit is ignored 10 Address bit is ignored 9 Address bit is ignored 8 Address bit is ignored 7 Select SJA1000 device 0 selects the CAN 0 Port 1 selects the CAN 1 Port 6 6 5 5 4 4 3 3 2 2 1 1 0 0 Table 5 When I O Space is selected PC 104 Bus Address B...

Страница 10: ... is limited in total size The selection of Addressing Mode is done with Jumper J3C Position 2 This selection has no meaning when Memory Space operation is enabled see Jumper J3A above J3C Position 2 Function Removed PeliCAN Addressing mode enabled Installed BasicCAN Addressing mode enabled Table 7 Addressing Examples Example 1 Memory Address 0x4A6000 this address is above the 1 Meg boundary 0x4A60...

Страница 11: ...ed 18 1 J3A 5 Installed 17 0 J3A 6 Removed 16 0 J3B 1 Removed 15 1 J3B 2 Installed 14 0 J3B 3 Removed 13 0 J3B 4 Removed Table 9 Example 3 I O Address 0x340 BasicCAN mode 0x340 XXXX XXXX XXXX X011 01CJ JJJJ binary Address Bit Bit Value J3A or J3B Position Installed or Removed 23 11 X 10 0 J3A 6 Removed 9 1 J3B 1 Installed 8 1 J3B 2 Installed 7 0 J3B 3 Removed 6 1 J3B 4 Installed Table 10 Example 4...

Страница 12: ...ffsets Accessed Resource Offset from Base Address Memory Space I O Space BasicCAN mode PeliCAN mode CAN 0 Port SJA1000 0x000 0x07F 0x000 0x01F 0x000 0x07F CAN 1 Port SJA1000 0x080 0x0FF 0x020 0x03F 0x080 0x0FF Memory Enable Bit At the I O Address setup with JB3 Positions 5 6 7 N A N A Table 12 The SJA1000 Register offsets can be found in the documentation from NXP Semiconductor formerly Philips ww...

Страница 13: ... Out Out In In 0x0C8000 Out Out In In Out Out In Out Out 0x0CA000 Out Out In In Out Out In Out In 0x0CC000 Out Out In In Out Out In In Out 0x0CE000 Out Out In In Out Out In In In 0x0D0000 Out Out In In Out In Out Out Out 0x0D2000 Out Out In In Out In Out Out In 0x0D4000 Out Out In In Out In Out In Out 0x0D6000 Out Out In In Out In Out In In 0x0D8000 Out Out In In Out In In Out Out 0x0DA000 Out Out...

Страница 14: ...ports 2 CAN Bus Options with Jumper J4 and J5 J4 is associated with CAN Port 0 and J5 is for CAN Port 1 CAN Bus Termination Ground the Shell of the 9D Connector Termination A 120 ohm termination resistor is placed across the CAN Bus signals CANH and CANL by placing a jumper on Position T of either J4 or J5 It is desirable to place a termination resistor at each physical end on a CAN Bus segment 9D...

Страница 15: ...interrupts There are 2 jumpers which control this sharing on J3C Positions 3 and 4 J3C Position Function Jumper Installed Jumper Removed 3 CAN 1 Interrupt Shared CAN 1 Interrupt Not Shared 4 CAN 0 Interrupt Shared CAN 0 Interrupt Not Shared Table 16 Shared Interrupt Pull Down When shared interrupts are employed there MUST be one board among the boards that share the same interrupt that MUST be set...

Страница 16: ...04 Interrupt 4 Not Selected 5 PC 104 Interrupt 5 Selected PC 104 Interrupt 5 Not Selected 6 PC 104 Interrupt 6 Selected PC 104 Interrupt 6 Not Selected 7 PC 104 Interrupt 7 Selected PC 104 Interrupt 7 Not Selected 9 PC 104 Interrupt 9 Selected PC 104 Interrupt 9 Not Selected Table 18 Only one position can be jumpered J2 Position Function for either CAN 0 or CAN 1 Jumper Installed Jumper Removed 10...

Страница 17: ...e Enable bits select 8 choices of I O Addresses for the Memory Enable feature J3C Position Function Jumper Installed Jumper Removed 1 Memory Space powers up or resets disabled Memory Space is always enabled 2 BasicCAN mode enabled PeliCAN mode enabled 3 CAN 1 Interrupt Shared CAN 1 Interrupt Not Shared 4 CAN 0 Interrupt Shared CAN 0 Interrupt Not Shared 5 Shared Interrupt s Pull Down enabled Share...

Страница 18: ...ro 104 CAN controller board One CD containing documentation If any of these components is missing contact Connect Tech See Contact Details or your reseller Also visit the Download Zone of the Support Center on the Connect Tech website for the latest product manuals installation guides diagnostic utilities and device driver software CANpro 104 Opto Diagrams Figure 1 shows the locations of various h...

Страница 19: ...h 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 s...

Страница 20: ...ddress range for the board itself is directly selected by the Addr3 Addr2 Addr1 and Addr0 jumper locations The following table describes the base addresses of the controllers 0 and 1 CAN 0 and CAN 1 for every possible combination of Addr Mode and AddrX jumper locations Table 24 CAN 0 and CAN 1 Base Addresses Jumper Location Board Mode Selection ON BasicCAN OFF PeliCAN Addr3 Addr2 Addr1 Addr0 CAN 0...

Страница 21: ...pro 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 sta...

Страница 22: ...ments should be evaluated on a case by case basis Typically both ends of a CAN bus are terminated but no termination is enabled on cards that sit in the middle of the bus Installing a jumper on the second location of J4 or J5 the gray area above will disable slew rate limiting for the associated CAN port Slew rate limiting will reduce the emitted switching noise that is sent out onto the CAN bus l...

Страница 23: ...on 7 CAN H 8 N C 9 5V Male DB 9 Connector 1 5 6 9 For boards populated with right angled 2x5 0 100 headers cable CAG104 will break out from the onboard 2x5 header to a DB 9 connector Table 26 10 pin Header Pinouts Pin No Signal 1 5V 2 CAN GND isolated or non 3 CAN L 4 CANH 5 CAN GND isolated or non 6 NC 7 NC 8 5V 9 NC 10 NC 7 5 3 1 2 4 6 8 Printed circuit board 9 10 Red stripe pin 1 10 pin header ...

Страница 24: ... 104 Optical Power Isolation CANpro 104 Opto models only 500V for each CAN port from the host system and other isolated CAN ports Dimensions Compliant to PC 104 specification 2 5 Connectors Interface Standard 10 pin right angled header 5V power output Optional DB 9 Certification Certification for CANpro 104 The CANpro 104 product family is to be included into a device ultimately subject to FCC DOC...

Страница 25: ...ty is the only warranty authorized by Connect Tech Inc Under no circumstances will Connect Tech Inc be liable in any way for any damages including any lost profits lost savings or other incidental or consequential damages arising out of the use of or inability to use such product Customer Support Overview If you experience difficulties after reading the manual and or using the product contact the ...

Отзывы: