Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 1023 of 1513
Aug 12, 2011
Figure 20-42 shows the processing for a transmit message buffer (C0MCONFm.MT2 to C0MCONFm.MT0 bits = 000B).
Figure 20-42. ABT Message Transmit Processing
START
END
ABTTRG = 0?
No
Ye s
RDY = 0?
Set RDY bit
Ye s
No
Set ABTTRG bit
Set all ABT transmit messages?
TSTAT = 0?
Ye s
No
Ye s
No
START
END
ABTTRG bit = 0?
No
Ye s
Clear RDY bit
SET_RDY bit = 0
CLEAR_RDY bit = 1
RDY bit = 0?
Set RDY bit.
Ye s
No
Set ABTTRG bit.
Set all ABT transmit messages?
TSTAT bit = 0?
Ye s
No
Ye s
No
SET_ABTTRG = 1
CLEAR_ABTTRG = 0
SET_RDY bit = 1
CLEAR_RDY bit = 0
Set C0MDATAxm register.
Set C0MDLCm register.
Clear RTR bit of C0MCONFm
register.
Set C0MIDLm and C0MIDHm
registers.
Caution The ABTTRG bit should be set to 1 after the TSTAT bit is cleared to 0. The checking of the
TSTAT bit and the setting for the ABTTRG bit to 1 must be continuous.
Remark This processing (message transmit processing with ABS) can only be applied to message buffers 0
to 7. For message buffers other than the ABT message buffers, refer to Figure 20-41.