<?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>How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22941/how-to-enable-and-use-rtc0-rtc1-and-rtc2----nrf52832</link><description>I am currently using nRF52832 with SDK v11.0.0 and S132 v2.0.0. I&amp;#39;d like to enable either RTC2 or RTC0 as a dedicated counter for the keeping track of time (LFCLK). RTC1 is already designated for general purpose timings on LFCLK with prescaler =&amp;gt; 0. Is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jun 2017 16:43:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22941/how-to-enable-and-use-rtc0-rtc1-and-rtc2----nrf52832" /><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90257?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 16:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29a5b545-467e-4b59-ba7e-2b1c00f21112</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;Thank you Kristin. I now know how to proceed with my nRF52823 application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90255?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 10:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4df0c1-adf0-4c91-904e-03b14077fdf0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;It is not possible to have the LFCLK running when in system OFF, from the product specification: &amp;quot;&lt;em&gt;System OFF is the deepest power saving mode the system can enter. In this mode, the system’s core functionality is powered down and all ongoing tasks are terminated.&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90260?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 16:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c17e2ddf-ab01-4f56-9e87-4bb042d7e22e</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;I&amp;#39;m not concerned with current consumption. My concern is that the RTC1 clock will stop running when the chip goes into &amp;quot;system OFF&amp;quot; mode. Is there a setting in the chip that can be issued that will allow the LFCLK to perpetually run even when we&amp;#39;re in &amp;quot;system OFF&amp;quot; mode? In the past, how are developers creating a real-time clock that runs forever with the nRF52832 when the &amp;quot;system OFF&amp;quot; mode is shutting down the LFCLK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90256?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 11:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e35f5bc-5854-4bbc-a4f4-a245fefd7ff9</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When setting the chip in SYSTEM ON mode, the RTC will keep running, unless it has been explicitly turned off. &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpmu.html&amp;amp;cp=2_1_0_16_0&amp;amp;anchor=unique_571678718"&gt;This&lt;/a&gt; chapter in the Product Specification shows the current consumption when the chip is in system ON, but the RTC is running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90254?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 22:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b780c41-5521-46ed-98e6-db62e9f6c58a</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;I&amp;#39;m currently using app_timer as my Real-time clock. However, when the processor goes into sleep mode, won&amp;#39;t RTC1 will stop ticking away, thereby haulting my real-time clock? I must ensure that I have an RTC (either RTC1 or RTC2) that never stops ticking, even when the chip sleeps. Is there a register setting in the nRF52832 that I can activate that will by-pass reseting RTC1? Please advise...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90261?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2017 09:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2600eb6-0ebe-4f22-920e-bb95424df8ef</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;According to &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Frtc.html&amp;amp;cp=2_1_0_24_10_0&amp;amp;anchor=unique_1257019230"&gt;the product specification&lt;/a&gt;, the current consumption should only marginally increase when using multiple instances of the RTC..&lt;/p&gt;
&lt;p&gt;With multiple instances of the RTC, different prescaler values used. To do so, you will have to use the RTC driver. If it is not necessary with different prescaler values, you can use app_timer. In that case, which timer you want to use depends on which one that is the best fit, API wise for example, for your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90259?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 17:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9e73678-dc95-4f2d-b785-5a05f047e4af</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;Thank you Kristin. Is it recommended to simply use the Timer Library (based off of RTC1) to spawn as many timers as necessary? Are their advantages to using RTC2 and RTC1 simultaneously? Seems as though RTC2 running alongside RTC1 will increase power consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90258?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 06:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec51395-efed-47a7-b653-541aa700cb7b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(2); /**&amp;lt; Declaring an instance of nrf_drv_rtc for RTC2. */&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90253?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 20:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35d7974-6862-4a0c-ad41-e67588b616b0</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;Thank you for your response Kristin. Unfortunately, I cannot find an example of how RTC2 is enabled within the SDK. Can you send a link my way ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable and use RTC0, RTC1, and RTC2 -- nRF52832</title><link>https://devzone.nordicsemi.com/thread/90252?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 09:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbe68263-366f-4193-b4ce-ccce840b9d00</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When using the softdevice, RTC0 is blocked blocked by the softdevice, see &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.sds%2Fdita%2Fsoftdevices%2Fs130%2Fsd_resource_reqs%2Fhw_block_interrupt_vector.html&amp;amp;cp=2_4_0_0_6_0"&gt;this&lt;/a&gt; chapter in the softdevice specification. So your application is free to use RTC 1 and RTC 2. It should be possible to have three different instances of the RTC running.&lt;/p&gt;
&lt;p&gt;For how to use and declare an instance of the RTC, you can have a look at the rtc example in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>