Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN2629 Datasheet HTML 33Page - STMicroelectronics AN2629 Datasheet HTML 34Page - STMicroelectronics AN2629 Datasheet HTML 35Page - STMicroelectronics AN2629 Datasheet HTML 36Page - STMicroelectronics AN2629 Datasheet HTML 37Page - STMicroelectronics AN2629 Datasheet HTML 38Page - STMicroelectronics AN2629 Datasheet HTML 39Page - STMicroelectronics AN2629 Datasheet HTML 40Page - STMicroelectronics AN2629 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 43 page
background image
AN2629
Using the Stop and Standby mode in battery-operated applications
Doc ID 13922 Rev 2
37/43
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 while 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.
7.3
Using the Standby mode in an applicative way
7.3.1
Context
This section describes how to use the Standby mode of the STM32F10xxx, using the
firmware found in the Zip file delivered with this application note. The firmware is available in
the Standby folder.
The Standby 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
7.3.2
Detailed description
This example performs a periodic ADC conversion and stores the value in RAM buffer. It
uses Auto-Wakeup (AWU) from low-power mode as described in Section 1.2.7: Auto-
wakeup (AWU) from low-power mode on page 13.
●
At the beginning, functions configure the clock, GPIO, RTC and ADC. These functions
are implemented at the end of the main.c and use the STM32F10xxx standard
peripheral library.
●
The RTC is running and the RTC Alarm wakes up the STM32F10xxx from Standby
mode.
●
After each wakeup from Standby mode, the STM32F10xxx restarts from the reset state
and each ADC conversion is performed after the STM32F10xxx has been configured.
●
the PC1 I/O shows the time taken by the ADC conversion and RTC Alarm register
reload but not the time taken by the STM32F10xxx to restart.
Figure 8.
Standby
Standby mode
conversion
ADC
conversion
RTC alarm
PC1
STM32
configuration
ADC
RTC alarm
STM32
configuration
ai14680



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