<?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 Tick - 1ms</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66751/app-timer-tick---1ms</link><description>Hello, I am developing with: custom nRF52810 board, nRF5 SDK 17, S112. 
 I&amp;#39;m using APP_TIMER for my main tick. I have the following code I use to initialize and start the timer. 
 
 From what I can tell, &amp;quot;1&amp;quot; in APP_TIMER_TICKS(1) is in ms. However, when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2020 13:02:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66751/app-timer-tick---1ms" /><item><title>RE: App Timer Tick - 1ms</title><link>https://devzone.nordicsemi.com/thread/273238?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 13:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:750fe40f-772e-45ee-bded-dedd5c55331d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Your implementation is correct, but due to the frequency that the timer is running at it is not possible to get the resolution you desire to get this exactly correct. The app_timer runs off the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/rtc.html#concept_iwc_1mj_sr"&gt;RTC peripheral&lt;/a&gt;, which uses the 32.768 kHz LFCLK as its clock source. The RTC can set the CC register to either 32 or 33 in order to get as close as possible to your desired timing, giving either 1024 Hz (32768/32) or ~993 Hz (32768/33).&lt;/p&gt;
&lt;p&gt;2. No, but you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/timer.html"&gt;TIMER peripheral&lt;/a&gt; if you require higher resolution. The timer peripheral runs off the 16 MHz high-frequency clock, allowing you to set timeouts in&amp;nbsp;62.5 ns steps. See&amp;nbsp;&lt;a title="Timer Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf_dev_timer_example.html?cp=7_1_4_6_46"&gt;Timer Example&lt;/a&gt;&amp;nbsp;for details on how to use the timer peripheral.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>