<?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>GPIOTE+Counter+PPI Compare-Interrupt Hangup at High Frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110782/gpiote-counter-ppi-compare-interrupt-hangup-at-high-frequency</link><description>NCS v2.6.0 
 nRF52840 
 
 Hello, 
 I&amp;#39;m trying to use GPIOTE + PPI to increment a TIMER in counter mode. Then when the counter reaches a compare value in channel 0 it triggers an interrupt in software and captures a different timer that is running in timer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2024 08:15:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110782/gpiote-counter-ppi-compare-interrupt-hangup-at-high-frequency" /><item><title>RE: GPIOTE+Counter+PPI Compare-Interrupt Hangup at High Frequency</title><link>https://devzone.nordicsemi.com/thread/482957?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 08:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6d8b79d-b6cc-4d62-8b26-6a7b17230c50</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You welcome Nathan. I will await an update from your end then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE+Counter+PPI Compare-Interrupt Hangup at High Frequency</title><link>https://devzone.nordicsemi.com/thread/482683?ContentTypeID=1</link><pubDate>Thu, 09 May 2024 18:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba497f9-1499-4707-9c2e-8221a1d841b8</guid><dc:creator>Nathan45</dc:creator><description>&lt;p&gt;I handed this project off to my coworker. I gave him this thread so he may be in contact. Thanks for your help in the meantime!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE+Counter+PPI Compare-Interrupt Hangup at High Frequency</title><link>https://devzone.nordicsemi.com/thread/481529?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 11:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92f97fcb-3ea1-4604-b17c-cf7699d5558e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I decided to take this case, since Sigurd already had a lot of other cases on his plate &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you try to enable constant latency mode to see if the problem goes away?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To enable this mode simply run the following code at the start of your program:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_POWER-&amp;gt;TASKS_CONSTLAT = 1;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This will keep various system resources running in sleep to ensure fast and consistent timing of PPI events etc, at the cost of higher sleep current.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>