<?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>What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14518/what-is-the-startup-time-of-a-discrete-nrf51822-module-vs-nrf51-dk-board</link><description>I know this is somewhat &amp;quot;how long is a piece of string&amp;quot;. I&amp;#39;m happy for guidance rather than solid numbers: 
 I&amp;#39;m trying to spec a &amp;quot;keep alive&amp;quot; circuit for an nRF51822 project. The general principle is there is an LDO (with enable pin) that is first activated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jun 2016 13:26:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14518/what-is-the-startup-time-of-a-discrete-nrf51822-module-vs-nrf51-dk-board" /><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55434?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a2ee6ab-8054-4ad9-a37a-b5a0b4de1c93</guid><dc:creator>seajayshore</dc:creator><description>&lt;p&gt;OK great. I&amp;#39;ll take a look at doing this when I get a better moment. Thanks for the help so far!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m at least satisfied that I can beat the ~40ms downtime easily with simple hardware, having learned more about the nRF51&amp;#39;s clocks etc. now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55429?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6739cc90-8d3d-44c1-bdf8-c97361c4b637</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Supplying it that high is out of spec and will reduce device lifetime, it is likely that it will still function, but if you start to experience odd errors it can be worth trying to change chips. If you do not want to share code in a public forum we also have a closed support portal called &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55433?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f3a05b-c43a-4bcc-8356-637f6093c005</guid><dc:creator>seajayshore</dc:creator><description>&lt;p&gt;To the 2nd part of your comment. I agree it&amp;#39;s probably code related, thanks for your second opinion. I have infact done something similar to what you suggest by adding a simple RC-discharge combination to the enable pin (so that a capacitor keeps enable voltage high enough during this brief GPIO off period).
That&amp;#39;s all working quite nicely now. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55432?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e49608-3fd3-4525-a411-8724c61642be</guid><dc:creator>seajayshore</dc:creator><description>&lt;p&gt;The voltage drop at the end of scope is due to the battery supply being ~4V that connects briefly to the enable pin, via the button which is also connected to a GPIO of the nRF51. I stupidly forgot to put some protection on this GPIO when I took this photo...
Oddly the blue line, that responds with a higher-than-expected voltage exactly in sync with this higher supply voltage, is not connected to the enable pin. It&amp;#39;s the response GPIO I&amp;#39;m using to test start-up times... Is there a chance that applying this too-high voltage to the other GPIO pin has affected how the other GPIO pins work? Or the nRF51 as a whole?
The ~4V is obviously greater than recommended VDD+0.3V max. rating (so I&amp;#39;m correcting this in any case).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55431?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:245f2504-a992-4e63-90a4-066fc1d09ab5</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s hard to say without seeing your code, I am also concerned about the voltage drop that occurs towards end of the scope reading.&lt;/p&gt;
&lt;p&gt;This is very likely code related, however a simple hardware fix is to add a capacitor at the output so that you are not so vulnerable to GPIO bouncing.&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55430?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 12:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b75df3-c8d8-4fc0-9218-b77a32949363</guid><dc:creator>seajayshore</dc:creator><description>&lt;p&gt;Hi Øyvind,&lt;/p&gt;
&lt;p&gt;Thanks v. much for your response. I worked further on this yesterday after posting and, from reading other related questions and playing with an oscilloscope I have confirmed exactly what you said.&lt;/p&gt;
&lt;p&gt;Switching to the internal RC clock helped but seems to reduce start-up to ~100ms, not ~400us... But this could be due to some timeout code I&amp;#39;m not noticing however so I wouldn&amp;#39;t worry about this.&lt;/p&gt;
&lt;p&gt;As you suggested I now toggle the GPIO before any clock setup code and a solid &amp;lt;1ms response seems normal! Success!&lt;/p&gt;
&lt;p&gt;However I now have a different issue. At ~100ms after initial response the GPIO pin drops to 0V for ~40ms (killing the LDO if I don&amp;#39;t keep the button held).&lt;/p&gt;
&lt;p&gt;What could be causing this?? Anything hardware-based? Or do you think odd mbed initialisation stuff...?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a link to my scope reading: &lt;a href="http://imgur.com/lnCCGYu"&gt;http://imgur.com/lnCCGYu&lt;/a&gt;
Blue line is response GPIO, yellow is power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55428?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 11:50:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:690523a9-95e7-4a92-87c9-31f382df0847</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The startup you&amp;#39;re seeing is the low frequency clock which has a typical startup time of 0.3s. Please see the below logic analyzer trace where channel 0 is the toggled GPIO and channel 1 is the power. First with initialization of the LF-clock. (300 ms measured)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DK_5F00_init_5F00_time.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Then without initialization of the LF-clock. (0.8 ms measured)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/no_5F00_lfclk.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;For your application you can toggle the GPIO before starting the LF-clock. Or if you have a particularly need for clocking right at the start you can use the RC clock, which has a startup time of ~400 µs, before initializing your LF crystal later.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the startup time of a discrete nRF51822 module vs nRF51-DK board?</title><link>https://devzone.nordicsemi.com/thread/55427?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2016 14:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2c93296-ae93-4a4f-b413-0b668dd7052f</guid><dc:creator>seajayshore</dc:creator><description>&lt;p&gt;BTW: I&amp;#39;m currently using mbed code to develop this. If there is some big overhead in mbed code execution causing this then perhaps someone could explain?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>