EasyManuals Logo

Atmel AVR AT90CAN64 User Manual

Atmel AVR AT90CAN64
428 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 #244 background imageLoading...
Page #244 background image
244
7679H–CAN–08/08
AT90CAN32/64/128
19.5.2 Operating Modes
There is no default mode after RESET.
Every MOb has its own fields to control the operating mode. Before enabling the CAN periph-
eral, each MOb must be configured (ex: disabled mode - CONMOB=00).
19.5.2.1 Disabled
In this mode, the MOb is “free”.
19.5.2.2 Tx Data & Remote Frame
1. Several fields must be initialized before sending:
Identifier tag (IDT)
Identifier extension (IDE)
Remote transmission request (RTRTAG)
Data length code (DLC)
Reserved bit(s) tag (RBnTAG)
Data bytes of message (MSG)
2. The MOb is ready to send a data or a remote frame when the MOb configuration is set
(CONMOB).
3. Then, the CAN channel scans all the MObs in Tx configuration, finds the MOb having
the highest priority and tries to send it.
4. When the transmission is completed the TXOK flag is set (interrupt).
5. All the parameters and data are available in the MOb until a new initialization.
19.5.2.3 Rx Data & Remote Frame
1. Several fields must be initialized before receiving:
Identifier tag (IDT)
Identifier mask (IDMSK)
Identifier extension (IDE)
Identifier extension mask (IDEMSK)
Remote transmission request (RTRTAG)
Remote transmission request mask (RTRMSK)
Data length code (DLC)
Reserved bit(s) tag (RBnTAG)
Table 19-1. MOb Configuration
MOb Configuration Reply Valid RTR Tag Operating Mode
0 0 x x Disabled
01
x 0 Tx Data Frame
x 1 Tx Remote Frame
10
x 0 Rx Data Frame
0
1
Rx Remote Frame
1 Rx Remote Frame then, Tx Data Frame (reply)
1 1 x x Frame Buffer Receive Mode

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR AT90CAN64 and is the answer not in the manual?

Atmel AVR AT90CAN64 Specifications

General IconGeneral
BrandAtmel
ModelAVR AT90CAN64
CategoryMicrocontrollers
LanguageEnglish

Related product manuals