<?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>Creating EGU init and handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97808/creating-egu-init-and-handler</link><description>Hi, 
 I am using nRF5340 with SDK v1.7.1. 
 Short question: I need to use the following features from PPI and DPPI respectively, 
 
 Associate one task or event with more than one channel. 
 Associate one channel with multiple tasks and multiple events</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Mar 2023 13:28:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97808/creating-egu-init-and-handler" /><item><title>RE: Creating EGU init and handler</title><link>https://devzone.nordicsemi.com/thread/416027?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 13:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271ce036-21d5-4d2b-aef4-cafa30588202</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you only intend to use EGU together with DPPI to trigger tasks and subscribe to events, there should be no need to initialize the EGU driver or setup an event handler. This is primarily needed if you want to trigger a&amp;nbsp;software interrupt based on a HW event, at a different priority than the peripheral&amp;#39;s default priority, or from software.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Event generator unit (EGU) provides support for interlayer signaling. This means providing support for atomic triggering of both CPU execution and hardware tasks, from both firmware (by CPU) and hardware (by PPI). This feature can, for instance, be used for triggering CPU execution at a lower priority execution from a higher priority execution, or to handle a peripheral&amp;#39;s interrupt service routine (ISR) execution at a lower priority for some of its events. However, triggering any priority from any priority is possible.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Is the DPPI part not working as you expect with the code you have added?&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>