R01UH0823EJ0100 Rev.1.00 Page 1262 of 1823
Jul 31, 2019
RX23W Group 36. CAN Module (RSCAN)
36.3 CAN Modes
The CAN module has four global modes to control entire CAN module status and four channel modes to control
individual channel status.
Details of global modes are described in
section 36.3.1, Global Modes, and details of channel modes are described in
section 36.3.2, Channel Modes.
Global stop mode: Stops clocks of entire module to achieve low power consumption.
Global reset mode: Performs initial settings for entire module.
Global test mode: Performs test settings and performs RAM test.
Global operating mode: Makes entire module operable.
Channel stop mode: Stops channel clock.
Channel reset mode: Performs initial settings for channels.
Channel halt mode: Stops CAN communication and enables channel test.
Channel communication mode: Performs CAN communication.
36.3.1 Global Modes
Figure 36.2 shows the transitions of global modes.
Figure 36.2 Transitions of Global Modes
Channel modes transition in some cases with transitions of global modes. Table 36.4 shows the transitions of channel
modes depending on the global mode setting by the GCTRL.GMDC[1:0] bits and the GSLPR bit.
Table 36.4 Transitions of Channel Modes Depending on Global Mode Setting (GCTRL.GMDC[1:0] and GSLPR
Bits)
Channel Mode before
Setting
Channel Mode after Setting
GMDC[1:0] = 00b
GSLPR = 0
(Global Operation)
GMDC[1:0] = 10b
GSLPR = 0
(Global Test)
GMDC[1:0] = 01b
GSLPR = 0
(Global Reset)
GMDC[1:0] = 01b
GSLPR = 1
(Global Stop)
Channel communication Channel communication Channel communication Channel reset Transition prohibited
Channel halt Channel halt Channel halt Channel reset Transition prohibited
Channel reset Channel reset Channel reset Channel reset Channel stop
Channel stop Channel stop Channel stop Channel stop Channel stop
Global stop mode Global reset mode
Global operating
mode
Global test mode
GSLPR, GMDC[1:0]: Bits in the GCTRL register
GSLPR = 0
GSLPR = 1
GMDC[1:0] = 00b
GMDC[1:0] = 01b
GMDC[1:0] = 10b
GMDC[1:0] = 00b
G
M
D
C
[
1
:
0]
=
1
0b
G
MD
C
[
1:0]
=
0
1b
CAN reset