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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,781件の閲覧回数
lijianlijian
Contributor I

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

0 件の賞賛
5 返答(返信)

1,476件の閲覧回数
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 件の賞賛

1,476件の閲覧回数
lijianlijian
Contributor I

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

0 件の賞賛

1,476件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

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

BR, Petr

0 件の賞賛

1,476件の閲覧回数
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 件の賞賛

1,476件の閲覧回数
lijianlijian
Contributor I

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

0 件の賞賛