<?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 Re: Watchdog configuration in MKMxxZxxACxx5RM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601612#M35323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;are you using your own board or TWR KM34Z128?&amp;nbsp;What toolchain do you use? I will try running example at the same conditions and send you project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Martin M.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 14:02:06 GMT</pubDate>
    <dc:creator>MarMi</dc:creator>
    <dc:date>2016-10-28T14:02:06Z</dc:date>
    <item>
      <title>Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601609#M35320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am trying to do working the Watchdog Timer in a microcontroller of the family MKMxxZxxACxx5RM. The driver libraries which i am using is &lt;STRONG&gt;KM128SWDRV_R4_0_0_CW&lt;/STRONG&gt;.&lt;BR /&gt;Currently my clock configuration is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_Init (SIM_MODULE_ALL_PERIPH_ON_CONFIG);&lt;/STRONG&gt;&lt;BR /&gt; /* clock mode 1:1:1, 24MHz */&lt;BR /&gt; &lt;STRONG&gt;SIM_SetClkMode (SYSCLK_MODE0);&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;SIM_SetClkDiv (SYSCLK_DIV1);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; FLL_Init (FLL_MODULE_FEI_24MHZ_CONFIG);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, i was using the test example of the libraries.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_Init (SIM_MODULE_ALL_PERIPH_ON_CONFIG);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/* Watchdog timeout is of 1.5 sec approximately */&lt;BR /&gt;&lt;STRONG&gt; WDOG_Init(WDOG_MODULE_NORMAL_STOP_DI_CONFIG(WDOG_LPO_CLK,WDOG_DIV1,1500));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's watched that the code didn't jump to reset, so i started investigate about it. The registers seem be all right except the register of timeout. It's been seen that it doesn't count. I think the clock sign doesn't arrive to the Watchdog but i don't know the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone can help me, i will be greatful.&lt;BR /&gt;Thanks for advance ;-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601609#M35320</guid>
      <dc:creator>dmartinez1</dc:creator>
      <dc:date>2016-10-25T15:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601610#M35321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;the configuration structure you use WDOG_MODULE_NORMAL_STOP_DI_CONFIG doesn't set WDOG_STCTRLH[DBGEN] and hence watchdog counter doesn't increment after&amp;nbsp;device enters debug mode. Please modify this structure to see impact...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that the latest drivers 4.1.5 provides more default watchdog configurations including one with watchdog counter enabled by default in debug mode WDOG_MODULE_NORMAL_STOP_DI_DBG_EN_CONFIG.&amp;nbsp;I have tried your code with new structures:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;void main (void)&lt;BR /&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SIM_Init (SIM_MODULE_ALL_PERIPH_ON_CONFIG);&lt;/CODE&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SIM_SetClkMode (SYSCLK_MODE0);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SIM_SetClkDiv (SYSCLK_DIV1);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;FLL_Init (FLL_MODULE_FEI_20_25MHZ_CONFIG);&lt;/CODE&gt; &lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;WDOG_Init(WDOG_MODULE_NORMAL_STOP_DI_DBG_EN_CONFIG(WDOG_LPO_CLK,WDOG_DIV1,1500));&lt;/CODE&gt; &lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;WDOG_Init(WDOG_MODULE_NORMAL_STOP_DI_DBG_DI_CONFIG(WDOG_LPO_CLK,WDOG_DIV1,1500));&lt;/CODE&gt; &lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1);&lt;BR /&gt;}&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;When placing breakpoint on &lt;EM&gt;SIM_Init ...&lt;/EM&gt; source line in IAR EWARM device execution stops at this line periodically notifying a system reset caused by the watchdog timer overflow. It works regardless whether DBG_EN or&amp;nbsp;DBG_DI configuration is used. However,&amp;nbsp;if you step through the code or put breakpoint on &lt;EM&gt;while(1);&lt;/EM&gt;&amp;nbsp;source line then second configuration&amp;nbsp;DBG_DI will not work because device is in debug mode for the most of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Martin M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601610#M35321</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-10-26T08:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601611#M35322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really set all configurations of the library not only the configuration that i mentioned previously, as well as all this i did it using the console as help. I have used the last library following your advice, but i got the same result. :-(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601611#M35322</guid>
      <dc:creator>dmartinez1</dc:creator>
      <dc:date>2016-10-28T13:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601612#M35323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;are you using your own board or TWR KM34Z128?&amp;nbsp;What toolchain do you use? I will try running example at the same conditions and send you project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Martin M.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601612#M35323</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-10-28T14:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601613#M35324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's my own board, i am using kinetis. I really am starting the project so there just is the clock configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;SIM_Init (SIM_MODULE_ALL_PERIPH_ON_CONFIG);&lt;/CODE&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIM_SetClkMode (SYSCLK_MODE0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIM_SetClkDiv (SYSCLK_DIV1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLL_Init (FLL_MODULE_FEI_20_25MHZ_CONFIG);&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601613#M35324</guid>
      <dc:creator>dmartinez1</dc:creator>
      <dc:date>2016-10-28T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601614#M35325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;do you have TWR board - can you try the same on TWR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601614#M35325</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-10-28T14:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601615#M35326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't have a TWR available&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 11:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601615#M35326</guid>
      <dc:creator>dmartinez1</dc:creator>
      <dc:date>2016-10-31T11:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601616#M35327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;the reason could be missing low frequency external crystal (&lt;SPAN&gt;32.768 kHz)&amp;nbsp;&lt;/SPAN&gt;on your board. After device power up, the external clock is selected for clocking several peripherals including WDOG&lt;STRONG&gt;. &lt;/STRONG&gt;Because crystal is not present some sub-blocks of WDOG are not clocked and therefore reset signal is not generated. The example below selects a low-power internal oscillator (1 kHz) instead of an external&amp;nbsp;&lt;SPAN&gt;32.726 kHz clock source for WDOG operation. I have tested this code on MKM14 sensor board (HW from &lt;A href="https://www.nxp.com/webapp/Download?colCode=DRM169&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.zip&amp;amp;Parent_nodeId=1380919687091693560884&amp;amp;Parent_pageType=product" rel="nofollow noopener noreferrer" target="_blank"&gt;DRM169&lt;/A&gt;) and watchdog has reset device as expected. Please try this code also on your board:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;SPAN class="" style="color: #990000;"&gt;#include &lt;SPAN class="" style="color: #669900;"&gt;"drivers.h"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="" style="color: #0077aa;"&gt;void&lt;/SPAN&gt; main &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0077aa;"&gt;void&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999;"&gt;{&lt;/SPAN&gt;
