Industry Standard(S) Compliance Statement; Architecture; Clock Control - Texas Instruments TMS320DM646x User Manual

Texas instruments ethernet media access controller (emac)/ management data input/output (mdio) module user's guide
Hide thumbs Also See for TMS320DM646x:
Table of Contents

Advertisement

Architecture

The EMAC and MDIO interrupts are combined within the control module, so only the control module
interrupt needs to be monitored by the application software or device driver. The EMAC control module
combines the EMAC and MDIO interrupts and generates 4 separate interrupts to the ARM through the
ARM interrupt controller. See
module.
1.4

Industry Standard(s) Compliance Statement

The EMAC peripheral conforms to the IEEE 802.3 standard, describing the Carrier Sense Multiple Access
with Collision Detection (CSMA/CD) Access Method and Physical Layer specifications. The IEEE 802.3
standard has also been adopted by ISO/IEC and re-designated as ISO/IEC 8802-3:2000(E).
In difference from this standard, the EMAC peripheral does not use the Transmit Coding Error signal
MTXER. Instead of driving the error pin when an underflow condition occurs on a transmitted frame, the
EMAC intentionally generates an incorrect checksum by inverting the frame CRC, so that the transmitted
frame is detected as an error by the network.
2
Architecture
This section discusses the architecture and basic function of the EMAC/MDIO module.
2.1

Clock Control

The frequencies for the transmit and receive clocks are fixed by the IEEE 802.3 specification as:
2.5 MHZ at 10 Mbps
25 MHZ at 100 Mbps
125 MHZ at 1000 Mbps
All EMAC logic is clocked synchronously with the PLL peripheral clock. The MDIO clock can be controlled
through the application software, by programming the divide-down factor in the MDIO control register
(CONTROL).
2.1.1
MII Clocking
In the 10/100 Mbps mode, the transmit and receive clock sources are provided from an external PHY via
the MTCLK and MRCLK pins. These clocks are inputs to the EMAC module and operate at 2.5 MHZ in 10
Mbps mode and at 25 MHZ in 100 Mbps mode. The MII clocking interface is not used in 1000 Mbps
mode. For timing purposes, data is transmitted and received with reference to MTCLK and MRCLK,
respectively.
2.1.2
GMII Clocking
In the 1000 Mbps mode, the transmit and receive clock sources for 10/100 Mbps operation are provided
from an external PHY via the MTCLK and MRCLK pins, as in the MII clocking. For 1000 Mbps operation,
the receive clock is provided by an external PHY via the MRCLK pin. For transmit in 1000 Mbps mode, the
clock is sourced synchronous with the data and is provided by the EMAC to be output on the GMTCLK
pin.
The EMAC module is internally clocked at 148.5 MHZ. For timing purposes, data in 10/100 Mbps mode is
transmitted and received with reference to MTCLK and MRCLK, respectively. For 1000 Mbps mode,
receive timing is the same, but transmit is relative to GMTCLK.
14
Ethernet Media Access Controller (EMAC)/Management Data Input/Output (MDIO)
Section 2.16.4
for details of interrupt multiplex logic of the EMAC control
www.ti.com
SPRUEQ6 – December 2007
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents