<?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>Nrfx timer issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38502/nrfx-timer-issue</link><description>I try to set up a timer: 
 
 The nrfx_timer_init() function crashes with an error: 
 
 What is wrong? How to fix this? 
 Environment: nRF52840, NRF SDK 15.2, S140 6.1, Mesh SDK 2.2</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 08:35:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38502/nrfx-timer-issue" /><item><title>RE: Nrfx timer issue</title><link>https://devzone.nordicsemi.com/thread/148957?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 08:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d98e116-ed17-498b-9055-0ced58b2864d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, app_timer runs on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/rtc.html?cp=2_0_0_5_21"&gt;RTC&lt;/a&gt;, which use the LFCLK as clock source. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/timer.html?cp=2_0_0_5_29"&gt;TIMER peripherals&lt;/a&gt; use the HFCLK as clock source. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/_tmp/graviton/autodita/CURRENT/parameters.i_timer.html?cp=2_0_0_4_1_0_8"&gt;TIMERS&lt;/a&gt; draw much higher current than &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/_tmp/graviton/autodita/CURRENT/parameters.id_current_sleep.html?cp=2_0_0_4_1_0_0"&gt;RTC&lt;/a&gt;&amp;nbsp;(see &lt;span&gt;I&lt;/span&gt;&lt;sub&gt;ON_RAMOFF_RTC&lt;/sub&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfx timer issue</title><link>https://devzone.nordicsemi.com/thread/148945?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 08:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0b8e396-0f10-4847-8a0e-2102902feba2</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Anyway, I&amp;#39;ve already fixed it using&amp;nbsp;app_timer. Is there any power (current) difference between app_timer and nrfx_timer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfx timer issue</title><link>https://devzone.nordicsemi.com/thread/148626?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 12:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e89fb9f6-30f5-427b-8771-46156550a853</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html?cp=2_3_2_0_6_0"&gt;TIMER0 is used by the softdevice&lt;/a&gt;. Please try with &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/timer.html?cp=2_0_0_5_29_4#topic"&gt;another TIMER instance&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>