<?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>Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47783/queries-on-application-timer-functionality</link><description>Hello, 
 
 I am using nRF52832, SDK_15.3.0, S132 SoftDevice and Segger for flash the image. I am using ‘ble_app_blinky’. 
 
 I have gone through “Application Timer” tutorial. 
 https://devzone.nordicsemi.com/nordic/tutorials/b/software-development-kit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jun 2019 14:42:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47783/queries-on-application-timer-functionality" /><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/192969?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 14:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a31f9ff0-6e2b-450e-982d-0a8bff29d9a0</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Sorry Simon, lot of changes I added and at this stage I can&amp;#39;t share the code even in private forum.&lt;/p&gt;
&lt;p&gt;Anyway I am able to write data into Flash.&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/192967?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 14:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e0b6b6-af04-4f51-81b3-34ce4ffaa296</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you upload your example, then I can test it myself and understand your problem better. I can make the case private if you would like so.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/192534?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 03:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2b4ceb-cc92-45a4-b760-29295520ec2b</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As mentioned above, if I call Flash write within event handler, code gets hanged. To avoid this I set a flag to true in event handler and in ideal loop I will write data into Flash and reset the flag. With this its working fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please let me know is this expected behavior, if not let me know any other alternate approach.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;br /&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/192512?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 22:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:844adbbf-512c-4e24-855e-41a53474c331</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I have been quite busy lately, my apologies for that. Have you been able to figure this out?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/191426?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 14:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e61c560-bb2c-49f5-8c0a-97531487f863</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Could you able to cross check with below issue, while writing into Flash within event handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/190902?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 17:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b90c7ba-a78c-4cd0-aae9-ee0e84db9961</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Sorry, any updates on this query.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have to set a flag and then in while loop I have to write the data into Flash. Otherwise it hangs without any error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/190562?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 14:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a86d57-9d6d-4be0-bdf8-a2c268ada479</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs.&lt;/p&gt;
&lt;p&gt;Can you please cross check 4). When I call Flash operations inside handle, code getting hanged.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also please let me know whether handlers will execute in Interrupt context.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/190455?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 09:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b9f09f1-143a-46c4-8aab-975b9662fe84</guid><dc:creator>Simon</dc:creator><description>[quote user=""]1) Using “Application Timer module” how many max timers / handlers can be executed at a time with APP_TIMER_MODE_REPEATED. At application level I need 5 timers. Since RTC1 has CC[0..3] whether I can use only 4 at a time.[/quote]
&lt;p&gt;&amp;nbsp;I am not sure what the maximum amount of timers are, and what the limiting factor is, but I tried adding 6 timers to an application and that worked fine. I don&amp;#39;t think&amp;nbsp;&lt;span style="font-weight:400;"&gt;APP_TIMER_CONFIG_OP_QUEUE_SIZE is the limiting factor, since I set it to 1 and all the 6 timers still fires. I can look into it further if you would like a more precise answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]2) I want to sleep &amp;amp; wakeup periodically for every 30 minutes. For this I need to change PRESCALER. To my understanding there will be only one prescaler for entire timer module. So if I change, will there be any impact on existing timers and SoftDevice (Not sure whether SoftDevice uses Application Timer).[/quote]
&lt;p&gt;&amp;nbsp;&lt;span style="font-weight:400;"&gt;The APP_TIMER_CONFIG_RTC_FREQUENCY (RTC prescaler) is not used by the Softdevice&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3) I want to stop LED after 10 blink automatically. In this case with some conditions whether can I call app_timer_stop() within same handler (repeated_timer_handler()).[/quote]
&lt;p&gt;&amp;nbsp;&lt;span style="font-weight:400;"&gt;No problem, you can do this&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]&amp;nbsp;4) Whether handler will execute in Interrupt context. I want to read data over TWI and write data into Flash. Whether all there can be called within timer handler.[/quote]
&lt;p&gt;&amp;nbsp;&lt;span style="font-weight:400;"&gt;This shouldn’t be a problem&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/190452?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 09:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03c515c9-6c4b-4125-a503-eaa6b14ec53b</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Please update on above queries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries on Application Timer functionality</title><link>https://devzone.nordicsemi.com/thread/189702?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 16:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ad0f53-2615-48da-9518-534c44026f5c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the delay, I will try to provide you with an answer tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>