<?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: K22 Turn Off All I/O in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831675#M50286</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;Actually&amp;nbsp; what you see is normal. It can been know from the manual that the SLLEP mode is &lt;SPAN style="color: black; font-size: medium; font-family: Arial, sans-serif;"&gt;equivalent to wait mode and in this case&amp;nbsp; peripherals is functional while the core is in sleep mode, NVIC remains sensitive to interrupts; peripherals continue to be clocked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: medium; font-family: Arial, sans-serif;"&gt;Please use SLEEP DEEP mode instead which " Places chip in static state. Lowest power mode that retains all registers while maintaining LVD protection. NVIC is disabled; AWIC is used to wake up from interrupt; peripheral clocks are stopped."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2018 06:33:42 GMT</pubDate>
    <dc:creator>miduo</dc:creator>
    <dc:date>2018-09-13T06:33:42Z</dc:date>
    <item>
      <title>K22 Turn Off All I/O</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831673#M50284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MK22FN256VLH with KDS v3.2 and Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am setting the Micro controller to sleep via&amp;nbsp;&lt;SPAN&gt; &lt;/SPAN&gt;Cpu_SetOperationMode(DOM_SLEEP, NULL, NULL);&amp;nbsp; However, I am still get a lot more current then I would be expecting while it sleeps. Do I need to set all I/O pins possible to low? If so, is there a simple masking way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 18:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831673#M50284</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-08-28T18:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: K22 Turn Off All I/O</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831674#M50285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anything I can reference that would lead me to some commands that could do this? Even if it is one port at a time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 15:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831674#M50285</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-09-05T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: K22 Turn Off All I/O</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831675#M50286</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;Actually&amp;nbsp; what you see is normal. It can been know from the manual that the SLLEP mode is &lt;SPAN style="color: black; font-size: medium; font-family: Arial, sans-serif;"&gt;equivalent to wait mode and in this case&amp;nbsp; peripherals is functional while the core is in sleep mode, NVIC remains sensitive to interrupts; peripherals continue to be clocked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: medium; font-family: Arial, sans-serif;"&gt;Please use SLEEP DEEP mode instead which " Places chip in static state. Lowest power mode that retains all registers while maintaining LVD protection. NVIC is disabled; AWIC is used to wake up from interrupt; peripheral clocks are stopped."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 06:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831675#M50286</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2018-09-13T06:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: K22 Turn Off All I/O</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831676#M50287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is AWIC? I currently use a Low Power timer and once that reaches the value I try and wakeup. I have issues with the SLEEP DEEP mode.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV dir="ltr" style="color: #222222; background-color: #ffffff; font-size: small;"&gt;The code using KDS with Processor Expert looks like below:&lt;/DIV&gt;&lt;DIV dir="ltr" style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;LPTMR_PDD_WriteCompareReg(LPTMR0_DEVICE, 499);&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;LPTMR0_CSR |= 1;&amp;nbsp; //enable timer&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;//WAIT1_Waitms(200);&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;Cpu_SetOperationMode(DOM_SLEEP, NULL, NULL); //works if use DOM_WAIT or DOM_SLEEP \&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;(DOM_STOP fails to wake except by reset)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;LPTMR0_CSR &amp;amp;= ~1; //disable and reset timer&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831676#M50287</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-09-14T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: K22 Turn Off All I/O</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831677#M50288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-Turn-Off-All-I-O/m-p/831677#M50288</guid>
      <dc:creator>burgeh</dc:creator>
      <dc:date>2018-09-18T15:22:22Z</dc:date>
    </item>
  </channel>
</rss>

