<?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>Application Timer not firing interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89720/application-timer-not-firing-interrupt</link><description>Hi 
 I&amp;#39;m trying to get the application timer working on nrf52840 SDK version 17.02 
 I have followed the below link 
 devzone.nordicsemi.com/.../application-timer-tutorial&amp;#160; 
 But I see that the app timer interrupt handler never gets called. 
 Here is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jul 2022 08:35:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89720/application-timer-not-firing-interrupt" /><item><title>RE: Application Timer not firing interrupt</title><link>https://devzone.nordicsemi.com/thread/375954?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 08:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c59c3ca-1493-4c06-a882-847517b95dd7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I suggest to take a look at some of the ble peripheral examples that use app_timer, and in specific likely the hid mouse and keyboard example that also use the scheduler if you want to use that. It&amp;#39;s likely something obvious once you find it, but you just need to look at the init in those projects and sdk_config.h options for app_timer.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer not firing interrupt</title><link>https://devzone.nordicsemi.com/thread/375952?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 08:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbfd6ea3-35a0-409c-bb80-f7989f995b21</guid><dc:creator>Chitra</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I have modified the infinite loop of main() as per your suggestion but the issue still persists.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chitra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer not firing interrupt</title><link>https://devzone.nordicsemi.com/thread/375948?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 08:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b5f3eb-e09a-4e81-b2b8-6640360e128d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you are using the scheduler you should also include&amp;nbsp;app_sched_execute() in your infinite main()-loop, for instance you can look at the HID mouse example that use app_timer with scheduler:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for handling the idle state (main loop).
 *
 * @details If there is no pending log operation, then sleep until next the next event occurs.
 */
static void idle_state_handle(void)
{
    app_sched_execute();
    if (NRF_LOG_PROCESS() == false)
    {
        nrf_pwr_mgmt_run();
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer not firing interrupt</title><link>https://devzone.nordicsemi.com/thread/375861?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 16:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40df2c06-872b-42f0-a7aa-f3f4d7bc4728</guid><dc:creator>Chitra</dc:creator><description>&lt;p&gt;Just&amp;nbsp;forgot to mention that I&amp;#39;m using scheduler also I have enabled&amp;nbsp;&lt;span&gt;APP_TIMER_CONFIG_USE_SCHEDULER in the sdk_config.h&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chitra&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>