<?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>SAADC how to properly use it with scheduler?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44985/saadc-how-to-properly-use-it-with-scheduler</link><description>Hi, 
 I have project based on nRF52840 (using SDK 15.2) and I have a problem with properly adding ADC measurement using scheduler - description as below. 
 Problem description: 
 I have an application where is used a scheduler - I need to add new functionality</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 09:42:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44985/saadc-how-to-properly-use-it-with-scheduler" /><item><title>RE: SAADC how to properly use it with scheduler?</title><link>https://devzone.nordicsemi.com/thread/176921?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 09:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6dd6d27-bea4-4c77-929d-bf100f3eb1ad</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there any specific reasons why you want to trigger the sample task through scheduler, rather than triggering the SAMPLE task directly from the TIMER event through a &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/ppi?574#concept_sxf_21l_1s"&gt;PPI&lt;/a&gt; channel? If you use PPI, the CPU does not need to be involved in the sampling, you will get a event in the saadc_callback when the buffer have been filled. How to setup PPI to trigger sampling from a timer is shown in the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/nrf_dev_saadc_example"&gt;SAADC example&lt;/a&gt; in the SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>