![Freescale Semiconductor MCF54455 Скачать руководство пользователя страница 663](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541663.webp)
Fast Ethernet Controllers (FEC0 and FEC1)
26-45
Freescale Semiconductor
26.5.11 Full Duplex Flow Control
Full-duplex flow control allows you to transmit pause frames and to detect received pause frames. Upon
detection of a pause frame, MAC data frame transmission stops for a given pause duration.
To enable PAUSE frame detection, the FEC must operate in full-duplex mode (TCR
n
[FDEN] set) with
flow control (RCR
n
[FCE] set). The FEC detects a pause frame when the fields of the incoming frame
match the pause frame specifications, as shown in
. In addition, the receive status associated
with the frame should indicate that the frame is valid.
The receiver and microcontroller modules perform PAUSE frame detection. The microcontroller runs an
address recognition subroutine to detect the specified pause frame destination address, while the receiver
detects the type and opcode pause frame fields. On detection of a pause frame, TCR
n
[GTS] is set by the
FEC internally. When transmission has paused, the EIR
n
[GRA] interrupt is asserted and the pause timer
begins to increment. The pause timer uses the transmit backoff timer hardware for tracking the appropriate
collision backoff time in half-duplex mode. The pause timer increments once every slot time, until
OPD
n
[PAUSE_DUR] slot times have expired. On OPD
n
[PAUSE_DUR] expiration, TCR
n
[GTS] is
cleared allowing MAC data frame transmission to resume. The receive flow control pause status bit
(TCR
n
[RFC_PAUSE]) is set while the transmitter pauses due to reception of a pause frame.
To transmit a pause frame, the FEC must operate in full-duplex mode and you must set flow control pause
(TCR
n
[TFC_PAUSE]). After TCR
n
[TFC_PAUSE] is set, the transmitter sets TCR
n
[GTS] internally.
When the transmission of data frames stops, the EIR
n
[GRA] (graceful stop complete) interrupt asserts and
the pause frame is transmitted. TCR
n
[TFC_PAUSE,GTS] are then cleared internally.
You must specify the desired pause duration in the OPD
n
register.
FDFF_FFFF_FFFF
0x3C
60
DDFF_FFFF_FFFF
0x3D
61
9DFF_FFFF_FFFF
0x3E
62
BDFF_FFFF_FFFF
0x3F
63
Table 26-39. PAUSE Frame Field Specification
48-bit Destination Address
0x0180_C200_0001 or Physical Address
48-bit Source Address
Any
16-bit Type
0x8808
16-bit Opcode
0x0001
16-bit PAUSE Duration
0x0000 – 0xFFFF
Table 26-38. Destination Address to 6-Bit Hash (continued)
48-bit DA
6-bit Hash
(in hex)
Hash Decimal
Value
Содержание MCF54455
Страница 33: ...xxviii Freescale Semiconductor ...
Страница 67: ...Freescale Semiconductor 1 ...
Страница 125: ...Freescale Semiconductor 1 ...
Страница 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Страница 173: ...Cache 6 28 Freescale Semiconductor ...
Страница 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Страница 207: ...Power Management 9 16 Freescale Semiconductor ...
Страница 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Страница 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Страница 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Страница 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Страница 601: ...Freescale Semiconductor 1 ...
Страница 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Страница 843: ...Freescale Semiconductor 1 ...
Страница 921: ...Revision History A 6 Freescale Semiconductor ...