flexcan setup to receive from all can id

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

flexcan setup to receive from all can id

跳至解决方案
1,100 次查看
bjargalsaikhan
Contributor II

Hello,

I am working with MK22FN1M0VALK12 processor.

What I want to do is how to set up my FLEXCAN message box so that I can receive a message from any node which has different ID's both standard and extended.

I have tried to put the message box's ID field as 1FFFFFFF, but it did not work.

If it is possible could you help me, please?

Thank you. 

标签 (1)
0 项奖励
回复
1 解答
984 次查看
mjbcswitzerland
Specialist V

Hi

You need to set the filter mask registers to 0 to receive any ID.

Regards

Mark

Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
Kinetis K22:
- http://www.utasker.com/kinetis/FRDM-K22F.html
- http://www.utasker.com/kinetis/TWR-K22F120M.html
- http://www.utasker.com/kinetis/BLAZE_K22.html
- http://www.utasker.com/kinetis/tinyK22.html

With integrated with FlexCAN and CANopen support:
- http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF
- https://www.youtube.com/watch?v=Ha8cv_XEvco

uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market

Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html

Open Source version at https://github.com/uTasker/uTasker-Kinetis

在原帖中查看解决方案

0 项奖励
回复
1 回复
985 次查看
mjbcswitzerland
Specialist V

Hi

You need to set the filter mask registers to 0 to receive any ID.

Regards

Mark

Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
Kinetis K22:
- http://www.utasker.com/kinetis/FRDM-K22F.html
- http://www.utasker.com/kinetis/TWR-K22F120M.html
- http://www.utasker.com/kinetis/BLAZE_K22.html
- http://www.utasker.com/kinetis/tinyK22.html

With integrated with FlexCAN and CANopen support:
- http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF
- https://www.youtube.com/watch?v=Ha8cv_XEvco

uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market

Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html

Open Source version at https://github.com/uTasker/uTasker-Kinetis

0 项奖励
回复