Skip to main content
pavel2399
Associate
July 22, 2009
Question

CAN - Acceptance filtering

  • July 22, 2009
  • 2 replies
  • 734 views
Posted on July 22, 2009 at 08:52

CAN - Acceptance filtering

This topic has been closed for replies.

2 replies

pavel2399
pavel2399Author
Associate
May 17, 2011
Posted on May 17, 2011 at 09:59

Hi all,

I have the question. It is possible filter CAN mesage in some range?

For example from ID - 5 to 10. I tried use the

CAN_SetRxMsgObj(CAN_RX_MSGOBJ, CAN_STD_ID, 0x005, 0x00A, TRUE) function from STR912 library.

But I think it is not correct. In my opinion the CAN inteface in STR912 not support message filtering in range. Only unique ID in ''A1R,A2R'' with mask => ''M1R,M2R''. And it is not make range filtering.

Is it true ? Thanks ;) ;)

rammit
Senior
April 21, 2015
Posted on April 21, 2015 at 22:23

I am also having issues with the acceptance filtering.

On page 262 of UM0233 (rev4) it says:

'' Example: the range 0x100-0x3FF will work, but the range 0x100-0x2FF will not because 0x100 is not logically contained in 0x2FF (i.e. 0x100 & 0x2FF = 0).''

0x100 - 0x3FF does not work for me. It does not receive messages from 0x200-0x2FF.