<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122917/high-current-consumption-in-the-template-matter-sample</link><description>I have followed the guide Adding clusters to Matter application to add two TemperatureMeasurement clusters to the Template sample. 
 I have flashed this onto an nRF52840-DK and hooked up a PPKII to the External Supply. I have switched SW6 to nRF ONLY</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jul 2025 20:33:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122917/high-current-consumption-in-the-template-matter-sample" /><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542812?ContentTypeID=1</link><pubDate>Thu, 17 Jul 2025 20:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bf8ab3-c27a-49d9-b02b-e2d864b1decc</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Check out&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/protocols/matter/getting_started/low_power_configuration.html#short_idle_time_and_long_idle_time_devices"&gt;Short idle time and long idle time devices&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542700?ContentTypeID=1</link><pubDate>Thu, 17 Jul 2025 05:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f791edf2-3b2c-4615-a74b-e6595638f831</guid><dc:creator>Tom McGuinness</dc:creator><description>&lt;p&gt;Any other suggestions on the LIT configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542641?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 12:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd82f9a1-c09a-404b-b905-a547a140d44e</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Tom McGuinness"]That improved things. The one second spikes are gone now, but the radio is still turning on every 15 seconds, rather than 30.[/quote]
&lt;p&gt;Good to hear that. Sounds like the&amp;nbsp;&lt;span&gt;one-second spikes are unrelated to the&amp;nbsp;internal RC oscillator.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542613?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 08:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ab28571-3bf5-434e-aa20-369cd3fbbb16</guid><dc:creator>Tom McGuinness</dc:creator><description>&lt;p&gt;Thanks Amanda,&lt;/p&gt;
&lt;p&gt;I have checked the OPENTHREAD settings using menuconfig.&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT=240&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT=190&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_CHILD_SUPERVISION_INTERVAL=129&lt;/p&gt;
&lt;p&gt;I believe this are the default values.&lt;/p&gt;
&lt;p&gt;I had actually removed the&amp;nbsp;CONFIG_OPENTHREAD_MTD setting, so I restored that! D&amp;#39;oh!&lt;/p&gt;
&lt;p&gt;That improved things. The one second spikes are gone now, but the radio is still turning on every 15 seconds, rather than 30.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1752653849389v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, setting CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION to n as per the post resulted in a compilation error. I have got&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC set to y.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;/home/tomasmcguinness/ncs/v3.0.2/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: &amp;quot;MPSL requires clock calibration to be enabled when RC is used as LFCLK&amp;quot;
   87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR), &amp;quot;&amp;quot; MSG)
      |                                    ^~~~~~~~~~~~~~
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:382:9: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;
  382 |         BUILD_ASSERT(IS_ENABLED(CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION),
      |         ^~~~~~~~~~~~
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:388:30: error: &amp;#39;CONFIG_MPSL_CALIBRATION_PERIOD&amp;#39; undeclared (first use in this function)
  388 |         clock_cfg.rc_ctiv = (CONFIG_MPSL_CALIBRATION_PERIOD * 4 / 1000);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:388:30: note: each undeclared identifier is reported only once for each function it appears in
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:389:34: error: &amp;#39;CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP&amp;#39; undeclared (first use in this function)
  389 |         clock_cfg.rc_temp_ctiv = CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP + 1;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:390:22: error: &amp;#39;CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF&amp;#39; undeclared (first use in this function)
  390 |         BUILD_ASSERT(CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF == 2,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tomasmcguinness/ncs/v3.0.2/zephyr/include/zephyr/toolchain/gcc.h:87:52: note: in definition of macro &amp;#39;BUILD_ASSERT&amp;#39;
   87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR), &amp;quot;&amp;quot; MSG)
      |                                                    ^~~~
/home/tomasmcguinness/ncs/v3.0.2/zephyr/include/zephyr/toolchain/gcc.h:87:51: error: expression in static assertion is not an integer
   87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR), &amp;quot;&amp;quot; MSG)
      |                                                   ^
