<?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>Trying to get an output GPIO to toggle using the RTC and PPI peripherals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117299/trying-to-get-an-output-gpio-to-toggle-using-the-rtc-and-ppi-peripherals</link><description>Hello. I&amp;#39;m trying to toggle a GPIO pin at a predefined frequency in order to measure the accuracy of out RTC clock. This code uses the GPIOTE, RTC, and PPI peripherals in order to avoid firmware callbacks being used. This code compiles, and everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2024 21:18:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117299/trying-to-get-an-output-gpio-to-toggle-using-the-rtc-and-ppi-peripherals" /><item><title>RE: Trying to get an output GPIO to toggle using the RTC and PPI peripherals</title><link>https://devzone.nordicsemi.com/thread/515197?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 21:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5173c0d8-2aad-4d26-9d72-dba7282f7c0d</guid><dc:creator>RobHel</dc:creator><description>&lt;p&gt;Thank you &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp; You are correct. Everything is working as expected now with no changes to this code.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to get an output GPIO to toggle using the RTC and PPI peripherals</title><link>https://devzone.nordicsemi.com/thread/515183?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 17:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1953af23-910a-4169-bca9-e69304e8269f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming. I thought I had tried with SDK 2.5.x earlier. Anyway, it built successfully when I tried again, but P0.13 is toggled by the RTC event in my case.&amp;nbsp;Could&amp;nbsp;there maybe be a conflict with the pin assignments in your project?&lt;/p&gt;
&lt;p&gt;Pin configuration:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734369321135v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;GPIOTE out task:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734369358173v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;RTC2 config&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734369393706v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Test project:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hello_5F00_world_5F00_rtc.zip"&gt;devzone.nordicsemi.com/.../hello_5F00_world_5F00_rtc.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to get an output GPIO to toggle using the RTC and PPI peripherals</title><link>https://devzone.nordicsemi.com/thread/515179?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 16:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd380be-ce86-4d38-8bc1-4dd7e451c9d2</guid><dc:creator>RobHel</dc:creator><description>&lt;p&gt;I believe we are using SDK version 2.5.2, with Zephyr version 3.4.99. It does comp;ilke just fine for me.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to get an output GPIO to toggle using the RTC and PPI peripherals</title><link>https://devzone.nordicsemi.com/thread/515121?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 13:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31cfea2c-42eb-4622-9a8a-41b615d435fc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? I couldn’t spot any obvious errors in the code you posted, so I tried building it myself. However, I couldn’t get it to compile because it&amp;#39;s using an older version of the&amp;nbsp;nrfx API.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>