<?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>Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43067/question-about-stopping-all-the-timers-that-are-used-in-the-application</link><description>Hi Everyone 
 I have got 3 timers in my application. 
 1 is repeated , and other two are Single shot which are ran from the inputs to the 1st Repeated timer. 
 The repeated keeps checking the UART for a byte , once the byte is received , One single shot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Feb 2019 14:49:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43067/question-about-stopping-all-the-timers-that-are-used-in-the-application" /><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/170150?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 14:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea0d72ba-a445-4d51-8cd5-ac446957ef24</guid><dc:creator>Edvin</dc:creator><description>[quote user="Rajat"]Is my software compiling on your end?[/quote]
&lt;p&gt;&amp;nbsp;well, it wasn&amp;#39;t. It was missing some logging files (I can&amp;#39;t remember exactly which ones at this point in time). I removed everything except the app_timer things in order to compile. However I haven&amp;#39;t been able get any timer callbacks with your project whatsoever. I have stripped away everything except the app_timer parts. Are you able to get interrupts if you have short timeouts?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169869?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 09:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f1cb5e7-57e2-4ce7-95c2-fd2f5122bc3e</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Is my software compiling on your end?&lt;/p&gt;
&lt;p&gt;Because if it does , I can modify the same project that can work on PDK , Would it be okay?&lt;/p&gt;
&lt;p&gt;Just want to know if everything is compiling properly without any errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169645?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 07:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00c0df34-8d99-461d-bd67-e9ba210978c2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is it possible for you to replicate your issue on one of the examples in the SDK without all the external HW, so that I can reproduce it?&lt;/p&gt;
&lt;p&gt;Changing the&amp;nbsp;APP_TIMER_CONFIG_RTC_FREQUENCY should not change the time it takes for the timeout. Only the timer resolution. I have tested it in this example, but it works as intended.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169622?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 04:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be2401bc-0b6b-4f61-944c-c0ecfa691007</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;983040 are the ticks for 32768 frequency for same interval&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169621?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 04:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56decc00-8f95-495b-8834-4b9dfd9a267b</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;For 1024 frequency , number of ticks is 30720 for 30000 interval of timer t1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169485?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 11:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd611813-0ef8-448a-8b2f-3909ad558f4b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. It is possible. But changing the RTC frequency (or the prescaler) changes the way the timer behaves. But when you start a timer with an interval, one of your inputs is the number of ticks to timeout.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From your project:&lt;/p&gt;
&lt;p&gt;app_timer_start (t1_timer_id, T1_INTERVAL, NULL);&lt;/p&gt;
&lt;p&gt;Where T1_INTERVAL is defined as:&lt;/p&gt;
&lt;p&gt;#define APP_TIMER_TICKS(30000)&lt;/p&gt;
&lt;p&gt;if you have not changed app_timer.c/h then this should be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define APP_TIMER_TICKS(MS)                                \
            ((uint32_t)ROUNDED_DIV(                        \
            (MS) * (uint64_t)APP_TIMER_CLOCK_FREQ,         \
            1000 * (APP_TIMER_CONFIG_RTC_FREQUENCY + 1)))&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So it should calculate the number of ticks based on your APP_TIMER_CONFIG_RTC_FREQUENCY.&lt;/p&gt;