/home/tomasmcguinness/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:390:9: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;
  390 |         BUILD_ASSERT(CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF == 2,
      |         ^~~~~~~~~~~~&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We&amp;#39;re making progress!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542579?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2025 19:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f66d29b9-fefd-4e89-ba2d-0f25ba54a7f4</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Tom McGuinness"]#1 I have set&amp;nbsp;CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL to 30000, but as you can see in the PPKII graph above, the radio seems to turn on every 15 seconds.[/quote]
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;To ensure that the SED device wakes up exactly at every poll period, set the following Kconfig options to the value greater than the poll period value (for Matter ICD&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL"&gt;&lt;code&gt;&lt;span&gt;CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT"&gt;&lt;code&gt;&lt;span&gt;CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT"&gt;&lt;code&gt;&lt;span&gt;CONFIG_OPENTHREAD_CHILD_SUPERVISION_CHECK_TIMEOUT&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_OPENTHREAD_CHILD_SUPERVISION_INTERVAL"&gt;&lt;code&gt;&lt;span&gt;CONFIG_OPENTHREAD_CHILD_SUPERVISION_INTERVAL&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/matter/getting_started/low_power_configuration.html#child_timeouts_configuration"&gt;Child timeouts configuration&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user="Tom McGuinness"]#2 There is a 3mA spike every one second. I have a single timer, configured to run at 10 second intervals. I configure the timer in AppTask::Init() and start it in AppTask::StartApp()[/quote]
&lt;p&gt;&lt;span&gt;Are you using the internal RC oscillator (&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/code&gt;&lt;span&gt;)? If so, check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109708/ncs-2-6-0-low-power/476117"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542461?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2025 05:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7c62fd6-eedb-4668-a251-5070f676cf62</guid><dc:creator>Tom McGuinness</dc:creator><description>&lt;p&gt;I&amp;#39;m using NCS 3.0.2&lt;/p&gt;
&lt;p&gt;I have followed that guide and made significant reductions. I&amp;#39;m not quite sure which setting removed the 500&lt;span&gt;&amp;micro;A, but a pristine build resulted in the reduction.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That said,&amp;nbsp;&lt;/span&gt;I still have two issues which I need help with.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1752557177995v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#1 I have set&amp;nbsp;CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL to 30000, but as you can see in the PPKII graph above, the radio seems to turn on every 15 seconds.&lt;/p&gt;
&lt;p&gt;#2 There is a 3mA spike every one second. I have a single timer, configured to run at 10 second intervals. I configure the timer in AppTask::Init() and start it in AppTask::StartApp()&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CHIP_ERROR AppTask::Init()
{
...
k_timer_init(&amp;amp;sSensorTimer, &amp;amp;SensorTimerHandler, nullptr);
k_timer_user_data_set(&amp;amp;sSensorTimer, this);
...
}

CHIP_ERROR AppTask::StartApp()
{
	ReturnErrorOnFailure(Init());	

	k_timer_start(&amp;amp;sSensorTimer, K_MSEC(10000), K_MSEC(10000));

	while (true)
	{
		Nrf::DispatchNextTask();
	}

	return CHIP_NO_ERROR;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you help with these two questions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542434?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 18:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:979de380-f301-4e9a-a535-923b8c3d12ae</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What NCS version are you using? Please&amp;nbsp;check out this guide&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/protocols/matter/getting_started/low_power_configuration.html"&gt;Reducing power consumption in Matter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current consumption in the Template Matter sample</title><link>https://devzone.nordicsemi.com/thread/542272?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 16:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fc00d42-d191-4a71-b5c1-7db5050153c5</guid><dc:creator>Tom McGuinness</dc:creator><description>&lt;p&gt;I&amp;#39;m also seeing spikes every 15 seconds, despite the fact nothing is happening.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1752251765005v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;The config for ICD is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CHIP_ICD_IDLE_MODE_DURATION=300
CONFIG_CHIP_ICD_ACTIVE_MODE_DURATION=300
CONFIG_CHIP_ICD_SLOW_POLL_INTERVAL=300000
CONFIG_CHIP_ICD_FAST_POLLING_INTERVAL=500&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d expect to see the spikes at 30 second intervals, matching the SLOW_POLL_INTERVAL&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>