CAN protocol acceptance Filters

Status
Not open for further replies.

vnw

Newbie level 2
Joined
Jun 4, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
31
Hello

Can you please explain me what CAN hardware filters and software filters terminology?
 

Hello

Can you please explain me what CAN hardware filters and software filters terminology?
Hi VNW,

This post is old but I did not see a reply. I believe you are referring to acceptance code and acceptance mask. Here is an excerpt from one of our manuals. I hope this helps.

https://www.icpdas-usa.com/documentation/manuals/i-7530.pdf
On page 18.

The acceptance code and acceptance mask are used for filtering unnecessary CAN messages through RS-232 port. If users want to prevent the unnecessary CAN message through RS-conversions, they need to set the parameters of acceptance code and mask.
Acceptance Code: The CAN ID bits that you want to get.
Acceptance Mask: The CAN ID bits that you want to filter.
In the acceptance code, the bit value ‘1’ means that you want to get this CAN ID bit. And in the acceptance mask, the bit value ‘1‘ means that you want to filter this CAN ID bit. For Examples:
(1) If users want to get all the messages on the CAN bus, the setting must be as follow:
In CAN 2.0A: Acceptance Code: Don’t care
Acceptance Mask: 000
(2) If users want to get the message of CAN ID “123” (Hex) and filter all the other CAN message, the setting must be as follow:
In CAN 2.0A: Acceptance Code: 123 (001 0010 0011 bit)
Acceptance Mask: 7FF (111 1111 1111 bit)
(3) If users want to get the message of CAN ID from “100” to “12F” (Hex) and filter all the other CAN message, the setting must be as follow:
In CAN 2.0A: Acceptance Code: 10X (001 00XX XXXX bit) X: don’t care
Acceptance Mask: 7C0 (111 1100 0000 bit)
(4) The settings of CAN 2.0A and CAN 2.0B are the same. The different between CAN 2.0A and CAN 2.0B is the CAN ID bits.
In CAN 2.0A: number of CAN ID bits is 11.
In CAN 2.0B: number of CAN ID bits is 29.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…