diff --git a/tests/benchmarks/multicore/common/workaround_idle_retained.overlay b/tests/benchmarks/multicore/common/workaround_idle_retained.overlay new file mode 100644 index 000000000000..482cc0cae371 --- /dev/null +++ b/tests/benchmarks/multicore/common/workaround_idle_retained.overlay @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2025 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +/* Increase min-residency-us for idle_cache_disabled and s2ram + * so the cpu enters idle_cache_retained state. + */ + +/ { + cpus { + power-states { + idle_cache_disabled: idle_cache_disabled { + min-residency-us = <790000>; + }; + + s2ram: s2ram { + min-residency-us = <800000>; + }; + }; + }; +}; diff --git a/tests/benchmarks/multicore/idle/testcase.yaml b/tests/benchmarks/multicore/idle/testcase.yaml index 6bd404c5c917..cf35804ae230 100644 --- a/tests/benchmarks/multicore/idle/testcase.yaml +++ b/tests/benchmarks/multicore/idle/testcase.yaml @@ -52,6 +52,19 @@ tests: - idle_SNIPPET=nordic-ppr-xip - CONFIG_FIRST_SLEEP_OFFSET=y + benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad_retained: + harness: console + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + extra_args: + - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y + - SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf + - CONFIG_FIRST_SLEEP_OFFSET=y + - idle_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + - remote_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + benchmarks.multicore.idle.nrf54h20dk_cpuapp_cpurad: harness: console platform_allow: diff --git a/tests/benchmarks/multicore/idle_flpr/prj.conf b/tests/benchmarks/multicore/idle_flpr/prj.conf index dc1e777e2769..d737ab9c9c3c 100644 --- a/tests/benchmarks/multicore/idle_flpr/prj.conf +++ b/tests/benchmarks/multicore/idle_flpr/prj.conf @@ -4,5 +4,3 @@ CONFIG_NCS_BOOT_BANNER=n CONFIG_LOG=y CONFIG_ASSERT=y CONFIG_GPIO=y - -CONFIG_NRF_REGTOOL_VERBOSITY=1 diff --git a/tests/benchmarks/multicore/idle_flpr/remote/CMakeLists.txt b/tests/benchmarks/multicore/idle_flpr/remote/CMakeLists.txt index f1360092ab72..aaf810101032 100644 --- a/tests/benchmarks/multicore/idle_flpr/remote/CMakeLists.txt +++ b/tests/benchmarks/multicore/idle_flpr/remote/CMakeLists.txt @@ -9,9 +9,9 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(remote) -target_sources(app PRIVATE src/main.c) +target_sources(app PRIVATE ../src/main.c) -if(DEFINED CONFIG_SOC_NRF54H20_CPUFLPR) - message(STATUS "Power Mode handler for RISC V is included.") - target_sources(app PRIVATE ../../common/power_off.c) +if(CONFIG_SOC_NRF54H20_CPUFLPR) + message(STATUS "Power Mode handler for RISC V is included.") + target_sources(app PRIVATE ../../common/power_off.c) endif() diff --git a/tests/benchmarks/multicore/idle_flpr/remote/boards/nrf54h20dk_nrf54h20_cpurad.overlay b/tests/benchmarks/multicore/idle_flpr/remote/boards/nrf54h20dk_nrf54h20_cpurad.overlay new file mode 100644 index 000000000000..01f3b2a257c7 --- /dev/null +++ b/tests/benchmarks/multicore/idle_flpr/remote/boards/nrf54h20dk_nrf54h20_cpurad.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2025 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +/ { + aliases { + led0 = &led1; + }; + + leds { + compatible = "gpio-leds"; + led1: led_1 { + gpios = < &gpio9 0x1 0x0 >; + label = "Green LED 1"; + }; + }; +}; + +&gpio9 { + status = "okay"; +}; + +&gpiote130 { + status = "okay"; + owned-channels = <1>; +}; diff --git a/tests/benchmarks/multicore/idle_flpr/remote/prj.conf b/tests/benchmarks/multicore/idle_flpr/remote/prj.conf index f12c630cd503..c8790df99d9a 100644 --- a/tests/benchmarks/multicore/idle_flpr/remote/prj.conf +++ b/tests/benchmarks/multicore/idle_flpr/remote/prj.conf @@ -7,5 +7,4 @@ CONFIG_NCS_BOOT_BANNER=n CONFIG_PRINTK=n CONFIG_ASSERT=y - -CONFIG_NRF_REGTOOL_VERBOSITY=1 +CONFIG_GPIO=y diff --git a/tests/benchmarks/multicore/idle_flpr/remote/prj_s2ram.conf b/tests/benchmarks/multicore/idle_flpr/remote/prj_s2ram.conf index 06ba0a25e575..1c41e0487fc4 100644 --- a/tests/benchmarks/multicore/idle_flpr/remote/prj_s2ram.conf +++ b/tests/benchmarks/multicore/idle_flpr/remote/prj_s2ram.conf @@ -1,3 +1,5 @@ +CONFIG_LOG=n + CONFIG_PM=y CONFIG_POWEROFF=y @@ -11,3 +13,4 @@ CONFIG_BOOT_BANNER=n CONFIG_NCS_BOOT_BANNER=n CONFIG_ASSERT=y +CONFIG_GPIO=y diff --git a/tests/benchmarks/multicore/idle_flpr/remote/src/main.c b/tests/benchmarks/multicore/idle_flpr/remote/src/main.c deleted file mode 100644 index fbeee9eaba05..000000000000 --- a/tests/benchmarks/multicore/idle_flpr/remote/src/main.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) 2025 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ -#include - -#include -LOG_MODULE_REGISTER(idle_flpr, LOG_LEVEL_INF); - -int main(void) -{ - LOG_INF("Multicore idle_flpr test on %s", CONFIG_BOARD_TARGET); - LOG_INF("Main sleeps for %d ms", CONFIG_TEST_SLEEP_DURATION_MS); - - return 0; -} diff --git a/tests/benchmarks/multicore/idle_flpr/src/main.c b/tests/benchmarks/multicore/idle_flpr/src/main.c index f2f0ffb441ae..9e8fd692847d 100644 --- a/tests/benchmarks/multicore/idle_flpr/src/main.c +++ b/tests/benchmarks/multicore/idle_flpr/src/main.c @@ -4,12 +4,16 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ #include -#include #include LOG_MODULE_REGISTER(idle_flpr, LOG_LEVEL_INF); +#if !defined(CONFIG_SOC_NRF54H20_CPUFLPR) +/* Unable to use GPIO Zephyr driver on FLPR core due to lack of GPIOTE interrupt. */ +#include + static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); +#endif /* Variables used to make CPU active for ~1 second */ static struct k_timer my_timer; @@ -23,11 +27,13 @@ void my_timer_handler(struct k_timer *dummy) int main(void) { int counter = 0; - int ret; LOG_INF("Multicore idle_flpr test on %s", CONFIG_BOARD_TARGET); LOG_INF("Main sleeps for %d ms", CONFIG_TEST_SLEEP_DURATION_MS); +#if !defined(CONFIG_SOC_NRF54H20_CPUFLPR) + int ret; + ret = gpio_is_ready_dt(&led); if (!ret) { LOG_ERR("LED is not ready"); @@ -39,6 +45,7 @@ int main(void) LOG_ERR("Unable to configure GPIO as output"); } __ASSERT(ret == 0, "Unable to configure GPIO as output\n"); +#endif k_timer_init(&my_timer, my_timer_handler, NULL); @@ -46,15 +53,20 @@ int main(void) while (1) { timer_expired = false; +#if !defined(CONFIG_SOC_NRF54H20_CPUFLPR) + /* Turn ON LED */ + ret = gpio_pin_set_dt(&led, 1); +#endif + /* start a one-shot timer that expires after 1 second */ k_timer_start(&my_timer, K_MSEC(1000), K_NO_WAIT); - /* Turn ON LED */ - ret = gpio_pin_set_dt(&led, 1); +#if !defined(CONFIG_SOC_NRF54H20_CPUFLPR) if (ret < 0) { LOG_ERR("Unable to turn on LED"); } __ASSERT(ret == 0, "Unable to turn on LED\n"); +#endif /* Keep CPU active for ~ 1 second */ while (!timer_expired) { @@ -62,15 +74,17 @@ int main(void) k_yield(); } + LOG_INF("Run %d", counter); + counter++; + +#if !defined(CONFIG_SOC_NRF54H20_CPUFLPR) /* Turn OFF LED */ ret = gpio_pin_set_dt(&led, 0); if (ret < 0) { LOG_ERR("Unable to turn off LED"); } __ASSERT(ret == 0, "Unable to turn off LED\n"); - - LOG_INF("Run %d", counter); - counter++; +#endif /* Sleep / enter low power state */ k_msleep(CONFIG_TEST_SLEEP_DURATION_MS); diff --git a/tests/benchmarks/multicore/idle_flpr/sysbuild.cmake b/tests/benchmarks/multicore/idle_flpr/sysbuild.cmake index 507cac537ade..06663b133324 100644 --- a/tests/benchmarks/multicore/idle_flpr/sysbuild.cmake +++ b/tests/benchmarks/multicore/idle_flpr/sysbuild.cmake @@ -7,7 +7,7 @@ # Add remote project ExternalZephyrProject_Add( APPLICATION remote_rad - SOURCE_DIR ${SYSBUILD_NRF_MODULE_DIR}/tests/benchmarks/power_consumption/common/remote_sleep_forever + SOURCE_DIR ${APP_DIR}/remote BOARD ${SB_CONFIG_BOARD}/${SB_CONFIG_SOC}/cpurad BOARD_REVISION ${BOARD_REVISION} ) diff --git a/tests/benchmarks/multicore/idle_flpr/testcase.yaml b/tests/benchmarks/multicore/idle_flpr/testcase.yaml index 2c724c7900f1..6dac9d7e13a0 100644 --- a/tests/benchmarks/multicore/idle_flpr/testcase.yaml +++ b/tests/benchmarks/multicore/idle_flpr/testcase.yaml @@ -22,13 +22,34 @@ tests: - "idle_flpr: Run 0" - "idle_flpr: Run 1" + + benchmarks.multicore.idle_flpr.idle_retained: + tags: ppk_power_measure + extra_args: + - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y + - idle_flpr_CONF_FILE=prj_s2ram.conf + - remote_flpr_CONF_FILE=prj_s2ram.conf + - remote_rad_CONF_FILE=prj_s2ram.conf + - idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_rad_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_flpr_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: ppk_power_measure + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_ppr_and_idle" + benchmarks.multicore.idle_flpr.idle: tags: ppk_power_measure extra_args: + - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y - idle_flpr_CONF_FILE=prj_s2ram.conf - remote_flpr_CONF_FILE=prj_s2ram.conf + - remote_rad_CONF_FILE=prj_s2ram.conf - idle_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 - remote_flpr_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_rad_CONFIG_TEST_SLEEP_DURATION_MS=500 - idle_flpr_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle.overlay" harness: pytest harness_config: @@ -39,8 +60,10 @@ tests: benchmarks.multicore.idle_flpr.s2ram: tags: ppk_power_measure extra_args: + - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y - idle_flpr_CONF_FILE=prj_s2ram.conf - remote_flpr_CONF_FILE=prj_s2ram.conf + - remote_rad_CONF_FILE=prj_s2ram.conf harness: pytest harness_config: fixture: ppk_power_measure diff --git a/tests/benchmarks/multicore/idle_ppr/testcase.yaml b/tests/benchmarks/multicore/idle_ppr/testcase.yaml index bfb283cc84bf..78d8ae10181c 100644 --- a/tests/benchmarks/multicore/idle_ppr/testcase.yaml +++ b/tests/benchmarks/multicore/idle_ppr/testcase.yaml @@ -19,6 +19,23 @@ tests: - "idle_ppr: Run 0" - "idle_ppr: Run 1" + benchmarks.multicore.idle_ppr.idle_retained: + tags: ppk_power_measure + extra_args: + - CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y + - idle_ppr_CONF_FILE=prj_s2ram.conf + - remote_rad_CONF_FILE=prj_s2ram.conf + - remote_ppr_CONF_FILE=prj_s2ram.conf + - idle_ppr_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_rad_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_ppr_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_ppr_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: ppk_power_measure + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_ppr_and_idle" + benchmarks.multicore.idle_ppr.idle: tags: ppk_power_measure extra_args: diff --git a/tests/benchmarks/multicore/idle_pwm_led/testcase.yaml b/tests/benchmarks/multicore/idle_pwm_led/testcase.yaml index b3e290a3c3fd..26bc64532c6b 100644 --- a/tests/benchmarks/multicore/idle_pwm_led/testcase.yaml +++ b/tests/benchmarks/multicore/idle_pwm_led/testcase.yaml @@ -22,6 +22,21 @@ tests: - "Multicore idle_pwm_led test iteration 0" - "Multicore idle_pwm_led test iteration 1" + benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle_retained: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_pwm_led_CONF_FILE=prj_s2ram.conf + - remote_CONF_FILE=prj_s2ram.conf + - idle_pwm_led_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_pwm_led_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: ppk_power_measure + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_idle" + benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle: filter: not CONFIG_COVERAGE tags: ppk_power_measure @@ -49,6 +64,22 @@ tests: pytest_root: - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_s2ram" + benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle_retained_fast: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_pwm_led_CONF_FILE=prj_s2ram.conf + - remote_CONF_FILE=prj_s2ram.conf + - idle_pwm_led_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_pwm_led_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast_p7_0.overlay" + - idle_pwm_led_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: ppk_power_measure + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_idle" + benchmarks.multicore.idle_pwm_led.nrf54h20dk_cpuapp_cpurad.idle_fast: filter: not CONFIG_COVERAGE tags: ppk_power_measure diff --git a/tests/benchmarks/multicore/idle_pwm_loopback/testcase.yaml b/tests/benchmarks/multicore/idle_pwm_loopback/testcase.yaml index 056eedc301f8..6f4abae408e2 100644 --- a/tests/benchmarks/multicore/idle_pwm_loopback/testcase.yaml +++ b/tests/benchmarks/multicore/idle_pwm_loopback/testcase.yaml @@ -23,6 +23,21 @@ tests: - "Iteration 0" - "Iteration 1" + benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.idle_retained: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_pwm_loopback_CONF_FILE=prj_s2ram.conf + - remote_CONF_FILE=prj_s2ram.conf + - idle_pwm_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_pwm_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_idle" + benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.idle: filter: not CONFIG_COVERAGE tags: ppk_power_measure @@ -64,6 +79,22 @@ tests: - "Iteration 0" - "Iteration 1" + benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.idle_retained_fast: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_pwm_loopback_CONF_FILE=prj_s2ram.conf + - remote_CONF_FILE=prj_s2ram.conf + - idle_pwm_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_pwm_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast_p7_1.overlay" + - idle_pwm_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_idle" + benchmarks.multicore.idle_pwm_loopback.nrf54h20dk_cpuapp_cpurad.idle_fast: filter: not CONFIG_COVERAGE tags: ppk_power_measure diff --git a/tests/benchmarks/multicore/idle_spim_loopback/src/main.c b/tests/benchmarks/multicore/idle_spim_loopback/src/main.c index 78d6cc1e1f4c..c63811f24892 100644 --- a/tests/benchmarks/multicore/idle_spim_loopback/src/main.c +++ b/tests/benchmarks/multicore/idle_spim_loopback/src/main.c @@ -166,6 +166,9 @@ int main(void) #endif LOG_INF("==================================================================="); + /* Arbitrary sleep to fix CI synchronization. */ + k_msleep(100); + ret = spi_is_ready_dt(&spim_spec); if (!ret) { LOG_ERR("Error: SPI device is not ready"); diff --git a/tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml b/tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml index 2bc98e8efb8c..a7951339ee6f 100644 --- a/tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml +++ b/tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml @@ -30,6 +30,19 @@ tests: - ".*Run 0 - PASS" - ".*Run 1 - PASS" + benchmarks.multicore.idle_spim_loopback.4_bytes.idle_retained: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_spim_loopback_CONF_FILE=prj_s2ram.conf + - idle_spim_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_spim_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_idle" + benchmarks.multicore.idle_spim_loopback.4_bytes.idle: filter: not CONFIG_COVERAGE tags: ppk_power_measure @@ -68,6 +81,20 @@ tests: - ".*Run 0 - PASS" - ".*Run 1 - PASS" + benchmarks.multicore.idle_spim_loopback.4_bytes.idle_retained_fast: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_spim_loopback_CONF_FILE=prj_s2ram.conf + - idle_spim_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay" + - idle_spim_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_idle" + benchmarks.multicore.idle_spim_loopback.4_bytes.idle_fast: filter: not CONFIG_COVERAGE tags: ppk_power_measure @@ -197,6 +224,20 @@ tests: - ".*Run 0 - PASS" - ".*Run 1 - PASS" + benchmarks.multicore.idle_spim_loopback.16_bytes.idle_retained: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_spim_loopback_CONF_FILE=prj_s2ram.conf + - idle_spim_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_spim_loopback_CONFIG_DATA_FIELD=16 + - idle_spim_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_idle" + benchmarks.multicore.idle_spim_loopback.16_bytes.idle: filter: not CONFIG_COVERAGE tags: ppk_power_measure @@ -239,6 +280,21 @@ tests: - ".*Run 0 - PASS" - ".*Run 1 - PASS" + benchmarks.multicore.idle_spim_loopback.16_bytes.idle_retained_fast: + filter: not CONFIG_COVERAGE + tags: ppk_power_measure + extra_args: + - idle_spim_loopback_CONF_FILE=prj_s2ram.conf + - idle_spim_loopback_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay" + - idle_spim_loopback_CONFIG_DATA_FIELD=16 + - idle_spim_loopback_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: spi_loopback + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_idle" + benchmarks.multicore.idle_spim_loopback.16_bytes.idle_fast: filter: not CONFIG_COVERAGE tags: ppk_power_measure diff --git a/tests/benchmarks/multicore/idle_wdt/testcase.yaml b/tests/benchmarks/multicore/idle_wdt/testcase.yaml index 771f4d2d3d7b..8aa3caa4a058 100644 --- a/tests/benchmarks/multicore/idle_wdt/testcase.yaml +++ b/tests/benchmarks/multicore/idle_wdt/testcase.yaml @@ -21,6 +21,20 @@ tests: - "Run 0" - "Run 1" + benchmarks.multicore.idle_wdt.nrf54h20dk_cpuapp_cpurad.idle_retained: + tags: ppk_power_measure + extra_args: + - idle_wdt_CONF_FILE=prj_s2ram.conf + - remote_CONF_FILE=prj_s2ram.conf + - idle_wdt_CONFIG_TEST_SLEEP_DURATION_MS=500 + - remote_CONFIG_TEST_SLEEP_DURATION_MS=500 + - idle_wdt_EXTRA_DTC_OVERLAY_FILE="${ZEPHYR_NRF_MODULE_DIR}/tests/benchmarks/multicore/common/workaround_idle_retained.overlay" + harness: pytest + harness_config: + fixture: ppk_power_measure + pytest_root: + - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_pwm_and_idle" + benchmarks.multicore.idle_wdt.nrf54h20dk_cpuapp_cpurad.idle: tags: ppk_power_measure extra_args: