Connect Tech CANpro/104 User Manual Download Page 15

 

 

CANpro/104 User Manual 

 
 

15

 

www.connecttech.com

 

CTIM-00043 (0.01) 1/15/2010 

 

800-426-8979 | 519-836-1291 

Single Interrupt Mode 

This mode routes the interrupt signal from both SJA1000 CAN controllers to one PC/104 Bus 
Interrupt signal. This mode is set up by installing Jumper 

J1/J2 Position “S”

 (either the CAN-0 or 

the CAN-1 “S” position can be used). When this jumper is installed, the Interrupt signal occurs on 
the “

CAN-0 row” 

of J1 and J2 (red box). 

 

Dual Interrupt Mode 

This mode routes the interrupt signal from the CAN-0 SJA1000 CAN controller to the CAN-0 
PC/104 Bus Interrupt signal and the CAN-1 SJA1000 CAN controller to the CAN-1 PC/104 Bus 
Interrupt signal. This mode is set up by removing Jumper 

J1/J2 Position “S”

 

J1/J2 Position “S”  Function 

Removed 

Dual Interrupt Mode  

Installed 

Single Interrupt Mode 

Table 15 

 

Shared Interrupt Mode 

In either the Single or Dual interrupt modes, the PC/104 Bus Interrupt Signal can be shared with a 
similarly selected interrupt on another PC/104 board (which supports shared interrupts). There are 2 
jumpers which control this sharing on 

J3C Positions #3 and #4

 

J3C Position 

Function 

Jumper Installed 

Jumper Removed 

CAN-1 Interrupt Shared 

CAN-1 Interrupt Not Shared 

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 setup to activate a Pull-Down resistor on the Interrupt signal. This is 
accomplished by Jumper 

J3C Position #5

 

J3C Position #5 

Function 

Removed 

Shared Interrupt(s) Pull-Down disabled 

Installed 

Shared Interrupt(s) Pull-Down enabled 

Table 17 

 

Interrupt Selection 

In either of the CAN-0 or CAN-1 groups there is 11 possible interrupts that can be selected. The 
jumpers are numbered by the PC/104 Bus Interrupt number (3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15). 
Only 

one

 jumper should be installed in the appropriate group. 

 

CAN Bus Dominant Timeout and Minimum Speed 

The CANpro/104 board implements a CAN Bus transceiver which has a “

Dominant State timeout 

feature

”. This feature prevents the board from permanently holding the CAN bus in the “Dominant 

state”. Due to this feature, the 

minimum

 CAN Bus data rate supported is 20K bps. 

 

Summary of Contents for CANpro/104

Page 1: ...USER MANUAL CANpro 104 CTIM 00043 0 02 January 15 2010 ...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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 ...

Reviews: