| Electronic Components Datasheet Search |
|
AN2629 Datasheet(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2629 Datasheet(HTML) 35 Page - STMicroelectronics |
|
35 / 43 page ![]() AN2629 Using the Stop and Standby mode in battery-operated applications Doc ID 13922 Rev 2 35/43 7 Using the Stop and Standby mode in battery- operated applications 7.1 Introduction Some applications powered by a standard battery are not running all the time. For example, industrial applications wait for information from a sensor to wake up and launch processes and other tasks. In these applications, the microcontroller waits for an external event, and needs to reduce its power consumption during this phase. The Cortex-M3 core was designed to take these constrains into account and integrate specific modes and instructions at core level. The software provided with this application note gives two examples (WFE_Stop_Flash and WFE_Stop_RAM) of how to use the STM32F10xxx in battery-operated applications. In these examples the STM32F10xxx switches to the low-power mode as soon as the application does not require processing, instead of remaining in Run mode with a low clock frequency. The two low-power modes are based on the Cortex-M3 core’s Deep Sleep feature and WFE (Wait for Event) instruction. 7.2 Using Wait For Event & Stop Wait For Event 7.2.1 Context This section describes how to use the Wait for Event instruction and the Stop mode of the STM32F10xxx, using the firmware found in the Zip file delivered with this application note. The firmware are available in the following folders: WFE_Stop_Flash and WFE_Stop_RAM. There are two projects that are exactly the same, except for the mapping in the product: ● WFE_Stop_Flash is strictly mapped in the Flash memory and runs from the Flash memory ● WFE_Stop_Ram is downloaded in Flash memory, but some functions are remapped in RAM at startup. How to remap code in RAM is explained in the toolset documentation. The WFE_Stop_Flash and WFE_Stop_Ram folders contain all the subdirectories and files that make up the core of the application example: ● inc subfolder contains the example header files ● src subfolder contains the example source files ● project subfolder contains two projects that compile the example files: – EWARMv5: contains the project for the EWARM toolchain – RVMDK: contains the project for the RVMDK toolchain – RIDE: contains the project for the RIDE toolchain |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |