<?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>Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/786/another-nrf51822-watchdog-question</link><description>Hello, 
 I have been attempting to get the watchdog timer working in my project without any success. I have read through all of the watch dog related threads that I could find in the forums. I made sure to pin reset and power cycle the board after quitting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 15 Feb 2014 10:07:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/786/another-nrf51822-watchdog-question" /><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3953?ContentTypeID=1</link><pubDate>Sat, 15 Feb 2014 10:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e31f13-aedf-4e8e-b53a-7c16fff3aafd</guid><dc:creator>KPE</dc:creator><description>&lt;p&gt;@jldewitt: Thanks this works for me - I also had the issue with the WDT never generating a timeout event. I think I have the first chip revision, which might be the reason it didn&amp;#39;t work with the standard examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3952?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 14:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56c730d1-b4bb-4cf7-b8c8-54826813690f</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I am running on our custom PCB with the nRF51822. There are no LEDs or buttons connected to the radio. The code below works for me to have a 4 second watch dog timer:&lt;/p&gt;
&lt;p&gt;/**@brief Initialize the watch dog timer
*/
void watchDogInit(void)
{	
NRF_WDT-&amp;gt;CONFIG = (WDT_CONFIG_SLEEP_Run &amp;lt;&amp;lt; WDT_CONFIG_SLEEP_Pos) |
(WDT_CONFIG_HALT_Pause &amp;lt;&amp;lt; WDT_CONFIG_HALT_Pos);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_WDT-&amp;amp;gt;CRV = 32768 * 4; 	 
NRF_WDT-&amp;amp;gt;RREN |= WDT_RREN_RR0_Msk;									

NRF_WDT-&amp;amp;gt;TASKS_START = 1; // Watchdog start
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3951?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 09:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:119c13d0-0da2-49fe-abba-760579275677</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;The sample code is ported for the nRF51822 development kit. Are you using the nRF51822 development kit or the nRF51822 evalutaion kit. The evaluation kit has different mapping of leds and buttons so if you try to run it directly on the evaluation kit you will not see anything work. You will have to modify the pin mapping for the leds and buttons to work with the nRF51822 evalutation kit. I have tested this with S110 softdevice 5.2.1 and the nRF51822 SDK v4.4.1. Remember to read and follow the comments in the main file in the examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3950?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 00:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ee7094-b152-4e5b-b9ea-5ee72a148211</guid><dc:creator>Brian Acock</dc:creator><description>&lt;p&gt;I can&amp;#39;t get the watchdog to work at all on my NRF51822 device, using the sample code from above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3949?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2013 13:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac586c9-e42c-48fd-b31c-5e2c8a75ed63</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Thanks, the comment was helpful as I did not realize that merely flashing would set the debug mode. I can infer that the watchdog is working using a sniffer. My application advertises every 20mS for the first 30 seconds after power up and then enters a mode where it advertises every ~600mS in 5 second bursts with periods of sleep in between. Power cycling the device after programming shows the device never enters the slow advertising mode with the watchdog reload commented out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another NRF51822 Watchdog question.</title><link>https://devzone.nordicsemi.com/thread/3948?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2013 09:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a034ab13-9075-4101-b545-5a2741954865</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have attached a watchdog example that should work with the S110 softdevice. I also attach an example that shows watchdog working without the softdevice. Instructions on how to operate those examples are given at the top of the main file in both examples.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/watchdog_5F00_example.zip"&gt;watchdog_example.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_template_5F00_with_5F00_watchdog.zip"&gt;ble_app_template_with_watchdog.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>