<?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 How to reliably wake K24F from VLPS mode with GPIO edge? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-reliably-wake-K24F-from-VLPS-mode-with-GPIO-edge/m-p/713009#M43774</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;I am am having some trouble using external falling edge interrupt to wake my K24F from VLPS mode. &amp;nbsp;I believe my code is correct and it works exactly as expected IF the pin state is high when the device enters stop mode. &amp;nbsp;However, if the device enters stop mode with the pin level low, a falling edge is never detected and it is stuck in stop mode forever!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the pin level is captured before entering stop mode and used as a reference for edge detection. &amp;nbsp;Using low level interrupt provides exactly the same behavior! &amp;nbsp;Interestingly, either edge interrupt mode also has exactly the same behavior. &amp;nbsp;The only wak I can get a wakeup interrupt is if my pin level is high when entering stop mode. &amp;nbsp;If pin level is low on stop mode entry, it will never wake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have confirmed pin state is changing on a scope while in stop mode. &amp;nbsp;I have also tried using and pins digital filter falling edge mode with LPO clock, but no better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HELP!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 04:49:53 GMT</pubDate>
    <dc:creator>ashesman</dc:creator>
    <dc:date>2017-09-01T04:49:53Z</dc:date>
    <item>
      <title>How to reliably wake K24F from VLPS mode with GPIO edge?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-reliably-wake-K24F-from-VLPS-mode-with-GPIO-edge/m-p/713009#M43774</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;I am am having some trouble using external falling edge interrupt to wake my K24F from VLPS mode. &amp;nbsp;I believe my code is correct and it works exactly as expected IF the pin state is high when the device enters stop mode. &amp;nbsp;However, if the device enters stop mode with the pin level low, a falling edge is never detected and it is stuck in stop mode forever!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the pin level is captured before entering stop mode and used as a reference for edge detection. &amp;nbsp;Using low level interrupt provides exactly the same behavior! &amp;nbsp;Interestingly, either edge interrupt mode also has exactly the same behavior. &amp;nbsp;The only wak I can get a wakeup interrupt is if my pin level is high when entering stop mode. &amp;nbsp;If pin level is low on stop mode entry, it will never wake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have confirmed pin state is changing on a scope while in stop mode. &amp;nbsp;I have also tried using and pins digital filter falling edge mode with LPO clock, but no better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HELP!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-reliably-wake-K24F-from-VLPS-mode-with-GPIO-edge/m-p/713009#M43774</guid>
      <dc:creator>ashesman</dc:creator>
      <dc:date>2017-09-01T04:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to reliably wake K24F from VLPS mode with GPIO edge?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-reliably-wake-K24F-from-VLPS-mode-with-GPIO-edge/m-p/713010#M43775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please disregard. &amp;nbsp;After further testing I have discovered the issue was caused by the interrupt occurring before the device went into stop mode. &amp;nbsp;As the interrupt handler assumes that it only occurs on exit of&amp;nbsp;stop mode it disables the interrupt. &amp;nbsp;So interrupt was disabled on entry to stop mode if it occurred just before entering stop mode meaning that it could never occur in stop mode. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 05:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-reliably-wake-K24F-from-VLPS-mode-with-GPIO-edge/m-p/713010#M43775</guid>
      <dc:creator>ashesman</dc:creator>
      <dc:date>2017-09-01T05:10:34Z</dc:date>
    </item>
  </channel>
</rss>

