Texas Instruments TMS320C6727 Stereo System User Manual


 
www.ti.com
4.10ExternalInterrupts
TMS320C6727,TMS320C6726,TMS320C6722
Floating-PointDigitalSignalProcessors
SPRS268EMAY2005REVISEDJANUARY2007
TheC672xDSPhasnodedicatedgeneral-purposeinterruptpins,butthedMAXcanbeusedin
combinationwithaMcASPAMUTEINsignaltoprovideexternalinterruptcapability.Thereisamultiplexer
foreachMcASP,controlledbytheCFGMCASP0/1/2registers,whichallowstheAMUTEINinputforthat
McASPtobesourcedfromoneofsevenI/OpinsontheDSP.OnceapinisconfiguredasanAMUTEIN
source,averyshortpulse(twoSYSCLK2cyclesormore)onthatpinwillgenerateaneventtothedMAX.
ThiseventcantriggerthedMAXtogenerateaCPUinterruptbyprogrammingtheassoicatedEventEntry.
ThereareafewadditionalpointstoconsiderwhenusingtheAMUTEINsignaltoenableexternalinterrupts
asdescribedabove.TheI/OpinselectedbytheCFGMCASP0/1/2registersmustbeconfiguredasa
general-purposeinputpinwithintheassociatedperipheral.Also,theAMUTEINsignalshouldbedisabled
withinthecorrespondingMcASPsothatAMUTEisnotdrivenwhenAMUTEINisactive.Thiscanbedone
byclearingtheINENbitoftheAMUTEregisterinsidetheMcASP.Finally,AMUTEINeventsarelogically
ORedwiththeMcASPtransmitandreceiveerroreventswithinthedMAX;therefore,theISRthat
processesthedMAXinterruptgeneratedbytheseeventsmustdiscernthesourceoftheevent.
TheEMIFEM_WAITpinhastheabilitytogenerateanNMI(INT1)baseduponarisingedgeonthe
EM_WAITpin.NotethatwhilethisinterruptisconnectedtotheCPUNMI(non-maskableinterrupt),itis
actuallymaskablethroughtheEMIFcontrolregisters.Infact,thedefaultstateforthisinterruptisdisabled.
Also,interruptgenerationalwaysoccursonarisingedgeofEM_WAIT;thepolarityselectionforwaitstate
generationhasnoeffectontheinterruptpolarity.TheEM_WAITpinshouldremainassertedforatleast
twoSYSCLK3cyclestoensurethattheedgeisdetected.
PeripheralandElectricalSpecifications 44SubmitDocumentationFeedback