English
Language : 

K60P100M100SF2RM Datasheet, PDF (1363/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Structure
Mailbox
Mailbox
Mailbox
Mailbox
Mailbox
FIFO5
Table 48-116. Matching Architecture
SMB[RTR]
0
CTRL2[RRS] CTRL2[EAC
EN]
MB[IDE]
-
0
cmp2
MB[RTR]
no_cmp3
0
-
1
cmp_msk
cmp_msk
1
0
-
cmp
no_cmp
1
1
0
cmp
no_cmp
1
1
1
cmp_msk
cmp_msk
-
-
-
cmp_msk
cmp_msk
Chapter 48 CAN (FlexCAN)
MB[ID1]
MB[CODE]
cmp_msk4
cmp_msk
cmp
cmp_msk
cmp_msk
cmp_msk
EMPTY or
FULL or
OVERRUN
EMPTY or
FULL or
OVERRUN
RANSWER
EMPTY or
FULL or
OVERRUN
EMPTY or
FULL or
OVERRUN
-
1. For Mailbox structure, If SMB[IDE] is asserted, the ID is 29 bits (ID Standard + ID Extended). If SMB[IDE] is negated, the
ID is only 11 bits (ID Standard). For FIFO structure, the ID depends on IDAM.
2. cmp: Compares the SMB contents with the MB contents regardless the masks.
3. no_cmp: The SMB contents are not compared with the MB contents
4. cmp_msk: Compares the SMB contents with MB contents taking into account the masks.
5. SMB[IDE] and SMB[RTR] are not taken into account when IDAM is type C.
A reception structure is free-to-receive when any of the following conditions is satisfied:
• the CODE field of the Mailbox is EMPTY;
• the CODE field of the Mailbox is either FULL or OVERRUN and it has already been
serviced (the C/S word was read by the CPU and unlocked as described in Message
Buffer Lock Mechanism);
• the CODE field of the Mailbox is either FULL or OVERRUN and a inactivation (see
Message Buffer Inactivation) is performed;
• the Rx FIFO is not full.
The scan order for Mailboxes and Rx FIFO is from the matching element with lowest
number to the higher ones.
The matching winner search for Mailboxes is affected by the MCR[IRMQ] bit. If it is
negated the matching winner is the first matched Mailbox regardless if it is free-to-
receive or not. If it is asserted, the matching winner is selected according to the priority
below:
1. the first free-to-receive matched Mailbox;
2. the last non free-to-receive matched Mailbox.
It is possible to select the priority of scan between Mailboxes and Rx FIFO by the
CTRL2[MRP] bit.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1363