DO0281R00
31 / 58
Register
Parameter
Function
SegFilter1:
x16
00 00 00 02 Word offset of the rest of the source MAC address
x17
AB 32 02 A7 Last 2 bytes of the source MAC address
x18
FF FF FF
FF
Mask on all bits
Filter 1
x55
00 00 00 00 No negation of SegFilter1 and 2
x56
00 00 00 03 Filter1 consists of SegFilter1 and 2
Filter 2
x57
00 00 00 00 No negation of SegFilter3 and 4
x58
00 00 00 0C Filter2 consists of SegFilter3 and 4
Uplink
x65
00 00 00 00 Do not invert output
x66
00 00 00 03 Frame is output at the uplink port if filter 1 or 2 applies.
ConfigReg
401
xx xx xx xE Activate filter for CON B port (1101)
Filtering by the sender IP
address
(IPv4 0x0800 )
Input field for sender IP address: 4 bytes
Example: You want to filter all frames that have been transmitted from the IP
address 01 02 03 04.
Set the following filter registers:
Register
Parameter
Function
SegFilter1:
x07
00 00 00 03 Word offset of protocol type
x08
00 00 00 08 IPv4 protocol type
x09
00 00 FF FF Mask on 2 bytes
SegFilter2:
x10
00 00 00 06 Word offset of the sender IP address
x11
02 01 00 00 4 bytes of the sender IP address
x12
FF FF 00 00 Mask for all bits
SegFilter3:
x13
00 00 00 07 Word offset of the sender IP address
x14
00 00 04 03 4 bytes of the sender IP address
x15
00 00 FF FF Mask for all bits
Filter 1
x55
00 00 00 00 No negation of SegFilter1 and 2
x56
00 00 00 07 Filter1 consists of SegFilter1 and 2
Uplink
x65
00 00 00 00 Do not invert output
x66
00 00 00 01 Frame is output at the uplink port if filter 1 applies.
ConfigReg
401
xx xx xx xE Activate filter for CON B port (1101)
Filters