Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4365 Datasheet(PDF) 27 Page - STMicroelectronics

Part # AN4365
Description  Using STM32F4 MCU power modes with best dynamic efficiency
PDF  35 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4365 Datasheet(HTML) 27 Page - STMicroelectronics

Back Button AN4365 Datasheet HTML 23Page - STMicroelectronics AN4365 Datasheet HTML 24Page - STMicroelectronics AN4365 Datasheet HTML 25Page - STMicroelectronics AN4365 Datasheet HTML 26Page - STMicroelectronics AN4365 Datasheet HTML 27Page - STMicroelectronics AN4365 Datasheet HTML 28Page - STMicroelectronics AN4365 Datasheet HTML 29Page - STMicroelectronics AN4365 Datasheet HTML 30Page - STMicroelectronics AN4365 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 35 page
background image
DocID025303 Rev 2
27/35
AN4365
STM32F4 low-power application case
34
Sensor (Slave) state machine
Run1_S: system clock configuration
Run2_S: ADC and DMA configurations and start of VBAT sampling
Sleep1: DMA samples transfer to memory during CPU Sleep mode
Run3_S: I2C and DMA configurations and start of data transmission to the sensor hub
Sleep2: DMA samples transfer from Sensor to Master via I2C during CPU Sleep mode
Run4_S: clearing of DMA pending flags on transmitter stream
Stdby: once operations are finished, the sensor CPU enters in Standby mode waiting for a
request from the Master to wake-up again.
Debug mode
By default, the debug connection is lost if the application puts the MCU in Standby, for
example. This is due to the fact that the CPU is no longer clocked.
However, by setting some configuration bits in the DBGMCU_CR register, the software can
be debugged even when using the low-power modes extensively. This is done by
uncommenting #define DEBUG in main.h
Auto-wakeup
The RTC (clocked by LSI ~32 KHz) provides a programmable time base for waking-up the
sensor hub from Standby mode at regular intervals (~200 ms).
Note:
To follow the functional behavior of this application, the user has to visualize signals with an
oscilloscope or go in Debug mode.
3.1.2
Firmware architecture description
This application uses the STM32F4 library and contains the following main source files:
•
main.c: contains the overall needed functions for the application
•
STM32F4_it.c: contains the interrupt handlers for the application
•
STM32F4_system.c: contains the system clock configuration for the STM32F4
devices used in the application



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


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