<?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>RTC2 overwrite confiugration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41307/rtc2-overwrite-confiugration</link><description>I want to use the RTC Tick Event as my system tick. But on both the RTC0 and RTC1 my programm freezes after about 8min. 
 It looks like the Tick interrupt is still served (I toggled a pin on the interrupt) but the programm execution is stopped, due it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Dec 2018 12:32:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41307/rtc2-overwrite-confiugration" /><item><title>RE: RTC2 overwrite confiugration</title><link>https://devzone.nordicsemi.com/thread/161850?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 12:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95dc6e85-ec25-4900-9941-853d25111f7e</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;So why don&amp;#39;t you just stop it manually from the application then? It should stop immediately so you don&amp;#39;t need to wait as far as I know. I&amp;#39;m not sure there is a &amp;quot;proper&amp;quot; way to wait for it to stop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC2 overwrite confiugration</title><link>https://devzone.nordicsemi.com/thread/161055?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 16:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051d84d3-86a8-4c42-9329-abbbe953a8d3</guid><dc:creator>Dex</dc:creator><description>&lt;p&gt;Yes I can stop the RTC2 from the application. But in my opinion it would be nice, if the bootloader stops it at the end or at least deactivate the interrupts.&lt;/p&gt;
&lt;p&gt;And my other question. For writing to the prescaler register the RTC has to be stopped. But this takes some time. What is the proper way for waiting till the RTC has stopped?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC2 overwrite confiugration</title><link>https://devzone.nordicsemi.com/thread/161051?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 15:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b932f2c5-ebd3-4b55-bb69-25d8696ceec3</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can&amp;#39;t you stop the RTC2 yourself from the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC2 overwrite confiugration</title><link>https://devzone.nordicsemi.com/thread/160700?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 10:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bceaef9-f104-4fee-96ea-b5942e91470f</guid><dc:creator>Dex</dc:creator><description>&lt;p&gt;It turned out, that the RTC2 is still configured and runnig from the bootloader. Should it not be deactivated at the end of the bootloader?&lt;/p&gt;
&lt;p&gt;I coulnd&amp;#39;t confiugre the prescaler of the RTC2 because it was still running (to less time between NRF_RTC2-&amp;gt;TASKS_STOP = 1 and write to the Prescaler register). Is there a proper way for waiting for the RTC2 has stopped? Now im doing it with:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;while(NRF_RTC2-&amp;gt;PRESCALER != TICK_PRESCALER){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_RTC2-&amp;gt;PRESCALER = TICK_PRESCALER;&lt;br /&gt;&amp;nbsp; }&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>