<?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>What is the point of the watchdog ISR?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36812/what-is-the-point-of-the-watchdog-isr</link><description>Two questions. 1) What is the point of the watchdog ISR? In the Ambiq Apollo 2 microcontroller, the watchdog ISR fires and if the CPU doesn&amp;#39;t pet the watchdog slightly after that, the watchdog resets the CPU. But when I tried to pet the watchdog in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jul 2018 07:40:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36812/what-is-the-point-of-the-watchdog-isr" /><item><title>RE: What is the point of the watchdog ISR?</title><link>https://devzone.nordicsemi.com/thread/141264?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 07:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e6b995-fc7f-4ed4-b139-5298a734d77e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) The Watchdog interrupt on the nRF5 devices is a mechanism to let the application know that a watchdog reset is imminent, giving it time to do a small amount of cleanup or logging before the reset occurs. There is no way to prevent a reset at that point. You have full freedom in how you kick the watchdog, as long as you do so in time. A typical way is to use a repeated &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_timer.html?cp=4_0_0_3_48"&gt;app timer&lt;/a&gt;, and do some checking there. If all is OK, you kick the watchdog.&lt;/p&gt;
&lt;p&gt;2) The multiple watchdog channels can for instance&amp;nbsp;be used where you have an RTOS and want to require each task to kick the watchdog. If any task fails to do so in time, the reset will occur. This is an optional feature, and you can get the traditional watchdog behavior by only enabling a single channel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>