<?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>Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38849/hardware-driven-interrupt-wake-up</link><description>Would like to know how quickly the nRF51822 evaluation board wakes-up, after receiving an external hardware interrupt. Speifically, how fast can the evaluation begin making A/D measurements after waking-up from an external interrupt? The initial conditions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Sep 2018 07:51:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38849/hardware-driven-interrupt-wake-up" /><item><title>RE: Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/thread/150387?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 07:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:209a037c-a4ba-4888-824a-969717ced761</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The timing specifications for ADC is given on &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.3.pdf#page=61"&gt;page 61 of the product specifications&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/thread/150341?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 20:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c972f94-a074-44b9-8dfe-30ffdcd8231d</guid><dc:creator>Roger_PiSq</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;again J&amp;oslash;rgen.&lt;/p&gt;
&lt;p&gt;Is there a timing diagram of A/D measurement initiation (by code) - to - A/D measurement completion?&lt;/p&gt;
&lt;p&gt;If not, I will use the GPIO stimulus method you described, to measure the time intervals between process steps.&lt;/p&gt;
&lt;p&gt;Have a good evening.&lt;/p&gt;
&lt;p&gt;-Roger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/thread/150332?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 19:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03821622-c707-4e79-aebd-240e96f8e723</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&lt;span&gt;The 4.2us timing you refer to is Startup time for the 16MHz RC oscillator when in&amp;nbsp;System&amp;nbsp;ON (HFCLK stopped) to CPU execute, which is typical 4.2us, maximum 5.2us as specified in table 24 on &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.3.pdf#page=43"&gt;page 43&lt;/a&gt;. System ON and System OFF are different sleep modes, see &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.1.pdf#page=44"&gt;page 44 of the Reference Manual&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/thread/150311?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 15:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9537e7fd-0c90-4e32-917c-2b9024c66fc8</guid><dc:creator>Roger_PiSq</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;J&amp;oslash;rgen.&lt;/p&gt;
&lt;p&gt;I hadn&amp;#39;t found the &lt;span style="color:#333333;font-family:MyriadPro-Regular;font-size:xx-small;" lang="JA"&gt;t&lt;/span&gt;&lt;span style="color:#333333;font-family:MyriadPro-Regular;font-size:xx-small;" lang="JA"&gt;OFF2ON&lt;/span&gt; reference you provided (OFF to CPU execute. 9.6 10.6&amp;mu;s).&amp;nbsp; I would have&amp;nbsp;thought that &amp;quot;OFF&amp;quot; means not powered.&amp;nbsp; Is this a reference to interrupt driven wake-up time?&lt;/p&gt;
&lt;p&gt;I had seen the &amp;quot;4.2 &amp;mu;s wake-up&amp;quot; (using 16 MHz RCOSC) and some nRF51822 wake-up&amp;nbsp;blog discussions.&amp;nbsp; The difference between 9.6&amp;mu;s (OFF to CPU execute) and 4.2&amp;mu;s (wake-up) would make sense from the stand-point of less time needed for wakeup (than turn-on, from off) execution readiness.&lt;/p&gt;
&lt;p&gt;If I have the right understanding of the basic difference between 4.2&amp;mu;s versus 9.6&amp;mu;s (see above), then I would like to know if &amp;quot;wake-up&amp;quot; also means that the&amp;nbsp;CPU is ready to execute, with all system resources available and ready for immediate use.&amp;nbsp; (i.e. What is the state of readiness when wake-up has been achieved?)&lt;/p&gt;
&lt;p&gt;Is there a timing diagram of A/D measurement initiation (by code) - to - A/D measurement completion?&lt;/p&gt;
&lt;p&gt;I will do as you suggest, related to making specific timing measurements.&amp;nbsp; Thank you very much for your reply, and&amp;nbsp;the examples.&lt;/p&gt;
&lt;p&gt;-Roger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardware-Driven Interrupt wake-up</title><link>https://devzone.nordicsemi.com/thread/150193?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 08:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30dac32f-adc4-4917-aeeb-4076b62435b5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you are talking about wakeup from System OFF sleep mode? The wakeup time is given in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.3.pdf#page=47"&gt;product specifications&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f5d2f5940eb54e82a2890bdaf73493a6/nrf51822_5F00_wakeup.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you want to measure time until you are done setting up ADC, you need to measure this yourself. Set a GPIO at the point where you are done with configuration, and measure the time between the interrupt pin rise and the GPIO using a logic analyzer.&lt;/p&gt;
&lt;p&gt;In the SDK there is a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/pin_change_int_example.html?cp=4_0_7_4_5_16"&gt;pin&amp;nbsp;change interrupt example&lt;/a&gt;, but this does not go to System OFF mode. &lt;a href="https://github.com/NordicPlayground/nrf51-powerdown-examples"&gt;These examples&lt;/a&gt; on our GitHub might be helpful.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>