<?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>High frequency SAADC sample with Softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52027/high-frequency-saadc-sample-with-softdevice</link><description>I&amp;#39;m using an NRF52840, SoftDevice s140, FreeRTOS, SDK 15.3.0. 
 I&amp;#39;m trying to sample my ADC at high speed, &amp;gt;1khz (10-40kHz). 
 I implemented the logic from the SAADC exaple, using PPI and nrf_drv_timer, and I managed to set the speed of the trigger timer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Sep 2019 16:24:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52027/high-frequency-saadc-sample-with-softdevice" /><item><title>RE: High frequency SAADC sample with Softdevice</title><link>https://devzone.nordicsemi.com/thread/209252?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 16:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95528fc-a7df-4977-854d-c1d8e9ab00fc</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I am not familiar with how you can do it with FreeRTOS, but the implementation in \saadc should be able to run without any issue using normal SDK + SD. You may however increase the&amp;nbsp;NRFX_SAADC_CONFIG_IRQ_PRIORITY priority to to 3 (instead of 6). Just make sure that you don&amp;#39;t call any softdevice calls from the&amp;nbsp;saadc_callback() in this case, since it will not be able to do softdevice api calls from this interrupt level, ref:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd.html"&gt;https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>