&lt;p&gt;Changing APP_TIMER_CONFIG_RTC_FREQUENCY should affect the number of ticks per second on your app_timer, but it should not effect the timeout length.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try to debug, and see how many ticks you get on T1_INTERVAL when your APP_TIMER_CONFIG_RTC_FREQUENCY is set to 31 (which means 1024Hz?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169462?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 10:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b931ec-8b9f-4e09-af4b-d74cf33c5e70</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;1st method&amp;nbsp;&lt;/p&gt;
&lt;p&gt;doesn&amp;#39;t work&lt;/p&gt;
&lt;p&gt;2nd method&amp;nbsp;&lt;/p&gt;
&lt;p&gt;does the job , but i have doubts on it .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the frequency of RTC was previously 32kHZ and it was stopping after 10 minutes ,then freq of 1024hZ will stop at a time 32 times more than that , which is 320 minutes , around 5 hours.&lt;/p&gt;
&lt;p&gt;But As per my requirement , i should be able to configure it for atleast for a day(24 hours of interval).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169444?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 09:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2afe48dc-df20-4338-afa9-35194699f3d5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry. I was out of office for a few days.&lt;/p&gt;
&lt;p&gt;It didn&amp;#39;t help to switch places on the scheduler and pwr mgmt in your main loop by the way?&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t see where you have used your&amp;nbsp;&lt;span&gt;APP_TIMER_PRESCALER. It is only defined (twice), and not used anywhere else, as far as I can tell.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try these two steps:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1: change your main loop to:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    while (1)
        {
            app_sched_execute ();
            nrf_pwr_mgmt_run ();
        }&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so that your application actually handles the scheduler before going to sleep.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and 2:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Change your&amp;nbsp;APP_TIMER_CONFIG_RTC_FREQUENCY in sdk_config.h to something higher. E.g. 31 (1024Hz). You can of course tune this, but try this value first. Then your timeout values should be fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/169202?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 05:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44eb4a03-04cb-4b6f-a8c1-b3ceecf9f54c</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Did you look into the project files i sent to you&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168967?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 04:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ab155d9-4ec7-4165-bf40-71d6e57719b4</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3034.Test.rar"&gt;devzone.nordicsemi.com/.../3034.Test.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/in_2D00_terra.rar"&gt;devzone.nordicsemi.com/.../in_2D00_terra.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Test.rar file contains the main.c file and sdk_config.h and in-terra.rar contains the .c and .h files being used.&lt;/p&gt;
&lt;p&gt;Path used for project is :&amp;nbsp;C:\Nordic\nRF5_SDK_15.0.0_a53641a\examples\myprojects\Test&lt;/p&gt;
&lt;p&gt;Path used for in-terra folder for .c and .h files is :&amp;nbsp;C:\Nordic\nRF5_SDK_15.0.0_a53641a\in-terra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168874?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f79bfad-c240-42ce-beaf-7455ea8fcc50</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Where is APP_TIMER_PRESCALER used?&lt;/p&gt;
&lt;p&gt;It may be that the .zip file is too big. Try to delete everything inside the _build folder. I don&amp;#39;t know what IDE you use (Segger Embedded Studio, Keil or IAR), but you can delete everything that is generated when you compile your project before zipping the project folder. Then it will be a much smaller file.&lt;/p&gt;
&lt;p&gt;If you want to send e.g. the ble_app_hrs project, and you use Segger Embedded Studio, then go to SDK\examples\ble_peripheral\ble_app_hrs\pca10056\s140\ses, and delete your Output folder. Then zip the ble_app_hrs folder.&lt;/p&gt;
&lt;p&gt;If you use Keil, the folder you should delete is SDK\examples\ble_peripheral\ble_app_hrs\pca10056\s140\arm5_no_packs\_build&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168814?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf54830-a3e2-430c-95de-ad81653da6cc</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;i am not able to upload the whole project , it says Error when i upload the zip file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168812?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0f1caa-f066-4818-840c-912fcea07369</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;APP_TIMER_CONFIG_RTC_FREQUENCY 0&lt;/p&gt;
&lt;p&gt;or is it this value that decides everything ahead in the software?&lt;/p&gt;
&lt;p&gt;I am confused. :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168811?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79394b82-d9cd-4929-b1ad-4ad239e81a65</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Inside timer_interra.h , i have defined&lt;/p&gt;
&lt;p&gt;#define APP_TIMER_PRESCALER&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168810?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:11:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08cef54b-d6f6-4ba6-a14c-bb13d9b4716c</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/timer_5F00_interra.c"&gt;devzone.nordicsemi.com/.../timer_5F00_interra.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/timer_5F00_interra.h"&gt;devzone.nordicsemi.com/.../timer_5F00_interra.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168805?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe40335-1820-49da-8e94-02f219e36a79</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t need to reproduce, but it is easier to navigate in your project to see what you are doing if I have the project. Your APP_TIMER_CONFIG_RTX_FREQUENCY is 0, meaning your app_timer is running on 32768Hz.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where do you set your prescaler to 15?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168686?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae35e270-f392-4da8-8315-ab2d038b81e5</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;7. Here is the file for app_timer_init() function from the SDK15.0&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8132.app_5F00_timer.c"&gt;devzone.nordicsemi.com/.../8132.app_5F00_timer.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168684?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ffb158a-a536-4f85-9325-758efe9c9f3c</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;1. Yes , both the functions app_sched_execute() and nrf_pwr_mgmt_run() are unmodified.&lt;/p&gt;
&lt;p&gt;2. Okay , i will try switching places of both the functions.&lt;/p&gt;
&lt;p&gt;3. The project is very huge , as it uses sensors and LoRa and many other peripherals. It would be difficult for you to reproduce the same on your side.&lt;/p&gt;
&lt;p&gt;4. The prescaler value is 15 .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. I haven&amp;#39;t changed the app_timer_init() function at all .&lt;/p&gt;
&lt;p&gt;6. I am attaching my SDKCONFIG.h file , You can have a look at that.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4034.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../4034.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168677?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 11:48:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d28efe5-c2d6-4d4f-92c4-e95c386ebd30</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Thank you! Nice and simple. But I need to see your app_timer_init() and your sdk_config.h file.I assume that your nrf_pwr_mgmt_run() is unmodified? I also assume your app_sched_execute() is unmodified?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I believe you should switch place on app_sched_execute() and nrf_pwr_mgmt_run(), by the way, since now, you will not execute the scheduler until you wake up from nrf_pwr_mgmt_run()&lt;/p&gt;
&lt;p&gt;This is the first time I can see that you are using the app scheduler, which is&amp;nbsp;quite relevant for your application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I will still need to know your prescaler on your app_timer. You can either send me your project, or a project that can reproduce the issue that you see in order to help you in a timely manner. Alternatively, you can give me your sdk_config.h and app_timer_init() function, as long as you didn&amp;#39;t change anything in the app_timer SDK files. But if I can&amp;#39;t replicate the issue, I would have to give you the same answer again: &amp;quot;please send a project that can replicate this issue&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168623?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1d8887-8f39-4dce-a451-9a6188c6a912</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Let me make it very simple .&lt;/p&gt;
&lt;p&gt;I have a repeated timer&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;T1 interval on boot is 5 seconds .&lt;/p&gt;
&lt;p&gt;When the timer expires , t1 timer handler will be called.&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void
t1_timer_handler (void *p_context)
{

    app_sched_event_put (NULL, 0, manual_sensor_handler);
    app_timer_stop (t1_timer_id);
    app_timer_start(t1_timer_id, APP_TIMER_TICKS(600000), NULL);  //10 minutes = 600seconds
    
    /*Problem : t1 timer is not restarting after 10 minutes. Works perfectly if the
    time is less than 10 minutes*/
}

int main(void)
{
ble_init ();
app_timer_init();
APP_SCHED_INIT (APP_TIMER_SCHED_EVENT_DATA_SIZE, 10);
app_timer_create (&amp;amp;t1_timer_id, APP_TIMER_MODE_REPEATED, t1_timer_handler);
app_timer_start (t1_timer_id, T1_INTERVAL, NULL);
    
while (1)
    {
        nrf_pwr_mgmt_run ();
        app_sched_execute ();
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168620?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:517a976b-7e62-4c5a-9aae-bc8551001bb3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is it possible to send a project that can reproduce what you are seeing? I am not sure I understand exactly what you are doing and what the issue is.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you can zip the project folder, and upload it here together with some instructions on how to reproduce the issues, that would be great.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168596?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 06:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db77e6a6-0440-46ef-bbda-0e5631b33f22</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Just to be sure , I need to make this definition 1 in the SDKCONFIG.h file , right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168593?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 05:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8c89cdf-c80b-4555-bf3a-68ef7fd89482</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;No , It doesn&amp;#39;t work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168531?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 15:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a785353-b85c-4cf8-a089-d6bb5e7df02d</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;No, i haven&amp;#39;t tried this yet , tomorrow morimor I would do and update the forum&lt;/p&gt;
&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f60a.svg" title="Blush"&gt;&amp;#x1f60a;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about stopping all the timers that are used in the application.</title><link>https://devzone.nordicsemi.com/thread/168513?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 15:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:289ea6c1-c3bd-4e2c-a978-546ab83b4355</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Have you tried defining&amp;nbsp;&lt;/p&gt;
&lt;p&gt;APP_TIMER_KEEPS_RTC_ACTIVE = 1?&lt;/p&gt;
&lt;p&gt;The RTC doesn&amp;#39;t draw much current ( &amp;lt;1µA) See if this works.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>