
R01UH0336EJ0102 Rev.1.02
Page 1072 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 20 CAN Controller (FCN)
Caution
The FCNnCMCLERCF bit is used to clear the error counter FCNnCMERCNT
and information register FCNnCMINSTR for re-initialization or forced recovery
from the bus-off state. The error counter and the information register can be
cleared (by setting FCNnCMCLERCF to 1) under the following conditions.
•
In initialization mode during bus-off period
•
In initialization mode after the FCN module is started (by setting
FCNnGMCLPWOM to 1 from the FCNnGMCLPWOM = 0 state)
•
In initialization mode after all transmission requests are cleared according
to the transmission abort processing in Figure 20-24 in operating mode (In
normal operating mode with ABT, clear all transmission requests according
to the transmission abort processing in Figure 20-25.)
Note 1.
When the FCNnCMERCNT and FCNnCMINSTR registers have been cleared,
FCNnCMCLERCF is also cleared to 0 automatically.
Note 2.
FCNnCMCLERCF can be set to 1 at the same time as a request to change
initialization mode to an operating mode is made.
Note 3.
FCNnCMCLERCF is read-only in FCN sleep mode or FCN stop mode.
Note 4.
The error counter is also cleared by normal shutdown or forced shutdown of
the CAN controller.
Note
FCNnCMCLALBF is valid only in single-shot mode.
Note 1.
Detection of a valid receive message frame is not dependent upon storage in
the receive message buffer (data frame) or transmit message buffer (remote
frame).
Note 2.
If only two CAN nodes are connected to the CAN bus with one transmitting a
message frame in normal mode and the other in receive-only mode,
FCNnCMCLVALF is not set to 1 before the transmitting node enters the error
passive state, because in receive-only mode no acknowledge is generated.
Note 3.
To clear FCNnCMCLVALF, set FCNnCMCLCLVL to 1 first and confirm that
FCNnCMCLVALF is cleared. If it is not cleared, perform clearing processing
again.
FCNnCMCLERCF
Error Counter Clear
0
The FCNnCMERCNT and FCNnCMINSTR registers are not
cleared in initialization mode.
1
The FCNnCMERCNT and FCNnCMINSTR registers are
cleared in initialization mode.
FCNnCMCLALBF
Setting Operation in Case of Arbitration Loss
0
Re-transmission is not executed in case of an arbitration
loss in single-shot mode.
1
Re-transmission is executed in case of an arbitration loss in
single-shot mode.
FCNnCMCLVALF
Valid Receive Message Frame Detection
0
A valid message frame has not been received since
FCNnCMCLVALF was last cleared to 0.
1
A valid message frame has been received since
FCNnCMCLVALF was last cleared to 0.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...