Texas Instruments TMS320C645x DSP Network Card User Manual


 
1Introduction
1.1PurposeofthePeripheral
1.2Features
User'sGuide
SPRU975BAugust2006
EthernetMediaAccessController(EMAC)/Management
DataInput/Output(MDIO)
ThisdocumentprovidesafunctionaldescriptionoftheEthernetMediaAccessController(EMAC)and
Physicallayer(PHY)deviceManagementDataInput/Output(MDIO)moduleintegratedwith
TMS320C645x(C645x)devices.IncludedarethefeaturesoftheEMACandMDIOmodules,adiscussion
oftheirarchitectureandoperation,howthesemodulesconnecttotheoutsideworld,andtheregisters
descriptionforeachmodule.
TheEMACcontrolstheflowofpacketdatafromtheprocessortothePHY.TheMDIOmodulecontrols
PHYconfigurationandstatusmonitoring.
BoththeEMACandtheMDIOmodulesinterfacetotheDSPthroughacustominterfacethatallows
efficientdatatransmissionandreception.ThiscustominterfaceisreferredtoastheEMACcontrol
module,andisconsideredintegraltotheEMAC/MDIOperipheral.
TheEMACmoduleisusedonTMS320C645xdevicestomovedatabetweenthedeviceandanotherhost
connectedtothesamenetwork,incompliancewiththeEthernetprotocol.
ThebasicfeaturesetoftheEMACmoduleintegratedwithC645xis:
Synchronous10/100/1000Mbpsoperation
FullduplexGigabitoperation(halfduplexgigabitisnotsupported)
Littleendianandbigendiansupport
Supportsfourtypesofinterfacestothephysicallayerdevice(PHY):standardmediaindependent
interface(MII),reducedpincountmediaindependentinterface(RMII),standardgigabitmedia
independentinterface(GMII)andreducedpincountgigabitmediaindependentinterface(RGMII)
EMACactsasDMAmastertoeitherinternalorexternaldevicememoryspace
EightreceivechannelswithVLANtagdiscriminationforreceivequalityofservice(QOS)support
Eighttransmitchannelswithround–robinorfixedpriorityfortransmitqualityofservice(QOS)support
Ether-statsand802.3-statsstatisticsgathering
TransmitCRCgenerationselectableonaper-channelbasis
Broadcastframesselectionforreceptiononasinglechannel
Multicastframesselectionforreceptiononasinglechannel
Promiscuousreceivemodeframesselectionforreceptiononasinglechannel(allframes,allgood
frames,shortframes,errorframes)
Hardwareflowcontrol
8KbytelocalEMACdescriptormemorythatallowstheperipheraltooperateondescriptorswithout
affectingtheCPU.Thedescriptormemoryholdsenoughinformationtotransferupto512ethernet
packetswithoutCPUintervention.
Programmableinterruptlogicpermitsthesoftwaredrivertorestrictthegenerationofback-to-back
interrupts,thusallowingmoreworktobeperformedinasinglecalltotheinterruptserviceroutine
SPRU975BAugust2006EthernetMediaAccessController(EMAC)/ManagementDataInput/Output(MDIO)11
SubmitDocumentationFeedback