
CHAPTER 19 CAN CONTROLLER
User’s Manual U16541EJ4V0UD
796
Cautions 1. To resume the normal operation mode with ABT from the message buffer 0, set the
ABTCLR bit to 1 while the ABTTRG bit is cleared to 0. If the ABTCLR bit is set to 1 while
the ABTTRG bit is set to 1, the subsequent operation is not guaranteed.
2. If the automatic block transmission engine is cleared by setting the ABTCLR bit to 1, the
ABTCLR bit is automatically cleared immediately after the processing of the clearing
request is completed.
3. Do not set the ABTTRG bit in the initialization mode.
If the ABTTRG bit is set in the
initialization mode, the proper operation is not guaranteed after the mode is changed from
the initialization mode to the ABT mode.
4. Do not set the TRQ bit of the ABT message buffers to 1 by software in the normal
operation mode with ABT. Otherwise, the operation is not guaranteed.
5. The C0GMABTD register is used to set the delay time that is inserted in the period from
completion of the preceding ABT message to setting of the TRQ bit for the next ABT
message when the transmission requests are set in the order of message numbers for
each message for ABT that is successively transmitted in the ABT mode. The timing at
which the messages are actually transmitted onto the CAN bus varies depending on the
status of transmission from other stations and the status of the setting of the transmission
request for messages other than the ABT messages (message buffers 8 to 31).
6. If a transmission request is made for a message other than an ABT message and if no
delay time is inserted in the interval in which transmission requests for ABT are
automatically set (C0GMABTD register = 00H), messages other than ABT messages may
be transmitted regardless of their priority in regards to the ABT message.
7. Do not clear the RDY bit to 0 when the ABTTRG bit = 1.
8. If a message is received from another node in the normal operation mode with ABT, the
message may be transmitted after the time of one frame has elapsed even when
C0GMABTD register = 00H.
Remark
m = 00 to 31
19.10.4 Transmission abort process
Remark
m = 00 to 31
(1) Transmission abort in normal operation mode
The user can clear the C0MCTRLm.TRQ bit to 0 to abort a transmission request. The TRQ bit will be cleared
immediately if the abort was successful. Whether the transmission was successfully aborted or not can be
checked using the C0CTRL.TSTAT bit and the C0TGPT register, which indicate the transmission status on the
CAN bus (for details, refer to the processing in Figure 19-45).
(2) Transmission abort process except for ABT transmission in normal operation mode with automatic
block transmission (ABT)
The user can clear the C0GMABT.ABTTRG bit to 0 to abort a transmission request. After checking the
ABTTRG bit of the C0GMABT register = 0, clear the C0MCTRLm.TRQ bit to 0. The TRQ bit will be cleared
immediately if the abort was successful. Whether the transmission was successfully aborted or not can be
checked by using the C0CTRL.TSTAT bit and the C0TGPT register, which indicate the transmission status on
the CAN bus (for details, refer to the process in Figure 19-46).