<?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>App timer library setup problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89000/app-timer-library-setup-problems</link><description>Hello all, 
 referring to this tutorial https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/application-timer-tutorial?CommentSortBy=CreatedDate&amp;amp;CommentSortOrder=Descending however, not everything goes smoothly! </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Jul 2022 11:43:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89000/app-timer-library-setup-problems" /><item><title>RE: App timer library setup problems</title><link>https://devzone.nordicsemi.com/thread/375297?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 11:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64f4d6af-edef-401e-9cc9-ef007423044b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;What toolchain/IDE are you using? SES? Have you also added the path to the folder containing source, and added the source file as part of the project? See &lt;a href="https://www.youtube.com/watch?v=t-kh1EbesvI"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer library setup problems</title><link>https://devzone.nordicsemi.com/thread/375250?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 07:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb0b10e9-bb26-45b4-98a9-54202f56c520</guid><dc:creator>MuRa</dc:creator><description>&lt;p&gt;Hi Jared!&lt;/p&gt;
&lt;p&gt;Added the new line (// &amp;lt;q&amp;gt; CLOCK_CONFIG_LF_CAL_ENABLED&amp;nbsp; - Calibration enable for LF Clock Source) to the sdk config, however, nothing better, can you say more about the following?&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/89000/app-timer-library-setup-problems/374318"]App timer source file and path to source file has also been added to the project right?[/quote]
&lt;p&gt;And this are my includes:&lt;/p&gt;
&lt;p&gt;// app timer library&lt;br /&gt;#include &amp;quot;nrfx_timer.h&amp;quot;&lt;br /&gt;#include &amp;quot;bsp.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf_drv_timer.h&amp;quot;&lt;/p&gt;
&lt;p&gt;#include &amp;quot;app_timer.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf_drv_clock.h&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So far I have the nrfx_timer.c in the nRF_Drivers folder and app_timer.c in the nRF_Libraries folder.&lt;/p&gt;
&lt;p&gt;Is this ok?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer library setup problems</title><link>https://devzone.nordicsemi.com/thread/374318?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 10:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95dd3e2-e1d3-4e94-8736-25656568b004</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you still getting the same error? Could you try to also add this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
//==========================================================
#ifndef NRF_CLOCK_ENABLED
#define NRF_CLOCK_ENABLED 1
#endif
// &amp;lt;o&amp;gt; CLOCK_CONFIG_LF_SRC  - LF Clock Source
 
// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing 

#ifndef CLOCK_CONFIG_LF_SRC
#define CLOCK_CONFIG_LF_SRC 1
#endif

// &amp;lt;q&amp;gt; CLOCK_CONFIG_LF_CAL_ENABLED  - Calibration enable for LF Clock Source
 

#ifndef CLOCK_CONFIG_LF_CAL_ENABLED
#define CLOCK_CONFIG_LF_CAL_ENABLED 0
#endif

// &amp;lt;o&amp;gt; CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
 

// &amp;lt;i&amp;gt; Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef CLOCK_CONFIG_IRQ_PRIORITY
#define CLOCK_CONFIG_IRQ_PRIORITY 6
#endif

// &amp;lt;/e&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;App timer source file and path to source file has also been added to the project right?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer library setup problems</title><link>https://devzone.nordicsemi.com/thread/374161?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 12:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86f5a1d8-368a-4ace-96b4-dda84d007c2a</guid><dc:creator>MuRa</dc:creator><description>&lt;p&gt;Hello Jared,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;was missing this, so I have put the following into the sdk_config.h&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;e&amp;gt; NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
//==========================================================
#ifndef NRFX_CLOCK_ENABLED
#define NRFX_CLOCK_ENABLED 1
#endif

// &amp;lt;o&amp;gt; NRFX_CLOCK_CONFIG_LF_SRC  - LF Clock Source

// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing 

#ifndef NRFX_CLOCK_CONFIG_LF_SRC
#define NRFX_CLOCK_CONFIG_LF_SRC 1
#endif

// &amp;lt;o&amp;gt; NRFX_CLOCK_CONFIG_IRQ_PRIORITY  - Interrupt priority
 
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
#endif&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess this is ok now ? Anyway, it compiles with no warnings, however, still getting the error when trying to run the&amp;nbsp;lfclk_request();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any ideas how to get around with the SDK that I am using?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer library setup problems</title><link>https://devzone.nordicsemi.com/thread/372791?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 11:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94a9cfe9-ac5a-4194-b285-93d66cec5814</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""] I guess it is not a problem of using a different SDK? [/quote]
&lt;p&gt;It is!&lt;/p&gt;
&lt;p&gt;The blog post was made for an earlier version of the SDK, thus changes to later versions will affect it. Have you enabled the nrfx_clock driver by setting&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRFX_CLOCK_ENABLED 1 in the sdk_config.h file?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>