<?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>RTC Clear PPI After Compare</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23317/rtc-clear-ppi-after-compare</link><description>I Cant clear the RTC2 after a Compare Match. First Compare is Triggered. After that no more Interrupt is generated. Code: 
 static const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(2);

static void rtc_handler(nrf_drv_rtc_int_type_t int_type)
{
 if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jul 2017 19:05:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23317/rtc-clear-ppi-after-compare" /><item><title>RE: RTC Clear PPI After Compare</title><link>https://devzone.nordicsemi.com/thread/91668?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 19:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253a6c78-24fe-4e99-b2f5-b7546dbbb69f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Interrupt on COMPARE events is disabled in &lt;code&gt;nrf_drv_rtc_int_handler()&lt;/code&gt;. You need to change the interrupt handler, as described in &lt;a href="https://devzone.nordicsemi.com/question/48619/rtc-nrf51-sdk-example-matches-compare0-only-once/?answer=49056#post-id-49056"&gt;this answer&lt;/a&gt;, or call &lt;code&gt;nrf_drv_rtc_cc_set()&lt;/code&gt; in your &lt;code&gt;rtc_handler&lt;/code&gt; to enable interrupts for COMPARE events again.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>