<?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>nRF52832 sdk15.3 s132  PPI ADC Unable to start after shutdown</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57890/nrf52832-sdk15-3-s132-ppi-adc-unable-to-start-after-shutdown</link><description>hi all: 
 Use PPI+timer+adc, in the following ways: 
 
 called stop, then unable to start adc, Couldn&amp;#39;t get into the NRF_DRV_SAADC_EVT_DONE. 
 Could you tell me how?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2020 13:09:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57890/nrf52832-sdk15-3-s132-ppi-adc-unable-to-start-after-shutdown" /><item><title>RE: nRF52832 sdk15.3 s132  PPI ADC Unable to start after shutdown</title><link>https://devzone.nordicsemi.com/thread/234654?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 13:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5535e7f-ffd2-43af-baed-b4de55cacbac</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;Hi sigurd:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;I&amp;#39;ve already added the your snippet ,&amp;nbsp;It still&amp;nbsp;&lt;b&gt;unable to start adc,&amp;nbsp;Couldn&amp;#39;t get into the&amp;nbsp;NRF_DRV_SAADC_EVT_DONE.&amp;nbsp; &amp;nbsp;&lt;em&gt;&lt;span class="skip"&gt;as follow:&lt;/span&gt;&lt;/em&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;b&gt;&lt;em&gt;&lt;span class="skip"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/add-wait-stop.jpg" /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 sdk15.3 s132  PPI ADC Unable to start after shutdown</title><link>https://devzone.nordicsemi.com/thread/234633?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 12:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71fb731b-a35b-4e7a-8410-e6478ed9eb3e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;After triggering TASK_STOP, try to wait for&amp;nbsp;&lt;span&gt;EVENTS_STOPPED before disabling the SAADC.&lt;br /&gt;&lt;br /&gt;Snippet:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrf_saadc_task_trigger(NRF_SAADC_TASK_STOP);

    // Wait for ADC being stopped.
    bool result;
    NRFX_WAIT_FOR(nrf_saadc_event_check(NRF_SAADC_EVENT_STOPPED), HW_TIMEOUT, 0, result);
    NRFX_ASSERT(result);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>