AnsweredAssumed Answered

MKE18F512 flex_can settings for CANopen

Question asked by peng gao on Jun 19, 2019
Latest reply on Jun 20, 2019 by Mark Butcher

Hello all,

 

I am currently working on a project which requires me to use the flex_can feature on MKE18F512 chip. This project also requires CANopen communication protocal.

 

Now I made the CAN bus to work, but if I want to use CANopen protocol, I have to disable/clear the ID filters in order to process different incoming CANopen COB_IDs. The problem is, when I have the ID filters cleared, I am receiving a lot of 0x00 messages which are completly garbage and it's a waste of all the resources. 

 

I am wondering if there is any way I can make the filter work as a non-zero message checker. Or, if there is any other example of implementing CANopen protocol on any similar chip, I would be happy to learn from.

 

Thank you,

 

Peng

Outcomes