9.8EmulationControl
9.8.1SetEmulatorSuspendSource
EmulationControl
www.ti.com
Prioritizationwithineachswitchedcentralresource(SCR)isselectedtobeeitherfixedordynamic.
Dynamicprioritizationisbasedonanincomingprioritysignalfromeachmaster.OntheDM646xDMSoC,
allmasterperipheralsareprogrammedinthebusmasterprioritycontrolregisters(MSTRPRIn)inthe
SystemModule.ThedefaultprioritylevelforeachbusmasterislistedinTable9-2.Applicationsoftwareis
expectedtomodifythesevaluestoobtainthedesiredsystemperformance.
Table9-2.TMS320DM646xDMSoCDefaultMasterPriorities
DefaultPriorityLevelBusMasterPriorityBitFieldPriorityControlRegister
1VPIFCaptureVP0PMSTPRI2Register
1VPIFDisplayVP1PMSTPRI2Register
1TSIF0TSIF0PMSTPRI2Register
1TSIF1TSIF1PMSTPRI2Register
2EDMA3TC0EDMATC0PMSTPRI2Register
(1)
2EDMA3TC1EDMATC1PMSTPRI2Register
(1)
2EDMA3TC2EDMATC2PMSTPRI2Register
(1)
2EDMA3TC3EDMATC3PMSTPRI2Register
(1)
3HDVICP0(CFG)HDVICP0PMSTPRI0Register
3HDVICP1(CFG)HDVICP1PMSTPRI0Register
4ARM926(ARMInstruction)ARMINSTPMSTPRI0Register
4ARM926(ARMData)ARMDATAPMSTPRI0Register
4C64x+DSP(DMA)DSPDMAPMSTPRI0Register
(2)
4C64x+DSP(CFG)DSPCFGPMSTPRI0Register
4VDCEVDCEPMSTPRI1Register
5EMACEMACPMSTPRI1Register
5USB2.0USBPMSTPRI1Register
5ATAATAPMSTPRI1Register
5VLYNQVLYNQPMSTPRI1Register
6PCIPCIPMSTPRI1Register
6HPIHPIPMSTPRI1Register
(1)
DefaultvalueinEDMAQUEPRIregister
(2)
DefaultvalueinDSPMDMAARBE.PRIfield
TheflexibilityoftheDM646xDMSoCarchitectureallowseithertheARMortheDSPtocontrolsome
variousperipherals(setupregisters,serviceinterrupts,etc.).Whilethisassignmentispurelyamatterof
softwareconvention,duringanemulationhalt,thedevicemustknowwhichperipheralsareassociated
withthehaltingprocessor,sothatonlythosemodulesreceivethesuspendsignal.Thisallowsperipherals
associatedwiththeother(unhalted)processortocontinuenormaloperation.Theemulatorsuspend
sourceregister(SUSPSRC)indicatestheemulationsuspendsourceforthoseperipheralswhichsupport
emulationsuspend.
WhentheassociatedSUSPSRCbitis0,theARMemulatorcontrolstheperipheral’semulationsuspend
signalandwhenitissetto1,theDSPemulatorcontrolstheperipheral'semulationsuspendsignal.See
thedevice-specificdatamanualfordetailsonthisregister.
SystemControlModule 108SPRUEP9A–May2008
SubmitDocumentationFeedback