Example: quiz answers

CC26x0/CC13x0 SimpleLink Wireless MCU Power …

CC26x0,CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentReferen ceGuideLiteratureNumber:SWRA486 AAugust2015 RevisedApril20172 SWRA486A August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedTableof ExternalInputInterruptsand August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedList of FiguresList of Figures1 Idle ,Part ,Part ,Part Sequence,Part Sequence,Part ()Functionin Enablingthe DC-DCConverterDuringActiveand VoltageThresholdFor TurningOff the DriverlibFunctionThatEnablesand Disablesthe DC-DCConverterat the Configurationin DisablingLF ExternalLF the of August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedPreface PrefaceSWRA486A August2015 RevisedApril2017CC26x0,CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentThe CC26x0and CC13x0familyof devicesare part of the SimpleLink microcontroller(MCU)

CC26x0, CC13x0 SimpleLink™ Wireless MCU Power Management Software Development Reference Guide Literature Number: …

Tags:

  Development, Management, Wireless, Power, Software, Wireless mcu power management software development

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of CC26x0/CC13x0 SimpleLink Wireless MCU Power …

1 CC26x0,CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentReferen ceGuideLiteratureNumber:SWRA486 AAugust2015 RevisedApril20172 SWRA486A August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedTableof ExternalInputInterruptsand August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedList of FiguresList of Figures1 Idle ,Part ,Part ,Part Sequence,Part Sequence,Part ()Functionin Enablingthe DC-DCConverterDuringActiveand VoltageThresholdFor TurningOff the DriverlibFunctionThatEnablesand Disablesthe DC-DCConverterat the Configurationin DisablingLF ExternalLF the of August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedPreface PrefaceSWRA486A August2015 RevisedApril2017CC26x0,CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentThe CC26x0and CC13x0familyof devicesare part of the SimpleLink microcontroller(MCU)

2 Platform,whichconsistsof Wi-Fi , Bluetooth low energy,Sub-1 GHz,and host sharea common,easy-to-usedevelopmentenvironment with a singlecoresoftwaredevelopmentkit (SDK)and rich tool set. Aone-timeintegrationof the SimpleLinkplatformlets you add any combinationof devicesfromthe portfoliointo ultimategoal of the SimpleLinkplatformis to achieve100 moreinformation,visit the CC26x0and CC13x0 SimpleLinkultra-low-powerwirelessMCUplat formsisimplementedas part of the overviewof this implementationandwhatto considerwhenportingthis implementationto partsspecificto the CC26x0and CC13x0familyof devices,but doesnotcoverthe guidealso describestasksthat the softwaremustperformto safelyoperatethis in bold followedby a trademarkof a registeredtrademarkof a registeredtrademarkof a registeredtrademarkof August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentReferen ceGuideSWRA486A August2015 RevisedApril2017CC26x0.

3 CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopment1 AbbreviationsADCA nalog-to-digitalconverterAONA lways-ondomainCCFGC ustomerconfigurationflashareaOSCO scillatorOSC_DIGD igitalpart of oscillatormodulePRCMP ower,reset,and clockmanagementRCOSC_HFHigh-frequencyRC oscillatorRCOSC_LFLow-frequencyRC oscillatorRTCReal-timeclockRTOSReal-time operatingsystemTDCTime-to-digitalconvert erTI-RTOSTI August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopment2 PowerManagementIntroductionIn the TI-RTOS implementationfor CC26x0and CC13x0devices,powermanagementimplementsw ithinthe this implementation,you can applicationrequiresno changeswhenupgradingto new versionsof the configuringthe systemto the lowestpowermodewhilesupportingthe requestedresourcesfromthe availableat the TI website. This installationincludesthe sourcecodefor followingfour powermodes: Active Idle Standby ShutdownSection3 presentsthe modesin activeand idle mode,all resourceson the deviceare standbyand shutdownmodesare optimizedfor powerconsumptionand limitedresourcesareavailablein TI-RTOS,the applicationdoesnot selectwhichpowermodeto powermodebasedon the next wakeupand whichresourcesthe applicationrequests(suchas the radioor anotherperipherals).

