AP29000
Connecting C166 and C500 Microcontroller to CAN
Table of Contents
Application Note
3
V 1.0, 2004-02
Table of Contents
Page
1
Abbreviations and Symbols........................................................................... 2
2
Introduction ................................................................................................... 2
3
The Controller Area Network (CAN) .............................................................. 2
3.1
CAN Basics ................................................................................................... 2
3.2
Addressing and Bus Arbitration..................................................................... 2
3.3
The different CAN Frames and their Formats ............................................... 2
3.3.1
Data Frame ............................................................................................... 2
3.3.1.1
Standard CAN Data Frame .................................................................. 2
3.3.1.2
Extended CAN Data Frame ................................................................. 2
3.3.2
Remote Frame .......................................................................................... 2
3.3.2.1
Standard CAN Remote Frame ............................................................. 2
3.3.2.2
Extended CAN Remote Frame ............................................................ 2
3.3.3
Error Frames, Overload Frame, Interframe Space.................................... 2
3.3.3.1
Error Frames........................................................................................ 2
3.3.3.2
Overload Frame ................................................................................... 2
3.3.3.3
Interframe Space.................................................................................. 2
3.4
The Nominal Bit Time.................................................................................... 2
3.5
Error Detection and Error Handling ............................................................... 2
3.6
Different CAN Implementations..................................................................... 2
3.6.1
Standard CAN, Extended CAN ................................................................. 2
3.6.2
Basic CAN, Full CAN................................................................................. 2
4
The Infineon CAN Devices C167CR, C515C and SAE 81C90/91................. 2
4.1
The Microcontroller Families C500 and C166 at a Glance ............................ 2
4.2
The CAN Module on the C167CR / C515C ................................................... 2
4.2.1
The Functional Blocks of the CAN Module................................................ 2
4.2.2
Control Registers of the CAN Controller.................................................... 2
4.2.3
The Message Objects ............................................................................... 2
4.2.4
Initialization of the CAN Controller ............................................................ 2
4.3
The Stand-Alone Full-CAN Controller SAE 81C90/91................................... 2
4.3.1
Important Features of the SAE 81C90/91 ................................................. 2
4.3.2
Functional blocks of the SAE 81C90/91 .................................................... 2
4.3.3
The most important Control Registers of the SAE 81C90/91 .................... 2
4.3.4
Initialization of the SAE 81C90/91 and Bus Access .................................. 2
5
Examples for the Connection of Infineon Microcontrollers to CAN................ 2
5.1
Connecting the C167CR / C515C to CAN..................................................... 2
5.2
Connecting the SAB 80C166 to CAN using the parallel interface of the
SAE 81C
90
................................................................................................. 2