upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 629

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.9 Message Reception
16.9.1 Message reception
In all the operation modes, when a message is received, a message buffer that is to store the message
is searched from all the message buffers satisfying the following conditions.
When two or more message buffers of the CAN module receive a message, the message is stored
according to the priority explained below. The message is always stored in the message buffer with the
highest priority, not in a message buffer with a low priority. For example, when an unmasked receive
message buffer and a receive message buffer linked to mask 1 have the same ID, the received mes-
sage is not stored in the message buffer linked to mask 1 that has not received a message, even if a
message has already been received in the unmasked receive message buffer. In other words, when a
condition has been set to store a message in two or more message buffers with different priorities, the
message buffer with the highest priority always stores the message; the message is not stored in mes-
sage buffers with a lower priority. This also applies when the message buffer with the highest priority is
unable to receive and store a message (i.e., when the DN bit = 1 indicating that a message has already
been received, but rewriting is disabled because the OWS bit = 0). In this case, the message is not
actually received and stored in the candidate message buffer with the highest priority, but neither is it
stored in a message buffer with a lower priority.
Remark:
• Used as a message buffer
• Set as a receive message buffer
• Ready for reception
(MA0 bit of CnMCONFm register set to 1B.)
(MT[2:0] bits of CnMCONFm register set to 001B, 010B, 011B, 100B, or 101B.)
(RDY bit of CnMCTRLm register set to 1.)
n = 0, 1
m = 0-31
1 (high)
Priority
5 (low)
2
3
4
User’s Manual U16702EE3V2UD00
Unmasked message buffer
Message buffer linked to mask 1
Message buffer linked to mask 2
Message buffer linked to mask 3
Message buffer linked to mask 4
Chapter 16 FCAN Controller
Storing Condition If Same ID Is Set
DN = 1 and OWS = 1
DN = 1 and OWS = 1
DN = 1 and OWS = 1
DN = 1 and OWS = 1
DN = 1 and OWS = 1
DN = 0
DN = 0
DN = 0
DN = 0
DN = 0
629

Related parts for upd70f3402