i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
21-1
Chapter 21
Fast Ethernet Controller (FEC) Driver
The Fast Ethernet Controller (FEC) driver performs the full set of IEEE 802.3/Ethernet CSMA/CD media
access control and channel interface functions. The FEC requires an external interface adapter and
transceiver function to complete the interface to the Ethernet media. It supports half or full-duplex
operation on 10 Mbps or 100 Mbps related Ethernet networks.
The FEC driver supports the following features:
•
Full/Half duplex operation
•
Link status change detect
•
Auto-negotiation (determines the network speed and full or half-duplex operation)
•
Transmit features such as automatic retransmission on collision and CRC generation
•
Obtaining statistics from the device such as transmit collisions
The network adapter can be accessed through the
ifconfig
command with interface name
ethx
. The driver
auto-probes the external adaptor (PHY device).
21.1
Hardware Operation
The FEC is an Ethernet controller that interfaces the system to the LAN network. The FEC supports
different standard MAC-PHY (physical) interfaces for connection to an external Ethernet transceiver. The
FEC supports the 10/100 Mbps MII and the 10 Mbps-only 7-wire serial network interface (SNI), which
uses a subset of the MII pins.
A brief overview of the device functionality is provided here. For details see the FEC chapter of the
i.MX51
Multimedia Applications Processor Reference Manual
.
In MII mode, there are 18 signals defined by the IEEE 802.3 standard and supported by the EMAC. SNI
mode uses a subset of the 18 signals. These signals are listed in
.
Table 21-1. Pin Usage in MII and SNI Modes
Direction
EMAC Pin
Name
MII Usage
SNI Usage
RMII Usage
In/Out
FEC_MDIO
Management Data Input/Output General I/O
Management Data Input/Output
Out
FEC_MDC
Management Data Clock
General output
Management Data Clock
Out
FEC_TXD[0]
Data out, bit 0
Data out
Data out, bit 0
Out
FEC_TXD[1]
Data out, bit 1
General output
Data out, bit 1
Out
FEC_TXD[2]
Data out, bit 2
General output
Not Used
Out
FEC_TXD[3]
Data out, bit 3
General output
Not Used
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...