4 The applicationmustcall only shutdownmodebecausewakingup fromshutdownforcesa rebootof the TI-RTOS implementationis explainedin theTI-RTOSP owerManagementUser's Guide,C:\ti\tirtos_cc13xx_cc26xx_#_##_## _##\docsis documentedwithinthe TI-RTOS implementationdocument,but focuseson how to configurethehardwarewhennot samplecodein this documentis fromthe TI-RTOS implementationand the August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopment3TI-RTO SP owerModesTable1 lists the four differentpowermodesTI-RTOS supports.(1)Whenan emulatoror debuggeris attachedto the device,the wake-uptime is approximately200 s shorterbecausethe systemwill not entertrue standby.(2) SoftwareConfigurablePowerModesModeSoftwa reConfigurablePowerModesResetPin HeldActiveIdleStandbyShutdownSystemCPUA ctiveOffOffOffOffSystemSRAMOnOnRetainedO ffOffRegisterRetention(1)FullFullPartial NoNoVIMS_PD(flash)OnAvailableOffOffOffRF CORE_PD(radio) ATimefromCPUactiveto readyfor Wakeup(2) TBDTBDTBD Wake-uptime toCPUactive(2) 25 s300 s(1)

5 MsHigh-speedclockXOSC_HForRCOSC_HFXOSC_H ForRCOSC_HFOffOffOffLow-speedclockXOSC_L ForRCOSC_LFXOSC_LForRCOSC_LFXOSC_LForRCO SC_LFOffOffWakeupon RTCA vailableAvailableAvailableOffOffWakeupon pinedgeAvailableAvailableAvailableAvaila bleOffWakeuponresetpinAvailableAvailable AvailableAvailableAvailableThis sectiondescribeshow thesepowermodesare implementedin TI-RTOSand how to port activemode,the Cortex -M3 eitherexecutescodeor waitsthrougha WFI instructionfor availablein CPUpowerdomain,peripherals,and radiomay resourceson CC26x0and CC13x0devicesare availableto the applicationin thismode,the currentconsumptiondependson whichmodulesare the Cortex-M3executeda WFI instruction,it can wakeup fromany idle mode( ) is that in activemodethe CPUpowerdomainremainson, ensuringa quickwakeup. The wake-uptime fromidle modeis longerbecausethe CPUpowerdomainmustbe turnedon August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink ModeIn idle mode,the Cortex-M3is in deep-sleepafterexecutingthe WFI Cortex-M3waitsforinterruptsto wakeup.

6 The CPUpowerdomainis off to reducethe CPUpowerdomainincreasesthe wake-uptime of approximately25 s. Considerthis increaseif the CPUpowerdomainis off, it retainsits fromidlemode,the Cortex-M3resumesexecutingcodeat the pointit left off beforeenteringidle. The stateandregistercontentsof the idle mode,the applicationprogramcan use systemresources,includingthe high-speedcrystaloscillator,the radio,and the Cortex-M3can wakeup fromany detailson enteringidle mode,see codefor enteringidle modeis fromthe at the followingpath:C:\ti\tirtos_cc13xx_cc26xx _#_##_##_##\products\tidrivers_cc13xx_cc 26xx_#_##_##_##\packages\ti\drivers\powe r\ Idle remainon in IDLEor not The flashcan remainon to supportDMAtransactionsfromflashor if the RF coremustaccessthe the applicationrequiresthe flashto remainavailablewhilein idle, set the PRCM:PDCTL1bit (seeCC13x0,CC26x0 TechnicalReferenceManual)beforeenteringi dle. If the applicationdoesnot requireflashaccesswhilein idle, clearthis bit for in idle Alwaysenablethe cacheretentionto ensurefasterstart-uptime and currentconsumptioncausedby retainingthe cacheinidle is negligiblecomparedto the total idle the CPUpowerdomain Ensurethe CPUpowerdomainis off whenthe CPUpowerdomainis turnedoff afterthe Cortex-M3executesthe WFI instruction(withthe NVICSLEEP_DEEPbit set) and August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink possibleoutstandingAONwritesare completed If the AONdomainhas anyoutstandingwrites,the drivermustensurethey completebeforeenteringidle.

7 This functioncall stallsthe Cortex-M3executionfor up to one SCLK_LFperiodbecausethe AONdomainrunson Put the Cortex-M3in deep-sleepthroughthe WFI instructionto enteridle. If the wake-upsourceis the RTC,the softwaremustperformAONsynchronization(in Step4) beforereadingfromtheRTCmoduleto ensurethe RTCvaluesare standbymode,the Cortex-M3waitsin deep-sleepfor interruptsto wakeup afterexecutingthe ,powerdownsystemresources,includingthe high-frequencyoscillator,radio,periphera ls,and standbyincludingthe Cortex-M3(seetheCC13x0,CC26x0 TechnicalReferenceManualfor details).Afterwakingup fromstandby,the Cortex-M3resumesexecutingprogramsat the CC13x0devicesrun on a low-powerLDOin standby,mostsystemresourcesareunavailabl ein the RTC,whichrunsin standby,to wakeup the Cortex-M3can wakeup on any interrupt-enabled, applicationmustconsiderthe latencyassociatedwith enteringand the next wakeupis in less than1 ms, the TI-RTOS implementationdoesnot theapplicationrequiresexacttiming,consid erthe latencyassociatedwith enteringand wakingup TI-RTOS implementationhandlesthis latencyby insertingwake-upeventfour RTCedges(64 s)

