RH850 Series CAN Transmit Procedure (CAN FD Mode)
R01AN6029EJ0100 Rev.1.0 Page
of 42
May 10, 2017
3.1.1 Message Transmission Procedure from Transmit/receive FIFO
Figure 3-2 shows the procedure for sending a message from the transmit/receive FIFO buffer, and Figure 3-3 and
Figure 3-4 show the procedure for enabling/prohibiting the transmit/receive FIFO buffer.
【Note】
Only when the transmit/receive FIFO buffer is in transmit mode (the CFM [1: 0] bit of the CFCCk
register is “B’01”), the CFIDk register, CFPTRk register, and CFDFd_k register can be written.
When setting the standard ID in the transmission ID (the CFID [28: 0] bit of the CFIDk register) in the
transmit mode, set the ID in b10-b0. Set b28-b11 to “0”.
This is valid only when the transmit mode is set and the data is stored in the transmit history buffer (THLE
bit of the THLCCm register is “1” and the THLEN bit of the CFIDk register is “1”).
Increment the transmit/receive FIFO buffer pointer if the following conditions are satisfied (write "H'FF" in
the CFPC bit of the CFPCTRk register).
・In transmit mode
・When using transmit/receive FIFO (the CFE bit of the CFCCk register is “1”)
・After writing a transmit message to the transmit/receive FIFO buffer
・The transmit/receive FIFO is not full (the CFFLL flag in the CFSTSk register is “0”)
Figure 3-2 Message Transmission Procedure from Transmit/receive FIFO Buffer
Store messages in transmit/receive FIFO buffer*
1.
・ IDE/RTR/ID
*2.
・ Enable or prohibit storage in the transmit history
buffer
・ DLC
・ Transmit buffer data label transmit data
*3.
・ Transmit data
Is there space in the transmit /
receive FIFO buffer?
Increment transmit/receive FIFO buffer pointer
*4.