<?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>How to create a dummy timer?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60000/how-to-create-a-dummy-timer</link><description>Hello, 
 I&amp;#39;m trying to measure execution time of a piece of code in nRF52832. I was searching and found that I need to get the start time and finish time by using 
 beginval = app_timer_cnt_get(); [piece of code] endval = app_timer_cnt_get(); 
 Then get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 13:36:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60000/how-to-create-a-dummy-timer" /><item><title>RE: How to create a dummy timer?</title><link>https://devzone.nordicsemi.com/thread/244466?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 13:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa4219bd-3f90-47af-afa9-a486223ccfea</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One of my colleagues wrote a tutorial describing how to use the app_timer library:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you scroll down to the &amp;quot;&lt;strong&gt;Create a repeated timer&lt;/strong&gt;&amp;quot; example you can see how to initialize and start a repated timer,&amp;nbsp;which is essentially what the dummy timer is.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no need to do anything inside the timer handler, so you can remove the GPIO toggle call from the tutorial.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a dummy timer?</title><link>https://devzone.nordicsemi.com/thread/244079?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 12:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e702c911-9c34-46e1-9083-507ecef44f93</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;APP_TIMER actually has a config option (in sdk_config.h) to keep the RTC running.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that these are only prescaled RTC ticks, which run at a maximum of 32.768kHz. For exact timing using the HF clock use a TIMER peripherial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>