<?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>Custom timer in nRF secure bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92654/custom-timer-in-nrf-secure-bootloader</link><description>Hi, 
 I would like to introduce a timer in my nRF secure bootloader that calls a function and toggles an LED every 2 seconds. I already know that several timers are used by the secure bootloader and therefore wanted to ask which custom application timers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Oct 2022 12:10:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92654/custom-timer-in-nrf-secure-bootloader" /><item><title>RE: Custom timer in nRF secure bootloader</title><link>https://devzone.nordicsemi.com/thread/390256?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 12:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55a4456d-6b05-468e-907c-2b373fc85964</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The app timer is based on the RTC1 peripheral. The difference between RTC and TIMER is the that the latter is based on the more accurate HCLK vs the former which is based on the LFCLK. The former draws significantly more current as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom timer in nRF secure bootloader</title><link>https://devzone.nordicsemi.com/thread/390092?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 16:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d0cbf3-3674-4e2a-a4fe-34b9722feebd</guid><dc:creator>Louis_263</dc:creator><description>&lt;p&gt;Hi Torbjorn,&lt;br /&gt;thanks for your answer.&lt;br /&gt;I think that using the app_timer library takes the most flash memory, right? I would like to choose the method that takes up less memory, so probably one of the hardware timers.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Louis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom timer in nRF secure bootloader</title><link>https://devzone.nordicsemi.com/thread/389799?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 11:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10715241-71da-47c5-b439-093c5a816bb1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Louis&lt;/p&gt;
&lt;p&gt;For clarity, do you want to use an app_timer, or a dedicated TIMER or RTC peripheral?&lt;/p&gt;
&lt;p&gt;If the app_timer library is used you can assign as many timers as you want, only limited by available memory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using a dedicated TIMER or RTC module is also an option, but then you are limited to the number of hardware peripherals available.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using the nRF52820 you should be able to use TIMER2, TIMER3 or RTC2 if you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>