Mac Loopback Mode; Mac Management Counters: Mmc; Table 145. Source Address Filtering - ST STM32F207 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F207 Series:
Table of Contents

Advertisement

Ethernet (ETH): media access control (MAC) with DMA controller
Frame type
Unicast
28.5.6

MAC loopback mode

The MAC supports loopback of transmitted frames onto its receiver. By default, the MAC
loopback function is disabled, but this feature can be enabled by programming the
Loopback bit in the MAC ETH_MACCR register.
28.5.7

MAC management counters: MMC

The MAC management counters (MMC) maintain a set of registers for gathering statistics
on the received and transmitted frames. These include a control register for controlling the
behavior of the registers, two 32-bit registers containing generated interrupts (receive and
transmit), and two 32-bit registers containing masks for the Interrupt register (receive and
transmit). These registers are accessible from the application. Each register is 32 bits wide.
Section 28.8
counters. This address is used for read/write accesses to the desired transmit/receive
counter.
The Receive MMC counters are updated for frames that pass address filtering. Dropped
frames statistics are not updated unless the dropped frames are runt frames of less than 6
bytes (DA bytes are not received fully).
Good transmitted and received frames
Transmitted frames are considered "good" if transmitted successfully. In other words, a
transmitted frame is good if the frame transmission is not aborted due to any of the following
errors:
+ Jabber Timeout
+ No Carrier/Loss of Carrier
+ Late Collision
+ Frame Underflow
+ Excessive Deferral
+ Excessive Collision
870/1381

Table 145. Source address filtering

PM
SAIF
SAF
1
X
X
Pass all frames
Pass status on perfect/Group filter match but do not drop
0
0
0
frames that fail
0
1
0
Fail status on perfect/group filter match but do not drop frame
0
0
1
Pass on perfect/group filter match and drop frames that fail
0
1
1
Fail on perfect/group filter match and drop frames that fail
describes the various counters and lists the addresses of each of the statistics
RM0033 Rev 9
SA filter operation
RM0033

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F207 Series and is the answer not in the manual?

Questions and answers

Table of Contents