<?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 Clean up after LLWU wakeup in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clean-up-after-LLWU-wakeup/m-p/811198#M49291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of LLWU wakeup ( K82 ) and usage external pins for as wake up source you recommend to execute this code&lt;/P&gt;&lt;P&gt;at early boot phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; /* Wakeup from VLLS. */&lt;BR /&gt; SMC_SetPowerModeProtection(SMC, kSMC_AllowPowerModeAll);&lt;BR /&gt; uint32_t resetStatus = RCM_GetPreviousResetSources(RCM);&lt;BR /&gt; if (kRCM_SourceWakeup &amp;amp; resetStatus)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; PMC_ClearPeriphIOIsolationFlag(PMC);&lt;BR /&gt;&amp;nbsp; NVIC_ClearPendingIRQ(LLWU_IRQn);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what should be clean up sequence in case of other wakeup sources ?&lt;/P&gt;&lt;P&gt;Like RTC, USB, CMP and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2018 07:55:52 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2018-07-13T07:55:52Z</dc:date>
    <item>
      <title>Clean up after LLWU wakeup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clean-up-after-LLWU-wakeup/m-p/811198#M49291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of LLWU wakeup ( K82 ) and usage external pins for as wake up source you recommend to execute this code&lt;/P&gt;&lt;P&gt;at early boot phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; /* Wakeup from VLLS. */&lt;BR /&gt; SMC_SetPowerModeProtection(SMC, kSMC_AllowPowerModeAll);&lt;BR /&gt; uint32_t resetStatus = RCM_GetPreviousResetSources(RCM);&lt;BR /&gt; if (kRCM_SourceWakeup &amp;amp; resetStatus)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; PMC_ClearPeriphIOIsolationFlag(PMC);&lt;BR /&gt;&amp;nbsp; NVIC_ClearPendingIRQ(LLWU_IRQn);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what should be clean up sequence in case of other wakeup sources ?&lt;/P&gt;&lt;P&gt;Like RTC, USB, CMP and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 07:55:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clean-up-after-LLWU-wakeup/m-p/811198#M49291</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-07-13T07:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up after LLWU wakeup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clean-up-after-LLWU-wakeup/m-p/811199#M49292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check &lt;A href="https://www.nxp.com/docs/en/application-note/AN4503.pdf"&gt;AN4503&lt;/A&gt; about module wake up events of LLWU (chapter 14.1.3).&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 03:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clean-up-after-LLWU-wakeup/m-p/811199#M49292</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2018-07-17T03:06:17Z</dc:date>
    </item>
  </channel>
</rss>

