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

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 18
Figure 18-50
Note
652
Generation of receive
Generation of receive
completion interrupt
completion interrupt
Read CnRGPT register
Read CnRGPT register
ROVF = 1?
ROVF = 1?
Clear ROVF bit
Clear ROVF bit
Yes
Yes
RHPM = 1?
RHPM = 1?
Clear DN bit
Clear DN bit
Read CnMDATAxm, CnMDLCm,
Read CnMDATAxm, CnMDLCm,
CnMIDLm, CnMIDHm registers
CnMIDLm, CnMIDHm registers
Correct data is read
Correct data is read
END
END
Note
Check the MUC and DN bits using one read access.
Reception via interrupt (using CnRGPT register)
1.
Also check the MBON 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
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.
It is recommended to cancel any sleep mode requests, before processing
RX interrupts.
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
START
START
No
No
Yes
Yes
No
No
DN = 0
DN = 0
DN = 0
No
No
AND
AND
AND
Note
Note
Note
MUC = 0
MUC = 0
MUC = 0
Yes
Yes
CAN Controller (CAN)
Illegal data is read
Illegal data is read

Advertisement

Table of Contents
loading

Table of Contents