<?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>retriggerable timer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58489/retriggerable-timer</link><description>I&amp;#39;m using the app_timer library to create one shot timer. I&amp;#39;m calling the app_timer_start() to the same timer repeatedly in the gpiote handler. I had thought that this would restart the timer but it doesn&amp;#39;t seem to work. 
 The timer event fires N seconds</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2020 15:58:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58489/retriggerable-timer" /><item><title>RE: retriggerable timer</title><link>https://devzone.nordicsemi.com/thread/237206?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 15:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1ceb2b-e36e-4c4c-97f7-f37be1500ded</guid><dc:creator>JimK</dc:creator><description>&lt;p&gt;In this case we will trigger a SW module from the timer. Thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: retriggerable timer</title><link>https://devzone.nordicsemi.com/thread/237193?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 14:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:321f6894-d0de-47b7-b619-2faa447d15ca</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yeah, use the RTC2 instance with its&amp;nbsp;&lt;a title="RTC driver" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrfx__rtc.html?cp=7_1_6_9_0_29_1"&gt;RTC driver&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="RTC HAL" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrf__rtc__hal.html?cp=7_1_6_9_0_29_2"&gt;RTC HAL&lt;/a&gt;.&amp;nbsp;&lt;span&gt;Set up a compare event that will trigger an interrupt after N seconds.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=4_2_0_21#concept_sxf_21l_1s"&gt;PPI — Programmable peripheral interconnect&lt;/a&gt;&amp;nbsp;system to connect the GPIOTE&amp;#39;s IN_EVENT to the RTC&amp;#39;s START task.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What is it that you&amp;#39;re going to use this timer for, is it to run som SW or to trigger another HW peripheral task? &lt;br /&gt;If it&amp;#39;s the latter then you can again use PPI to connect the RTC&amp;#39;s COMPARE event to any other peripheral&amp;#39;s task, like starting an SPI transaction N seconds after a GPIO pin has been toggled.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>