Instructions

DO0281R00
30 / 58
Filtering by the source MAC
address
Input field for Src address: 6 bytes
Example: You want to filter all frames that have been transmitted from the MAC
address C8 3E A7 02 32 AB.
Set the following filter registers:
Register Parameter Function
SegFilter1:
x07 00 00 00 01 Word offset of the MAC address
x08 3E C8 xx xx First 2 bytes of the MAC address
x09 FF FF 00 00 Mask on the last 2 bytes
SegFilter2:
x10 00 00 00 02 Word offset of the rest of the MAC address
x11 AB 32 02 A7 Last 4 bytes of the MAC address
x12 FF FF FF
FF
Mask on 4 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.
ConfigReg
401 xx xx xx xE Activate filter for CON A port (1110)
Filtering by the destination or
source MAC address
Input field for the destination MAC address: 6 bytes
Input field for the source MAC address: 6 bytes
Example: You want to filter all frames that are transmitted to the MAC address C8
3E A7 01 23 45 or from the MAC address C8 3E A7 02 32 AB.
Set the following filter registers:
Register Parameter Function
SegFilter1:
x07 00 00 00 00 Word offset of the destination MAC address
x08 01 A7 3E
C8
First 4 bytes of the destination MAC address
x09 FF FF FF
FF
Mask on all bits
SegFilter2:
x10 00 00 00 01 Word offset of the rest of the destination MAC address
x11 xx xx 45 23 Last 2 bytes of the destination MAC address
x12 00 00 FF FF Mask on 2 bytes
SegFilter3:
x13 00 00 00 01 Word offset of the source MAC address
x14 3E C8 xx xx First 2 bytes of the source MAC address
x15 FF FF 00 00 Mask on 2 bytes
SegFilter4:
Filters