BAT32G1x9 user manual | Chapter 22 CAN control
968 / 1149
Rev.1.02
Figure 22-71 Transmission abort processing (except for normal operating mode with ABT).
Note Even if the TRQ bit is cleared, it is possible to start the transfer without aborting, because
transfer requests to the protocol layer may have been accepted between 11 bits, inter-frame
space (3 bits), and suspended transfers (8 bits). .
Notes: 1
Performs abort processing of the transfer request by clearing the TRQ bit instead of the RDY bit.
2. Before you issue a sleep mode transition request, verify that there are no remaining transfer
requests using this process.
3. The user application can check the TSTAT bit periodically, or it can check after the transmission
is complete and interrupted.
4. While transfer abort processing is in progress, do not perform new transfer requests, including in
other packet buffers.
5. When a transmission continues in the same packet cache or only one packet cache is used,
determining whether the transfer abort request is successful may cause a conflict. In this case, the
history information indicated by the CnTGPT register is used to judge.
Was the message cache
that matches the C0LOPT
register aborted?
no
t
yes
The transfer was
successful
T
he transfer abort
request succeeded
END
Wait 11CAN data bits N
e
x
c
er
pt
Read the C0LOPT register
Clear the TRQ bit
Begin
TSTAT=0
?
no
t
yes