<?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 not producing interrupts for ~1Sec</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85993/app-timer-not-producing-interrupts-for-1sec</link><description>Hello, 
 First let me say I&amp;#39;m new to Nordic tools and SDK. I have been lurking on this forum for a while and it has helped solve a lot of my issues in the past. I couldn&amp;#39;t find anything like the current issue I&amp;#39;m having so I apologize if this has come</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Nov 2022 18:16:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85993/app-timer-not-producing-interrupts-for-1sec" /><item><title>RE: App Timer not producing interrupts for ~1Sec</title><link>https://devzone.nordicsemi.com/thread/397959?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 18:16:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a58687-9a67-4889-abf2-b1d2e0b866d6</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;I wanted to follow up on this for anyone else that is running into an issue. I solved the issue by switching to a hardware timer rather than using app_timer. My suspicion is that my timer internals where very short and very frequent (&amp;lt;1mS period). The overhead of the app_timer module doesn&amp;#39;t seem to be well suited for this.&lt;/p&gt;
&lt;p&gt;After switching to a hardware timer I have not seen any issues.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Timer not producing interrupts for ~1Sec</title><link>https://devzone.nordicsemi.com/thread/359380?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 13:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6d163d9-9fcf-43cc-a9c2-e1d8a90528a6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I have some more question regarding your application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are you in a BLE connection or advertising while this is happening?&lt;/li&gt;
&lt;li&gt;Does your application do any writes to flash memory?&lt;/li&gt;
&lt;li&gt;What priority are you running the module at?&lt;/li&gt;
&lt;li&gt;Could you try to simplify what modules that is used in your program and see if the issue still happens? For example, what happens if you comment out the Softdevice and SPI code. Is the app timer still not triggering correctly? What if you just include the SPI code?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Timer not producing interrupts for ~1Sec</title><link>https://devzone.nordicsemi.com/thread/359234?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 20:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b8407a-1ac9-46c9-8861-318dbc30dde2</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;I do have a 32K LFXO crystal on the board and the SDK is configured to use it. Here is a snippet from the SDK_config&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&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also as an additional debugging step I changed the spi timers over from the app_timer module to the nrfx_timer module. This issue is not exhibited at all when using the timer module. Although this allows me to move forward I still want to root cause the issue I&amp;#39;m seeing with app_timer because even if I keep the nrfx_timer implementation for the SPI I still want to use the app_timer for other parts of the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Timer not producing interrupts for ~1Sec</title><link>https://devzone.nordicsemi.com/thread/359092?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 11:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4da8054-81f4-446c-ac36-511e395d9b23</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there!&lt;/p&gt;
&lt;p&gt;Thank your for a great description of your issue, and what debug steps you have already tried.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have a LFXO crystal on your board or are you using the internal RC oscillator for the LFCLK?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>