Connect Tech CTIM-00043 user manual PeliCAN vs BasicCAN Addressing Modes, Addressing Examples

Page 10

CANpro/104 User Manual

PeliCAN vs BasicCAN Addressing Modes

The SJA1000 can operate in 2 different modes, the PeliCAN mode which has extended features and additional registers and which consume 128 bytes of address space per device (there are 2 devices on this board). And, the BasicCAN mode which has reduced functionality but only consumes 32 bytes of register space per device.

Note: The mode of operation of the SJA1000 is performed by changing Bit-7 of the Clock Divider Register (which defaults to BasicCAN mode whenever a PC/104 Bus Reset occurs).

When the SJA1000’s are operated in BasicCAN mode, it is desirable to accommodate the smaller number of registers by decoding a smaller amount of I/O Space (because the I/O Space region 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) 0x4A6000 = 0100.1010.011X.XXXX.CJJJ.JJJJ (binary)

Address bits in red are matched against their respective Jumper settings. X = Address bits that are ignored by the board.

C = Address bit that is used to select the SJA1000 controller. J = Address bits that are used to select the SJA1000 registers.

Address

Bit

J3A or J3B

Installed

Bit

Value

Position

or Removed

23

0

J3A-2

Removed

22

1

J3A-3

Installed

21

0

Address Bit always decoded as “0”

20

0

Address Bit always decoded as “0”

19

1

J3A-4

Installed

18

0

J3A-5

Removed

17

1

J3A-6

Installed

16

0

J3B-1

Removed

15

0

J3B-2

Removed

14

1

J3B-3

Installed

13

1

J3B-4

Installed

Table 8

CTIM-00043 (0.01) 1/15/2010

www.connecttech.com

10

 

800-426-8979 519-836-1291

 

Image 10
Contents CANpro/104 CTIM-00043 0.02 January 15Table of Contents CTIM-00043 0.01 1/15/2010 Trademark Acknowledgement Copyright NoticeRevision History Features IntroductionMemory vs I/O Spaces Hardware Installation Rev C & LaterMemory Space Memory Space Enabling CTI CANpro/104 SpacesSpace J3A Position #1 FunctionPosition #5 Position #6 Position #7 Base Address DecodingAddress Jumper Memory Space Position Address Bit GroupWhen Memory Space is selected When I/O Space is selectedAddressing Examples Address Bit J3A or J3B Installed Value Position Or RemovedPeliCAN vs BasicCAN Addressing Modes J3C Position #2 FunctionExample #4 Example #30x340 = XXXX.XXXX.XXXX.X 011.01CJ.JJJJ binary 0x600 = XXXX.XXXX.XXXX.X 110.CJJJ.JJJJ binaryCan Controller Addressing Table Base Common Memory Space Address SelectionsMemory Address Performance Enhancement Interrupt Mode and Selections9D Connector Shell Ground Can Bus OptionsShared Interrupt Mode Single Interrupt ModeDual Interrupt Mode Can Bus Dominant Timeout and Minimum SpeedPosition Function Jumper Installed Jumper Removed Security ID FeatureJumper Summaries J3B J4 and J5Hardware Installation Rev a & B CANpro/104 Opto DiagramsSharing a Single Interrupt Line Interrupts and Memory I/O Range SelectionUnique Interrupt Lines No InterruptsAddress Mode and Range Selection CanInterrupt 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 Telephone/Facsimile Email/Internet Mail/Courier