<?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>How to get Compare event of RTC periodically?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18712/how-to-get-compare-event-of-rtc-periodically</link><description>Hi, 
 I am working on RTC sample example in SDK12.0.0. The compare event in it triggers after 3 seconds. In my application I want to trigger the compare event every 10 seconds, without resetting the counter. I need the counter to reset only after overflow</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jan 2017 07:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18712/how-to-get-compare-event-of-rtc-periodically" /><item><title>RE: How to get Compare event of RTC periodically?</title><link>https://devzone.nordicsemi.com/thread/72266?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 07:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c43a30e-c7a9-468e-8d4f-14f619198767</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Another option is to use the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fgroup__app__timer.html&amp;amp;cp=4_0_1_6_8_35"&gt;application timer library&lt;/a&gt; (app_timer). For how to use it, you can have a look at ble_app_hrs: application_timers_start(..).
The app_timer library uses RTC1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Compare event of RTC periodically?</title><link>https://devzone.nordicsemi.com/thread/72265?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2017 13:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a69a35f1-fee0-4917-b895-18fe3001a514</guid><dc:creator>Ankush</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;Thanks for reply. As per your comment, If I update the compare value every time then I will have keep the value as 10 , 20, 30 ... and so on. Is it any other way to get compare event every 10 seconds without updating compare value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Compare event of RTC periodically?</title><link>https://devzone.nordicsemi.com/thread/72264?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2017 13:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b54a8e89-db20-4ba1-9ba1-f5b972ca5a50</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;One way to avoid resetting the RTC is to update the compare value for each RTC compare event: When a compare event occur, you update the next compare value in the compare event handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>