Controller area network (bxCAN) RM0390
1044/1328 RM0390 Rev 4
Figure 392. Filter bank scale configuration - register organization
Filter match index
Once a message has been received in the FIFO it is available to the application. Typically,
application data is copied into SRAM locations. To copy the data to the right location the
application has to identify the data by means of the identifier. To avoid this, and to ease the
access to the SRAM locations, the CAN controller provides a Filter Match Index.
This index is stored in the mailbox together with the message according to the filter priority
rules. Thus each received message has its associated filter match index.
The Filter Match index can be used in two ways:
• Compare the Filter Match index with a list of expected values.
• Use the Filter Match Index as an index on an array to access the data destination
location.
For non masked filters, the software no longer has to compare the identifier.
If the filter is masked the software reduces the comparison to the masked bits only.
06Y9
2QH%LW)LOWHU,GHQWLILHU0DVN
[ ILOWHUEDQNQXPEHU
)6&[ )6&[
7KHVHELWVDUHORFDWHGLQWKH&$1B)65UHJLVWHU
)LOWHU%DQN6FDOH
,'
0DVN
,'
67,'>@
0DSSLQJ67','
,'
,'
,'
,'
,'
,'
,'
Q
Q
Q
Q
&RQILJ%LWV
,' ,GHQWLILHU
)%0[
)%0[
)%0[
)%0[
)LOWHU%DQN0RGH
7ZR%LW)LOWHUV,GHQWLILHU/LVW
7ZR%LW)LOWHUV,GHQWLILHU0DVN
)RXU%LW)LOWHUV,GHQWLILHU/LVW
0DSSLQJ
0DSSLQJ
&$1B)[5>@
&$1B)[5>@ &$1B)[5>@
&$1B)[5>@ &$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@ &$1B)[5>@
&$1B)[5>@ &$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
&$1B)[5>@
7KHVHELWVDUHORFDWHGLQWKH&$1B)05UHJLVWHU
Q
Q
Q
Q
Q
)LOWHU
1XP
0DVN
0DVN
67,'>@
(;,'>@,'(57567,'>@67,'>@
(;,'>@
,'(
575
67,'>@
67,'>@
(;7,'>@
0DSSLQJ([W,'
(;,'>@
(;,'>@ (;,'>@ ,'( 575
67,'>@
0DSSLQJ67','
67,'>@
(;7,'>@
0DSSLQJ([W,'
(;,'>@
(;,'>@ (;,'>@ ,'( 575