Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 1022 of 1513
Aug 12, 2011
Figure 20-41 shows the processing for a transmit message buffer (C0MCONFm.MT2 to C0MCONFm.MT0 bits = 000B).
Figure 20-41. Message Transmit Processing
START
Set TRQ bit.
Set TRQ bit = 1
Clear TRQ bit = 0
END
TRQ bit = 0?
Yes
No
Clear RDY bit.
Set RDY bit = 0
Clear RDY bit = 1
Set RDY bit.
Set RDY bit = 1
Clear RDY bit = 0
RDY bit = 0?
Yes
No
Data frame
or
remote frame?
Remote frame
Data frame
Set RTR bit of C0MDLCm
register and C0MCONFm
register.
Set C0MIDLm and
C0MIDHm registers.
Set C0MDATAxm,
C0MDLCm registers.
Clear RTR bit of
C0MCONFm register.
Set C0MIDLm and
C0MIDHm registers.
Cautions 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.