Fast Ethernet Controller (FEC)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
18-22
Freescale Semiconductor
18.5.4.1
Ethernet Interrupt Event Register (EIR)
When an event occurs that sets a bit in the EIR, an interrupt is generated if the corresponding bit in the
interrupt mask register (EIMR) is also set. The bit in the EIR is cleared if a one is written to that bit
position; writing zero has no effect. This register is cleared upon hardware reset.
These interrupts can be divided into operational interrupts, transceiver/network error interrupts, and
internal error interrupts. Interrupts which may occur in normal operation are GRA, TXF, TXB, RXF, RXB,
and MII. Interrupts resulting from errors/problems detected in the network or transceiver are HBERR,
BABR, BABT, LC and RL. Interrupts resulting from internal errors are HBERR and UN.
Some of the error interrupts are independently counted in the MIB block counters. Software may choose
to mask off these interrupts because these errors are visible to network management via the MIB counters.
•
HBERR - IEEE_T_SQE
•
BABR - RMON_R_OVERSIZE (good CRC), RMON_R_JAB (bad CRC)
•
BABT - RMON_T_OVERSIZE (good CRC), RMON_T_JAB (bad CRC)
•
LATE_COL - IEEE_T_LCOL
•
COL_RETRY_LIM - IEEE_T_EXCOL
•
XFIFO_UN - IEEE_T_MACERR
Figure 18-4. Ethernet Interrupt Event
Register (EIR)
IPSBAR
Offset: 0x1004 (EIR)
Access: User read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R HBER
R
BABR BABT GRA
TXF
TXB
RXF
RXB
MII
EBER
R
LC
RL
UN
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 18-12. EIR Field Descriptions
Field
Description
31
HBERR
Heartbeat error. This interrupt indicates that HBC is set in the TCR register and that the COL input
was not asserted within the Heartbeat window following a transmission.
30
BABR
Babbling receive error. This bit indicates a frame was received with length in excess of RCR[MAX_FL]
bytes.
29
BABT
Babbling transmit error. This bit indicates that the transmitted frame length has exceeded
RCR[MAX_FL] bytes. This condition is usually caused by a frame that is too long being placed into
the transmit data buffer(s). Truncation does not occur.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60