<?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>Why doesn&amp;#39;t Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45575/why-doesn-t-timer-interrupt-operate-at-the-interval-which-is-configured-in-code</link><description>I want to execute timer interrupt at a certain interval, like 1sec or 5 sec. 
 I measured an actual interval of voltage change with oscilloscope, but the actual interval is different from the interval configured in code. 
 Does anyone know this reason</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Apr 2019 16:14:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45575/why-doesn-t-timer-interrupt-operate-at-the-interval-which-is-configured-in-code" /><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/180845?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 16:14:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcac597c-965f-4f55-b7be-cf310152061e</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I see. So nRF9160 may have the same issue in low frequency timer&amp;nbsp;as nRF51 has. Ok, I will wait for next update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/180494?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 12:34:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6405ae5-ae13-4ac0-86dd-6519af189f0f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;span&gt;This may be related to this bug reported&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/9904"&gt;here&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/180073?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0565ec35-8e46-457f-8313-4826ed09496f</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;Bj&amp;oslash;rn&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve already checked the timer example. It&amp;#39;s a timer delay example, not timer interrupt example.&lt;/p&gt;
&lt;p&gt;In my case, an interrupt interval is long, like 1 sec, so It&amp;#39;s better to use&amp;nbsp;&lt;span&gt;kernel timers instead (RTC based)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please read my previous post here&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45200/how-to-implement-timer-interrupt-in-nrf9160"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45200/how-to-implement-timer-interrupt-in-nrf9160&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/179995?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 12:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce497ce-1f52-4bca-a102-56cf031c1459</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;There is a &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/timer/src/main.c"&gt;timer example here&lt;/a&gt; that may help you. You could either try copying some of the code into your secure_boot implementation or download the user&amp;#39;s branch of the nrf folder (will most likely require the master branch of nrfxlib, mcuboot &amp;amp; zephyr). You could create a new ncs folder called ncs_master &amp;amp; then clone Rallare&amp;#39;s nrf branch, along with the master branches of the other three folders mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/179814?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 14:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a24a204-9b4f-4a2b-8bd7-25aefa5a1a7e</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you for your reply! This is what I did.&lt;/p&gt;
&lt;p&gt;1. I copied secure_boot example and change the folder name as well as some file names.&lt;br /&gt;secure_boot(folder) -&amp;gt; timer_interrupt&lt;br /&gt;&lt;span&gt;secure_boot&lt;/span&gt;.emProject -&amp;gt;&amp;nbsp;timer_interrupt.emProject&lt;br /&gt;&lt;span&gt;secure_boot.emSession -&amp;gt;&amp;nbsp;timer_interrupt.emSession&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. implement the code above by myself.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Timer interrupt operate at the interval which is configured in code?</title><link>https://devzone.nordicsemi.com/thread/179800?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 14:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1101e41-b50e-40b3-bbdb-968b6f182093</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry for the delayed response. Have you taken this code from a specific example (if yes, where is the code location?) or have you written it yourself?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>