| Electronic Components Datasheet Search |
|
AN4365 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4365 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 35 page ![]() STM32F4 current consumption measuring AN4365 12/35 DocID025303 Rev 2 2 STM32F4 current consumption measuring Many users need to know the best configuration that will let them reproduce the datasheet’s current consumption values. In this part, we give a firmware that provides the ideal configurations for the power modes and let measure the power modes’ current consumption for different STM32F4 devices. 2.1 Current consumption measuring firmware This section gives details on the firmware, hardware, software/tools environment used to measure the current consumption of different power modes. 2.1.1 Current consumption application description The STM32F4’s current consumption firmware supports all STM32F4 devices: STM32F429x/439x,STM32F40x/41x and STM32F401x. This firmware aims to let the user measure the dynamic and static current consumption of different power modes using his own discovery board of each STM32F4’s device. The user can perform measurements while changing some parameters. The approach consists in building a kind of power mode switching menu which would let the user switch from one power mode to another using the button and following dedicated LED signals available on the STM32F4 discovery boards. This measuring application can be used directly to perform and measure all power modes available in each device. On the other hand, the user has the ability to customize the firmware by selecting only the power modes and sub-modes that require measuring. Some parameters can be changed to perform measurements with all the possible configurations of the power modes. Using the switching menu consists in following the steps below, as described in Figure 3: • After power-on, the green and red LEDs light up, and remain lit until the user presses the button to enter the first selected mode/sub-mode. • Once the button is pressed, the LEDs blinking routine starts to indicate which power mode/sub-mode will be entered: first, the red LED blinks a number of times that indicate the power mode that will be entered. After that, the green LED begins blinking a number of times that indicates the sub-mode that will be entered. • Once the LEDs are switched off, the device enters the selected power mode to let the user measure the current. For Run mode, the device executes the CoreMark benchmark, and when it finishes after at least 10 s, both LEDs are turned on. For Sleep, Stop and Standby modes, the device just remains at these low-power modes, waiting to wake-up when the button is pushed. After wake-up, the LEDs light up, waiting again for the user to press the button to switch to the next mode/sub-mode. • After exiting the power mode/sub-mode, the green and red LEDs light up again, waiting for the user to press the button to switch to the next mode/sub-mode and begin a new power mode measurement. The last mode is Standby mode, and once the user pushes the wake-up button, a reset is generated to start from the beginning. Note: For more details about the LED blinking number of each mode and sub-mode, you should refer to tables in the “readme.txt” file. |
|
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 |
| 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 |