&amp;nbsp; SIM_Init &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;SIM_MODULE_ALL_PERIPH_ON_CONFIG&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="" style="color: slategray;"&gt;/* clock mode 1:1:1, 24MHz */&lt;/SPAN&gt;
&amp;nbsp; SIM_SetClkMode &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;SYSCLK_MODE0&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;
&amp;nbsp; SIM_SetClkDiv &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;SYSCLK_DIV1&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;
&amp;nbsp; FLL_Init &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;FLL_MODULE_FEI_20_25MHZ_CONFIG&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="" style="color: slategray;"&gt;/* select 1 kHz LPO for watchdog sub-block operation */&lt;/SPAN&gt;
&amp;nbsp; SIM_SelOsc32kClk &lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;SIM_OSC32K_SRC4&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="" style="color: slategray;"&gt;/* Watchdog timeout is of 1.5 sec approximately */&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="" style="color: #d74444;"&gt;WDOG_Init&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d74444;"&gt;WDOG_MODULE_NORMAL_STOP_DI_DBG_DI_CONFIG&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;WDOG_LPO_CLK&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;WDOG_DIV1&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000;"&gt;1500&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="" style="color: #0077aa;"&gt;while&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="" style="border-right: 1px solid #999999; padding-top: 1em;"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Martin M.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 15:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601616#M35327</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-11-01T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601617#M35328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i finally got to try my firmware on a TWR. Now i can say to you that the same firmware go well on the TWR but on my PCB not. is it possible that any configuracion hardware is different between them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;David M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 10:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601617#M35328</guid>
      <dc:creator>dmartinez1</dc:creator>
      <dc:date>2016-11-08T10:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog configuration in MKMxxZxxACxx5RM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601618#M35329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"drivers.h"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; main &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; SIM_Init &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SIM_MODULE_ALL_PERIPH_ON_CONFIG&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="comment token"&gt;/* clock mode 1:1:1, 24MHz */&lt;/SPAN&gt;
&amp;nbsp; SIM_SetClkMode &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SYSCLK_MODE0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; SIM_SetClkDiv &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SYSCLK_DIV1&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; FLL_Init &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;FLL_MODULE_FEI_20_25MHZ_CONFIG&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="comment token"&gt;/* select 1 kHz LPO for watchdog sub-block operation */&lt;/SPAN&gt;
&amp;nbsp; SIM_SelOsc32kClk &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SIM_OSC32K_SRC4&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="comment token"&gt;/* Watchdog timeout is of 1.5 sec approximately */&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="token function"&gt;WDOG_Init&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;WDOG_MODULE_NORMAL_STOP_DI_DBG_DI_CONFIG&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;WDOG_LPO_CLK&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;WDOG_DIV1&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1500&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp; &lt;SPAN class="keyword token"&gt;while&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;if you tried the code above on your board and it doesn't work then we need to review your board - please contact me @ &lt;A href="mailto:martin.mienkina@nxpo.com" rel="nofollow noopener noreferrer" target="_blank"&gt;martin.mienkina@nxp.com&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that&amp;nbsp;macro that must be included in software on any MKMxx board without external 32.768 kHz crystal to allow watchdog initialization is:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;SIM_SelOsc32kClk &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;SIM_OSC32K_SRC4&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Martin M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-configuration-in-MKMxxZxxACxx5RM/m-p/601618#M35329</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2016-11-08T11:46:13Z</dc:date>
    </item>
  </channel>
</rss>

