<?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>Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25665/using-p0-26-with-app-timer</link><description>I have an application that toggles an LED on P0.26 based on a timer and that&amp;#39;s working fine. Now I need to add a few more timers so I decided to use the APP_TIMER library with the RTC, but when I make the call to nrf_drv_clock_lfclk_request(), I am no</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2017 13:08:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25665/using-p0-26-with-app-timer" /><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101107?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 13:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304a5d02-6df4-4075-943b-e894998e80f1</guid><dc:creator>phipi</dc:creator><description>&lt;p&gt;That&amp;#39;s what I was missing, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101106?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 12:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ea0bc2-3c94-43ec-a306-8f82e33f0a49</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;When using the LFCLK driver the clock source is defined in sdk_config.h with the CLOCK_CONFIG_LF_SRC define. This is used as argument in the nrf_clock_lf_src_set function call, line 197 of nrf_drv_clock.c. Have you tried setting the define in sdk_config.h to 0 (RC source)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101102?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 21:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f7610f5-671b-43c4-8aea-98ee4149753e</guid><dc:creator>phipi</dc:creator><description>&lt;p&gt;I&amp;#39;m not using the softdevice. I was able to work around by using this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  NRF_CLOCK-&amp;gt;LFCLKSRC = (CLOCK_LFCLKSRC_SRC_RC &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);
  NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
  NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;

  // Wait for the low frequency clock to start
  while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0) {}
  NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;instead of nrf_drv_clock_lfclk_is_running(). Does that make sense?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101105?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 21:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8057db5-b211-4b96-98bf-2461984913d8</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You pick the LF clock source when you start the softdevice. If you don&amp;#39;t have a softdevice then you start the LF clock source yourself and choose it then, so there isn&amp;#39;t a parameter in the timer library and there doesn&amp;#39;t need to be, it just uses the LF clock source you already started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101104?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 21:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:504ea71a-7308-4412-8158-812fe73a7823</guid><dc:creator>phipi</dc:creator><description>&lt;p&gt;&amp;quot;Function for requesting LFCLK. LFCLK can be repeatedly requested.&lt;/p&gt;
&lt;p&gt;If it is first request, selected LFCLK source will be started. The nrf_drv_clock_lfclk_is_running() function can be polled to check if it has started.&amp;quot;&lt;/p&gt;
&lt;p&gt;Any thoughts on what &amp;quot;requesting LFCLK&amp;quot; means exactly? Is this equivalent to enabling it?&lt;/p&gt;
&lt;p&gt;Also, how do we specify &amp;quot;selected LFCLK source&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.26 with App Timer</title><link>https://devzone.nordicsemi.com/thread/101103?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 21:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c9ec15d-32ef-424f-a24c-de7c2e6cfc45</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No you do not - so you have a different issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>