<?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>WDT and CRV</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66558/wdt-and-crv</link><description>Hi, 
 
 We are trying to configure the WDT and are running into issues. The plan was have a timeout of 30 seconds when running and then 24 hours when sleeping. Note we are also using the soft device with BLE advertising in the background. The device is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Oct 2020 10:46:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66558/wdt-and-crv" /><item><title>RE: WDT and CRV</title><link>https://devzone.nordicsemi.com/thread/272697?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 10:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa38a52c-80d1-4f78-a140-b457e063a147</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi again, Jon.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I&amp;#39;m afraid that the recommended solution, if the SD is active during sleep(f.ex. advertising), is to have an app_timer feeding the WD. The RTC is running anyway (because of the SD) so this should not have a significant impact on power consumption.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;You are correct that nrf_pwr_mgmt won&amp;#39;t return on advertising events. For this you can use radio notifications as described in&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/radio-notification"&gt;this tutorial&lt;/a&gt;&lt;span&gt;&amp;nbsp;(it&amp;#39;s old but it should still work).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Best regards,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Carl Richard&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT and CRV</title><link>https://devzone.nordicsemi.com/thread/272626?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 19:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f292a6bc-6b20-4476-9121-42ebf4c906ec</guid><dc:creator>Jonathan Swoboda</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. A timer does not sound workable. If we want a 30 second timeout that means we have to have a timer go off every 30 seconds. We need the battery to last for years and this a huge waste of power and is not an acceptable solution. So just to confirm&amp;nbsp;nrf_pwr_mgmt_run will not return every time soft device runs? The watch dog design seems to be very problematic.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT and CRV</title><link>https://devzone.nordicsemi.com/thread/272514?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 12:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e4591f3-8a6b-477b-9e5f-93965c6aeffe</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi, Jonathan!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for reaching out.&lt;br /&gt;&lt;br /&gt;---&lt;/p&gt;
[quote user=""]The problem is that CRV is not getting updated, the value stays fixed to the initial one. Is there no way to change it? If there isn&amp;#39;t a way to change this that is going to be a big problem.[/quote]
&lt;p&gt;As stated in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fwdt.html"&gt;WDT documentation&lt;/a&gt;:&amp;nbsp;&lt;em&gt;The watchdog must be configured before it is started. After it is started, the watchdog’s configuration registers, which comprise registers CRV, RREN, and CONFIG, will be blocked for further configuration.&amp;nbsp;&lt;/em&gt;This may be what is hindering you from updating CRV.&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;It is correct that the SD won&amp;#39;t feed the watchdog. We recommend using a timer to wake up and feed the WDT in main at appropriate times, as stated&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33134/watchdog-and-sd_app_evt_wait/130128#130128"&gt;here&lt;/a&gt;&amp;nbsp;and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48878/how-to-feed-refresh-watchdog-during-ble-activities"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>