Hi,
How to setup a CAN ID filter and Mask register for a receiving MB to exclude an ID?
For example, I want MB[0] to receive extended ID 0x0C10FF00 while MB[1] to receive all other extended IDs except the above ID: 0xC10FF00.
Is there anyway to do that?
I have K60.
Thank you,
David
Solved! Go to Solution.
Hi
Kinetis FlexCAN Rx mailbox ID filter can't exclude a standalone ID with receiving other ID.
For the MB has the priority, if the extended ID 0x0C10FF00 data frame coming, it will be received by MB0 if MB0 in active state. Otherwise, that extended ID 0x0C10FF00 data frame will be received by MB1.
My suggest to set more MB as a receive buffer to receive extended ID 0x0C10FF00 data frame, such as using MB[0~3].
And using MB4 to receive other ID data frame.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
Kinetis FlexCAN Rx mailbox ID filter can't exclude a standalone ID with receiving other ID.
For the MB has the priority, if the extended ID 0x0C10FF00 data frame coming, it will be received by MB0 if MB0 in active state. Otherwise, that extended ID 0x0C10FF00 data frame will be received by MB1.
My suggest to set more MB as a receive buffer to receive extended ID 0x0C10FF00 data frame, such as using MB[0~3].
And using MB4 to receive other ID data frame.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you, Hui Ma.
David