<?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>16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19247/16mhz-crystal-current-with-softdevice</link><description>Hi, 
 As stated here : 
 
 After manually starting the HFCLK
crystal it will be enabled even though
there are no peripherals requesting
the HFCLK. When no peripherals request
the crystal it will reside in standby
mode where the current consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2017 11:31:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19247/16mhz-crystal-current-with-softdevice" /><item><title>RE: 16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/74567?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 11:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c245bfad-9fce-45dc-b646-32e8cbdfba0c</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; When the softdevice is enabled, it will turn off the HFCLK (HFXO) when when it has finished the radio operation. And that can collide with your requirements for the timer? Your timer needs to run off the HFXO, right? To make sure that the HFXO is not turned off by the softdevice, you should turn it on before enabling the softevice:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
// wait for HFCLK to start
ble_stack_init();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The HFXO should then go into standby mode when it is not being used.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; I think you would need to use nrf_drv_disable(..) (NRF_TIMER-&amp;gt;TASKS_SHUTDOWN) to &amp;quot;release&amp;quot; the HFCLK, because it is needed for the chip to enter system ON.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3)&lt;/strong&gt; Yes, the crystal will use &amp;quot;startup-current&amp;quot;  for &amp;quot;startup-time&amp;quot; time.  The crystal specific characteristics will affect the startup-time of the crystal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/74566?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 18:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d836b6f-a1bb-4b24-86cd-aba5b0139d50</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;Can you please provide a clear answer to item 1, and confirm if 2&amp;amp;3 are correct  (example was provided just to show what the blocks that I need are):&lt;/p&gt;
&lt;p&gt;1- When Softdevice is enabled, can we expect the same automatic procedure of putting HFXO into standby or we have to use sd_clock_hfclk_release and do it manually? (please put aside whatever extra power is in standby, does the system put the HFXO in standby with SD enabled or not?)&lt;/p&gt;
&lt;p&gt;2- My understanding is that&amp;quot;STOPPING the timer&amp;quot; is enough to tell the system that HFCLK is no longer needed. Is this true? or we should do some other things like disabling the timer interrupt or...&lt;/p&gt;
&lt;p&gt;3- Based on Table 22, the startup current for 16MHz XO is 1.1 mA. I assume this current is drawn during the whole startup time of 800usec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/74565?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 12:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e187373-4ec1-4a40-8418-3cfb8deedfdd</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see. I would recommend you to use the 32 MHz crystal (HFXO)  during the 50 ms timing. During the 450 ms, I would recommend you to turn off the HFXO, and turn it on approximately 1 ms before the next time you need it. Having the HFXO in standby mode for 450 ms will use quite a bit of extra current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/74564?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 15:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:508040eb-ccaf-4683-a8b9-a8723137adf5</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;Ok, maybe I should clarify more. Due to my application needing more accuracy in time I HAVE to turn on the timer and use the HFCLK. So, please assume that due to whatever reason, we need to run the timer. In this case what will be the answer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 16MHz Crystal Current with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/74563?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 10:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959d2ef9-fba9-4e63-add1-f49469cf85ac</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The RTC uses the LFCLK, so there is no need to start the HFCLK when using the RTC. When the softdevice is enabled, the LFCLK will run all the time, so no additional timer needs to be started to use the RTC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>