![](http://datasheet.mmic.net.cn/370000/UPD70F3116A_datasheet_16743820/UPD70F3116A_522.png)
CHAPTER 11 FCAN CONTROLLER
522
User’s Manual U14492EJ5V0UD
11.5.2 Message reception
When two or more message buffers of the CAN module receive a message, the storage priority of the received
messages is as follows (the storage priority differs between data frames and remote frames).
Table 11-4. Storage Priority for Data Frame Reception
Priority
Conditions
2 (High)
Unmasked message buffer
3
Message buffer linked to mask 0
4
Message buffer linked to mask 1
5
Message buffer linked to mask 2
6 (Low)
Message buffer linked to mask 3
Table 11-5. Storage Priority for Remote Frame Reception
Priority
Conditions
1 (High)
Transmit message buffer
2
Unmasked message buffer
3
Message buffer linked to mask 0
4
Message buffer linked to mask 1
5
Message buffer linked to mask 2
6 (Low)
Message buffer linked to mask 3
A message (data frame or remote frame) is always stored in a receive message buffer with a higher priority, not in
a receive buffer with a lower priority. For example, when the unmasked receive message buffer and the message
buffer linked to mask 0 have the same ID, a message is always stored in the unmasked receive message buffer even
if the unmasked receive message buffer has already received a message.
When two or more message buffers with the same priority exist in the same CAN module, the priority is as follows.
Table 11-6. Priority of Same Priority Level
Priority
Condition
1 (High)
DN bit of M_STAT register is not set (1)
2 (Low)
DN bit of M_STAT register is set (1)
When two or more message buffers with the same priority exist, the message buffer with the smaller message
number takes precedence.
Also, when two or more message buffers with the same ID exist, the message buffer with the smaller message
number takes precedence.