<?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>current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57723/current-consumption-of-the-radio-module-in-sleep-mode</link><description>Hello, 
 I am developing an IEEE802.15.4 Beacon with the nRF52840-DK, SDK 16 and the nRF-IEEE-802.15.4-radio-driver . My problem is that the consumes ~400uA of current in sleep mode, deiniting the driver doesn&amp;#39;t make a difference. With Radio disabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2020 11:48:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57723/current-consumption-of-the-radio-module-in-sleep-mode" /><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234620?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 11:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffbc2c8b-5103-499a-b6b4-b8d205d397fe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Nice catch! I didn&amp;#39;t realize that this was used in the 802.15.4 driver at all, and it seems like the driver doesn&amp;#39;t actually stop it when going to sleep at all. Great job!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234588?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 09:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:061be0b2-8d14-4fde-9b52-f0186b5a5ea9</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;because trying to&amp;nbsp; stop the hf clock didn&amp;#39;t seem to lead to something I startes looking from the other side. I&amp;nbsp;investigated&amp;nbsp;nrf_802154_init() and found that the current rises after NRF_RNG-&amp;gt;TASKS_START=1 in nrf_802154_random_init(). So&amp;nbsp;now I call NRF_RNG-&amp;gt;TASK_STOP=1 after sending the radio to sleep and everything&amp;nbsp;seems to be fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234557?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 07:58:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8e5ead-c74e-4a17-909c-cfa49ab17fee</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;nrf_802154_deinit() [driver/.../nrf_802154.h] calls nrf_802154_clock_deinit() [driver/.../nrf_802154_clock_sdk.c] which calls nrf_drv_clock_uninit() [sdk/.../nrf_drv_clock.c]&lt;/p&gt;
&lt;p&gt;I attach my actual Makfile where I removed all unnecessary src files and include paths.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8231.Makefile.zip"&gt;devzone.nordicsemi.com/.../8231.Makefile.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234549?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 07:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d96770-dec9-4476-9d08-a5816cc34a60</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;And does the nrf_drv_clock_uninit() function call the&lt;strong&gt;&amp;nbsp;nrfx_clock_disable();&amp;nbsp;&lt;/strong&gt;&amp;amp;&amp;nbsp;&lt;strong&gt;nrfx_clock_uninit();&amp;nbsp;&lt;/strong&gt;functions. I see that the nrf_drv_clock_uninit() functions isn&amp;#39;t actually defines in the 802.15.4 driver itself, so this will have to be integrated from the SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234465?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 15:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a88ee4ab-51ed-4694-9841-aeb974a8d119</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;I changed the Makefile to use&amp;nbsp;nrf_802154_clock_sdk.c instead of&amp;nbsp;nrf_802154_clock_nodrv.c then nrf_drv_clock_uninit() is called, but the current is stil at ~430uA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234431?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 13:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24442f06-4c4c-41ee-b117-b363c4a65557</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, I don&amp;#39;t know how I missed that. In any case, it seems that the nrf_802154_sleep() function doesn&amp;#39;t actually disable the HF clock in any way, at least as far as I can see. The nrf_802154_deinit() function, however, does disable and uninit the HF clock if it is added to an SDK correctly. It ends up calling the nrf_drv_clock_uninit, which is defined in the nrf_drv_clock.c file in SDK v.16.0.0. Can you check whether that function is actually called (set a breakpoint) when debugging to make sure it is called when you use the deinit function?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234363?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 10:37:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c3358f9-7c37-49be-b777-1e9595ea6f5d</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the nrf_802154_...() functions are Nordic radio driver functions (link to github in the first post). I added a .zip with the project including makefile, sdk_config.h and linker script.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test_5F00_firmware.zip"&gt;devzone.nordicsemi.com/.../test_5F00_firmware.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234352?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 09:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aaf23a3-1e9e-4906-a012-ecd03316594c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, can you show me what these functions actually do, as I have no way of seeing how you go to sleep or deinitialize your radio with the current information?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234225?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 14:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0839621a-b716-4168-8091-7c7ac7d09ee6</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I call nrf_802154_sleep() or&amp;nbsp;&lt;span&gt;nrf_802154_deinit(), but it doesn&amp;#39;t make any difference because the seems to initilize into sleep state and neither sleep() nor deinit() stops the timer. I tried stoping the timer with&amp;nbsp;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;NRF_TIMER0&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;TASKS_STOP&lt;/span&gt;&lt;span style="font-family:inherit;"&gt; = &lt;/span&gt;&lt;span style="font-family:inherit;"&gt;1, that worked in the timer example but didn&amp;#39;t help here. How do I stop the timer in the radio driver.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;I think the spikes are comming from the DC/DC converter as explained in this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23865/strange-current-spikes-in-nrf52-with-rtc-only"&gt;thread&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current consumption of the radio Module in sleep mode</title><link>https://devzone.nordicsemi.com/thread/234202?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 14:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894e1d9a-0dde-470e-9148-00c64e4c6f0d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A current consumption of ~400µA typically means that the HF clock is running for some reason, so there is likely a peripheral using the HF clock that is not uninitialized properly. I see that you call nrf_802154_sleep(); before nrf_802154_deinit(); which might be the reason you&amp;#39;re not able to go to sleep. Try uninitializing the radio&amp;nbsp;&lt;strong&gt;before&amp;nbsp;&lt;/strong&gt;going to sleep.&lt;/p&gt;
&lt;p&gt;The spikes when the radio is disabled likely means that the HF clock wakes up to check/do something. Do you have a timer running on the LF clock that wakes up the HF clock to do something every now and then?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>