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>
16 lines
439 B
YAML
16 lines
439 B
YAML
sample:
|
|
name: GPIO As A Wake-up Pin Source
|
|
tests:
|
|
sample.boards.stm32.power_mgmt.wkup_pins:
|
|
build_only: true
|
|
filter: dt_enabled_alias_with_parent_compat("wkup-src",
|
|
"gpio-keys") and dt_compat_enabled("st,stm32-pwr")
|
|
platform_allow:
|
|
- nucleo_g031k8
|
|
- nucleo_l4r5zi
|
|
- nucleo_u575zi_q
|
|
- nucleo_u5a5zj_q
|
|
- nucleo_wl55jc
|
|
- nucleo_f103rb
|
|
integration_platforms:
|
|
- nucleo_l4r5zi
|