cancel
Showing results for 
Search instead for 
Did you mean: 

CAN filtering

turboscrew
Senior III

How does one define the filter for a CAN A message, when the ID is only 11 bits?

If using 16-bit filter, what should be put to the EXTID[17:15]?

1 ACCEPTED SOLUTION

Accepted Solutions

>>What do the EXTID-bits match to?

Whatever you have on the wire, it is a one-to-one deal, not magic. If it's random crap you're going to need to mask it...

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5

Match = (ID << 5)

Mask = 0x7FF << 5;

Let me go find the diagram, I've posted it a bunch of times to older iteration of the forum...

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

0690X000006CMzsQAG.jpg

For the identifier list expect you're going to have to exactly match the bit patterns you've enumerated.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
turboscrew
Senior III

Just that CAN A does not have EXTID. CAN A ID is only 11 bits.

What do the EXTID-bits match to?

Or maybe one needs to use masking with CAN A?

>>What do the EXTID-bits match to?

Whatever you have on the wire, it is a one-to-one deal, not magic. If it's random crap you're going to need to mask it...

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

As I thought. Thanks for confirmation.