<?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>Why time delay is  happening after loop ? Please help after many days fail to resolve it.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54571/why-time-delay-is-happening-after-loop-please-help-after-many-days-fail-to-resolve-it</link><description>I have 2 message order by sequence and between each of them have delay 2s. for Example 
 How should it work 
 A1BBCCDDEEAABBCCDDEEAABBCCDDEEAABBCCDDXX 
 Delay 2s 
 A2BBCCDDEEAABBCCDDEEAABBCCDDEEAABBCCDDXX 
 How it work now 
 A1BBCCDDEEAABBCCDDEEAABBCCDDEEAABBCCDDXX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Nov 2019 10:35:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54571/why-time-delay-is-happening-after-loop-please-help-after-many-days-fail-to-resolve-it" /><item><title>RE: Why time delay is  happening after loop ? Please help after many days fail to resolve it.</title><link>https://devzone.nordicsemi.com/thread/221025?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 10:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea79f352-649d-4dcd-8240-55489e81ffc2</guid><dc:creator>ox00</dc:creator><description>&lt;p&gt;I solve this by using&amp;nbsp;&amp;nbsp;nrf_delay_ms();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why time delay is  happening after loop ? Please help after many days fail to resolve it.</title><link>https://devzone.nordicsemi.com/thread/220962?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 03:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a09703a0-d4d7-49ea-ba32-633612fba588</guid><dc:creator>ox00</dc:creator><description>&lt;p&gt;&amp;nbsp;send_some_data_uart_init(); this function is the function of the timer. The delay timer is work but why it skip the loop ?&lt;pre class="ui-code" data-mode="text"&gt;
void send_some_data_uart_init(void)
{

  ret_code_t err_code;


//    app_timer_create(&amp;amp;send_some_uart_data,APP_TIMER_MODE_REPEATED, uart_event_handle);
   err_code= app_timer_start(send_some_uart_data, APP_TIMER_TICKS(5000), NULL);
     APP_ERROR_CHECK(err_code);
}

static void timers_init(void)
{
   ret_code_t    err_code;

     err_code = app_timer_init();
    APP_ERROR_CHECK(err_code);

     err_code=app_timer_create(&amp;amp;send_some_uart_data,APP_TIMER_MODE_REPEATED, uart_event_handle);

    APP_ERROR_CHECK(err_code);

}

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why time delay is  happening after loop ? Please help after many days fail to resolve it.</title><link>https://devzone.nordicsemi.com/thread/220828?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 12:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fcd44e0-169e-48b8-a63e-97ddcc0ac75a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Maybe try to call printf from main() and not an interrupt context? Your code snippet doesn&amp;#39;t contain any delay from what I can see.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>