<?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: WDOG TOVALH and TOVALL in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/WDOG-TOVALH-and-TOVALL/m-p/310123#M13327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i did for MC9S08RN16 micro controller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Initialize watchdog with ~1-kHz clock source, ~1s time-out */&lt;/P&gt;&lt;P&gt;DisableInterrupts; // disable global interrupt&lt;/P&gt;&lt;P&gt;WDOG_CNT = 0xC520; // write the 1st unlock word&lt;/P&gt;&lt;P&gt;WDOG_CNT = 0xD928; // write the 2nd unlock word&lt;/P&gt;&lt;P&gt;WDOG_TOVAL = 1000; // setting timeout value&lt;/P&gt;&lt;P&gt;WDOG_CS2 = WDOG_CS2_CLK_MASK; // setting 1-kHz clock source&lt;/P&gt;&lt;P&gt;WDOG_CS1 = WDOG_CS1_EN_MASK; // enable counter running&lt;/P&gt;&lt;P&gt;EnableInterrupts; // enable global interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 12:20:51 GMT</pubDate>
    <dc:creator>Robinwithu</dc:creator>
    <dc:date>2014-05-05T12:20:51Z</dc:date>
    <item>
      <title>WDOG TOVALH and TOVALL</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/WDOG-TOVALH-and-TOVALL/m-p/310122#M13326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In term of setting the minimum time for the watch dog to be updated. Has someone made the conversion from microsecond to setting the tovalh and tovall when using the ALT CLK \ bus clk or LPO?&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;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 11:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/WDOG-TOVALH-and-TOVALL/m-p/310122#M13326</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2014-05-05T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: WDOG TOVALH and TOVALL</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/WDOG-TOVALH-and-TOVALL/m-p/310123#M13327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i did for MC9S08RN16 micro controller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Initialize watchdog with ~1-kHz clock source, ~1s time-out */&lt;/P&gt;&lt;P&gt;DisableInterrupts; // disable global interrupt&lt;/P&gt;&lt;P&gt;WDOG_CNT = 0xC520; // write the 1st unlock word&lt;/P&gt;&lt;P&gt;WDOG_CNT = 0xD928; // write the 2nd unlock word&lt;/P&gt;&lt;P&gt;WDOG_TOVAL = 1000; // setting timeout value&lt;/P&gt;&lt;P&gt;WDOG_CS2 = WDOG_CS2_CLK_MASK; // setting 1-kHz clock source&lt;/P&gt;&lt;P&gt;WDOG_CS1 = WDOG_CS1_EN_MASK; // enable counter running&lt;/P&gt;&lt;P&gt;EnableInterrupts; // enable global interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 12:20:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/WDOG-TOVALH-and-TOVALL/m-p/310123#M13327</guid>
      <dc:creator>Robinwithu</dc:creator>
      <dc:date>2014-05-05T12:20:51Z</dc:date>
    </item>
  </channel>
</rss>

