<?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 Watchdog Interrupt Flag in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-Interrupt-Flag/m-p/1324824#M61258</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using a KEAZ128 MCU. I am working on the watchdog, and would like to conditionally do some things depend on whether a POR or watchdog reset has occurred. I attempted to use the Watchdog flag (WDOG_CS2_FLG) at system initialization to catch this condition, but I cannot get WDOG_CS2_FLG =1. It's always 0. Does this flag only persist during the 128 bus clock cycles before reset? I am able to set a RAM variable to a particular value and catch this, but not the flag.&lt;/P&gt;&lt;P&gt;Any instructions or recommendations are greatly appreciated.&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 14:40:05 GMT</pubDate>
    <dc:creator>rmaier</dc:creator>
    <dc:date>2021-08-17T14:40:05Z</dc:date>
    <item>
      <title>Watchdog Interrupt Flag</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-Interrupt-Flag/m-p/1324824#M61258</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using a KEAZ128 MCU. I am working on the watchdog, and would like to conditionally do some things depend on whether a POR or watchdog reset has occurred. I attempted to use the Watchdog flag (WDOG_CS2_FLG) at system initialization to catch this condition, but I cannot get WDOG_CS2_FLG =1. It's always 0. Does this flag only persist during the 128 bus clock cycles before reset? I am able to set a RAM variable to a particular value and catch this, but not the flag.&lt;/P&gt;&lt;P&gt;Any instructions or recommendations are greatly appreciated.&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 14:40:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-Interrupt-Flag/m-p/1324824#M61258</guid>
      <dc:creator>rmaier</dc:creator>
      <dc:date>2021-08-17T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog Interrupt Flag</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-Interrupt-Flag/m-p/1324973#M61263</link>
      <description>&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Calibri; font-size: 11.0pt;"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56838"&gt;@rmaier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Calibri; font-size: 11.0pt;"&gt;The register SIM_SRSID (System Reset Status and ID Registers), indicates a reset by WDOG timer timing out (field 5). And also indicates that the reset has occurred on POR (field 7). This will help to catch whenever a reset has occurred so you can finish with the rest of your application.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 21:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-Interrupt-Flag/m-p/1324973#M61263</guid>
      <dc:creator>nxf77486</dc:creator>
      <dc:date>2021-08-17T21:15:25Z</dc:date>
    </item>
  </channel>
</rss>

