Completing Transmission of CAN Controller
When transmission is successful, RRTRx becomes 0, TREQx becomes 0, and TCx of the transmission
complete register (TCR) becomes 1. If the transmission complete interrupt is enabled (TIEx of the
transmission complete interrupt enable register (TIER) is 1), an interrupt occurs.
Transmission Flowchart of CAN Controller
Figure 21.5-1 Transmission Flowchart of the CAN Controller
A data frame is transmitted.
Transmission request
(TREQx:=1)
TCx:=0
0
TREQx?
1
0
RFWTx?
1
0
RRTRx?
1
If there are any other message buffers
meeting the above conditions, select
the lowest-numbered message buffer.
NO
Is the bus idle?
YES
0
1
TRTRx?
A remote frame is transmitted.
Is transmission
successful?
YES
RRTRx := 0
TREQx := 0
TCx
:= 1
1
TIEx?
0
A transmission complete
interrupt occurs.
End of transmission
NO
TCANx?
TREQx:=0
0
1
489