<?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: Wait and Stop Mode - How to enter and exit KEA in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349843#M17196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kas,&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;the Sleep-on-Exit mode would be the best for your solution. In this mode, the CPU always resides in WAIT mode and waking up by an interrupt to enter the correspondent ISR, and enters WAIT mode after exiting the ISR. To enable the Sleep-on-Exit mode, you first set SCR.SLEEPONEXIT=1 and by executing WFI instruction to enter the Sleep-on-Exit mode. Regarding the Sleep-on-Exit, please refer to the article&amp;nbsp; &lt;A href="http://my.safaribooksonline.com/book/electrical-engineering/computer-engineering/9780123854773/chapter-17dot-using-low-power-features-in-programming/using_the_sleeponexit_feature"&gt;http://my.safaribooksonline.com/book/electrical-engineering/computer-engineering/9780123854773/chapter-17dot-using-low-power-features-in-programming/using_the_sleeponexit_feature&lt;/A&gt;.&lt;BR /&gt;As for the interrupt, you can choose one of the 16 keyboard interrupts (if KEA128 then 64) and an IRQ (PTA5).&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Best regards,&lt;BR /&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 02:34:01 GMT</pubDate>
    <dc:creator>yasuhikokoumoto</dc:creator>
    <dc:date>2014-12-15T02:34:01Z</dc:date>
    <item>
      <title>Wait and Stop Mode - How to enter and exit KEA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349841#M17194</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;How do I enter and exit the wait and stop power modes on the KEA. I am looking to be able to go into a low or very low power mode and wait for an external interrupt, the external interrupt should wake the KEA and put it back in full power mode till the task is completed and then the KEA should go back to low power mode. I would also like to know which interrupt pin caused the KEA to wake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 16:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349841#M17194</guid>
      <dc:creator>kaslewis</dc:creator>
      <dc:date>2014-12-14T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Wait and Stop Mode - How to enter and exit KEA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349842#M17195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT mode is entered by executing the Cortex WFI instruction [__asm__("wfi")]. Any interrupt will wake from this mode since peripherals and clocks remain functional.&lt;/P&gt;&lt;P&gt;STOP mode is entered by executing the same instruction but first setting the SLEEPDEEP bit in the Cortex SYSTEM_CONTROL_REGISTER. In the STOP mode there are various settings that can be used in the Kinetis derivative to control which clocks remain enabled&amp;nbsp; (this is part specific so you need to look through the power management section of the manual for your specific device).&lt;BR /&gt;In the STOP mode the KBI and IRQ pins can be used to wake-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 17:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349842#M17195</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-14T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wait and Stop Mode - How to enter and exit KEA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349843#M17196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kas,&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;the Sleep-on-Exit mode would be the best for your solution. In this mode, the CPU always resides in WAIT mode and waking up by an interrupt to enter the correspondent ISR, and enters WAIT mode after exiting the ISR. To enable the Sleep-on-Exit mode, you first set SCR.SLEEPONEXIT=1 and by executing WFI instruction to enter the Sleep-on-Exit mode. Regarding the Sleep-on-Exit, please refer to the article&amp;nbsp; &lt;A href="http://my.safaribooksonline.com/book/electrical-engineering/computer-engineering/9780123854773/chapter-17dot-using-low-power-features-in-programming/using_the_sleeponexit_feature"&gt;http://my.safaribooksonline.com/book/electrical-engineering/computer-engineering/9780123854773/chapter-17dot-using-low-power-features-in-programming/using_the_sleeponexit_feature&lt;/A&gt;.&lt;BR /&gt;As for the interrupt, you can choose one of the 16 keyboard interrupts (if KEA128 then 64) and an IRQ (PTA5).&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Best regards,&lt;BR /&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 02:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Wait-and-Stop-Mode-How-to-enter-and-exit-KEA/m-p/349843#M17196</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2014-12-15T02:34:01Z</dc:date>
    </item>
  </channel>
</rss>

