How to use CAN RX Filter

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use CAN RX Filter

2,533 次查看
jtpark
Contributor IV

Hello,

I need to use CAN RX Filter as attached.

However, when I checked the exam. code, it was used ID list mode(32 units).

I should use 60 of CAN  ID, ID list was made 32 by example code.

So I want to know how to use CAN RX filter because the application has to use 60 units of ID in CAN network.

Could you let me know how to use CAN RX Filter or example code of Filter?

0 项奖励
回复
2 回复数

2,137 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I can recommend to either

1. configure the MB to receive all IDs and do SW filtering. You need to clear mask register to receive all IDs

or

2. use the RXFIFO and define desired ID elements in the Filter table. The CAN PAL driver description gives a guide how to use the RXFIFO, see e.g. S32 Design Studio instalation folder .../S32DS/S32SDK_S32K14x_RTM_2.0.0/doc/html/group__can__pal.html

BR, Petr

0 项奖励
回复

2,137 次查看
seop79
Contributor II

Hi.

Please explain each method in detail.

0 项奖励
回复