Texas Instruments TMS320DM646x 사용자 설명서

다운로드
페이지 135
1
Introduction
1.1
Purpose of the Peripheral
1.2
Features
User's Guide
SPRUEQ6 – December 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
theTMS320DM646x Digital Media System-on-Chip. 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 DM646x DMSoC and another host connected to the
same network, in compliance with the Ethernet protocol. The EMAC is controlled by the ARM CPU of the
device; control by the DSP CPU is not supported.
The EMAC/MDIO has the following features:
Synchronous 10/100/1000 Mbps operation.
G/MII interface to the physical layer device (PHY).
Full-duplex gigabit operation (half-duplex not supported).
EMAC acts as DMA master to either internal or external device memory space.
Hardware error handling including CRC.
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 RMON 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.
TI Adaptive Performance Optimization for improved half duplex performance.
Configurable receive address matching/filtering, receive FIFO depth, and transmit FIFO depth.
12
Ethernet Media Access Controller (EMAC)/Management Data Input/Output (MDIO)
SPRUEQ6 – December 2007