
R01UH0336EJ0102 Rev.1.02
Page 1101 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 20 CAN Controller (FCN)
20.6.3
Transition from Initialization Mode to Operating Mode
The FCN module can be switched to the following operating modes.
• Normal operating mode
• Normal operating mode with ABT
• Receive-only mode
• Single-shot mode
• Self-test mode
Figure 20-5
Transition to Operating Modes
Note
The following abbreviations are used in the figure above.
•
MDOF = FCNnCMCLCTL.FCNnCMCLMDOF[2:0]
•
PWOM = FCNnGMCLCTL.FCNnGMCLPWOM
•
SESD = FCNnGMCLCTL.FCNnGMCLSESD
The transition from initialization mode to an operating mode is controlled by
FCNnCM.FCNnCMCLMDOF[2:0].
Changing from one operating mode to another requires shifting to initialization
mode in between. Do not change one operating mode to another directly.
Otherwise, the operation will not be guaranteed.
Requests for transition from an operating mode to initialization mode are held
pending when the CAN bus is not in the inter-frame space (i.e., frame
reception or transmission is in progress), and the FCN module enters
initialization mode at the first bit in the inter-frame space (the values of
FCNnCMCLCTL.FCNnCMCLMDOF[2:0] are changed to 000
B
). After issuing a
request to change the mode to initialization mode, read
FCNnCMCLCTL.FCNnCMCLMDOF[2:0] until their values become 000
B
to
confirm that the module has entered initialization mode (see Figure 20-14, Re-
initialization without Software Reset Function).
CAN module
channel invalid
[Receive-only mode]
[Single-shot mode]
MDOF = 04
H
INIT mode
MDOF = 00
H
SESD = 1
and PWOM = 0
RESET
[Normal operating
mode with ABT]
MDOF = 02
H
PWOM = 1
All CAN modules are in
initialization mode and
PWOM = 0
MDOF = 01
H
MDOF = 02
H
MDOF = 03
H
MDOF = 04
H
MDOF = 05
H
RESET released
[Normal operating
mode]
MDOF = 01
H
MDOF = 00
H
and CAN bus is busy.
MDOF = 00
H
and CAN bus is busy.
MDOF = 00
H
and CAN bus is busy.
MDOF = 00
H
and CAN bus is busy.
MDOF = 00
H
and CAN bus is busy.
MDOF = 00
H
and inter-frame space
MDOF = 00
H
and inter-frame space
MDOF = 00
H
and inter-frame space
MDOF = 00
H
and inter-frame space
MDOF = 00
H
and inter-frame space
[Self-test mode]
MDOF = 05
H
SESD = 1
and PWOM = 0
SESD = 1
and PWOM = 0
SESD = 1
and PWOM = 0
SESD = 1
and PWOM = 0
SESD = 1
and PWOM = 0