<?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>Disabling SAADC Interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68036/disabling-saadc-interrupt</link><description>Hello, 
 I wonder if I can disable saadc interrupt because saadc is under control of ppi in my project and I don&amp;#39;t even need saadc interrupt or interrupt handler. 
 As I know there is no way to init it without an irq handler (nrf_drv_saadc_init) so, what</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 08 Nov 2020 09:11:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68036/disabling-saadc-interrupt" /><item><title>RE: Disabling SAADC Interrupt</title><link>https://devzone.nordicsemi.com/thread/278890?ContentTypeID=1</link><pubDate>Sun, 08 Nov 2020 09:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd73c089-d124-475d-b25f-5b85db6b564e</guid><dc:creator>MCB</dc:creator><description>&lt;p&gt;Hello Edvin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use&amp;nbsp;nrf_drv_saadc_buffer_convert to switch buffer, instead of it , I have set one big buffer and a counter to divide it into two halves.&amp;nbsp; And as you mentioned i use ppi unit all to handle these things. By now, i am using&amp;nbsp;&amp;nbsp;nrf_saadc_int_disable(0x3F); function to disable interrupts. it seems it works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling SAADC Interrupt</title><link>https://devzone.nordicsemi.com/thread/278750?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 10:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ebc6afe-3fc8-4294-9534-11ce2f2c86e2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is one thing that comes to mind is that in the saadc example, the saadc event handler is used to call:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;err_code = nrf_drv_saadc_buffer_convert(p_event-&amp;gt;data.done.p_buffer, p_event-&amp;gt;data.done.size);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;which needs to be called in order to set up the buffers for the next samples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you manage to do this as well using PPI, then it would be safe to skip the event handler (I think).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why do you want to skip the event handler completely?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If this is timing critical, you can use the PPI to handle the event, but you still need to convert the buffers, which you can do in the event handler. I am not sure you can skip it completely, because I don&amp;#39;t know whether the ADC is dependent on the IRQ event handler in order to work properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>