1Introduction
1.1PurposeofthePeripheral
1.2Features
User'sGuide
SPRU941A–April2007
EthernetMediaAccessController(EMAC)/
ManagementDataInput/Output(MDIO)
ThisdocumentprovidesafunctionaldescriptionoftheEthernetMediaAccessController(EMAC)and
physicallayer(PHY)deviceManagementDataInput/Output(MDIO)moduleintegratedinthe
TMS320DM643xDigitalMediaProcessor(DMP).IncludedarethefeaturesoftheEMACandMDIO
modules,adiscussionoftheirarchitectureandoperation,howthesemodulesconnecttotheoutside
world,andadescriptionoftheregistersforeachmodule.
TheEMACcontrolstheflowofpacketdatafromthesystemtothePHY.TheMDIOmodulecontrolsPHY
configurationandstatusmonitoring.
BoththeEMACandtheMDIOmodulesinterfacetothesystemcorethroughacustominterfacethat
allowsefficientdatatransmissionandreception.ThiscustominterfaceisreferredtoastheEMACcontrol
moduleandisconsideredintegraltotheEMAC/MDIOperipheral.
TheEMACmoduleisusedtomovedatabetweentheDM643xdeviceandanotherhostconnectedtothe
samenetwork,incompliancewiththeEthernetprotocol.
TheEMAC/MDIOhasthefollowingfeatures:
•Synchronous10/100Mbpsoperation.
•StandardMediaIndependentInterface(MII)tophysicallayerdevice(PHY).
•EMACactsasDMAmastertoeitherinternalorexternaldevicememoryspace.
•EightreceivechannelswithVLANtagdiscriminationforreceivequality-of-service(QOS)support.
•Eighttransmitchannelswithround-robinorfixedpriorityfortransmitquality-of-service(QOS)support.
•Ether-Statsand802.3-Statsstatisticsgathering.
•TransmitCRCgenerationselectableonaperchannelbasis.
•Broadcastframesselectionforreceptiononasinglechannel.
•Multicastframesselectionforreceptiononasinglechannel.
•Promiscuousreceivemodeframesselectionforreceptiononasinglechannel(allframes,allgood
frames,shortframes,errorframes).
•Hardwareflowcontrol.
•8K-bytelocalEMACdescriptormemorythatallowstheperipheraltooperateondescriptorswithout
affectingtheCPU.Thedescriptormemoryholdsenoughinformationtotransferupto512Ethernet
packetswithoutCPUintervention.
•Programmableinterruptlogicpermitsthesoftwaredrivertorestrictthegenerationofback-to-back
interrupts,whichallowsmoreworktobeperformedinasinglecalltotheinterruptserviceroutine.
SPRU941A–April2007EthernetMediaAccessController(EMAC)/11
ManagementDataInput/Output(MDIO)
SubmitDocumentationFeedback