<?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: How to put a K60 into VLPR mode and back to Run? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090713#M57682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark. I will start investigating using this system. I was hoping it was going to be easier to find without the "fear factor" of working with the MCG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that the generated code from CodeWarrior tries to turn on the FLL in clock modes that has the FLL disabled. Might be a bug or something that is&amp;nbsp;wrong with my current setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2020 03:13:27 GMT</pubDate>
    <dc:creator>mathewl</dc:creator>
    <dc:date>2020-04-30T03:13:27Z</dc:date>
    <item>
      <title>How to put a K60 into VLPR mode and back to Run?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090711#M57680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to place a MK60DN512VLQ10 in Very Low Power Run mode using CodeWarrior 10.7 and am having difficulty.&lt;BR /&gt;The methods tab has function calls to do this, but it needs a very low power mode clock configuratin that I can not find.&lt;/P&gt;&lt;P&gt;I have tried App note methods for changing from PEE clock mode to BLPE (or BLPI) mode but it always locks up during a loop:&lt;BR /&gt;&amp;lt;while((MCG_S &amp;amp; 0x0CU) != 0x08U) { /* Wait until external reference clock is selected as MCG output */&amp;gt;&lt;BR /&gt;and it changes through BPE mode, with or without this mode being in the clock configuration.&lt;/P&gt;&lt;P&gt;I got advice through a representitive to:&lt;BR /&gt;“The SDK provides API's for the use of different power modes and examples for your application. For example, if you want to set the SMC_PMPROT to allow all power modes you may use the function SMC_SetPowerModeProtection(SMC, kSMC_AllowPowerModeAll); Here you can download the SDK for your device &lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="test_blank"&gt;https://mcuxpresso.nxp.com/en/welcome&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The config tool available at MCUXpresso will allow configure your mcu in an easy way. I attached you a picture where I set the micro to run in VLPR at 32.768kHz. I reached this speed by using the RTC to set the System/Core clock to 32. 768kHz. For more detailed information about this tool please refer to &lt;A href="https://www.nxp.com/docs/en/user-guide/GSMCUXCTUG.pdf" target="test_blank"&gt;https://www.nxp.com/docs/en/user-guide/GSMCUXCTUG.pdf&lt;/A&gt; ”&lt;/P&gt;&lt;P&gt;I managed to use the MCUXpresso Config Tools v7 to configure the clock as per the picture but the code it compiles calls on calls on header files I do not have.&lt;/P&gt;&lt;P&gt;My question is how can I do this with CodeWarrior, but any help to switch between Run mode and VLPR mode is what I need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 06:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090711#M57680</guid>
      <dc:creator>mathewl</dc:creator>
      <dc:date>2020-04-29T06:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a K60 into VLPR mode and back to Run?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090712#M57681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at:&lt;BR /&gt;&lt;A href="https://www.utasker.com/kinetis/TWR-K60N512.html" target="test_blank"&gt;https://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.utasker.com/kinetis/TWR-K60D100M.html" target="test_blank"&gt;https://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.utasker.com/kinetis/TWR-K60F120M.html" target="test_blank"&gt;https://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fnSetVLPR_speed(); // see &lt;A href="https://www.utasker.com/kinetis/MCG.html" target="test_blank"&gt;https://www.utasker.com/kinetis/MCG.html&lt;/A&gt;&lt;BR /&gt;fnSetLowPowerMode(VLPR_MODE);&lt;BR /&gt;...&lt;BR /&gt;fnSetLowPowerMode(RUN_MODE);&lt;BR /&gt;fnSetRUN_speed(); // see &lt;A href="https://www.utasker.com/kinetis/MCG.html" target="test_blank"&gt;https://www.utasker.com/kinetis/MCG.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free open source version (including Code Warrior, KDS and MCUXpresso support for K60s) available that allows effort-free professional solutions.&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;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090712#M57681</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-04-29T14:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a K60 into VLPR mode and back to Run?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090713#M57682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark. I will start investigating using this system. I was hoping it was going to be easier to find without the "fear factor" of working with the MCG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that the generated code from CodeWarrior tries to turn on the FLL in clock modes that has the FLL disabled. Might be a bug or something that is&amp;nbsp;wrong with my current setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 03:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-put-a-K60-into-VLPR-mode-and-back-to-Run/m-p/1090713#M57682</guid>
      <dc:creator>mathewl</dc:creator>
      <dc:date>2020-04-30T03:13:27Z</dc:date>
    </item>
  </channel>
</rss>

