Texas Instruments TMS320DM357 Switch User Manual


 
3.6ResetConsiderations
3.6.1SoftwareResetConsiderations
3.6.2HardwareResetConsiderations
3.6.3USBResetConsiderations
3.7InterruptSupport
3.8EDMAEventSupport
3.9PowerManagement
USBControllerHostandPeripheralModesOperation
www.ti.com
TheUSBcontrollerhastworesetsources:hardwareresetandthesoftreset(RESETbitinCTRLR
register).
WhentheRESETbitinCTRLRisset,alltheUSBcontrollerregistersandDMAoperationsarereset.The
bitisclearedautomatically.
AsoftwareresetontheARMorDSPCPUsdoesnotaffecttheregistervaluesandoperationoftheUSB
controller.
Whenahardwareresetisasserted,alltheregistersaresettotheirdefaultvalues.
Whenoperatinginperipheralmode,aUSBresetreceivedfromthehostcausessomeinternalregistersto
bereset.TheUSBcontrollersetupoperations(forexampleFIFOsizing)inperipheralmodeshouldbe
performedafterreceivingtheUSBreset,andagainoneachsubsequentUSBreset.Therearesome
conditionswheremultipleUSBresetinterruptsmaybereceivedinrapidsuccession.Goodinterrupt
handlingpracticesmustbeobservedtoassurethatthesetupisperformed(again)afterthefinalUSB
resetinterrupt.
SoftwaremustteardownanyTXDMAchanneluseuponreceiptofaUSBreset.SeeSection3.3.2.8.
TheUSBperipheralpresentsasingleinterrupttotheARMinterruptcontroller(AINTC).Forinformationon
themappingofinterrupts,refertothedevice-specificdatamanual.
TheUSBisaninternalbusmasterperipheralandthereforedoesnotutilizeanyEDMAevents.The
registerssupportonlyindividualaccess.BurstingdatatoorfromtheUSBregisterspacethroughEDMAis
notsupported.
TheUSBcontrollercanbeplacedinreducedpowermodestoconservepowerduringperiodsoflow
activity.ThepowermanagementoftheperipheraliscontrolledbytheprocessorPowerandSleep
Controller(PSC).ThePSCactsasamastercontrollerforpowermanagementforalloftheperipheralson
thedevice.FordetailedinformationonpowermanagementproceduresusingthePSC,seethe
TMS320DMxxxDMSoCARMSubsystemReferenceGuide(spru856).
74UniversalSerialBus(USB)ControllerSPRUGH3November2008
SubmitDocumentationFeedback