R01UH0823EJ0100 Rev.1.00 Page 1263 of 1823
Jul 31, 2019
RX23W Group 36. CAN Module (RSCAN)
Table 36.5 shows the global mode transition time.
(1) Global Stop Mode
In global stop mode, clocks of the CAN do not run and therefore power consumption is reduced. CAN registers can be
read, but writing data to them is prohibited. Register values are retained.
After the operation of the CAN module is enabled, the CAN module transitions to global stop mode. Setting the
GCTRL.GSLPR bit to 1 (global stop mode) in global reset mode sets the CTRL.CSLPR bit to 1 (channel stop mode). If
all channels are forcibly caused to transition to channel stop mode, the CAN module transitions to global stop mode. The
GCTRL.GSLPR bit should not be modified in global operating mode and global test mode.
(2) Global Reset Mode
In global reset mode, CAN module settings are performed. When the CAN module transitions to global reset mode, some
registers are initialized.
Table 36.8 and Table 36.9 list the registers to be initialized.
Setting the GCTRL.GMDC[1:0] bits to 01b sets each of the CTRL.CHMDC[1:0] bits to 01b (channel reset mode). If all
channels are forcibly caused to transition to channel reset mode, the CAN module transitions to global reset mode.
Channels that are already in channel reset mode or channel stop mode do not transition (because the
CTRL.CHMDC[1:0] bits have already been set to 01b).
(3) Global Test Mode
In global test mode, settings for test-related registers are performed. When the CAN module transitions to global test
mode, all CAN communications are disabled.
Setting the GCTRL.GMDC[1:0] bits to 10b sets each of the CTRL.CHMDC[1:0] bits to 10b (channel halt mode). If all
channels are forcibly caused to transition to channel halt mode, the CAN module transitions to global test mode.
Channels that are in channel stop mode, channel reset mode, or channel halt mode do not transition.
(4) Global Operating Mode
In global operating mode, entire CAN module operates.
When the GCTRL.GMDC[1:0] bits are set to 00b, the CAN module transitions to global operating mode.
Table 36.5 Global Mode Transition Time
Mode before Transition Mode after Transition Maximum Transition Time
Global stop Global reset 3 PCLK cycles
Global reset Global stop 3 PCLK cycles
Global reset Global test 10 PCLK cycles
Global reset Global operating 10 PCLK cycles
Global test Global reset 3 PCLK cycles
Global test Global operating 3 PCLK cycles
Global operating Global reset 3 PCLK cycles
Global operating Global test Two CAN frames