<?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>RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90571/rtc-ppi-in-nrf-connect-sdk-using-nrfx-drivers</link><description>Hi, I am trying intialize the RTC in ncs using nrfx drivers and then connect it tick event to a saadc sampling event using a ppi channel. I learnt that RTC0 and RTC1 are used internally and only option available is RTC 2 though this ticket . 
 
 This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2022 06:18:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90571/rtc-ppi-in-nrf-connect-sdk-using-nrfx-drivers" /><item><title>RE: RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/thread/382989?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 06:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c519c05-12bf-4f7a-b5bf-c1b3d73a86ba</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Glad to hear that it works now &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;. Closing the case.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/thread/382986?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 06:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ef88eb-3795-432c-92a2-7bc297bc00fc</guid><dc:creator>shiva74638</dc:creator><description>&lt;p&gt;Hi, sorry for the delay. I have solved the issue. The PPI was working well on RTC events with previous implementation only. But the thing that confused me so much and ate all my time was&amp;nbsp;IRQ_CONNECT. Instead of rtc_handler from my code , it should be nrfx_rtc_2_irq_handler. Which is declared in rtc.h and defined in rtc.c&lt;br /&gt;&lt;br /&gt;The above code works only with this change&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;IRQ_CONNECT(DT_IRQN(DT_NODELABEL(rtc2)),
	            DT_IRQ(DT_NODELABEL(rtc2), priority),
	            nrfx_rtc_2_irq_handler, NULL, 0);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/thread/380974?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2022 10:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fecf19b4-e649-454b-a55b-2229c04160a3</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the problem that you face? Do you get any errors?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/thread/379799?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 06:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac224a4-62fe-4356-a6c1-75aff3d28de5</guid><dc:creator>shiva74638</dc:creator><description>&lt;p&gt;Hi, thanks for the reply. I was able get PPI up through nrfx but not RTC.&lt;br /&gt;I see that you have suggested this&amp;nbsp;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/nrfx/rtc/src/main.c"&gt;unofficial github example&lt;/a&gt;&amp;nbsp;in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85296/rtc-in-nrf-connect-sdk"&gt;ticket&lt;/a&gt;. and followed it ,&amp;nbsp; but couldn&amp;#39;t get it run. you can see my code snippet in the starting question. Is there anything wrong with my code. I am using nrf52840 on a custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC + PPI  in nrf connect sdk using NRFX drivers.</title><link>https://devzone.nordicsemi.com/thread/379686?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 10:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af816d49-a541-4626-b297-e044bbf2a795</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Shiva,&lt;/p&gt;
&lt;p&gt;You can take a look at &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/subsys/debug/ppi_trace"&gt;this sample&lt;/a&gt;&amp;nbsp;as well as &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/debug/ppi_trace"&gt;this one&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>