<?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>timer handler never called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1396/timer-handler-never-called</link><description>I&amp;#39;m trying to get a simple, single shot timer working. The debugger never stops at a breakpoint set in my handler function, and an LED turned on in that function never lights. In main.c, adapted from the BLE proximity sample app: 
 #define TEST_TIMEOUT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jan 2014 09:27:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1396/timer-handler-never-called" /><item><title>RE: timer handler never called</title><link>https://devzone.nordicsemi.com/thread/6281?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2014 09:27:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64f3954-dfe7-48aa-b061-917019d5799a</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This isn&amp;#39;t very obvious, but when not using the softdevice, you have to start the LFCLK manually, to make the RTC run at all. You can refer to the RTC example for an example of how to do so, which uses a snippet like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
static void lfclk_config(void)
{
    NRF_CLOCK-&amp;gt;LFCLKSRC             = (CLOCK_LFCLKSRC_SRC_Xtal &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);
    NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED  = 0;
    NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART     = 1;
    while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0)
    {
        //Do nothing.
    }
    NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
}

&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>