![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/d/b7/db742270-ca8c-4749-a876-e49802fee529/db742270-ca8c-4749-a876-e49802fee529-bg3c.png)
2.17PowerManagement
2.18EmulationConsiderations
Architecture
EachofthethreemaincomponentsoftheEMACperipheralcanindependentlybeplacedin
reduced-powermodestoconservepowerduringperiodsoflowactivity.Thepowermanagementofthe
EMACperipheraliscontrolledbytheprocessorPowerandSleepController(PSC).ThePSCactsasa
mastercontrollerforpowermanagementonbehalfofalloftheperipheralsonthedevice.
ThepowerconservationmodesavailableforeachofthethreecomponentsoftheEMAC/MDIO
peripheralare:
•Idle/Disabledstate.Thismodestopstheclocksgoingtotheperipheral,andpreventsalltheregister
accesses.Afterreenablingtheperipheralfromthisidlestate,alltheregistersvaluespriortosetting
intothedisabledstatearerestored,anddatatransmissioncanproceed.Noreinitializationis
required.
•Synchronizedreset.ThisstateissimilartothePower-onReset(POR)state,whentheprocessoris
turned-on;resettotheperipheralisasserted,andclockstotheperipheralaregatedafterthat.The
registersareresettotheirdefaultvalue.Whenpowering-upafterasynchronizedreset,allthe
EMACsubmodulesneedtobereinitializedbeforeanydatatransmissioncanhappen.
FormoreinformationontheuseoftheprocessorPowerandSleepController(PSC),seethe
TMS320DM646xDMSoCARMSubsystemReferenceGuide(SPRUEP9).
Note:Forcorrectoperation,theEMACandEMACcontrolmodulemustbothbesuspended.
Thus,theEMCONTROLandCMEMCONTROLregistersmustbeconfiguredalike.
EMACemulationcontrolisimplementedforcompatibilitywithotherperipherals.TheSOFTandFREE
bitsintheemulationcontrolregister(EMCONTROL)allowEMACoperationtobesuspended.
Additionally,emulationcontrolisalsoimplementedintheEMACcontrolmodulewiththeEMACcontrol
moduleemulationcontrolregister(CMEMCONTROL)toallowtheEMACcontrolmoduleactivitytobe
suspended.
Whentheemulationsuspendstateisentered,theEMACstopsprocessingreceiveandtransmitframes
atthenextframeboundary.Anyframecurrentlyinreceptionortransmissioniscompletednormally
withoutsuspension.Fortransmission,anycompleteorpartialframeinthetransmitcellFIFOis
transmitted.Forreceive,framesthataredetectedbytheEMACafterthesuspendstateisenteredare
ignored.Nostatisticsarekeptforignoredframes.
Table8showshowtheSOFTandFREEbitsaffecttheoperationoftheemulationsuspend.
Table8.EmulationControl
SOFTFREEDescription
00Normaloperation
10Emulationsuspend
X1Normaloperation
60EthernetMediaAccessController(EMAC)/ManagementDataInput/Output(MDIO)SPRUEQ6–December2007
SubmitDocumentationFeedback