EasyManuals Logo

Infineon C166 Series User Manual

Infineon C166 Series
69 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
AP29000
Connecting C166 and C500 Microcontroller to CAN
Ways of handling the SAE 81C90/91 and the CAN Module on the C167CR / C515C
Application Note 49 V 1.0, 2004-02
/* 2 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 (Ident.-Bits */
/* 0 9 8 7 6 5 4 3 8 7 6 5 4 3 2 1 13 - 28) */
LMLM = 0x0000; /* Lower Mask of Last Mess. (Adr.EF0Eh) */
/* 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 */
/* 1 1 1 (Ident.-Bits */
/* 4 3 2 1 0 - - - 2 1 0 9 8 7 6 5 0 - 12) */
C515C:
UMLM0 = 0x00; /*Upper Mask of Last Mess. Low (F70Ch)*/
UMLM1 = 0x00; /*Upper Mask of Last Mess. High (F70Dh)*/
/* 0 0 0 0 0 0 0 0 <UMLM1 UMLM0> 0 0 0 0 0 0 0 0 */
/* 2 1 1 1 1 1 1 1 (Ident.-Bits 2 2 2 2 2 2 2 2 */
/* 0 9 8 7 6 5 4 3 13 - 28) 8 7 6 5 4 3 2 1 */
LMLM0 = 0x00; /*Lower Mask of Last Mess. Low (F70Eh)*/
LMLM0 = 0x00; /*Lower Mask of Last Mess. High (F70Fh)*/
/* 0 0 0 0 0 0 0 0 <LMLM1 LMLM0> 0 0 0 0 0 0 0 0 */
/* (Ident.-Bits 1 1 1 */
/* 4 3 2 1 0 - - - 0 - 12) 2 1 0 9 8 7 6 5 */
Please also see section 5.6 for the use of the Basic CAN feature.
Then the message objects are configured. For this reason,
- Message Configuration Register,
- Arbitration Registers and
- Message Control Register
of the respective message have to be initialized.
In the Message Configuration Register, the following configurations have to be made:
- Length of the Data Field of the message (DLC = 0000b - 1000b),
- Used protocol:
- XTD = 0: Standard CAN,
- XTD = 1: Extended CAN

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Infineon C166 Series and is the answer not in the manual?

Infineon C166 Series Specifications

General IconGeneral
BrandInfineon
ModelC166 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals