Electronic Components Datasheet Search
  English  ▼

X  

AN2629 Datasheet(PDF) 28 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) 28 Page - STMicroelectronics

Back Button AN2629 Datasheet HTML 24Page - STMicroelectronics AN2629 Datasheet HTML 25Page - STMicroelectronics AN2629 Datasheet HTML 26Page - STMicroelectronics AN2629 Datasheet HTML 27Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 43 page
background image
Power and wakeup time measurement
AN2629
28/43
Doc ID 13922 Rev 2
MOVW.W
r3,#0x1000
MOVT.W
r3,#0x4002
MOVS r1,#0x10
STR r1,[r3,#0x18]
; Set GPIOC config for Pin 6 in Output Push-Pull
MOVW.W
r3,#0x1000
MOVT.W
r3,#0x4001
MOVS r1,#0x03000000
STR r1,[r3,#0x00]
; GPIOC, GPIO_Pin_6, Bit_SET
MOVS r2,#0x40
STR r2,[r3,#0x10]
–
Keil tool (RVMDK): this code is inserted in the startup_stm32f10x_md.s file before
the branch to the main.
–
IAR tool (EWARM): this code is inserted in the startup_stm32f10x_md.s file in the
__low_level_init(void)
function.
●
hw_config.c and hw_config.h:
These files contain all functions related to the STM32F10xxx configuration (clock
configuration, I/O configuration, etc.). To select the way the Sleep and Stop mode are
entered (WFI or WFE), uncomment the corresponding line in the hw_config.h file:
/* Define the entry to the low power mode */
//#define Entry_WFE
//#define Entry_WFI
Note:
For all measurements, the HSI is the Wakeup clock source.
●
stm32f10x_it.c:
This file manages the interrupt service routine of the EXTI line 0 if the selected way of
entering the low-power mode is the WFI instruction.
5.3.3
Measurement results
Table 8 summarizes the wakeup time measurement results in Sleep, Stop and Standby
modes.



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