6.3ExecutingModuleStateTransitions
6.4IcePickEmulationSupportinthePSC
ExecutingModuleStateTransitions
www.ti.com
Theprocedureformodulestatetransitionsisasfollows(ncorrespondstothemodulenumber,see
Table6-1forthemodulenumbers):
•WaitfortheGOSTAT[0]bitinthepowerdomaintransitionstatusregister(PTSTAT)toclearto0.You
mustwaitforanypreviouslyinitiatedtransitionstofinishbeforeinitiatinganewtransition.
•SettheNEXTbitinthemodulecontrolnregister(MDCTLn)toSwRstDisable(0),SyncReset(1),
Disable(2h),orEnable(3h).
Note:YoumaysettransitionsinmultipleNEXTbitsinmultipleMDCTLninthisstep.
•Thisisaspecialsteprequiredforthesespecificmodules.Thisstepisnotrequiredforanymodulethat
isnotlisted.SettheEMURSTIEbitinMDCTLnto1,ifthemoduleyouwanttotransitionisanyofthe
following:
–EMAC
–USB
–ATA
–VLYNQ
–DDR2memorycontroller
–AsynchronousEMIF
–McASP
–GPIO
Note:TheEMURSTIEbitinMDCTLnisalsousedforPSCemulationfeatures.Theemulation
featuresaredescribedinSection6.4.
•SettheGO[0]bitinthepowerdomaintransitioncommandregister(PTCMD)to1toinitiatethe
transition(s).
•WaitfortheGOSTAT[0]bitinPTSTATtoclearto0.Themoduleissafelyinthenewstateonlyafter
theGOSTAT[0]bitinPTSTATisclearedto0.
•WaitfortheSTATEbitinthemodulestatusnregister(MDSTATn)tochangetotherequiredstate,
SwRstDisable(0),SyncReset(1),Disable(2h),orEnable(3h),thatwassetinMDCTLn.
ThePSCsupportsIcePickcommandsthatallowIcePickawareemulationtoolstohavesomecontrolover
thestateofpowerdomainsandmodules.
Inparticular,thePSCsupportsthefollowingIcePickemulationcommands:
Table6-3.IcePickEmulationCommands
PowerOnand
EnableFeaturesPowerOnandEnableDescriptionsResetFeaturesResetDescriptions
InhibitSleepAllowsemulationtopreventsoftwarefromAssertResetAllowsemulationtoassertthe
transitioningthepowerdomainoutoftheonmodule’slocalreset.
stateandtopreventsoftwarefromtransitioning
themoduleoutoftheenablestate
ForcePowerAllowsemulationtoforcethepowerdomainintoWaitResetAllowsemulationtokeeplocal
anonstateresetassertedforanextended
periodoftimeaftersoftware
initiateslocalresetde-assert.
ForceActiveAllowsemulationtoforcethepowerdomainintoBlockResetAllowsemulationtoblock
anonstateandforcethemoduleintothesoftwareinitiatedlocaland
enablestate.moduleresets.
PowerandSleepController(PSC) 66SPRUEP9A–May2008
SubmitDocumentationFeedback