29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

Ethernet (ETH): media access control (MAC) with DMA controller<br />

When the SAF bit is set, the result of the SA <strong>and</strong> DA filters is AND’ed to decide whether the<br />

frame needs to be forwarded. This means that either of the filter fail result will drop the<br />

frame. Both filters have to pass the frame for the frame to be forwarded to the application.<br />

Inverse filtering operation<br />

For both destination <strong>and</strong> source address filtering, there is an option to invert the filter-match<br />

result at the final output. These are controlled by the DAIF <strong>and</strong> SAIF bits in the Frame filter<br />

register, respectively. The DAIF bit is applicable for both Unicast <strong>and</strong> Multicast DA frames.<br />

The result of the unicast/multicast destination address filter is inverted in this mode.<br />

Similarly, when the SAIF bit is set, the result of the unicast SA filter is inverted. Table 194<br />

<strong>and</strong> Table 195 summarize destination <strong>and</strong> source address filtering based on the type of<br />

frame received.<br />

Table 194.<br />

Frame<br />

type<br />

Destination address filtering table<br />

PM HPF HU DAIF HM PAM DB DA filter operation<br />

1 X X X X X X Pass<br />

Broadcast<br />

Unicast<br />

Multicast<br />

0 X X X X X 0 Pass<br />

0 X X X X X 1 Fail<br />

1 X X X X X X Pass all frames<br />

0 X 0 0 X X X Pass on perfect/group filter match<br />

0 X 0 1 X X X Fail on perfect/Group filter match<br />

0 0 1 0 X X X Pass on hash filter match<br />

0 0 1 1 X X X Fail on hash filter match<br />

0 1 1 0 X X X<br />

Pass on hash or perfect/Group filter<br />

match<br />

0 1 1 1 X X X Fail on hash or perfect/Group filter match<br />

1 X X X X X X Pass all frames<br />

X X X X X 1 X Pass all frames<br />

0 X X 0 0 0 X<br />

0 0 X 0 1 0 X<br />

0 1 X 0 1 0 X<br />

0 X X 1 0 0 X<br />

0 0 X 1 1 0 X<br />

0 1 X 1 1 0 X<br />

Pass on Perfect/Group filter match <strong>and</strong><br />

drop PAUSE control frames if PCF = 0x<br />

Pass on hash filter match <strong>and</strong> drop<br />

PAUSE control frames if PCF = 0x<br />

Pass on hash or perfect/Group filter<br />

match <strong>and</strong> drop PAUSE control frames if<br />

PCF = 0x<br />

Fail on perfect/Group filter match <strong>and</strong><br />

drop PAUSE control frames if PCF = 0x<br />

Fail on hash filter match <strong>and</strong> drop PAUSE<br />

control frames if PCF = 0x<br />

Fail on hash or perfect/Group filter match<br />

<strong>and</strong> drop PAUSE control frames if PCF =<br />

0x<br />

Doc ID 13902 Rev 9 867/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!