Good morning,
I am using a s32k144 for CAN to receive messages with an extended format with the following initialization:
But now I want to change that initialization to be able to receive messages in both standard and extended format. How can i do it?
Thanks in advantage!
Solved! Go to Solution.
I sent you a priviate message, you can reference to this project and below is the test result.
you just need to enable CAN FD features.
The difference between a CAN 2.0A and a CAN 2.0B message is that CAN 2.0B supports both 11 bit (standard) and 29 bit (extended) identifiers. Standard and extended frames may exist on the same bus, and even have numerically equivalent identifiers. In this case, the standard frame will have the higher priority
Hello again,
I am using CAN1 which does not allow the use of CAN FD. Would it be possible to receive both messages with this CAN1 or is it necessary to change to CAN0 that does allow CANFD?
yes, you have to change to CAN0
Hello again,
I have enabled the CANFD function and changed to CAN0 but I still receive only one type of message.
Maybe I have to change something in the initialization?
change it to FLEXCAN_MSG_ID_EXT then try again.
Still not going. Maybe something to change in the processor expert ?
I sent you a priviate message, you can reference to this project and below is the test result.
Thank you! I got it to work.