English
Language : 

MCF5282CVM66 Datasheet, PDF (320/766 Pages) Freescale Semiconductor, Inc – MCF5282 and MCF5216 ColdFire® Microcontroller User’s Manual
Fast Ethernet Controller (FEC)
Table 17-5. EIR Field Descriptions
Field
Description
31 Heartbeat error. Indicates TCR[HBC] is set and that the COL input was not asserted within the heartbeat window
HBERR following a transmission.
30 Babbling receive error. Indicates a frame was received with length in excess of RCR[MAX_FL] bytes.
BABR
29 Babbling transmit error. Indicates the transmitted frame length exceeds RCR[MAX_FL] bytes. Usually this condition
BABT is caused by a frame that is too long is placed into the transmit data buffer(s). Truncation does not occur.
28
GRA
Graceful stop complete. Indicates the graceful stop is complete. During graceful stop the transmitter is placed into a
pause state after completion of the frame currently being transmitted. This bit is set by one of three conditions:
1) A graceful stop initiated by the setting of the TCR[GTS] bit is now complete.
2) A graceful stop initiated by the setting of the TCR[TFC_PAUSE] bit is now complete.
3) A graceful stop initiated by the reception of a valid full duplex flow control pause frame is now complete. Refer
to Section 17.5.11, “Full Duplex Flow Control.”
27 Transmit frame interrupt. Indicates a frame has been transmitted and the last corresponding buffer descriptor has
TXF been updated.
26 Transmit buffer interrupt. Indicates a transmit buffer descriptor has been updated.
TXB
25 Receive frame interrupt. Indicates a frame has been received and the last corresponding buffer descriptor has been
RXF updated.
24 Receive buffer interrupt. Indicates a receive buffer descriptor not the last in the frame has been updated.
RXB
23 MII interrupt. Indicates the MII has completed the data transfer requested.
MII
22 Ethernet bus error. Indicates a system bus error occurred when a DMA transaction is underway. When the EBERR
EBERR bit is set, ECR[ETHER_EN] is cleared, halting frame processing by the FEC. When this occurs, software needs to
ensure that the FIFO controller and DMA also soft reset.
21 Late collision. Indicates a collision occurred beyond the collision window (slot time) in half duplex mode. The frame
LC truncates with a bad CRC and the remainder of the frame is discarded.
20 Collision retry limit. Indicates a collision occurred on each of 16 successive attempts to transmit the frame. The frame
RL is discarded without being transmitted and transmission of the next frame commences. This error can only occur in
half duplex mode.
19 Transmit FIFO underrun. Indicates the transmit FIFO became empty before the complete frame was transmitted. A
UN bad CRC is appended to the frame fragment and the remainder of the frame is discarded.
18–0 Reserved, must be cleared.
17.4.3 Interrupt Mask Register (EIMR)
The EIMR register controls which interrupt events are allowed to generate actual interrupts. All
implemented bits in this CSR are read/write. A hardware reset clears this register. If the corresponding bits
in the EIR and EIMR registers are set, an interrupt is generated. The interrupt signal remains asserted until
a 1 is written to the EIR bit (write 1 to clear) or a 0 is written to the EIMR bit.
17-10
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3
Freescale Semiconductor