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.

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

RM0008<br />

Table 195.<br />

Source address filtering table<br />

Frame type<br />

RTP<br />

R<br />

SAIF SAF SA filter operation<br />

1 X X Pass all frames<br />

Unicast<br />

0 0 0<br />

Pass status on perfect/Group filter match but do not drop<br />

frames that fail<br />

0 1 0 Fail status on perfect/group filter match but do not drop frame<br />

0 0 1 Pass on perfect/group filter match <strong>and</strong> drop frames that fail<br />

0 1 1 Fail on perfect/group filter match <strong>and</strong> drop frames that fail<br />

27.5.6 MAC loopback mode<br />

The MAC supports loopback of transmitted frames onto its receiver. By default, the MAC<br />

loopback function is disabled, but this feature can be enabled by programming the Loopback<br />

bit in the MAC ETH_MACCR register.<br />

27.5.7 MAC management counters: MMC<br />

The MAC management counters (MMC) maintain a set of registers for gathering statistics<br />

on the received <strong>and</strong> transmitted frames. These include a control register for controlling the<br />

behavior of the registers, two 32-bit registers containing generated interrupts (receive <strong>and</strong><br />

transmit), <strong>and</strong> two 32-bit registers containing masks for the Interrupt register (receive <strong>and</strong><br />

transmit). These registers are accessible from the application. Each register is 32 bits wide.<br />

Section 27.8: Ethernet register descriptions describes the various counters <strong>and</strong> lists the<br />

addresses of each of the statistics counters. This address is used for read/write accesses to<br />

the desired transmit/receive counter.<br />

The Receive MMC counters are updated for frames that pass address filtering. Dropped<br />

frames statistics are not updated unless the dropped frames are runt frames of less than 6<br />

bytes (DA bytes are not received fully).<br />

Good transmitted <strong>and</strong> received frames<br />

Transmitted frames are considered “good” if transmitted successfully. In other words, a<br />

transmitted frame is good if the frame transmission is not aborted due to any of the following<br />

errors:<br />

+ Jabber Timeout<br />

+ No Carrier/Loss of Carrier<br />

+ Late Collision<br />

+ Frame Underflow<br />

+ Excessive Deferral<br />

+ Excessive Collision<br />

868/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!