<?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>DPPI examples nRF91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83453/dppi-examples-nrf91</link><description>Hi 
 few questions on DPPI: 
 
 where is it possible to find examples in nRF Connect SDK to learn to use DPPI on nRF91? 
 Is there corresponding documentation? 
 For which peripherals it is convenient to use DPPI? for which it is not suggested? 
 Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jan 2022 10:49:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83453/dppi-examples-nrf91" /><item><title>RE: DPPI examples nRF91</title><link>https://devzone.nordicsemi.com/thread/348885?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 10:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d96265-d8ec-4a08-8458-cd2d62f2d2f8</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Many-to-one and one-to-many connections does not mean that you subscribe a task or publish an event to multiple channels, but that you can subscribe different tasks or publish&amp;nbsp;different events to the same channel. If you want to achieve many-to-one connection you just need to configure the publish register for many events to the same DPPI channel.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DPPI examples nRF91</title><link>https://devzone.nordicsemi.com/thread/347615?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 14:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f222089-0cd5-48ae-b0f2-f1985a5e042e</guid><dc:creator>Szymon9000</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been playing with DPPI and I&amp;#39;m not able to achieve many-to-one connection.&lt;/p&gt;
&lt;p&gt;How can I subscribe TASK to multiple DPPI channels?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DPPI examples nRF91</title><link>https://devzone.nordicsemi.com/thread/346695?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 12:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81db404-7cd8-475f-b513-e6470be04166</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi LA,&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;where is it possible to find examples in nRF Connect SDK to learn to use DPPI on nRF91?&lt;/li&gt;
&lt;li&gt;Is there corresponding documentation?&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;You can use the nrfx use example&amp;nbsp;in Zephyr, which demonstrates how to use DPPI/PPI drivers from nrfx. The documentation&amp;nbsp;for the example can be found here: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/samples/boards/nrf/nrfx/README.html"&gt;nrfx use example&lt;/a&gt;, and&amp;nbsp;the code can be found in zephyr/samples/boards/nrf/nrfx.&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;For which peripherals it is convenient to use DPPI?&amp;nbsp; for which it is not suggested?&lt;/li&gt;
&lt;li&gt;Can you provide a couple of use cases where DPPI is useful compared to using CPU?&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;If you&amp;nbsp;can use&amp;nbsp;DPPI instead of CPU you should always do so, as with DPPI/PPI tasks and events happen directly in the hardware without the need for the CPU to be involved, and without needing to do things via code.&lt;/p&gt;
[quote user=""]Which use cases does the DPPI introduce/enable compared to the PPI in nRF52?&amp;nbsp;[/quote]
&lt;p&gt;DPPI enables new connection types. In PPI&amp;nbsp;the connection types are one-to-one and one-to-many (1-to-2 with PPI fork), while with DPPI you can have many-to-one and many-to-many. It also introduces a new interconnect paradigm, where peripheral tasks can subscribe to channels, and peripheral events can be published on channels. So you can have more and bigger connections, and more forking. You can read more about both in our documentation, such as on these pages:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/dppi.html"&gt;nRF9160 &amp;gt; Peripherals &amp;gt; DPPI&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/ppi.html?cp=4_0_0_5_15"&gt;nRF52840 &amp;gt; Peripherals &amp;gt; PPI&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>