731
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
19.12.3
Example of using power saving modes
In some application systems, it may be necessary to place the CPU in a power
saving mode to reduce the power consumption. By using the power saving
mode specific to the CAN module and the power saving mode specific to the
CPU in combination, the CPU can be woken up from the power saving status
by the CAN bus.
Here is an example for using the power saving modes.
• First, put the CAN module in the CAN sleep mode (CnCTRL.PSMODE[1:0]
= 01B). Next, put the CPU in the power saving mode. If an edge transition
from recessive to dominant is detected at the CAN reception pin (CRXDn) in
this status, the CnINTS.CINTS5 is set to 1 and a wakeup interrupt
(INTWUP) is generated, provided CnINTS5 is enabled by CnIE.CIE5 = 1.
• The CAN module is automatically released from CAN sleep mode
(PSMODE = 00B) and returns to normal operation mode.
• The CPU, in response to INTWUP, can release its own power saving mode
and return to normal operation mode.
To further reduce the power consumption of the CPU, the internal clocks—
including that of the CAN module—may be stopped. In this case, the
operating clock supplied to the CAN module is stopped after the CAN
module has been put in CAN sleep mode. Then the CPU enters a power
saving mode in which the clock supplied to the CPU is stopped.
• If an edge transition from recessive to dominant is detected at the CAN
reception pin (CRXDn) in this status, the CAN module can set the
CnINTS.CINTS5 = 1 and generate the wakeup interrupt (INTWUP) even if it
is not supplied with the clock.
• The other functions, however, do not operate, because clock supply to the
CAN module is stopped, and the module remains in CAN sleep mode.
• The CPU, in response to INTWUP
– releases its power saving mode,
– resumes supply of the internal clocks—including the clock to the CAN
module—after the oscillation stabilization time has elapsed, and
– starts instruction execution.
• When clock supply is resumed, the CAN module is immediately released
from CAN sleep mode and returns to normal operation mode
(CnCTRL.PSMODE[1:0] = 00B).
electronic components distributor