DO0281R00
29 / 58
Register
Parameter
Function
SegFilter1:
x10
00 00 00 01 Word offset of the rest of the MAC address
x11
00 00 45 23 Last 2 bytes of the MAC address
x12
00 00 FF FF Mask on the first 2 bytes
Filter 1:
x55
00 00 00 00 No negation of SegFilter1 and 2
x56
00 00 00 03 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.
Config reg:
401
xx xx xx xE Activate filter for Con A (1110)
401
xx xx xx xD Activate filter for Con B (1101)
401
xx xx xx xB Activate filter for Con C (1011)
401
xx xx xx x7
Activate filter for Con D (0111)
Filtering by protocol types IP4
and IP6
Example:
You want to filter all registers of protocol types IPv4 and IP6. The values
you require are:
– IP4= 0x0800
– IP6= 0x86DD
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 the first 2 bytes
SegFilter2:
x10
00 00 00 03 Word offset of protocol type
x11
00 00 DD 86 86 IPv6 Type
x12
00 00 FF FF Mask on the first 2 bytes
Filter 1
x55
00 00 00 00 No negation of SegFilter1
x56
00 00 00 01 Filter1 consists of SegFilter1
Filter 2
x57
00 00 00 00 No negation of SegFilter2
x58
00 00 00 02 Filter2 consists of SegFilter2
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 A port (1110)
Filters