
Architecture
Table1.EMACandMDIOSignalsforMIIInterface
SignalTypeDescription
MTCLKITransmitclock(MTCLK).Thetransmitclockisacontinuousclockthatprovidesthetimingreference
fortransmitoperations.TheMTXDandMTXENsignalsaretiedtothisclock.Theclockisgenerated
bythePHYandis2.5MHZat10Mbpsoperationand25MHZat100Mbpsoperation.
MTXD[3-0]OTransmitdata(MTXD).Thetransmitdatapinsareacollectionof4datasignalscomprising4bitsof
data.MTDX0istheleast-significantbit(LSB).ThesignalsaresynchronizedbyMTCLKandvalid
onlywhenMTXENisasserted.
MTXENOTransmitenable(MTXEN).ThetransmitenablesignalindicatesthattheMTXDpinsaregenerating
nibbledataforusebythePHY.ItisdrivensynchronouslytoMTCLK.
MCOLICollisiondetected(MCOL).TheMCOLpinisassertedbythePHYwhenitdetectsacollisiononthe
network.Itremainsassertedwhilethecollisionconditionpersists.Thissignalisnotnecessarily
synchronoustoMTCLKnorMRCLK.Thispinisusedinhalf-duplexoperationonly.
MCRSICarriersense(MCRS).TheMCRSpinisassertedbythePHYwhenthenetworkisnotidleineither
transmitorreceive.Thepinisdeassertedwhenbothtransmitandreceiveareidle.Thissignalisnot
necessarilysynchronoustoMTCLKnorMRCLK.Thispinisusedinhalf-duplexoperationonly.
MRCLKIReceiveclock(MRCLK).Thereceiveclockisacontinuousclockthatprovidesthetimingreference
forreceiveoperations.TheMRXD,MRXDV,andMRXERsignalsaretiedtothisclock.Theclockis
generatedbythePHYandis2.5MHZat10Mbpsoperationand25MHZat100Mbpsoperation.
MRXD[3-0]IReceivedata(MRXD).Thereceivedatapinsareacollectionof4datasignalscomprising4bitsof
data.MRDX0istheleast-significantbit(LSB).ThesignalsaresynchronizedbyMRCLKandvalid
onlywhenMRXDVisasserted.
MRXDVIReceivedatavalid(MRXDV).ThereceivedatavalidsignalindicatesthattheMRXDpinsare
generatingnibbledataforusebytheEMAC.ItisdrivensynchronouslytoMRCLK.
MRXERIReceiveerror(MRXER).ThereceiveerrorsignalisassertedforoneormoreMRCLKperiodsto
indicatethatanerrorwasdetectedinthereceivedframe.Thisismeaningfulonlyduringdata
receptionwhenMRXDVisactive.
MDCLKOManagementdataclock(MDCLK).TheMDIOdataclockissourcedbytheMDIOmoduleonthe
system.ItisusedtosynchronizeMDIOdataaccessoperationsdoneontheMDIOpin.The
frequencyofthisclockiscontrolledbytheCLKDIVbitsintheMDIOcontrolregister(CONTROL).
MDIOI/OManagementdatainputoutput(MDIO).TheMDIOpindrivesPHYmanagementdataintoandoutof
thePHYbywayofanaccessframeconsistingofstartofframe,read/writeindication,PHYaddress,
registeraddress,anddatabitcycles.TheMDIOpinactsasanoutputforallbutthedatabitcycles
atwhichtimeitisaninputforreadoperations.
16EthernetMediaAccessController(EMAC)/ManagementDataInput/Output(MDIO)SPRUEQ6–December2007
SubmitDocumentationFeedback