Can Operation Mode; Can Sleep Mode - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

17.2.2. CAN Operation Mode

The CAN operation mode is activated by setting the Reset bit in the C0CTLR register to "0". If the Reset
bit is set to "0", check that the State_Reset bit in the C0STR register is set to "0".
If 11 consecutive recessive bits are detected after entering the CAN operation mode, the module initiates
the following functions:
• The module's communication functions are released and it becomes an active node on the network
and may transmit and receive CAN messages.
• Release the internal fault confinement logic including receive and transmit error counters. The
module may leave the CAN operation mode depending on the error counts.
Within the CAN operation mode, the module may be in three different sub modes, depending on which
type of communication functions are performed:
• Module idle : The modules receive and transmit sections are inactive.
• Module receives
• Module transmits : The module transmits a CAN message. The module may receive its own
Figure 17.18 shows sub modes of the CAN operation mode.
Figure 17.18 Sub Modes of CAN Operation Mode

17.2.3. CAN Sleep Mode

The CAN sleep mode is activated by setting the Sleep bit to "1" and the Reset bit to "0" in the C0CTLR
register. It should never be activated from the CAN operation mode but only via the CAN reset/initializa-
tion mode.
Entering the CAN sleep mode instantly stops the clock supply to the module and thereby reduces power
dissipation.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
: The module receives a CAN message sent by another node.
message simultaneously when the LoopBack bit in the C0CTLR register = 1
(Loop back mode).
Start
transmission
Finish
transmission
Module transmits
TrmState = 1
RecState = 0
TrmState, RecState: C0STR register's bits
page 294 of 402
Module idle
TrmState = 0
RecState = 0
Finish
reception
Module receives
TrmState = 0
RecState = 1
Lost in arbitration
17. CAN Module
Detect
an SOF

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents