
Fast Ethernet Controller (FEC)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
15-3
15.1.2
Overview
The Ethernet media access controller (MAC) is designed to support both 10 and 100 Mbps
Ethernet/IEEE
®
802.3 networks. An external transceiver interface and transceiver function are required
to complete the interface to the media. The FEC supports three 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 interface, which uses a subset of the MII signals.
The descriptor controller is RISC-based and provides the following FEC functions:
•
Initialization (the internal registers not initialized by the application or hardware)
•
High-level control of the DMA channels (initiating DMA transfers)
•
Interpreting buffer descriptors
•
Address recognition for receive frames
•
Random number generation for transmit collision backoff timer
NOTE
DMA references in this section refer to the FEC DMA engine used to
transfer FEC data only. It is not related to the DMA controller described in
Chapter 9, “Enhanced Direct Memory Access (eDMA)
.”
The RAM is the focal point of all data flow in the fast Ethernet controller and is divided into transmit and
receive FIFOs. The FIFO boundaries are programmable using the FRSR register. Application data flows
to/from the DMA block from/to the receive/transmit FIFOs. Transmit data flows from the transmit FIFO
into the transmit block and receive data flows from the receive block into the receive FIFO.
You control the FEC by writing, through the slave interface module, to control registers located in each
block. The CSR (control and status register) block provides global control (such as Ethernet reset and
enable) and interrupt handling registers.
The MII block provides a serial channel for control/status communication with the external physical layer
device (transceiver). This serial channel consists of the MDC (management data clock) and MDIO
(management data input/output) lines of the MII interface.
The DMA block provides multiple channels allowing transmit data, transmit descriptor, receive data, and
receive descriptor accesses to run independently.
The transmit and receive blocks provide the Ethernet MAC functionality (with some assist from
microcode).
The message information block (MIB) maintains counters for a variety of network events and statistics. It
is not necessary for operation of the FEC but provides valuable counters for network management. The
counters supported are the RMON (RFC 1757) Ethernet Statistics group and some of the IEEE
®
802.3
counters.
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...