2025-04-05 1:07 AM - last edited on 2025-04-05 1:48 AM by Andrew Neil
Hi there, I'm configuring CAN filtering for STM32Hxxx. I have several filters configured. Currently, when CAN Frame match filter it is not going through other filters.
Is there a way to change filtering behavior to hit all filters that match given pattern not the first one only.
Solved! Go to Solution.
2025-04-06 6:10 AM - edited 2025-05-06 1:49 AM
Hello;
@psi wrote:
Is there a way to change filtering behavior to hit all filters that match given pattern not the first one only.
I'm not sure I understood your question but accepting all messages except the first one:
- I don't see the usage a such of scenario.
- Not possible with hardware. You need to make it with software, ignore the first message then you configure the filter but this is not guaranteed as you may miss some messages during the filter configuration.
If the first message has a specific ID, you can ignore it all the time with the filter.
PS: in next time please specify the MCU part number: STM32Hxxx doesn't mean anything.
Thank you
2025-04-06 6:10 AM - edited 2025-05-06 1:49 AM
Hello;
@psi wrote:
Is there a way to change filtering behavior to hit all filters that match given pattern not the first one only.
I'm not sure I understood your question but accepting all messages except the first one:
- I don't see the usage a such of scenario.
- Not possible with hardware. You need to make it with software, ignore the first message then you configure the filter but this is not guaranteed as you may miss some messages during the filter configuration.
If the first message has a specific ID, you can ignore it all the time with the filter.
PS: in next time please specify the MCU part number: STM32Hxxx doesn't mean anything.
Thank you