<?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>Issue with rtc in nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115666/issue-with-rtc-in-nrf52840</link><description>Hi i am using nRF52840 with segger embedded studio. 
 SDK -&amp;gt; nrf5-sdk 17.1.0 I want to configure rtc2 so that whenver i initialize it it should generate an interrupt after certain interval and wakeup the system. 
 B_LED_RED is blinking but B_LED_BLUE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2024 14:37:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115666/issue-with-rtc-in-nrf52840" /><item><title>RE: Issue with rtc in nrf52840</title><link>https://devzone.nordicsemi.com/thread/507180?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 14:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb79f9fa-6714-46c1-bb24-a3ef02ee1022</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sumit,&lt;/p&gt;
&lt;p&gt;How do you expect&amp;nbsp;&lt;span&gt;B_LED_BLUE to blink ?&amp;nbsp;&lt;br /&gt;The CC counter is not re-occuring, it&amp;#39;s only triggered when the counter goes from N-1 to N (where N is what set in the CC[] register)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So you either have to&amp;nbsp;change the CC counter to the future (next 8 seconds, take care of the wrap around) or you should reset the&amp;nbsp;COUNTER if you want it to be triggered again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By default the&amp;nbsp;nrfx_rtc driver will disable and clear the CC counter, so you won&amp;#39;t see the event occur when COUNTER is overflow :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1729521361729v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>