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

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090

Table 167. Source address filtering

Frame type
Unicast
29.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.
29.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 29.8: Ethernet register descriptions
addresses of each of the statistics 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
Ethernet (ETH): media access control (MAC) with DMA controller
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
Doc ID 018909 Rev 4
SA filter operation
describes the various counters and lists the
934/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF