<?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>nRF5340 event channels</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85964/nrf5340-event-channels</link><description>The documentation (Product specification v1.2) is not very clear about the event channels. 
 I wonder if there are: 
 - 32 event channels 
 - 6 event channel groups 
 - 16 EGUs 
 Writing &amp;quot;1&amp;quot; to EGU[n] tasks_trigger triggers the event configured to EGU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2022 13:12:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85964/nrf5340-event-channels" /><item><title>RE: nRF5340 event channels</title><link>https://devzone.nordicsemi.com/thread/359141?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 13:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0cd6c16-4bc6-4972-aa62-082ead511744</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see that it says in the section &amp;quot;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/dppi.html?cp=3_0_0_6_8_0#concept_sgt_cpt_v1b"&gt;Subsicribing to and publishing on channels&lt;/a&gt;&amp;quot; that &amp;quot;Writing non-existing channel index (CHIDX) numbers into a peripheral&amp;#39;s publish or subscribe registers will yield unexpected results.&amp;quot;&lt;/p&gt;
&lt;p&gt;So you should only use the values 0 -&amp;gt; 31.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 event channels</title><link>https://devzone.nordicsemi.com/thread/358996?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 05:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f6bc1b-5f1f-420b-a5b3-667b03301866</guid><dc:creator>turboscrew</dc:creator><description>&lt;p&gt;I was talking about these 8-bit values (SAADC_SUBSCRIBE_START):&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/SAADC_5F00_subscribe.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;About the channel groups:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DPPI_5F00_CHG_2D00_reg.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;And yes, I&amp;#39;m trying to keep tasks, events, interrupts and event channels apart, like Nordic, in general, seems to do.&lt;/p&gt;
&lt;p&gt;About the channels: I meant, to my understanding, there are 32 event channels, regardless of my needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 event channels</title><link>https://devzone.nordicsemi.com/thread/358940?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 23:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:508528db-a37a-4fca-a265-fa7d2528fca5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;Writing &amp;quot;1&amp;quot; to EGU[n] tasks_trigger triggers the event configured to EGU[n] publish_triggered?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user=""]Reading EGU[n] events_triggered gives &amp;quot;1&amp;quot; if event configured to EGU[n] subscribe_trigger has happened?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user=""]One EGU can only trigger one event and &amp;quot;listen to&amp;quot; one event?[/quote]
&lt;p&gt;No. *&lt;/p&gt;
[quote user=""]&lt;p&gt;Even if 8-bit values (0-255) can be entered in the subscribe-registers, only values 0 - 31 make sense?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;What 8 bit value are you talking about here?&lt;/p&gt;
[quote user=""]You can only use channel groups by SW via DPPIC? Or is there (at least in theory) possibility to configure channel groups as triggers to some peripherals?[/quote]
&lt;p&gt;What do you mean by &amp;quot;channel groups by SW via DPPIC&amp;quot;? I believe you can have one event triggering several tasks, and several tasks triggering one event. At least that is my understanding, but I haven&amp;#39;t had the chance to test this on the nRF53 yet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;* regarding the EGU only triggered by one event and listen to one event, I think that is more related to the DPPI, and you can link multiple tasks to the same EGU event, and vice versa. How many DPPI channels you need to use depends on your setup.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>