RL78/F13, F14 CHAPTER 18 CAN INTERFACE (RS-CAN LITE)
R01UH0368EJ0210 Rev.2.10 1391
Dec 10, 2015
18.6.2 Transmission Using Transmit Buffers
Setting the transmit request bit (TMTR bit in the TMCp register) in a transmit buffer to 1 (transmission is requested)
allows transmission of data frames or remote frames.
Transmit result is shown by the TMTRF[1:0] flag in the corresponding TMSTSp register (p = 0 to 3). When transmit
completes successfully, the TMTRF[1:0] flag is set to B'10 (transmission has been completed (without transmit abort
request)) or B'11 (transmission has been completed (with transmit abort request)).
(1) Transmit Abort Function
With respect to transmit buffers for which the TMTRM bit in the TMSTSp register is set to 1 (a transmit request is
present), when the TMTAR bit in the TMCp register is set to 1 (transmit abort is requested), the transmit request is
canceled. When transmit abort is completed, the TMTRF[1:0] flag in the TMSTSp register is set to B'01 (transmit abort has
been completed) and the transmit request is canceled (clearing the TMTRM bit to 0).
A message that is being transmitted or a message to be transmitted next according to the transmit priority
determination cannot be aborted. However, when an arbitration lost or an error has occurred while a message for which
the TMTAR bit is set to 1 is being transmitted, retransmission is not performed.
(2) One-Shot Transmission Function (Retransmission Disabling Function)
When the TMOM bit in the TMCp register is set to 1 (one-shot transmission is enabled), transmission is performed only
once. Even if an arbitration lost or an error occurs, retransmission is not performed.
One-shot transmit result is shown by the TMTRF[1:0] flag in the corresponding TMSTSp register. When one-shot
transmit completes successfully, the TMTRF[1:0] flag is set to B'10 or B'11. When an arbitration lost or an error has
occurred, the TMTRF[1:0] flag is set to B'01 (transmit abort has been completed).