<?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>Unable to use a DPPI group that disable itself</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70472/unable-to-use-a-dppi-group-that-disable-itself</link><description>Hello, 
 I&amp;#39;m trying to port the radio synchronization to a nRF5340. For this i need to use a DPPI group that clear a timer and disable itself for doing the task only 1 time. Unfortunately when i try to do it, the timer is not cleared. 
 I have try to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2021 08:57:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70472/unable-to-use-a-dppi-group-that-disable-itself" /><item><title>RE: Unable to use a DPPI group that disable itself</title><link>https://devzone.nordicsemi.com/thread/289643?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 08:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:826df39d-e179-4835-be9e-8027f4b2ace5</guid><dc:creator>Nicolas Brunner</dc:creator><description>&lt;p&gt;Thanks for the solution.&lt;/p&gt;
&lt;p&gt;It would be great to also add this information in the documentation of the nrfx_dppi_channel_include_in_group() function. And maybe also make it return an error if the subscribe registers are not disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use a DPPI group that disable itself</title><link>https://devzone.nordicsemi.com/thread/289479?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 15:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef01ecf-1f2d-43cf-a13d-f820c76eba94</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;A small update.&lt;/p&gt;
&lt;p&gt;The strict ordering is a hardware restriction, as explained in the DPPIC part of the PS:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/dppi.html?cp=3_0_0_6_8_1#concept_crl_ql5_v1b"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/dppi.html?cp=3_0_0_6_8_1#concept_crl_ql5_v1b&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;In order to write to CHG[x], the corresponding CHG[x].EN and CHG[x].DIS subscribe registers must be disabled. 
Writes to CHG[x] are ignored if any of the two subscribe registers are enabled.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use a DPPI group that disable itself</title><link>https://devzone.nordicsemi.com/thread/289477?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 15:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ce89adc-2ea3-428e-817e-afb289a75e7b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for the long wait. Reproducing the issue was easy, but finding a fix for the problem took a bit of time.&lt;/p&gt;
&lt;p&gt;It seems that you have to include the dppi channel into the group before subscribing to the disable task:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    ...
    nrfx_dppi_channel_include_in_group(channel, group);
    nrf_dppi_subscribe_set(NRF_DPPIC, nrf_dppi_group_disable_task_get(group), channel);
    ...
    &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I slightly modified your test code, changing the base frequency and print &amp;quot;0&amp;quot; and &amp;quot;1&amp;quot; from the timer interrupt.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my code:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/33657.main.c"&gt;devzone.nordicsemi.com/.../33657.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which should print in this order:&lt;/p&gt;
&lt;p&gt;10110110110....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you see if you get the correct behavior when switching the order of the above two functions?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>