<?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>Read ADC in ACTIVE event nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2498/read-adc-in-active-event-nrf51822</link><description>Hi, 
 Today I use the app timer to start a simple 8bit ADC conversion each second and send in the irq handler. 
 Now I am trying to use the sw interrupt to execute some code (ADC) prior to SoftDevice110 radio send/recv to avoid needing to startup the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 May 2014 12:49:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2498/read-adc-in-active-event-nrf51822" /><item><title>RE: Read ADC in ACTIVE event nrf51822</title><link>https://devzone.nordicsemi.com/thread/10031?ContentTypeID=1</link><pubDate>Thu, 15 May 2014 12:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc72cd3-5971-4907-a7a8-ed312ea6f257</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s not a bad idea. But if the ADC sampling interval is only 1 every second, you would not save much.
Secondly, I think it&amp;#39;s better to start the ADC on nACTIVE event, instead of ACTIVE event. Doing this you can avoid the T_prep period that we are not certain when exactly the 16MHz clock is started.&lt;/p&gt;
&lt;p&gt;As far as I understand the 16MHz clock is turned off only after the device enter sleep mode after radio event. So more likely you still can have the 16MHz crystal on nACTIVE event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>