8 Earlierthanthe eventto ensurethe systempowerson in time to servicethe wake-upeventscheduledby the TI-RTOS standbyimplementationallowsa variationwherethe cachecontentsare ,the systemdrawsapproximately2 A morethanit doeswithoutretainingthe mainsystemRAMshouldalwaysbe retainedin mainsystemRAMretentionis also the defaultconfigurationwhenthe followingcodefor enteringand exitingstandbyis fromthe :C:\ti\tirtos_cc13xx_cc26xx_#_##_##_##\p roducts\tidrivers_cc13xx_cc26xx_#_##_##_ ##\packages\ti\drivers\ Power \ , Figure3, and Figure4 showthe codesequencefor takingthe deviceinto briefexplanationof eachstep is also StandbyEnterSequence, August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink IOs on the boundarybetweenMCUand AON Latch(freeze)the inputand outputpinsto avoidglitcheswhenin inputsand outputsare frozen,the currentstateof theinputsand outputsis retainedwhileavailableto triggerwakeupto the configuretheinputsfor wakeupfromstandby,see XOSC_HFis active,forceit off Turnoff the hardwareturnsoff the high-speedRC detailson how toconfigurethe high-speedcrystaloscillator,see powerdown Disconnectthe auxiliarydomainfromthe MCUin Ensurethe writesto StandbyEnterSequence, savedomainstatesbeforepoweringthemoff Turnoff all Cryptoand DMA Clearboththe cryptoand DMAdeep-sleepclockenablebits moreinformation,see the Loadthe clocksettingsfromthe of domainsin the MCUvoltagedomain Turnoff Use this call to requestto use the the micro-LDOin August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentFigure4 .

9 StandbyEnterSequence, don'twantretentionin standby,disableit Disablecacheretentionand turn off theVIMS powerdomainto achievelowestpowerconsumptionin currentVIMS mode Readthe invalidatein Ensurethat the VIMS moderemainsthe the VIMS Set the VIMS modeto off. The cacheis off and the Configuresafe rechargesettingsusedwhenin indicatesthat the high-frequencycrystaloscillatoris off in writeshavetakeneffect Ensureall go to STANDBY Put the Cortex-M3in deep-sleepthroughthe WFIinstructionto August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink SequenceFigure5 and Figure6 showthe codesequencefor takingthe deviceout of briefexplanationof eachstep is also StandbyExit Sequence, didn'tretaincachein standby,re-enableretentionnow Enablecacheafterwakingup fromstandbyif cacheretentionwas of AUXto keepit on whensystemis not sleeping.

10 This alsocountsas a writeto the AONinterfaceensuringthat a followingsyncof the AONinterfacewill forcean updateof allregisters To accessthe OSC_DIGregistersto configurethe oscillators,forcethe auxiliarydomainonafterwakingup XOSC_HFwas forcedoff above,initiateswitchback Turnon the high-speedcrystaloscillatorifit was detailson how to configurethe high-speedcrystaloscillator,see effectbeforestandby Turnon all powerdomainsthat Cryptoand DMA Restoredeep-sleepclocksettingsfor CryptoandDMAmodulesas they Loadclocksettingsinto PRCMfor themto take August2015 RevisedApril2017 SubmitDocumentationFeedbackCopyright 2015 2017,TexasInstrumentsIncorporatedCC26x0, CC13x0 SimpleLink WirelessMCUP owerManagementSoftwareDevelopmentFigure6 . StandbyExit Sequence, uLDO Releasethe micro-LDOrequestto disablerunningon the transitionstateto EXITING_SLEEP earlypost-sleepnotification;this shouldbe usedto initializeanytimingcriticalor IO dependenthardware Signalperipheraldriversto reinitializetheirstatebecausemoduleswith outretentionlose detailson whichmoduleshaveretention,see (CC13x0,CC26x0 TechnicalReferenceManual).


Related search queries