<?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>can I change the priority of RTC2 when used along with softdevice?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13638/can-i-change-the-priority-of-rtc2-when-used-along-with-softdevice</link><description>Hi, 
 we are using RTC2 with APP_IRQ_PRIORITY_LOWEST. But the code hanged inside the interrupt handler. when we did step through debug, we came to know that in nrf_drv_common.c file, there is a following condition which blocked RTC. 
 #ifdef SOFTDEVICE_PRESENT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 May 2016 09:05:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13638/can-i-change-the-priority-of-rtc2-when-used-along-with-softdevice" /><item><title>RE: can I change the priority of RTC2 when used along with softdevice?</title><link>https://devzone.nordicsemi.com/thread/52107?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 09:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:777e8e44-017f-4318-9f12-fd8d88f83501</guid><dc:creator>Pavithra</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can I change the priority of RTC2 when used along with softdevice?</title><link>https://devzone.nordicsemi.com/thread/52106?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 07:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a399ae5e-3121-4069-b8f0-47531d034952</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I think this module is not updated with new priority levels (and added enumvalues). Hence it is a bug.&lt;/p&gt;
&lt;p&gt;What you did is right but you forgot one enum too&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#ifdef SOFTDEVICE_PRESENT
     ASSERT((priority == APP_IRQ_PRIORITY_LOW) || (priority == APP_IRQ_PRIORITY_HIGH) || (priority == APP_IRQ_PRIORITY_MID) || (priority == APP_IRQ_PRIORITY_LOWEST));
#endif
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>