<?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 MicrocontrollersのトピックRe: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400225#M22196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to accomplish a specific routine in order to change to VLPS mode (low power mode) from RUN mode. There is an example (lwirelessUART from SMAC folder) included in Beekit Wireless Connectivity Toolkit (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT"&gt;BeeKit Wireless Connectivity Toolkit|Freescale&lt;/A&gt;) that shows you how to switch to VLPS in run time. (Function called WUApp_PrepareToEnterLowPower accomplishes this routine, it is located at main.c file) Hope this can help you as guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 21:40:14 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2015-08-04T21:40:14Z</dc:date>
    <item>
      <title>Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and turn</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400224#M22195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and turning OFF the clock monitor,SMC_PMPROT[AVLP]) is set,SIM_CLKDIV1_OUTDIV1=0,SIM_CLKDIV1_OUTDIV2=1,SIM_CLKDIV1_OUTDIV4=4. But PMC&amp;nbsp; REGONS bit is not turning 0. Is there anything else that I need to do. Please give me any suggestions.&amp;nbsp;&amp;nbsp; Best Regards, Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 08:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400224#M22195</guid>
      <dc:creator>madanm</dc:creator>
      <dc:date>2015-07-31T08:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400225#M22196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to accomplish a specific routine in order to change to VLPS mode (low power mode) from RUN mode. There is an example (lwirelessUART from SMAC folder) included in Beekit Wireless Connectivity Toolkit (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT"&gt;BeeKit Wireless Connectivity Toolkit|Freescale&lt;/A&gt;) that shows you how to switch to VLPS in run time. (Function called WUApp_PrepareToEnterLowPower accomplishes this routine, it is located at main.c file) Hope this can help you as guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 21:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400225#M22196</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-08-04T21:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400226#M22197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi isaacavila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, VLPS mode is running fine but i want to run the controller from &lt;STRONG&gt;RUN&lt;/STRONG&gt; mode to &lt;STRONG&gt;VLPR mode.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; Madan M&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:29:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400226#M22197</guid>
      <dc:creator>madanm</dc:creator>
      <dc:date>2015-08-06T06:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400227#M22198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan M, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for giving you reference about VLPS instead of VLPR mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check this application note about Power Magaement for Kinetis (&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this AN, you can notice in section 2.5.3 (in document it is written as 2.5.2 but it was a typo error) the sequence to enter in VLPR:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Be in BLPI (using fast IRC for the MCG or LIRC is using MCG_Lite) or BLPE clock mode.&lt;/LI&gt;&lt;LI&gt;Set the core freqnecy to 4 MHz or less and flash clock to 1 MHz or less (800kHz - 1MHz).&lt;/LI&gt;&lt;LI&gt;Not have the slow IRC enabled.&lt;/LI&gt;&lt;LI&gt;Disable the clock monitor.&lt;/LI&gt;&lt;LI&gt;Disable FIRC on devices using the MCG_Lite.&lt;/LI&gt;&lt;LI&gt;Write the SMC_PMCTRL RUNM bits to enter VLPR.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember to set PMPROT[AVLP] = 1 to allow MCU to enter to VLPR mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check this AN for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you problem persists please let me know it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 13:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400227#M22198</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-08-10T13:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400228#M22199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you changed to VLPR mode successfully?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400228#M22199</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-08-20T15:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I am working with kinetis W 21D256 micro-controller. My application is battery powered so that I want to optimize power as much as possible... All I need to do is switch between Run Mode and Vlpr mode via RUN.I'm changing the mcg mode to BLPI and</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400229#M22200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi isaacavila,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your suggestion, It worked fine I have archived&amp;nbsp; 2MHz clock in VLPR &amp;amp; current consumption also reduced to 2mA for my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madan M &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 04:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hi-I-am-working-with-kinetis-W-21D256-micro-controller-My/m-p/400229#M22200</guid>
      <dc:creator>madanm</dc:creator>
      <dc:date>2015-08-21T04:15:47Z</dc:date>
    </item>
  </channel>
</rss>

