поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4365 датащи(PDF) 19 Page - STMicroelectronics

номер детали AN4365
подробное описание детали  Using STM32F4 MCU power modes with best dynamic efficiency
PDF  35 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4365 датащи(HTML) 19 Page - STMicroelectronics

Back Button AN4365 Datasheet HTML 15Page - STMicroelectronics AN4365 Datasheet HTML 16Page - STMicroelectronics AN4365 Datasheet HTML 17Page - STMicroelectronics AN4365 Datasheet HTML 18Page - STMicroelectronics AN4365 Datasheet HTML 19Page - STMicroelectronics AN4365 Datasheet HTML 20Page - STMicroelectronics AN4365 Datasheet HTML 21Page - STMicroelectronics AN4365 Datasheet HTML 22Page - STMicroelectronics AN4365 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 35 page
background image
DocID025303 Rev 2
19/35
AN4365
STM32F4 current consumption measuring
34
2.1.3
How to use the current consumption firmware
This part provides guidelines on how to use the firmware to achieve the required
measurements.
By default, all modes and sub-modes of each device are defined to be measured at power
switching menu runtime. The user should just load the required code into the device’s Flash
memory and start measuring mode by mode. To customize the firmware, proceed as
follows:
•
Define Power mode
As a first step, the user checks the defined power mode in file “main.h” and excludes any
undesirable power mode from the measurement process by commenting the corresponding
macros.
In this example, we comment the RUN and SLEEP mode macros in order to measure only
the Stop and Standby modes.
/*
Uncomment
the
corresponding
line
to
select
power
mode(s)
that
will be measured */
//#define RUN_MODE
//#define SLEEP_MODE
#define STOP_MODE
#define STANDBY_MODE
To debug code, the user should uncomment the DEBUG macro in “main.h”.
•
Define Power sub-modes
“pwr.modes.h” contains all the power sub-mode macros for all STM32F4 devices. By
default, all available sub-modes are defined to be measured. If the user wants to customize
his switching menu and measure specific sub-modes, he needs to comment macros of
those he will not measure. This way, the firmware will execute only the defined power sub-
modes one by one. Only for Standby mode, we can define and measure one only sub-mode
because the device will reset at the moment of waking-up.
The following is an example for Stop mode, performed while measuring current
consumption for an STM32F429x/439x device. We want to measure only Stop modes with
low-power regulator, so we should keep both selected sub-modes, and comment the other
ones:
//#define StopMainRegFlashStop_enter
//#define StopMainRegFlashPwrDown_enter
#define StopLowPwrRegFlashStop_enter
#define StopLowPwrRegFlashPwrDown_enter
//#define StopMainRegUnderDriveFlashPwrDown_enter
//#define StopLowPwrRegUnderDriveFlashPwrDown_enter
After defining the modes and sub-modes, some parameters can be customized, i.e. the ART
accelerator status and the supply voltage value.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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