Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 989 of 1513
Aug 12, 2011
20.9.6 Remote frame reception
In all the operation modes, when a remote frame is received, the message buffer that is to store the remote frame is
searched from all the message buffers satisfying the following conditions.
Used as a message buffer
(C0MCONFm.MA0 bit set to 1.)
Set as a transmit message buffer
(C0MCONFm.MT2 to C0MCONFm.MT0 bits set to 000B)
Ready for reception
(C0MCTRLm.RDY bit set to 1.)
Set to transmit message
(C0MCONFm.RTR bit is cleared to 0.)
Transmission request is not set.
(C0MCTRLm.TRQ bit is set to 0.)
Upon acceptance of a remote frame, the following actions are executed if the ID of the received remote frame matches
the ID of a message buffer that satisfies the above conditions.
The C0MDLCm.DLC3 to C0MDLCm.DLC0 bits store the received DLC value.
The C0MDATA0m to C0MDATA7m registers in the data area are not updated (data before reception is saved).
The C0MCTRLm.DN bit is set to 1.
The C0INTS.CINTS1 bit is set to 1 (if the C0MCTRLm.IE bit of the message buffer that receives and stores the
frame is set to 1).
The receive completion interrupt (INTC0REC) is output (if the IE bit of the message buffer that receives and stores
the frame is set to 1 and if the C0IE.CIE1 bit is set to 1).
The message buffer number is recorded in the receive history list.
Caution When a message buffer is searched for receiving and storing a remote frame, overwrite control by
the C0MCONFm.OWS bit of the message buffer and the DN bit are not affected. The setting of the
OWS bit is ignored and the DN bit is set to 1 in every case.
If more than one transmit message buffer has the same ID and the ID of the received remote frame
matches that ID, the remote frame is stored in the transmit message buffer with the lowest message
buffer number.
Remark m = 00 to 31