
FlexRay Module (FLEXRAYV2)
MFR4300 Data Sheet, Rev. 1
Freescale Semiconductor
177
Each message buffer list is sorted according to the priorities given in
Table 3-107
. From the group with the
highest priority, the message buffer with the lowest message buffer number is selected. For this message
buffer the corresponding transition given in
Table 3-107
is triggered as the result of the message buffer
search.
3.4.7.1
Individual Message Buffer Filtering
The message buffer search identifies the matching message buffers by applying two individual message
buffer filter. The first filter is the frame ID filter, the second filter is the cycle count filter.
3.4.7.1.1
Message Buffer Frame ID Filtering
The message buffer frame ID filter is used to determine if the message buffer can be considered for
reception or transmission in a certain slot on a per channel basis.
The frame ID filter matches for a message buffer with message buffer number
n
and the search slot
s
, if
the value of the FID field in the
Message Buffer Frame ID Registers (MBFIDRn)
equals
s.
Only message buffer with a frame ID filter match may appear in the matching message buffer list. All
transmit message buffer with a matching frame ID will appear in the matching message buffer list. Only
receive message buffer with a matching frame ID and a matching cycle counter filter will appear in the
matching message buffer list.
3.4.7.1.2
Message Buffer Cycle Counter Filtering
The message buffer cycle counter filter is a value-mask filter defined by the CCFE, CCFMSK, and
CCFVAL fields in the
Message Buffer Cycle Counter Filter Registers (MBCCFRn)
. This filter determines
a set of communication cycles in which the message buffer is considered for message reception or message
transmission. If the cycle counter filter is disabled, i.e. CCFE = ‘0’, this set of cycles consists of all
communication cycles.
If the cycle counter filter of a message buffer does not match a certain communication cycle number, this
message buffer is not considered for message transmission or reception in that communication cycle. In
case of a transmit message buffer, though, this buffer is added to the matching message buffer list with
Table 3-107. Message Buffer Search Priority
Priority
MBCCSRn
Description
Transition
MTD
LCKS
CMT
CCFM
1
1
Cycle Counter Filter Match, see
Section 3.4.7.1.2, “Message Buffer Cycle Counter Filtering”
(highest) 0
1
0
1
1
transmit buffer, unlocked, committed, matches cycle count
MA
1
1
0
0
1
transmit buffer,
locked
or
uncommitted,
matches
cycle count
SA
1
1
x
1
SA
2
1
x
x
0
transmit buffer, assigned to slot
SA
3
0
0
0
1
receive
buffer, unlocked, matches cycle count
SB
(lowest) 4
0
1
1
1
receive buffer,
locked,
matches cycle count
SB