<?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>nRF54L15 GRTC -&amp;gt; GPPI -&amp;gt; GPIOTE pipeline</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122522/nrf54l15-grtc---gppi---gpiote-pipeline</link><description>I &amp;#39;ve been working with the nRF54L15 for a bit now and it&amp;#39; s been great, but trying to get a bit fancy now and running into problems. I &amp;#39;m developing with the latest NCS v3.0.2 release. 
 
 Below, find code I&amp;#39; ve written trying to set up pwm control so</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Jun 2025 09:13:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122522/nrf54l15-grtc---gppi---gpiote-pipeline" /><item><title>RE: nRF54L15 GRTC -&gt; GPPI -&gt; GPIOTE pipeline</title><link>https://devzone.nordicsemi.com/thread/540681?ContentTypeID=1</link><pubDate>Fri, 27 Jun 2025 09:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3117dae1-e8ef-493d-a9c5-f477768b4caf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Jeremy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unlike RTC all GRTC compare channels are one shot. Once they are fired, then it seems that there is no automatic (no CPU involved) way to reload them.&amp;nbsp;You wired&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CC1 → PPI → GPIOTE.TASKS_SET
CC2 → PPI → GPIOTE.TASKS_CLR&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and expected the CCs to keep firing. But since CC1/CC2 are one-shot, they only generate their events the first time the counter passes those values. They don’t reset or reload, so your LED toggles just once up and once down, then nothing.&lt;/p&gt;
&lt;p&gt;One option could be that you could use the inbuilt PWM inside GRTC and configure the PWMCONFIG with the period and duty and then issue a TASKS_START, hardware should be able to now autotoggle CC0/CC1 for you yielding single periodic PWM channel with no CPU intervention.&lt;/p&gt;
&lt;p&gt;One less confident trial that you can do is&amp;nbsp;Use one PPI channel to link EVENTS_COMPARE[n] → TASKS_CLEAR.&amp;nbsp;Use another PPI to link EVENTS_COMPARE[n] → GPIOTE.TASKS_SET/CLR and hoping that clearing the counter restarts the cycle and lets the same CC[n] fire again.&lt;/p&gt;
&lt;p&gt;Otherwise I cannot think of anyway where we can do this without CPU involvement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>