ECAN1000HR CAN Bus Interface 6 RTD Embedded Technologies, Inc.
TABLE OF CONTENTS
CHAPTER 1 INTRODUCTION .................................................................................................................8
FEATURES.................................................................................................................................................................8
CAN BUS CONTROLLER............................................................................................................................................8
PHYSICAL INTERFACE...............................................................................................................................................9
MECHANICAL DESCRIPTION ......................................................................................................................................9
CONNECTOR DESCRIPTION........................................................................................................................................9
WHAT COMES WITH YOUR BOARD?...........................................................................................................................9
BOARD ACCESSORIES..............................................................................................................................................10
USING THIS MANUAL...............................................................................................................................................10
WHEN YOU NEED HELP ...........................................................................................................................................10
CHAPTER 2 BOARD SETTINGS............................................................................................................11
FACTORY-CONFIGURED JUMPER SETTINGS.............................................................................................................11
BASE ADDRESS JUMPERS (FACTORY SETTING: 300H).............................................................................................12
INTERRUPT CHANNEL (FACTORY SETTING: IRQ5) ..............................................................................................14
CHAPTER 3 BOARD INSTALLATION .................................................................................................15
BOARD INSTALLATION............................................................................................................................................15
General installation guidelines: ........................................................................................................................15
Installation integrated with a PC/104 module stack..........................................................................................15
3U rack or enclosure installation with a EUROCARD CPU containing an ECAN1000HR.............................16
J12 GALVANICALLY ISOLATED CAN BUS CONNECTOR...........................................................................................17
J34 GALVANICALLY ISOLATED CAN BUS TERMINATION JUMPER............................................................................17
CHAPTER 4 HARDWARE DESCRIPTION...........................................................................................18
THE CAN BUS CONTROLLER ..................................................................................................................................19
GALVANIC ISOLATION OF THE CAN BUS.................................................................................................................20
CHAPTER 5 BOARD OPERATION AND PROGRAMMING.............................................................21
DEFINING THE MEMORY MAP.................................................................................................................................21
INTERRUPTS.......................................................................................................................................................22
What is an interrupt?........................................................................................................................................22
Interrupt request lines........................................................................................................................................22
8259 Programmable Interrupt Controller.........................................................................................................23
Interrupt Mask Register (IMR) ..........................................................................................................................23
End-of-Interrupt (EOI) Command.....................................................................................................................23
What exactly happens when an interrupt occurs? .............................................................................................23
Using Interrupts in your program......................................................................................................................24
Saving the Startup Interrupt Mask Register (IMR) and interrupt vector...........................................................26
Common Interrupt mistakes...............................................................................................................................27
Example on Interrupt vector table setup in C-code:..........................................................................................28
CHAPTER 6 ECAN1000HR SPECIFICATIONS ...................................................................................29
HOST INTERFACE....................................................................................................................................................29
CAN INTERFACES...................................................................................................................................................29
CONNECTORS .........................................................................................................................................................29
ELECTRICAL............................................................................................................................................................29
CE..........................................................................................................................................................................29