Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 1027 of 1513
Aug 12, 2011
Figure 20-46. Transmission Abort Processing (Other Than in Normal Operation Mode with ABT)
START
No
Yes
END
Clear TRQ bit.
Set TRQ bit = 0
Clear TRQ bit = 1
TSTAT bit = 0?
No
Wait for a period of 11 CAN
data bits
Note
.
Yes
Read C0LOPT register.
Message buffer to
be aborted matches
C0LOPT register?
Transmission successful
Transmit abort request
was successful.
Note During a period of a total of 11 bits, 3 bits of interframe space and 8 bits of suspend transmission, the
transmission request may have already been acknowledged by the protocol layer. Consequently,
transmission may not be aborted but started even if the TRQ bit is cleared.
Cautions 1. Execute transmission abort processing by clearing the TRQ bit, not the RDY bit.
2. Before making a sleep mode transition request, confirm that there is no transmission
request left using this processing.
3. The TSTAT bit can be periodically checked by a user application or can be checked after
the transmit completion interrupt.
4. Do not execute a new transmission request that includes other message buffers while
transmission abort processing is in progress.
5. If data of the same message buffer are successively transmitted or if only one message
buffer is used, judgments whether transmission has been successfully executed or failed
may contradict. In such a case, make a judgment by using the history information of the
C0TGPT register.