R01UH0823EJ0100 Rev.1.00
Page 1294 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
To clear the interrupt request, set the TMSTSa.TMTRF[1:0] flags to 00b (transmission is in progress or no transmit
request is present).
(5) While another CAN node is transmitting data on the CAN bus (TMSTSa.TMTSTS flag = 0), if the TMCa.TMTAR
bit is set to 1 while the corresponding channel is determining transmit priority, the TMCa.TMTR bit cannot be set to
0.
(6) After the internal processing time has passed, the transmission is terminated and the TMSTSa.TMTRF[1:0] flags
become 01b and the TMTASTS.TMTASTSa flag becomes 1. When the transmit buffer is not transmitting data and
is not selected as the next transmit buffer and priority determination is not being made, an abort request is
immediately accepted and the TMSTSa.TMTRF flag becomes 01b. At this time, the TMCa.TMTR and TMTAR
bits become 0.
When transmit abort is completed with the CTRH.TAIE bit set to 1 (transmit abort interrupt is enabled), an interrupt
request is generated. To clear the interrupt request, set the TMSTSa.TMTRF[1:0] flags to 00b.
If an arbitration lost has occurred after the CAN channel started transmission, the TMSTSa.TMTSTS flag becomes 0.
The transmit priority determination is reexecuted at the beginning of the CRC delimiter to search the highest-priority
transmit buffer. If an error has occurred during transmission or after arbitration lost, the priority determination processing
is reexecuted during transmission of an error frame.
36.11.2
Procedure for Transmission from Transmit/Receive FIFO Buffers
shows the procedure for transmission from transmit/receive FIFO buffers.
shows a timing chart where messages are transmitted from the transmit/receive FIFO buffers and
transmission has been successfully completed.
shows a timing chart where messages are transmitted from
the transmit/receive FIFO buffers and transmit abort has been completed.
Figure 36.29
Procedure for Transmission from Transmit/Receive FIFO Buffers
Start
End
Is transmit/receive FIFO full?
(Is the CFSTS0.CFFLL flag 1?)
No
Yes
Store messages in registers CFIDL0, CFIDH0, CFPTR0, and
CFDF00 to CFDF30.
Set the CFPCTR0 register to FFh.
Write messages when the
GRWCR.RPAGE bit is 1.