EasyManua.ls Logo

Renesas RH850 Series

Renesas RH850 Series
45 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RH850 Series CAN Transmit Procedure (CAN FD Mode)
R01AN6029EJ0100 Rev.1.0 Page
5
of 42
May 10, 2017
2.1 Message Transmit Function
This is the function to send data frames or remote frames.
A message can be sent by setting a transmit request in the transmit buffer (the TMTR bit of the TMCp register is
“1”).
The transmission result can be confirmed by the TMTRF [1: 0] flag in the corresponding TMSTSp register. If the
transmission is successful, the transmission is completed: no transmit abort request (the TMTRF [1: 0] flag is “B'10”),
or the transmission is completed: transmit abort required (the TMTRF [1: 0] flag is “B'11”). About the transmission is
completed: transmit abort request (the TMTRF [1: 0] flag is "B'11"), refer to "2.2 Transmit abort function")
For each transmit buffer, interrupt enable/disable when transmission is completed can be set with the TMIEp bit of
the TMIECy register.
Figure 2-1 shows the operation of the transmit buffer.
Figure 2-1 Transmit Buffer Operation (Transmit from channel 0)
Transmit complete interrupt source
activated
Transmit buffer 0
Transmit buffer 1
Transmit buffer 2
Transmit buffer p
Msg1
Msg2
Msg3
Msg1
Msg2
Msg3
CAN Bus
Msg2
Msg3
Programmatically
Transmit data set
Transmit request set
Msg1
NoteTransmit buffer number priority transmission
Note
Msg3
Retransmit when an arbitration
lost or an error occurs
Transmit Data

Other manuals for Renesas RH850 Series

Related product manuals