NEC V850E/RS1 User Manual page 670

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

Advertisement

Figure 16-67: Transmission Abort Processing (except Normal Operation Mode with ABT)
Cautions: 1. Execute transmission request abort processing by clearing the TRQ bit, not the
670
Downloaded from
Elcodis.com
electronic components distributor
Chapter 16 FCAN Controller
START
Clear TRQ bit
CnMCTRLm.SET_TRQ = 0
.
CnMCTRLm.CLEAR_TRQ = 1
Wait for 11 CAN data bits
TSTAT = 0?
Yes
Read CnLOPT register
Message buffer to
be aborted matches CnLOPT
register?
Yes
Transmission successful
END
RDY bit.
2. Before making a sleep mode transition request, confirm that there is no transmis-
sion 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 request abort processing is in progress.
User's Manual U16702EE3V2UD00
0
1
No
No
Transmit abort request
was successful

Advertisement

Table of Contents
loading

Table of Contents