怎样同时接收 ID为0 和 ID不为0 的两个CAN消息

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

怎样同时接收 ID为0 和 ID不为0 的两个CAN消息

2,999 次查看
lijianlijian
Contributor I

S32K如何设置,才能同时接收 ID为0 和 ID不为0 的两个或多个CAN消息?希望高手指点一下,先行谢过!

0 项奖励
回复
5 回复数

2,694 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you want to receive more IDs then you can have several options.

- configure more MBs, one MB for each ID to be received

- you can use masking registers to allow receive all IDs or range of IDs into single or several MBs

- configure RXFIFO and set ID filter table with a IDs to be received.

BR, Petr 

0 项奖励
回复

2,694 次查看
lijianlijian
Contributor I

感谢答复!再请教一下,具体怎样设置滤波表,是否能贴出来一段实例?

0 项奖励
回复

2,694 次查看
PetrS
NXP TechSupport
NXP TechSupport

possible implementation using SDK driver is given here: https://community.nxp.com/docs/DOC-343091

BR, Petr

0 项奖励
回复

2,694 次查看
lijianlijian
Contributor I

谢谢你提供的例子程序,我用的是s32k116,移植学习中,再次感谢!

发自我的 iPhone

在 2019年6月18日,下午3:46,PetrS <admin@community.nxp.com<mailto:admin@community.nxp.com>> 写道:

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: 怎样同时接收 ID为0 和 ID不为0 的两个CAN消息

reply from Petr Stancik<https://community.nxp.com/people/PetrS?et=watches.email.thread> in S32K - View the full discussion<https://community.nxp.com/message/1166129?commentID=1166129&et=watches.email.thread#comment-1166129>

0 项奖励
回复

2,694 次查看
lijianlijian
Contributor I

感谢提供的例子程序,我用的是s32k116,正在移植学习中!谢谢答复!

0 项奖励
回复