
R01UH0336EJ0102 Rev.1.02
Page 1158 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 20 CAN Controller (FCN)
20.14.3
Message Reception
Figure 20-31
Reception via Interrupt (Using FCNnCMLISTR Register)
Note 1.
Check FCNnMmCTL.FCNnMmMUCF and FCNnMmCTL.FCNnMmDTNF bits
in one read access.
Note 2.
Also check the FCNnGMCLSSMO flag at the beginning and at the end of the
interrupt routine, in order to check the access to the message buffers as well
as receive history list registers of the FCN module, in case a pending sleep
mode had been executed. If FCNnGMCLSSMO is detected to be cleared at
any check, re-set FCNnGMCLSSMO, discard actions and results of the
processing, and then perform processing again.
It is recommended that all sleep mode requests be cancelled before
processing reception interrupts.
Yes
No
START
END
Read FCNnMmDATx,
FCNnMmDTLGB, and
FCNnMmMID0W registers
Read FCNnCMLISTR register
Generation of receive
completion interrupt
Clear
FCNnMmCTL.FCNnMmDTNF
FCNnMmCTL.FCNnMmDTNF = 0
and
FCNnMmCTL.FCNnMmMUCF = 0?
*1