489
■ 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
Transmission request
(TREQx:=1)
TCx:=0
TREQx?
0
1
RFWTx?
0
1
RRTRx?
1
0
Is the bus idle?
NO
TRTRx?
0
1
A data frame is transmitted. A remote frame is transmitted.
YES
Is transmission
successful?
NO
YES
RRTRx:= 0
TREQx:= 0
TCx := 1
TIEx?
A transmission complete
interrupt occurs.
1
0
TCANx?
1
0
TREQx:=0
End of transmission
If there are any other message buffers
meeting the above conditions, select
the lowest-numbered message buffer.