
R01UH0336EJ0102 Rev.1.02
Page 1137 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 20 CAN Controller (FCN)
20.14 Operation of the CAN Controller
This section provides recommended processing procedures required to
operate the FCN. Develop a program referring to recommended processing
procedures in this section.
20.14.1
Initialization
Figure 20-13
Initialization
START = After hardware RESET
Set FCNnCGMCSPRE register
Set
FCNnGMCLCTL.FCNnGMCLPWOM
Set FCNnCMIECTL register
Set FCNnCMMKCTLx register
END
Initialize message buffers
Set
FCNnCMBRPRS register and
FCNnCMBTCTL register
Set
FCNnCMCLCTL.FCNnCMCLMDOF[2:0]
No
No
The period of software reset
(FCNnGMCLCTL.FCNnGMCLSESR = 1)
is about
- 550 CLK
Yes
Yes
FCNnGMCLCTL.
FCNnGMCLECCF
= 0?
FCNnGMCLCTL.
FCNnGMCLSORF
= 0?
Execute software reset
(FCNnGMCLCTL.FCNnGMCLSESR = 1)
Operating modes: Normal operating mode, normal operating mode with ABT,
receive-only mode, single-shot mode, self-test mode