How to detect interrupt signal which trigged by unknow CAN ID.

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

How to detect interrupt signal which trigged by unknow CAN ID.

跳至解决方案
301 次查看
gumu
Contributor IV

Hi NXP team,

We are facing a problem about CAN signal on the bus.

There are known 60 CAN IDs in flex can0,so we have used 60 mailbox IDs.

Those 60 mailbox interrrupt signal can be detected by CAN0 callback normally. If we try to send some CAN messages which ids are not belonged to configured mailbox, system can't receive those CAN message.

Is there any way to detect interrupt signal which trigged by unknow CAN ID.

Thanks!

0 项奖励
1 解答
289 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gumu

You can set the mask bit of flexcan to receive frames with all IDs, but I don't recommend you to use this method in mass production

regarding how to set flexcan mask bit, you can refer to this article.

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753 

在原帖中查看解决方案

0 项奖励
1 回复
290 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gumu

You can set the mask bit of flexcan to receive frames with all IDs, but I don't recommend you to use this method in mass production

regarding how to set flexcan mask bit, you can refer to this article.

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753 

0 项奖励