BAT32G1x9 user manual | Chapter 22 CAN control
969 / 1149
Rev.1.02
T
he aborted packet cache
and register C0LOPT match?
not
be
Send successfully
Successfully sent for
suspension
end
Figure 22-72
Transmit abort processing (except for ABT transmissions)
(normal operation with
ABT
).
Note even though TRQ The bits are cleared, and it is also possible to initiate a send without
aborting because11Bit, inter-frame space (3bits) and suspend transfers (8bits) between which
a transfer request to the protocol layer may have been accepted.
Note: 1.
Perform the transfer request abort processing by clearing the TRQ bit instead of the RDY bit.
2. Before issuing a sleep mode transition request, verify that no transfer requests use this
processing
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 the transmission of the same packet buffer is contiguous or uses only one packet buffer,
judging whether the transfer abort request is successful may lead to a conflict. In this case, the
historical information indicated by the CnTGPT register is used to judge
.
Clear ABTTRG bit
Read register C0LOPT
Clear TRQ bit
Nexcerpt
Wait 11CAN data bits
Begin
OffTTRG =0?
no
t
yes
e
TSTAT=0?
not
yes