NEC V850E/RS1 User Manual page 666

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

Figure 16-63 shows the processing for a transmit message buffer (MT[2:0] bits of CnMCONFm
register = 000B).
Remark:
Caution:
666
Downloaded from
Elcodis.com
electronic components distributor
Chapter 16 FCAN Controller
Figure 16-63: Message Transmit Processing (Normal Operation Mode with ABT)
CnMCTRLm.CLEAR_RDY = 1
Set CnMDATAxm register
Set CnMDLCm register
Clear RTR bit of CnMCONFm
register
Set CnMIDLm and CnMIDHm
registers
CnMCTRLm.CLEAR_RDY = 0
Set all ABT transmit messages?
CnGMABT.SET_ABTTRG = 1
CnGMABT.CLEAR_ABTTRG = 0
This processing (normal operation mode with ABT) can only be applied to message buffers
0 to 7.
For message buffers other than the ABT message buffers, refer to Figure 16-61.
Set (1) ABTTRG bit after TSTAT bit is clear (0) check TSTAT bit and set ABTTRG bit,
must be processing successively.
START
No
ABTTRG = 0?
Yes
Clear RDY bit
it
CnMCTRLm.SET_RDY = 0
.
No
RDY = 0?
Yes
r
t
Set RDY bit
CnMCTRLm.SET_RDY = 1
.
T
Y
No
t
l
Yes
No
TSTAT = 0?
T
Yes
Set ABTTRG bit
END
User's Manual U16702EE3V2UD00

Advertisement

Table of Contents
loading

Table of Contents