-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snippets: Added snippet for Matter power consumption measurements
Matter requires some extra configuration for the power consumption measurements that are automatized. This change introduces snippet that simplifies it and adds dedicated variant in the sample.ymls. Signed-off-by: Kamil Kasperczyk <[email protected]>
- Loading branch information
1 parent
a14efda
commit 6b4c40f
Showing
7 changed files
with
74 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
snippets/matter-power-consumption-tests/boards/nrf54l15dk_nrf54l10_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Disable LEDs that lead to the current leakages | ||
CONFIG_NCS_SAMPLE_MATTER_LEDS=n | ||
|
||
# Disable watchdog that increases the sleep current | ||
CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=n | ||
|
||
# Increase MPSL calibration period to prevent too often CPU wake-ups. | ||
CONFIG_MPSL_CALIBRATION_PERIOD=60000 |
14 changes: 14 additions & 0 deletions
14
snippets/matter-power-consumption-tests/boards/nrf54l15dk_nrf54l15_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Disable LEDs that lead to the current leakages | ||
CONFIG_NCS_SAMPLE_MATTER_LEDS=n | ||
|
||
# Disable watchdog that increases the sleep current | ||
CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=n | ||
|
||
# Increase MPSL calibration period to prevent too often CPU wake-ups. | ||
CONFIG_MPSL_CALIBRATION_PERIOD=60000 |
13 changes: 13 additions & 0 deletions
13
snippets/matter-power-consumption-tests/power_consumption_tests.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# This is the configuration file used only for the purpose of Matter power consumption tests. | ||
|
||
# Enable pairing autostart to avoid issues with IO adapter | ||
CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y | ||
|
||
# Enable persistent subscriptions to automatically recover connection after reboot. | ||
CONFIG_CHIP_PERSISTENT_SUBSCRIPTIONS=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: power-consumption-tests | ||
append: | ||
EXTRA_CONF_FILE: power_consumption_tests.conf | ||
|
||
boards: | ||
nrf54l15dk/nrf54l15/cpuapp: | ||
append: | ||
EXTRA_CONF_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.conf | ||
nrf54l15dk/nrf54l10/cpuapp: | ||
append: | ||
EXTRA_CONF_FILE: boards/nrf54l15dk_nrf54l10_cpuapp.conf |