<?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 Start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75318/app-timer-start</link><description>Hi, 
 at the description of the function : app_timer_start 
 
 The parameter &amp;quot;timeout_ticks&amp;quot; has a minimum value, what about the maximum value? in other words can we use this app_timer_start function to start a timer for hours? 
 Is the limit is just</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 May 2021 11:53:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75318/app-timer-start" /><item><title>RE: App Timer Start</title><link>https://devzone.nordicsemi.com/thread/310417?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 11:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ffede10-bad0-4346-8b3b-7573cf502802</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The parameter &amp;quot;timeout_ticks&amp;quot; has a minimum value, what about the maximum value?[/quote]
&lt;p&gt;The maximum value for the original app_timer implementation (app_timer.c) is MAX_RTC_COUNTER_VAL, which is (2^24)-1 =&amp;nbsp;16777215. There was an issue in some SDK versions where half of this was the actual maximum due to a bug. And for app_timer2 if you are using that, the maximum value is 2^32-1 as the internal implementation has changed.&lt;/p&gt;
[quote user=""]Please let me know If my calculation is right\wrong.[/quote]
&lt;p&gt;It depends. The&amp;nbsp;original app_timer.c internally is 24 bit because of the RTC being 24 bit. So the correct would be&amp;nbsp;((2^24) - 1)/32768 = 512 seconds. You can increase this by lowering the RTC frequency by using a prescaler though, which you do by modifying&amp;nbsp;APP_TIMER_CONFIG_RTC_FREQUENCY in sdk_config.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>