<?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>TIMER1 in Mesh SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27258/timer1-in-mesh-sdk</link><description>Hi , 
 I want to use TIMER1 in mesh SDK , is it possible to use TIMER1 in mesh SDK ? And how can i set it up and run it ? 
 Thank you for your help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2017 14:56:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27258/timer1-in-mesh-sdk" /><item><title>RE: TIMER1 in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/107627?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 14:56:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b1ff4a-9f79-44fa-8f53-78b555b1276a</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you &lt;a href="https://devzone.nordicsemi.com/question/14980/nvic_enableirq-vs-sd_nvic_enableirq/"&gt;taken a look at this case yet&lt;/a&gt;? Try using the &lt;code&gt;sd_nvic_SetPriority(...)&lt;/code&gt; first like explained and then use the &lt;code&gt;sd_NVID_EnableIRQ(...)&lt;/code&gt; function afterwards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER1 in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/107625?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2017 14:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b92bf52-9dbc-4402-9d22-1ec101799fda</guid><dc:creator>MMG</dc:creator><description>&lt;p&gt;Hi Bjorn. i wnat to send a packet periodically thats why i want to use TIMER1 interupts to be able to send my packet in the &lt;code&gt;TIMER1_IRQHandler()&lt;/code&gt;. but it seems does not work . i do enable the TIMER1 intrups in the &lt;code&gt;timer.c&lt;/code&gt; file: in the &lt;code&gt;void timer_on_ts_begin(timestamp_t timeslot_start_time)&lt;/code&gt; function as bellow::&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void timer_on_ts_begin(timestamp_t timeslot_start_time)
if (!m_timer_mut)
    {
#if !defined(HOST)
        (void) NVIC_EnableIRQ(TIMER0_IRQn);
        (void) NVIC_EnableIRQ(TIMER1_IRQn); 
#endif
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;is it a proper way or not? and which priority value should i assign to TIMER1 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TIMER1 in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/107626?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2017 14:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e51494e2-69bf-44e4-bd90-6687d4d75f7c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi MMG. What are you planning to do with the Timer1 Interrupt?&lt;/p&gt;
&lt;p&gt;Got some tips from a mesh expert at Nordic: Make sure to give Timer0 interrupt higher priority. You should not block the mesh interrupt (especially the timeslot interrupt). If the radio interrupt is missed, this will result in a bit more latency (which should be ok). Also, try to do a time consuming task in the main loop to test whether your solution works correctly with mesh.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>