
677
Chapter 16
FCAN Controller
User’s Manual U16702EE3V2UD00
Figure 16-74:
Setting CAN Sleep Mode/Stop Mode
Cautions: 1. To abort transmission before making a request for the CAN sleep mode, perform
processing according to Figures 16-67 and 16-68.
2. If the host CPU wants to enter a power save mode as well, the interrupt process-
ing needs to be disabled before the CPU validates that sleep mode has beenen-
tered. If the interrupt processing can not be disabled, the host CPU will never
wake-up by CAN bus activity when the CAN sleep mode is released between vali-
dation of the sleep state and execution of the i.e. CPU HALT instruction.
START (when PSMODE[1:0] = 00B)
PSMODE0 = 1?
Set PSMODE0 bit
CnCTRL.SET_PSMODE1 = 1
CnCTRL.CLEAR_PSMODE1 = 0
CAN sleep mode
END
Yes
No
Set PSMODE1 bit
CnCTRL.SET_PSMODE1 = 1
CnCTRL.CLEAR_PSMODE1 = 0
PSMODE1 = 1?
CAN stop mode
o
Request CAN sleep
mode again?
Set CnCTRL register
(Set OPMODE)
Yes
No
Yes
No
Access to registers other than the
CnCTRL and CnGMCTRL registers
INIT mode?
Yes
No
Clear CINTS5 bit
CnINTS .CLEAR_CINTS5 = 1
Clear CINTS5 bit
CnINTS .CLEAR_CINTS5 = 1
Clear OPMODE
electronic components distributor