<?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>NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60831/nrf52-saadc-not-getting-interrupt-handlerin-in-saadc-example</link><description>Hi I am using NRF52 board to interface analog sensor and this board further transmit the data ro sink node. I am using saadc example but unable to get callback or my interrupt handler is not working.Kindly suggest 
 #include &amp;quot;api.h&amp;quot; #include &amp;quot;node_configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 May 2020 15:00:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60831/nrf52-saadc-not-getting-interrupt-handlerin-in-saadc-example" /><item><title>RE: NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/thread/248256?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 15:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09bd923d-bb80-45ff-8ae1-d0d0a136fa0b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Ok, but does&amp;nbsp;&lt;span&gt;lib_state-&amp;gt;startStack()&lt;/span&gt; return, or is there some loop inside it that prevents the application from terminating?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/thread/247332?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 12:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dbe482f-afd9-40c1-9fa9-1e72dd49bac4</guid><dc:creator>Pawan Kumar</dc:creator><description>&lt;p&gt;The app_init() function uses application libirary and this lib_state-&amp;gt;startStack() starts stack protocol and I am sure both these things don&amp;#39;t use timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/thread/247330?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 12:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e70cf1d-99fc-40b2-ad36-726a4a1dd821</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The softdevice will not help you with your issue, it is the BLE stack and is used for BLE stuff. I was asking, since it occupies TIMER0, and you are using TIMER0 to do the SAADC sampling in your application.&lt;/p&gt;
&lt;p&gt;Is there some kind of loop in your program that prevents the CPU from executing random instructions after you initialize the SAADC? What happens in&amp;nbsp;&lt;span&gt;lib_state-&amp;gt;startStack()? Where is&amp;nbsp;App_init() called from?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/thread/247325?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 11:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a82b609a-658a-438c-aefc-80cc492531c5</guid><dc:creator>Pawan Kumar</dc:creator><description>&lt;p&gt;hi jorgen,&lt;/p&gt;
&lt;p&gt;_send_data() function send data to sink node.Yes I have check all function returns NRF_SUCCESS. Please tell me how softdevice will help me and how to use it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 saadc: Not getting Interrupt handlerin in saadc example</title><link>https://devzone.nordicsemi.com/thread/247322?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 11:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:710ca57a-8849-41ea-bc43-b37559b127a2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what the&amp;nbsp;&lt;span&gt;_send_data() function does, but do you check that all function calls return NRF_SUCCESS?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You are not using the softdevice in your application? The softdevice uses TIMER0 and blocks access to this instance from the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>