CANwireless
CR3132
15
Description
Hex
Binary
MaskValue
0xFFF
1b111.1111.1111
AND
RESULT
0x000
0b000.0000.0000
→ Only CAN ID 0x125 is authorised; messages with this ID are forwarded.
→ All other received CAN messages are blocked and not forwarded.
If there are more than eight messages, the CAN IDs must be grouped and several IDs share one filter.
Example:
The following CAN IDs are to be forwarded to the radio interface:
0x10, 0x11, 0x12, 0x13 and 0x14
and
0x627, 0x628, 0x629
Two filters and masks should be used here, for the 0x1 IDs and the 0x62 IDs respectively.
Description
Hex
Binary
0x10
0b001.0000
0x11
0b001.0001
0x12
0b001.0010
0x13
0b001.0011
0x14
0b001.0100
OR
FilterValue 1
0x17
0b001.0111
Description
Hex
Binary
0x10
0b001.0000
0x11
0b001.0001
0x12
0b001.0010
0x13
0b001.0011
0x14
0b001.0100
XNOR
MaskValue 1
0xF8
1b111.1000
Description
Hex
Binary
0x627
0b110.0010.0111
0x628
0b110.0010.1000
0x629
0b110.0010.1001
OR
FilterValue 2
0x62F
0b110.0010.1111
Description
Hex
Binary
0x627
0b110.0010.0111
0x628
0b110.0010.1000
0x629
0b110.0010.1001
XNOR
MaskValue 2
0xFF0
1b111.1111.0000