<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Kinetis k60 watchdog reset occurs even when refreshing correctly. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k60-watchdog-reset-occurs-even-when-refreshing-correctly/m-p/239700#M5735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am once again facing the Watchdog reset issue with k60 same way as i use to &lt;A _jive_internal="true" href="https://community.nxp.com/thread/309519"&gt;previously&lt;/A&gt;. I that time it worked but the same issue has cropped up once again and i dont understand the reason. while i refresh the watchdog and in debugging mode i am able to see it correctly refreshing it still resets. i have pasted my code here. Please someone have a look at it and help me out with the problem.&lt;/P&gt;&lt;P&gt;main.c and wdog.c files pasted&lt;/P&gt;&lt;P&gt;MAIN.c////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;void main(void) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; disable_irq(45) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Init_Gpio();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gpio_init(PORTB, PTB, 1, OUTPUT); //Buzzer Output&lt;/P&gt;&lt;P&gt;// EnableInterrupts ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; wdog_init();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; while(1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vertical G calculation&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vertical_z_axis_g = z_axis_avg - 1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; finalSendData[1] = vertical_z_axis_g/10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;&amp;nbsp; Lateral G calculation&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lateral_y_axis_g = y_axis_avg;&lt;/P&gt;&lt;P&gt;&amp;nbsp; finalSendData[2] = lateral_y_axis_g/10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;///////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WDOG.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "wdog.h"&lt;/P&gt;&lt;P&gt;#include "common.h"&amp;nbsp;&amp;nbsp;&amp;nbsp; // Common Kinetis defines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_init(void){&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH = WDOG_STCTRLH_DISTESTWDOG_MASK //Disable WDOG Test Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp; | WDOG_STCTRLH_ALLOWUPDATE_MASK | WDOG_STCTRLH_WDOGEN_MASK | WDOG_STCTRLH_CLKSRC_MASK ; //Allow WDOG CTRL Ref Update&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_TOVALH = 0x0020;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_WINL = WDOG_WINH = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_TOVALL = 0x5fff;&lt;/P&gt;&lt;P&gt;// WDOG_PRESC = WDOG_PRESC_PRESCVAL(7);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH &amp;amp;= ~(WDOG_STCTRLH_ALLOWUPDATE_MASK) ;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_refresh(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; DisableInterrupts;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_REFRESH = WDOG_REFRESH_WDOGREFRESH(WDOG_REFRESH_SEQUENCE_1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_REFRESH = WDOG_REFRESH_WDOGREFRESH(WDOG_REFRESH_SEQUENCE_2);&lt;/P&gt;&lt;P&gt;&amp;nbsp; EnableInterrupts;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_enable(void){&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(60);&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH |= WDOG_STCTRLH_WDOGEN_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(20);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_unlock(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* NOTE: DO NOT SINGLE STEP THROUGH THIS FUNCTION!!! */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* There are timing requirements for the execution of the unlock. If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; * you single step through the code you will cause the CPU to reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* This sequence must execute within 20 clock cycles, so disable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * interrupts will keep the code atomic and ensure the timing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisableInterrupts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Write 0xC520 to the unlock register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = 0xC520;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Followed by 0xD928 to complete the unlock */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = 0xD928;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Re-enable interrupts now that we are done */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EnableInterrupts;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_set_timeout(uint32_t time) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void delay_wdog(uint16_t nCount) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; uint16_t delay = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (delay=0;delay&amp;lt;nCount*10;delay++);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_disable(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* First unlock the watchdog so that we can write to registers */&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Clear the WDOGEN bit to disable the watchdog */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH &amp;amp;= ~WDOG_STCTRLH_WDOGEN_MASK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2013 10:42:50 GMT</pubDate>
    <dc:creator>kashyapgada</dc:creator>
    <dc:date>2013-10-28T10:42:50Z</dc:date>
    <item>
      <title>Kinetis k60 watchdog reset occurs even when refreshing correctly.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k60-watchdog-reset-occurs-even-when-refreshing-correctly/m-p/239700#M5735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am once again facing the Watchdog reset issue with k60 same way as i use to &lt;A _jive_internal="true" href="https://community.nxp.com/thread/309519"&gt;previously&lt;/A&gt;. I that time it worked but the same issue has cropped up once again and i dont understand the reason. while i refresh the watchdog and in debugging mode i am able to see it correctly refreshing it still resets. i have pasted my code here. Please someone have a look at it and help me out with the problem.&lt;/P&gt;&lt;P&gt;main.c and wdog.c files pasted&lt;/P&gt;&lt;P&gt;MAIN.c////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;void main(void) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; disable_irq(45) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Init_Gpio();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gpio_init(PORTB, PTB, 1, OUTPUT); //Buzzer Output&lt;/P&gt;&lt;P&gt;// EnableInterrupts ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; wdog_init();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; while(1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vertical G calculation&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vertical_z_axis_g = z_axis_avg - 1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; finalSendData[1] = vertical_z_axis_g/10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;&amp;nbsp; Lateral G calculation&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lateral_y_axis_g = y_axis_avg;&lt;/P&gt;&lt;P&gt;&amp;nbsp; finalSendData[2] = lateral_y_axis_g/10;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;///////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WDOG.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "wdog.h"&lt;/P&gt;&lt;P&gt;#include "common.h"&amp;nbsp;&amp;nbsp;&amp;nbsp; // Common Kinetis defines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_init(void){&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH = WDOG_STCTRLH_DISTESTWDOG_MASK //Disable WDOG Test Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp; | WDOG_STCTRLH_ALLOWUPDATE_MASK | WDOG_STCTRLH_WDOGEN_MASK | WDOG_STCTRLH_CLKSRC_MASK ; //Allow WDOG CTRL Ref Update&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_TOVALH = 0x0020;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_WINL = WDOG_WINH = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_TOVALL = 0x5fff;&lt;/P&gt;&lt;P&gt;// WDOG_PRESC = WDOG_PRESC_PRESCVAL(7);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH &amp;amp;= ~(WDOG_STCTRLH_ALLOWUPDATE_MASK) ;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_refresh(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; DisableInterrupts;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_REFRESH = WDOG_REFRESH_WDOGREFRESH(WDOG_REFRESH_SEQUENCE_1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_REFRESH = WDOG_REFRESH_WDOGREFRESH(WDOG_REFRESH_SEQUENCE_2);&lt;/P&gt;&lt;P&gt;&amp;nbsp; EnableInterrupts;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_enable(void){&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(60);&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH |= WDOG_STCTRLH_WDOGEN_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; delay_wdog(20);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_unlock(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* NOTE: DO NOT SINGLE STEP THROUGH THIS FUNCTION!!! */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* There are timing requirements for the execution of the unlock. If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; * you single step through the code you will cause the CPU to reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* This sequence must execute within 20 clock cycles, so disable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * interrupts will keep the code atomic and ensure the timing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisableInterrupts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Write 0xC520 to the unlock register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = 0xC520;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Followed by 0xD928 to complete the unlock */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_UNLOCK = 0xD928;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Re-enable interrupts now that we are done */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EnableInterrupts;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_set_timeout(uint32_t time) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void delay_wdog(uint16_t nCount) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; uint16_t delay = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (delay=0;delay&amp;lt;nCount*10;delay++);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void wdog_disable(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* First unlock the watchdog so that we can write to registers */&lt;/P&gt;&lt;P&gt;&amp;nbsp; wdog_unlock();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Clear the WDOGEN bit to disable the watchdog */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_STCTRLH &amp;amp;= ~WDOG_STCTRLH_WDOGEN_MASK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 10:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k60-watchdog-reset-occurs-even-when-refreshing-correctly/m-p/239700#M5735</guid>
      <dc:creator>kashyapgada</dc:creator>
      <dc:date>2013-10-28T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis k60 watchdog reset occurs even when refreshing correctly.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k60-watchdog-reset-occurs-even-when-refreshing-correctly/m-p/239701#M5736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No issues with the WDOG driver code, i found a link within my code where my code did not progress from there at all so the question's answer is bad written code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also i found this problem by removing (commented) all the code within the while loop and just kept the wdog refresh code and found the it was working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 05:53:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k60-watchdog-reset-occurs-even-when-refreshing-correctly/m-p/239701#M5736</guid>
      <dc:creator>kashyapgada</dc:creator>
      <dc:date>2013-10-29T05:53:35Z</dc:date>
    </item>
  </channel>
</rss>

