Remote Frame Reception - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

buffer is not the same, if the ID that is masked by the mask register matches, it is considered a
matching ID and the buffer that has this ID is treated as the storage destination of a message.
5. The priority between MBRBs is mentioned in the table on page 810.

18.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
(MA0 bit of CnMCONFm register set to 1.)
Set as a transmit message buffer
(MT[2:0] bits in CnMCONFm register set to 000B)
Ready for reception
(RDY bit of CnMCTRLm register set to 1.)
Set to transmit message
(RTR bit of CnMCONFm register is cleared to 0.)
Transmission request is not set.
(TRQ bit of CnMCTRLm register is cleared 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 DLC[3:0] bit string in the CnMDLCm register store the received DLC value.
The CnMDATA0m to CnMDATA7m registers in the data area are not updated (data before reception
is saved).
The DN bit of the CnMCTRLm register is set to 1.
The CINTS1 bit of the CnINTS register is set to 1 (if the IE bit in the CnMCTRLm register of the mes-
sage buffer that receives and stores the frame is set to 1).
The receive completion interrupt (INTCnREC) is output (if the IE bit of the message buffer that
receives and stores the frame is set to 1 and if the CIE1 bit of the CnIE register is set to 1).
The message buffer number is recorded in the receive history list.
Caution
Chapter 18 AFCAN Controller
When a message buffer is searched for receiving and storing a remote frame,
overwrite control by the OWS bit of the CnMCONFm register of the message
buffer and the DN bit of the CnMCTRLm register are not checked. The setting
of OWS is ignored, and DN is set in any 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.
User's Manual U16580EE3V1UD00
815

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents