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

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 18
Set CnMDATAxm register
Set CnMDATAxm register
Set CnMDLCm register
Set CnMDLCm register
Clear RTR bit of CnMCONFm
Clear RTR bit of CnMCONFm
register.
register.
Set CnMIDLm and CnMIDHm
Set CnMIDLm and CnMIDHm
registers
registers
Figure 18-44
Caution
646
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
TX interrupts.
2.
If TOVF was set once, the transmit history list is inconsistent. Consider to
scan all configured transmit buffers for completed transmissions.
CINTS0 = 1?
CINTS0 = 1?
Yes
Yes
Clear CINTS0 bit
Clear CINTS0 bit
Read CnTGPT register
Read CnTGPT register
No
No
TOVF = 1?
TOVF = 1?
Clear TOVF bit
Clear TOVF bit
Clear RDY bit
Clear RDY bit
RDY = 0?
RDY = 0?
Data frame
Data frame
Data frame or
Data frame or
remote frame?
remote frame?
Set RDY bit
Set RDY bit
Set TRQ bit
Set TRQ bit
THPM = 1?
THPM = 1?
Transmission via software polling
1.
The TRQ bit should be set after the RDY bit is set.
2.
The RDY bit and TRQ bit should not be set at the same time.
User's Manual U18743EE1V2UM00
START
START
No
No
Yes
Yes
No
No
Yes
Yes
Remote frame
Remote frame
Set CnMDLCm register
Set CnMDLCm register
Set RTR bit of CnMCONFm
Set RTR bit of CnMCONFm
Set CnMIDLm and CnMIDHm
Set CnMIDLm and CnMIDHm
registers
registers
No
No
Yes
Yes
END
END
CAN Controller (CAN)

Advertisement

Table of Contents
loading

Table of Contents