<?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>With PPI does the channel interrupt need to be disabled in addition to disabling the peripheral?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39056/with-ppi-does-the-channel-interrupt-need-to-be-disabled-in-addition-to-disabling-the-peripheral</link><description>Working with SDK 15.0.0 
 I am porting code from a much older version of the SDK and as such am having to make significant changes to the way the code functions. The previous programmer of the system decided to use a &amp;quot;rolling&amp;quot; read of the ADC values </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Oct 2018 08:09:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39056/with-ppi-does-the-channel-interrupt-need-to-be-disabled-in-addition-to-disabling-the-peripheral" /><item><title>RE: With PPI does the channel interrupt need to be disabled in addition to disabling the peripheral?</title><link>https://devzone.nordicsemi.com/thread/150894?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 08:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:774a3b0b-8cbf-43be-85ae-e108eb9b8035</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;Would the PPI not trigger, or would the ADC being off cause a system ASSERT?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I believe the PPI will attempt to trigger the task as normal,&amp;nbsp;but the SAADC is not enabled and therefore not monitoring its task registers. I doubt an ASSERT will happen as the CPU is not involved in the operation. I believe nothing will happen.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;Assuming the ADC wouldn&amp;#39;t assert ff PPI is enabled and the ADC is disabled. would easy DMA be off and thus reduce the current consumption?&amp;quot;&lt;br /&gt;The EasyDMA is off when the SAADC is disabled.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;If I want to disable the ADC would the PPI channel stay intact even if the timer and the peripheral were disabled?&amp;quot;&lt;br /&gt;Yes, I believe so. The PPI only operates on registers in RAM and not directly with the peripherals, and as RAM is always available to the PPI system it will stay operational.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>