<?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>Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49835/clock-source-power-consumption-in-sleep-mode</link><description>I am using nRF52832 SDK 15.2. 
 I would like to avoid using the 32.768kHz oscillator to save space and cost. 
 I am using BLE and sleep mode ON. 
 I defined in sdk_config.h the following: 
 1. #define CLOCK_CONFIG_LF_SRC 0 (source RC) 
 2. #define NRF_SDH_CLOCK_LF_SRC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2019 14:06:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49835/clock-source-power-consumption-in-sleep-mode" /><item><title>RE: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/199326?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 14:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4226192-4b4f-4e0c-962d-09acea8f3d3e</guid><dc:creator>arikramon</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/199303?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 13:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa66ed48-6a1b-408e-894a-d147c2c1f038</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Then you&amp;#39;re already using the RTC, correct? So timer-wise I guess that would be the best way to do it. But you could still make the application wake up by the press of a button too. These cases also have examples on how to sleep using FreeRTOS: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39549/how-to-enable-and-disable-freertos-tickless-idle-anyway-to-wakeup-when-there-is-ble-activities-detected"&gt;tickless-idle mode&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39327/ble_app_hrs_freertos-how-to-enter-idle-like-this-idle_state_handle"&gt;Idle_state_handle&lt;/a&gt;.&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: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/199228?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 11:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4db930b-5361-46dd-8225-a2ee4754ae94</guid><dc:creator>arikramon</dc:creator><description>&lt;p&gt;This is FreeRtos function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/199155?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 08:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5459b353-d7ea-484a-bf74-3fa8c6022ff8</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;What timer are you using for this? The RTC is the only timer that can do this for you without using the HFCLK, so I suggest using that if you don&amp;#39;t already. You could also make your application wake up at the press of a button.&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: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/199102?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 03:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e304083f-b7b5-418d-960a-595635433821</guid><dc:creator>arikramon</dc:creator><description>&lt;p&gt;Thanks Simon&lt;/p&gt;
&lt;p&gt;Regarding answer #2: I enter sleep mode in order to wake up by a timer using xTaskNotifyWait.&lt;/p&gt;
&lt;p&gt;Is there a better way of doing it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Arik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clock source, power consumption in sleep mode</title><link>https://devzone.nordicsemi.com/thread/198641?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 08:33:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3de72815-6b53-47f6-a161-e8eb0bc10eaa</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Arik&lt;/p&gt;
&lt;p&gt;1. Yes, but synthesizing the 32.768 kHz clock only makes sense if the external 16MHz crystal is running, and you&amp;#39;ll have to start that before enabling the LF clock in this instance. The RC clock will be a much better option to achieve a longer battery life in this instance.&lt;/p&gt;
&lt;p&gt;2. Does the 610uA occur when using the RC clock as well? Because that should not be the case in System ON mode unless you&amp;#39;re using a TIMER to wake up the device. Using the RTC would be a better option, as it uses the LFCLK and not the HFCLK.&lt;/p&gt;
&lt;p&gt;When using the synthesized LF clock an HF clock will be running at all times which will use 250-470uA depending on the usage. I assume there is a peripheral/timer that isn&amp;#39;t uninitialized properly that&amp;#39;s causing the 610uA current consumption.&lt;/p&gt;
&lt;p&gt;Due to the summer holidays in Norway, our support team is understaffed this week, and delayed replies must be expected. Sorry for the inconvenience!&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>