PCAN-Ethernet Gateway FD DR – User Manual
43
While entering the values the following should be considered:
The values are entered in hexadecimal format
The
From
value has to be lower than the
To
value
Type Mask:
The working principle of this acceptance filtering is based on the
SJA1000 CAN controller. Detailed information can be found in the
NXP Application Note
AN97076 - SJA1000 Stand-alone CAN
controller
chapter 4.1.2.
The ID of the CAN message to be transmitted is compared bitwise
with the
Acceptance Code
value. The
Acceptance Mask
specifies
which bit positions are relevant.
0 = relevant. The CAN ID at the corresponding bit position has to
match the value of the Acceptance Code
1 = not relevant. The CAN ID at the corresponding bit position
does not matter
In contrast to the original implementation, the PCAN-Gateway
Mask
filter only looks at the CAN ID. It cannot process any data bytes or
the RTR flag.
The size of the
Acceptance Mask
and
Acceptance Code
depends on
the ID mode selection above and can be 11 Bit for Standard with a
range of 0 to 7FF or 29 Bit for Extended with a range of 0 to
1FFFFFFF.
Example for 11 Bit identifiers:
IDs Meaning
0 1 1 1 1 0 1 1 1 1 1 Acceptance Code
1 1 1 0 0 0 0 1 1 0 1 Acceptance Mask