Add config and overlay to samples for testing stop/standby modes: - samples/boards/st/power_mgmt/blinky - samples/boards/st/power_mgmt/wkup_pins I've measured consumption for each low-power mode: - stop (regulator in run mode) ~217 uA - stop (regulator in low-power mode) ~206 uA - standby mode ~3.5 uA Low-power mode wakeup timings from the datasheet, but it barely meets these in reality: - stop (regulator in run mode) 3.6 us - stop (regulator in low-power mode) 5.4 us - standby 50 us It's possible to use RTC as idle timer to exit from stop mode. Signed-off-by: Oleh Kravchenko <oleg@kaa.org.ua>
24 lines
450 B
Text
24 lines
450 B
Text
# ST Microelectronics STM32F1 MCU line
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Kconfig symbols common to STM32F1 series
|
|
|
|
if SOC_SERIES_STM32F1X
|
|
|
|
rsource "Kconfig.defconfig.stm32f1*"
|
|
|
|
# adjust the fallback because of the LSI oscaillator characteristics
|
|
config TASK_WDT_HW_FALLBACK_DELAY
|
|
depends on TASK_WDT_HW_FALLBACK
|
|
default 200
|
|
|
|
if PM
|
|
|
|
config COUNTER
|
|
default y
|
|
|
|
endif # PM
|
|
|
|
endif # SOC_SERIES_STM32F1X
|