
CHAPTER 19 CAN CONTROLLER
User’s Manual U17790EJ2V0UD
836
19.11.2 CAN stop mode
The CAN stop mode can be used to set the CAN controller to standby mode to reduce power consumption. The
CAN module can enter the CAN stop mode only from the CAN sleep mode. Release of the CAN stop mode puts the
CAN module in the CAN sleep mode.
The CAN stop mode can only be released (shifting to CAN sleep mode) by writing 01B to the CnCTRL.PSMODE1
and CnCTRL.PSMODE0 bits and not by a change in the CAN bus state. No message is transmitted even when
transmission requests are issued or pending.
Remark
n = 0, 1
(1) Entering CAN stop mode
A CAN stop mode transition request is issued by writing 11B to the PSMODE1 and PSMODE0 bits.
A CAN stop mode request is only acknowledged when the CAN module is in the CAN sleep mode. In all other
modes, the request is ignored.
Caution
To set the CAN module to the CAN stop mode, the module must be in the CAN sleep mode.
To confirm that the module is in the sleep mode, check that the PSMODE1 and PSMODE0
bits = 01B, and then request the CAN stop mode.
If a bus change occurs at the CAN
reception pin (CRXDn) while this process is being performed, the CAN sleep mode is
automatically released.
In this case, the CAN stop mode transition request cannot be
acknowledged (while the CAN clock is supplied, however, the PSMODE0 must be cleared by
software after the bus level of the CAN reception pin (CRXDn) is changed) .
(2) Status in CAN stop mode
The CAN module is in one of the following states after it enters the CAN stop mode.
The internal operating clock is stopped and the power consumption is minimized.
To wake up the CAN module from the CPU, data can be written to the PSMODE1 and PSMODE0 bits, but
nothing can be written to other CANn module registers or bits.
The CANn module registers can be read, except for the CnLIPT, CnRGPT, CnLOPT, and CnTGPT
registers.
The CANn message buffer registers cannot be written or read.
An initialization mode transition request is not acknowledged and is ignored.
(3) Releasing CAN stop mode
The CAN stop mode can only be released by writing 01B to the PSMODE1 and PSMODE0 bits.
After
releasing the CAN stop mode, the CAN module enters the CAN sleep mode.
When the initialization mode is requested while the CAN module is in the CAN stop mode, that request is
ignored; the CPU has to release the stop mode and subsequently the CAN sleep mode before entering into
initialization mode. It is impossible to enter another operation mode directly from the CAN stop mode without
entering the CAN sleep mode, the request will be ignored.
<R>