<?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>Zephyr &amp;amp; RTC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53519/zephyr-rtc</link><description>We are evaluating nRF9160 and need to implement periodic activities 
 that happen on RTC interrupts. It seems like Zephyr interferes with 
 normal RTC usage, so my questions are: 
 
 
 Which RTC is reserved by Zephyr? 
 
 
 
 If there is an RTC available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2019 13:46:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53519/zephyr-rtc" /><item><title>RE: Zephyr &amp; RTC</title><link>https://devzone.nordicsemi.com/thread/216656?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 13:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66f1f53e-4c4b-4ab1-a529-5aa328247232</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should be fixed in master now, where you can select the specific NRFX component you&amp;#39;d want to use.&lt;/p&gt;
&lt;p&gt;However, when using an older codebase than master, you need to do this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/nrfx/rtc/prj.conf#L11"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/nrfx/rtc/prj.conf#L11&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr &amp; RTC</title><link>https://devzone.nordicsemi.com/thread/216654?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 13:44:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0f7c7a-35d6-4159-babd-2a9d27dfd3af</guid><dc:creator>EdP</dc:creator><description>&lt;p&gt;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your reply. I tried to follow the NRFX example but it fails to compile. It complains about NRFX_RTC0_INST_IDX which in my case is not defined. I did my homework and figured out that instantiation depends on CONFIG_NRFX_RTC symbols.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And here is where I&amp;#39;m stuck because I can&amp;#39;t find a valid place where to define these parameters. menuconfig shows them in red. Kconfig is ignored. So, where should I define these symbols provided that my setup is Unix Makefiles, not SEGGER?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr &amp; RTC</title><link>https://devzone.nordicsemi.com/thread/216112?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 10:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea050bd6-6295-4dc9-9467-c8f3646b44d8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You could post a thread on this in the backstage part of the forum:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/backstage/"&gt;https://devzone.nordicsemi.com/nordic/backstage/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr &amp; RTC</title><link>https://devzone.nordicsemi.com/thread/216111?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 10:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f750e2-4c33-47e7-b2b5-877f077d5778</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. RTC1 is used by the kernel:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/drivers/timer/nrf_rtc_timer.c#L16"&gt;https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/drivers/timer/nrf_rtc_timer.c#L16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Yes, the peripheral RTC0 can be used by the application:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/rtc.html?cp=2_0_0_5_10_9#topic"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf9160/rtc.html?cp=2_0_0_5_10_9#topic&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. See this example on how to use nrfx_rtc directly:&amp;nbsp;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/nrfx/rtc"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/nrfx/rtc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr &amp; RTC</title><link>https://devzone.nordicsemi.com/thread/216105?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 09:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c961ce1-b91b-4250-aa72-48002ff816a9</guid><dc:creator>EdP</dc:creator><description>&lt;p&gt;In fact, this is my ticket. I tried to submit it but it didn&amp;#39;t work, don&amp;#39;t know why. So I asked a friend to post it for me.&lt;/p&gt;
&lt;p&gt;Is there an email address where I can send details about DevZone failure to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>