Electronic Components Datasheet Search
  English  ▼

X  

AN2629 Datasheet(PDF) 32 Page - STMicroelectronics

Part # AN2629
Description  low-power modes
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2629 Datasheet(HTML) 32 Page - STMicroelectronics

Back Button AN2629 Datasheet HTML 28Page - STMicroelectronics AN2629 Datasheet HTML 29Page - STMicroelectronics AN2629 Datasheet HTML 30Page - STMicroelectronics AN2629 Datasheet HTML 31Page - STMicroelectronics AN2629 Datasheet HTML 32Page - STMicroelectronics AN2629 Datasheet HTML 33Page - STMicroelectronics AN2629 Datasheet HTML 34Page - STMicroelectronics AN2629 Datasheet HTML 35Page - STMicroelectronics AN2629 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 43 page
background image
Optimizing power consumption in your application
AN2629
32/43
Doc ID 13922 Rev 2
The .eww file, used to launch the project with the EWARM toolchain, is in the EWARM
folder.
●
Configure HyperTerminal on the PC
–
Word length = 8 bits
–
One Stop bit
–
No parity
–
Baud rate = 115200 baud
–
flow control: none
●
Configure the firmware
In the header file (main.h) several #define can be selected to parameterize the
example. Using a #define, the user can measure by themselves the consumption
values provided in Table 9.
–#define for APB1 and APB2 prescaler configuration:
#define ABP1_DIV4
#define ABP2_DIV2
#define ABP1_DIV8
#define ABP2_DIV8
–#define for peripheral selection (clock gating):
#define ALL_PERIPHERIALS_ENABLE
#define USART_ONLY
–#define for frequency selection:
#define HCLK_FREQ_72MHz /* Only with external oscillator */
#define HCLK_FREQ_8MHz
–#define for Prefetch Buffer or Half Cycle feature using:
#define PREFETCH_ON
#define HALF_CYCLE_ON
–#define for switching to Sleep mode while the application is waiting for the RTC
interrupt:
#define WFI_ON
–#define for External or Internal oscillator selection
#define HSI_ENABLE /* Use internal oscillator
*/
#define HSE_ENABLE /*Use external oscillator
*/
Caution:
To reload the Flash memory after launching the low-power example, the boot pin
configuration must be changed from BOOT FLASH to BOOT RAM, and the reset button
must be pressed. This is because the debugger cannot take the hand when the
STM32F10xxx is in low-power mode.
Once this has been done, the boot pin must be configured back to BOOT FLASH.
Measurement is then started by disconnecting and reconnecting the power supply.
The power off/ power on reset sequence is necessary to avoid internal debug module
overconsumption.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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