From 0ca63ef8829adf9d106c2d1f652df8484b1e8219 Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Fri, 8 Nov 2024 09:27:32 +0100 Subject: [PATCH 1/2] samples: reduce power consumption [KRKNWK-16882] Signed-off-by: Krzysztof Taborowski --- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 6 ++++++ .../boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay | 6 ++++++ samples/sid_end_device/prj_release.conf | 1 + 3 files changed, 13 insertions(+) diff --git a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay index 4ccfdf8775..b0880eac4a 100644 --- a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay @@ -83,12 +83,18 @@ sid_semtech: &spi30 { &i2c20 { status = "disabled"; }; +&spi00 { + status = "disabled"; +}; &spi20 { status = "disabled"; }; &spi22 { status = "disabled"; }; +&mx25r64 { + status = "disabled"; +}; // TODO: re-enable HWFC once it's fixed &uart20 { diff --git a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay index baf527fc41..e0c601967c 100644 --- a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay +++ b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp_ns.overlay @@ -83,12 +83,18 @@ sid_semtech: &spi30 { &i2c20 { status = "disabled"; }; +&spi00 { + status = "disabled"; +}; &spi20 { status = "disabled"; }; &spi22 { status = "disabled"; }; +&mx25r64 { + status = "disabled"; +}; // TODO: re-enable HWFC once it's fixed &uart20 { diff --git a/samples/sid_end_device/prj_release.conf b/samples/sid_end_device/prj_release.conf index fc82fd5e12..9eb402b773 100644 --- a/samples/sid_end_device/prj_release.conf +++ b/samples/sid_end_device/prj_release.conf @@ -26,6 +26,7 @@ CONFIG_ASSERT_VERBOSE=n CONFIG_ASSERT_NO_FILE_INFO=y CONFIG_PRINTK_SYNC=n CONFIG_THREAD_NAME=n +CONFIG_ASSERT=n # Power Management CONFIG_PM_DEVICE=y From 50be90b5b6f96627c07f9323ca6992aa449e8789 Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Tue, 12 Nov 2024 13:26:43 +0100 Subject: [PATCH 2/2] samples: remove state notifier leds reduce power consumption in idle for registered device around 8 uA less Signed-off-by: Krzysztof Taborowski --- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 7 ------- 1 file changed, 7 deletions(-) diff --git a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay index b0880eac4a..1ccedfa094 100644 --- a/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ b/samples/sid_end_device/boards/nrf54l15dk_nrf54l15_cpuapp.overlay @@ -5,13 +5,6 @@ */ /{ - aliases { - state-notifier-connected = &led0; - state-notifier-time-sync = &led1; - state-notifier-registered = &led2; - state-notifier-working = &led3; - }; - semtech_sx1262_gpios{ compatible = "gpio-keys"; semtech_sx1262_reset_gpios: reset {