NEC V850ES/F 3-L Series User Manual page 653

32-bit single-chip microcontroller
Table of Contents

Advertisement

CAN Controller (CAN)
Figure 18-51
Note
START
START
CINTS1 = 1?
CINTS1 = 1?
Yes
Yes
Clear CINTS1 bit
Clear CINTS1 bit
Read CnRGPT register
Read CnRGPT register
ROVF = 1?
ROVF = 1?
Clear ROVF bit
Clear ROVF bit
Yes
RHPM = 1?
Clear DN bit
Clear DN bit
Read CnMDATAxm, CnMDLCm,
Read CnMDATAxm, CnMDLCm,
CnMIDLm, CnMIDHm registers
CnMIDLm, CnMIDHm registers
DN = 0
AND
MUC = 0
Correct data is read
Correct data is read
END
END
Note
Check the MUC and DN bits using one read access.
Reception via software polling
1.
Also check the MBON flag at the beginning and at the end of the polling
routine, in order to check the access to the message buffers as well as
reception history list registers, in case a pending sleep mode had been
executed. If MBON is detected to be cleared at any check, the actions and
results of the processing have to be discarded and processed again, after
MBON is set again.
2.
If ROVF was set once, the receive history list is inconsistent. Consider to
scan all configured receive buffers for receptions.
User's Manual U18743EE1V2UM00
No
No
No
No
Yes
Yes
No
No
Note
Yes
Chapter 18
Illegal data is read
Illegal data is read
653

Advertisement

Table of Contents
loading

Table of Contents