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

32-bit single-chip microcontroller
Table of Contents

Advertisement

CAN Controller (CAN)
Note
Figure 18-45
Note
Caution
1.
Also check the MBON flag at the beginning and at the end of the polling
routine, in order to check the access to the message buffers as well as TX
history list registers, in case a pending sleep mode had been executed. If
MBON is detected to be cleared at any check, the actions and results of
the processing have to be discarded and processed again, after MBON is
set again.
2.
If TOVF was set once, the transmit history list is inconsistent. Consider to
scan all configured transmit buffers for completed transmissions.
Clear TRQ bit
Clear TRQ bit
Wait for 11 CAN data bits
Wait for 11 CAN data bits
TSTAT = 0?
TSTAT = 0?
Read CnLOPT register
Read CnLOPT register
Message buffer to
Message buffer to
be aborted matches CnLOPT
be aborted matches CnLOPT
Transmission successful
Transmission successful
Transmission successful
Transmission abort processing (except normal operation mode with
ABT)
There is a possibility of starting the transmission without being aborted even if
TRQ bit is cleared, because the transmission request to protocol layer might
already been accepted between 11 bits, total of interframe space (3 bits) and
suspend transmission (8 bits).
1.
Clear the TRQ bit for aborting transmission request, 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 any new transmission request including in the other
message buffers while transmission abort processing is in progress.
User's Manual U18743EE1V2UM00
START
START
Note
Note
No
No
Yes
Yes
No
No
register?
register?
Yes
Yes
END
END
Chapter 18
Transmit abort request
Transmit abort request
Transmit abort request
was successful
was successful
was successful
647

Advertisement

Table of Contents
loading

Table of Contents