cancel
Showing results for 
Search instead for 
Did you mean: 

CAN filtering to hit all filters not first one

psi
Associate

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
mƎALLEm
ST Employee

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.