AnsweredAssumed Answered

STM32F CAN messages filtering

Question asked by Stepan Podhorsky on Mar 23, 2017
Latest reply on Mar 26, 2017 by Clive One

Hello,

 

I would like to ask you for an advice regarding the CAN messages

filtering. I am not sure whether I understand the filtering and masking

in right manner. I have following settings

 

CAN_FilterConfTypeDef filt;

filt.FilterIdHigh = (0x6C1 << 5); // standard 11 bit identifier

filt.FilterIdLow = 0;

filt.FilterMaskIdHigh = 0;

filt.FilterMaskIdLow = 0;

 

and I am not sure what ID's will be captured by the CAN periphery. I expect that

all CAN frames will be captured because the mask has all bits zero. Is it correct?

If it is incorrect what ID's will be captured? Thanks.

Outcomes