| Electronic Components Datasheet Search |
|
AN2629 Datasheet(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2629 Datasheet(HTML) 30 Page - STMicroelectronics |
|
30 / 43 page ![]() Optimizing power consumption in your application AN2629 30/43 Doc ID 13922 Rev 2 6 Optimizing power consumption in your application 6.1 Introduction According to the laws of physics, microcontroller power consumption increases with the clock frequency. This is why the best ratio between consumption and performance has to be found. In many applications, power consumption can be reduced by adjusting system/peripheral frequency to the required performance. The STM32F10xxx offers the Slow mode features to reach that aim. If no specific system/peripheral activity is required, the low-power modes of the STM32F10xxx can be used. This section describes how to use the Slow and Low-power modes to optimize consumption according to the application requirement. A software example is provided that gives a practical view of power optimization. With this software, the user can measure the consumption of the STM32F10xxx with the different optimization possibilities. 6.2 Using the advance clock configuration of the STM32F10xxx 6.2.1 Context This section describes how to use the clock configuration of the STM32F10xxx, using a firmware found in the Zip file delivered with this application note. This firmware is available in the Run_Mode folder. The Run_Mode folder contains 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 6.2.2 Detailed description The program is a basic application that sends the time from RTC on a serial line (USART). ● At the beginning of the application, the user has to adjust the time using the HyperTerminal for instance. ● Time is displayed on the terminal and refreshed every second. Practically, the RTC is configured to generate an interruption every second. ● When the interruption occurs, the RTC counter is captured; the time is calculated and sent through USART1. Figure 6 below shows the HyperTerminal view of the time adjustment interface. |
|
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 |