<?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>Excessively long boot time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87970/excessively-long-boot-time</link><description>Hi, 
 I was measuring the time it takes to boot to my application based on the nRF52832 and the time I measured was excessively long. 
 I&amp;#39;m using a PicoScope DSO for observing: 
 Channel B : P0.19 (LED3). 
 Channel C: P0.13 (BTN1). 
 Operation is simple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2022 08:34:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87970/excessively-long-boot-time" /><item><title>RE: Excessively long boot time</title><link>https://devzone.nordicsemi.com/thread/368231?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 08:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:104ea64f-045c-475c-84bc-0e6d88341ac3</guid><dc:creator>V.Lorz</dc:creator><description>&lt;p&gt;Thanks Einar for mentioning &lt;code&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Excessively long boot time</title><link>https://devzone.nordicsemi.com/thread/368214?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 07:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13a9cc0-f919-450d-8cbf-5a5614618ff6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you note, system OFF is a special low power mode that is only suitable for some applications in some specific cases.&amp;nbsp; With system on low power mode you also get a sleep current town to a few micro amps when you disable all peripherals you don&amp;#39;t need. Wakeup from system on is fast, and there is no reset involved.&lt;/p&gt;
&lt;p&gt;A wakeup from system OFF on the other hand always involves a reset, and this means reconfiguring the IC from scratch. It also involves starting the 32.768 kHz oscillator again, which takes a long time if you use the (optional) 32.768 kHz crystal (instead of LFRC). This has a typical startup time of 250 ms, but it can also be longer. I expect this constitutes the vast majority of the startup time you are seeing (you can check this by testing with&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y to see if is reduced).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Excessively long boot time</title><link>https://devzone.nordicsemi.com/thread/368203?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 07:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cfc4ea6-7b85-4909-b9e3-94bfddd5ae0c</guid><dc:creator>V.Lorz</dc:creator><description>&lt;p&gt;I&amp;#39;ll share what I&amp;#39;ve found about this.&lt;/p&gt;
&lt;p&gt;System OFF is, to my opinion, appropriated for applications like a mouse or a keyboard, where a 300ms boot time poses little to no inconvenient for the first move or keystroke, but not for other applications, like mine.&lt;/p&gt;
&lt;p&gt;It takes so long to boot due to the time required for initialising everything and for starting the 32KHz crystal oscillator. It is possible to obtain better boot times using the internal RC oscillator, still not good for my application.&lt;/p&gt;
&lt;p&gt;The alternative is to use System ON low power mode, shutting down all non required peripherals. Using zephyr, this is mode is entered automatically when all tasks are put to sleep. This option is working for me, yet current consumption is a bit higher.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>