<?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>Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91866/use-of-rtc1-in-nrf52805</link><description>I am using NRF5 SDK 17.1 
 SES 
 S112 for the nRf52805 
 
 I followed the guide for the 805 
 
 i then used the NUS Peripheral and was trying to setup the rtc so the device sleeps until the RTC match then wakes and advertises. after a disconnection it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Sep 2022 15:50:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91866/use-of-rtc1-in-nrf52805" /><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/386943?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 15:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48a2d064-6923-41ea-be32-9c9491546768</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;Thanks;&amp;nbsp; it took that second pair of eyes.&amp;nbsp; I thought i had commented out the sleep_mode_enter().&amp;nbsp; but it was not.&lt;/p&gt;
&lt;p&gt;I fixed that and it works.&amp;nbsp; I appreciate your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/386166?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 12:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:036d158d-400e-4166-8f99-381364b8ade7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I searched throught the project, I could not see that&amp;nbsp;you actually checking any error codes when calling app_timer_*() api?&lt;/p&gt;
&lt;p&gt;Also,&amp;nbsp;make sure you don&amp;#39;t call sleep_mode_enter() sometime here, this will put the chip in system off mode, which stop all clocks.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/386149?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 11:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c24c91-a83f-482b-94b0-50441fcdf1db</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;I dont see an error.&amp;nbsp; I will look at the terminal window to verify this, but it does not seem to enter the handler for the timer since i do not see the LED toggle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/386062?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 20:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0424b9b7-a1f0-4b36-bb0b-7d4d28ae6aab</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Any error codes from the app_timer?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/386060?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 19:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cca3ac8-d3e1-4ae4-8cf4-a6b0180d3f0f</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;My original code was for a 52840 and used RTC2.&amp;nbsp; Since this is targeted at the nRF52805 i changed it to RTC1, but that wasn&amp;#39;t working.&amp;nbsp; So I have modified my code to just use the app_timer.&amp;nbsp; my intent is to advertise for a period of time then when&amp;nbsp;advertising stops, start the timer.&amp;nbsp; when the timer is triggered (i set it to 5 Seconds) i want it to wake and advertise again.&amp;nbsp; i also want to start the timer on a disconnect.&amp;nbsp; my code compiles, but does not run.&amp;nbsp; Can you look at the attached code and let me know if you see why it does not seem to trigger the timer.&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_52805.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_52805.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of RTC1 in nRF52805</title><link>https://devzone.nordicsemi.com/thread/385929?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 11:17:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f75fe83-1ac2-4edd-9373-6cf0dafa5650</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not clear to me what you are trying to achieve here. The app_timer module use RTC1 and is intende to be used to execute a&amp;nbsp;callback at given interval or execute a single shot callback some time in the future. It ensure low power operation and can for instance be used to wakeup the chip after a period of time, the library documentation and looking at some of the ble examples should be good starting point, e.g.:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_timer.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_timer.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not clear to me why you are in parallell trying to use the RTC1 directly, it seems like you want to re-invent something that the app_timer already do excellent. It would be very problematic to have many software modules relying on app_timer, and then you try to go bare metal (without any obvious pros since the current is the same) using the same RTC1.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>