User Guide

1 Introduction
1.1 Purpose of the Peripheral
1.2 Features
User's Guide
SPRU941A April 2007
Ethernet Media Access Controller (EMAC)/
Management Data Input/Output (MDIO)
This document provides a functional description of the Ethernet Media Access Controller (EMAC) and
physical layer (PHY) device Management Data Input/Output (MDIO) module integrated in the
TMS320DM643x Digital Media Processor (DMP). Included are the features of the EMAC and MDIO
modules, a discussion of their architecture and operation, how these modules connect to the outside
world, and a description of the registers for each module.
The EMAC controls the flow of packet data from the system to the PHY. The MDIO module controls PHY
configuration and status monitoring.
Both the EMAC and the MDIO modules interface to the system core through a custom interface that
allows efficient data transmission and reception. This custom interface is referred to as the EMAC control
module and is considered integral to the EMAC/MDIO peripheral.
The EMAC module is used to move data between the DM643x device and another host connected to the
same network, in compliance with the Ethernet protocol.
The EMAC/MDIO has the following features:
Synchronous 10/100 Mbps operation.
Standard Media Independent Interface (MII) to physical layer device (PHY).
EMAC acts as DMA master to either internal or external device memory space.
Eight receive channels with VLAN tag discrimination for receive quality-of-service (QOS) support.
Eight transmit channels with round-robin or fixed priority for transmit quality-of-service (QOS) support.
Ether-Stats and 802.3-Stats statistics gathering.
Transmit CRC generation selectable on a per channel basis.
Broadcast frames selection for reception on a single channel.
Multicast frames selection for reception on a single channel.
Promiscuous receive mode frames selection for reception on a single channel (all frames, all good
frames, short frames, error frames).
Hardware flow control.
8K-byte local EMAC descriptor memory that allows the peripheral to operate on descriptors without
affecting the CPU. The descriptor memory holds enough information to transfer up to 512 Ethernet
packets without CPU intervention.
Programmable interrupt logic permits the software driver to restrict the generation of back-to-back
interrupts, which allows more work to be performed in a single call to the interrupt service routine.
SPRU941A April 2007 Ethernet Media Access Controller (EMAC)/ 11
Management Data Input/Output (MDIO)
Submit Documentation Feedback