<?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>Can you use NRF PPI and FreeRTOS together</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69810/can-you-use-nrf-ppi-and-freertos-together</link><description>Hi, 
 
 I&amp;#39;m reading through the documentation on using the SAADC with the NRF52 kits. The examples are using PPI to manage the SAADC and allow it to sample locationally in a non blocking way. I am planning on using FreeRTOS however to manage the boards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Dec 2020 13:29:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69810/can-you-use-nrf-ppi-and-freertos-together" /><item><title>RE: Can you use NRF PPI and FreeRTOS together</title><link>https://devzone.nordicsemi.com/thread/286470?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc812c53-1b89-44b7-b9a0-fdb1862b808d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s completely optional to use PPI, and whether it makes sense to use it or not depends a bit on use case. For low frequency sampling it may be easier to trigger the sampling periodically from a freertos task or a timer event.&lt;/p&gt;
&lt;p&gt;PPI triggers peripheral tasks without involving the CPU, so it doesn&amp;#39;t really make any difference if you run a bare metal application or an RTOS.&lt;/p&gt;
&lt;p&gt;Driver documentation for reference: &lt;span&gt;&lt;a title="SAADC" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_saadc.html?cp=7_1_2_0_12"&gt;SAADC driver&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>