<?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>Kinetis Software Development Kit中的主题 Re: Help with changing power modes</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Help-with-changing-power-modes/m-p/499878#M4745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rande,&lt;/P&gt;&lt;P&gt;1. Pay attention , the HSRUN mode can not directly change to VLPR mode ,and requires transition to Run.&lt;/P&gt;&lt;P&gt;you can see the "Power mode state transition diagram" of Reference manual of the chip :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2641i4205C16AD98230F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Yes, the chi of MK02FN64VLH10 support the HSRUN mode .&lt;/P&gt;&lt;P&gt;I create one KSDK1.3+PE project about this chip, then click the function of "POWER_SYS_GetCurrentMode()"&lt;/P&gt;&lt;P&gt;, it show :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25580iA0C525C21C5DC57B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the "FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE" have been defined in the file of&lt;/P&gt;&lt;P&gt;"MK02F12810_features.h"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25971i6E7B8054DA933B5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; I recommend you refer to the frdm-k22 (the method is the same between the two chip)demo under KSDK1.3 :&lt;/P&gt;&lt;P&gt;KSDK_1.3.0\examples\frdmk22f\demo_apps\power_manager_hal_demo\kds&lt;/P&gt;&lt;P&gt;And please first finish one part , for example finish the from HSRUN to RUN, be sure it well , then&lt;/P&gt;&lt;P&gt;go on the next part .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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>Thu, 24 Mar 2016 07:57:17 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-03-24T07:57:17Z</dc:date>
    <item>
      <title>Help with changing power modes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Help-with-changing-power-modes/m-p/499877#M4744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an MK02FN64VLH10_64 with KDS 3.0.0, KSDK1.3.0 and Processor Expert on a custom PCBA.&lt;/P&gt;&lt;P&gt;I need to switch between high speed run mode and very low power run mode (VLPR). I have PTC5 as the wake up pin&lt;/P&gt;&lt;P&gt;(active low), and want to invoke VLPR, then use PTC5 to return to the high speed run mode.&lt;/P&gt;&lt;P&gt;I've been working this all day, and just can't resolve the correct steps..&lt;/P&gt;&lt;P&gt;I was able to use the component pwrMan1:fsl_power_manager, and without changing the default, it shows the "High speed run mode". To check what power mode I am running in I used POWER_SYS_GetCurrentMode(); and it returned 1.&lt;/P&gt;&lt;P&gt;Looking at the *.API Reference Manual manual.pfd it seems to indicate "1" is the VLPR, but I think the clock is faster than 4Mhz, and the current consumption indicates HSRUN or RUN mode is being used..&lt;/P&gt;&lt;P&gt;Here is the enum from the manual, page 2133..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• enum power_manager_modes_t {&lt;/P&gt;&lt;P&gt;kPowerManagerRun,&lt;/P&gt;&lt;P&gt;kPowerManagerVlpr,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ///////// a 1 would be this mode..Correct??&lt;/P&gt;&lt;P&gt;kPowerManagerWait,&lt;/P&gt;&lt;P&gt;kPowerManagerVlpw,&lt;/P&gt;&lt;P&gt;kPowerManagerStop,&lt;/P&gt;&lt;P&gt;kPowerManagerVlps,&lt;/P&gt;&lt;P&gt;kPowerManagerVlls1,&lt;/P&gt;&lt;P&gt;kPowerManagerVlls3 }&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The K02P64M100SFA.pdf manual provides data for the IDD_HSRUN mode and IDD_RUN mode and VLRP mode and all the other power modes for the chip. But I do not see the enum for HSRUN in the above?? am I missing something??,&amp;nbsp; &lt;/P&gt;&lt;P&gt;So now I am somewhat confused, I know the code is executing a lot faster than a 4mhz bus clock, and the current consumption indicates either&amp;nbsp; HSRUN or RUN mode. I see in the examples that we can not switch between HSRUN and VLPR modes with out manipulating the clock..I tried for a few hours to follow the examples and set the clock but no success..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Guidance here would be greatly appreciated. &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 22:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Help-with-changing-power-modes/m-p/499877#M4744</guid>
      <dc:creator>randenewberry</dc:creator>
      <dc:date>2016-03-23T22:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with changing power modes</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Help-with-changing-power-modes/m-p/499878#M4745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rande,&lt;/P&gt;&lt;P&gt;1. Pay attention , the HSRUN mode can not directly change to VLPR mode ,and requires transition to Run.&lt;/P&gt;&lt;P&gt;you can see the "Power mode state transition diagram" of Reference manual of the chip :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2641i4205C16AD98230F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Yes, the chi of MK02FN64VLH10 support the HSRUN mode .&lt;/P&gt;&lt;P&gt;I create one KSDK1.3+PE project about this chip, then click the function of "POWER_SYS_GetCurrentMode()"&lt;/P&gt;&lt;P&gt;, it show :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25580iA0C525C21C5DC57B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the "FSL_FEATURE_SMC_HAS_HIGH_SPEED_RUN_MODE" have been defined in the file of&lt;/P&gt;&lt;P&gt;"MK02F12810_features.h"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25971i6E7B8054DA933B5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; I recommend you refer to the frdm-k22 (the method is the same between the two chip)demo under KSDK1.3 :&lt;/P&gt;&lt;P&gt;KSDK_1.3.0\examples\frdmk22f\demo_apps\power_manager_hal_demo\kds&lt;/P&gt;&lt;P&gt;And please first finish one part , for example finish the from HSRUN to RUN, be sure it well , then&lt;/P&gt;&lt;P&gt;go on the next part .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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>Thu, 24 Mar 2016 07:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Help-with-changing-power-modes/m-p/499878#M4745</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-24T07:57:17Z</dc:date>
    </item>
  </channel>
</rss>

