Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X Datenbogen

Produktcode
DK-TM4C129X
Seite von 2182
24.3.5.3
MAC Flow Control
Flow control mechanisms can be enabled for both the TX and RX FIFO datapath, depending on the
configurations in the Ethernet MAC Flow Control (EMACFLOWCTL) register at offset 0x018 and
the
DUPM
bit configuration in the Ethernet MAC Configuration (EMACCFG) register at offset 0x000.
Table 24-29. TX MAC Flow Control
Description
DUPM
bit in
EMACCFG
TFE
bit in
EMACFLOWCTL
The MAC transmitter does not perform the flow control or backpressure
operation.
X
0
The MAC transmitter performs backpressure when the
FCBBPA
bit in the
Ethernet MAC Flow Control (EMACFLOWCTL) register is set.
0
1
The MAC transmitter sends a pause frame when the
FCBBPA
bit in the Ethernet
MAC Flow Control (EMACFLOWCTL) register is set.
1
1
Table 24-30. RX MAC Flow Control
Description
DUPM
bit in
EMACCFG
TFE
bit in
EMACFLOWCTL
The MAC receiver does not detect the received Pause frames.
X
0
The MAC receiver does not detect the received Pause frames but recognizes
such frames as Control frames.
0
1
The MAC receiver detects or processes the Pause frames and responds to
such frames by stopping the MAC transmitter.
1
1
24.3.6
MAC Operation
The MAC module enables the CPU to transmit and receive data over Ethernet in compliance with
the IEEE 802.3-2008 standard. The MAC supports the interface to the PHY and is comprised of a
receive and transmit module whose features are described in the following sections.
24.3.6.1
MAC Transmit Module
MAC transmission is initiated when the TX/RX Controller transmits data with the start of frame (SOF)
signal asserted. When the SOF signal is detected, the MAC accepts the data and begins transmitting
to the PHY. The time required to transmit the frame data after the application initiates transmission
varies, depending on delay factors like inter-frame gap (IFG) delay, time to transmit preamble or
start of frame data (SFD), and any back-off delays for half-duplex mode. Until then, the MAC does
not accept data received from the TX/RX Controller.
After the end-of-frame (EOF) is transferred to the MAC, the MAC completes the normal transmission
and gives the status of transmission to the TX/RX Controller. If a normal collision (in half-duplex
mode) occurs during transmission, the MAC conveys the transmit status to the TX/RX Controller.
It then accepts and drops all further data until the next SOF is received. The TX/RX Controller should
retransmit the same frame from SOF on observing a retry request (in the transmit status word) from
the MAC. The MAC issues an underflow status if the TX/RX Controller is not able to provide the
data continuously during the transmission. During the normal transfer of a frame from the TX/RX
Controller, if the MAC receives an SOF without getting an EOF for the previous frame, it ignores
the SOF and considers the new frame as a continuation of the previous frame.
If the number of bytes received from memory is less than 60 bytes, zeros are automatically appended
to the transmitting frame to make the data length exactly 46 bytes to meet the minimum data field
requirement of IEEE802.3.
December 13, 2013
1628
Texas Instruments-Advance Information
Ethernet Controller