Fast Ethernet Controller (FEC)
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Freescale Semiconductor
45-19
Table 45-15
describes ECNTRL fields.
45.3.2.9
Interrupt Event (I_EVENT)/Interrupt Mask Register (I_MASK)
When an event sets a bit in the interrupt event register (I_EVENT), shown in
Figure 45-13
, an interrupt is
generated if the corresponding interrupt mask register (I_MASK) bit is set. I_EVENT bits are cleared by
writing ones; writing zeros has no effect.
Table 45-16
describes I_EVENT and I_MASK fields. Note that neither the RxBD or TxBD has an I bit to
enable/disable an interrupt on the receive or transmit buffer. As events occur, they are always reported in
I_EVENT, but only those not masked in I_MASK cause an interrupt. From a system resources and
software performance standpoint, it is advisable to minimize the number of interrupts per frame by
masking TXB and RXB in favor of TFINT and RFINT to notify at the end of frame.
Table 45-15. ECNTRL Field Descriptions
Bits
Name
Description
0–28
—
Reserved. These fields may return unpredictable values and should be masked on a read.
Users should always write these fields to zero.
29
FEC_PINMUX
FEC enable. Read/write. The user must set this bit to enable the FEC function in the 885
in conjunction with 885 pin multiplexing control.
30
ETHER_EN
Ethernet enable.
0 A transfer is stopped after a bad CRC is appended to any frame being sent.
1 The FEC is enabled, and reception and transmission are possible.
The BDs for an aborted transmit frame are not updated after ETHER_EN is cleared. When
ETHER_EN is cleared, the DMA, BD, and FIFO control logic are reset including BD and
FIFO pointers. See
Section 45.3.3.2, “User Initialization (before Setting
ECNTRL[ETHER_EN]).”
31
RESET
Ethernet controller reset. When RESET = 1, the equivalent of a hardware or software reset
is performed but it is local to the FEC. ETHER_EN is cleared and all other FEC registers
take their reset values. Also, any transfers are abruptly aborted. Hardware automatically
clears RESET once the hardware reset is complete (approximately 16 clock cycles).
0
1
2
3
4
5
6
7
8
9
10
15
Field HBERR BABR BABT GRA TFINT TXB RFINT RXB
MII
EBERR
—
Reset
0000_0000_0000_0000
R/W
R/W
Addr
0x0E44 (I_EVENT); 0x0E48 (I_MASK) - FEC1
0x1E44 (I_EVENT); 0x1E48 (I_MASK) - FEC2
16
31
Field
—
Reset
0000_0000_0000_0000
R/W
R/W
Addr
0x0E46(I_EVENT); 0x0E4A (I_MASK) - FEC1
0x1E46(I_EVENT); 0x1E4A (I_MASK) - FEC2
Figure 45-13. I_EVENT/I_MASK Registers
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...