<?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: [MQX4.1] K20D50M Problem Exiting VLPR mode in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510782#M16306</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;Please check the below thread: &lt;A href="https://community.nxp.com/thread/313734"&gt;MQX Low Power Mode: stop from wait&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps!!!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&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>Tue, 16 Feb 2016 22:28:46 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2016-02-16T22:28:46Z</dc:date>
    <item>
      <title>[MQX4.1] K20D50M Problem Exiting VLPR mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510780#M16304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My board is based on MK20DX128VFM5 and powered my MQX4.1.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing low power mode using VLPR by following demo code from Freescale_MQX_4_1\mqx\examples\lowpower. What I can see is the current consumption is decreased by 20mA on entering VLPR mode. But I can't get it back to RUN mode by using MQX APIs in the demo code. Here are what I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enter VLPR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_lpm_set_clock_configuration(BSP_CLOCK_CONFIGURATION_2MHZ);&lt;/P&gt;&lt;P&gt;_lpm_set_operation_mode (LPM_OPERATION_MODE_WAIT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit&amp;nbsp; VLPR:&lt;/P&gt;&lt;P&gt;_lpm_set_operation_mode (LPM_OPERATION_MODE_RUN);&lt;/P&gt;&lt;P&gt;_lpm_set_clock_configuration(BSP_CLOCK_CONFIGURATION_DEFAULT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THe code above crashed in API _lpm_set_clock_configuration(BSP_CLOCK_CONFIGURATION_DEFAULT), what is the reason for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I verify the ARM core is running at 4MHz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question is, since my application enters VLPR mode immediately&amp;nbsp; after power on, the IAR used can't JTAG it to load a new code in because VLPR prevents from FLASH programming. Any solution to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 18:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510780#M16304</guid>
      <dc:creator>huishao2</dc:creator>
      <dc:date>2016-01-22T18:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX4.1] K20D50M Problem Exiting VLPR mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510781#M16305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;some more info I just got from debugging:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My silicon SIM_SDID is 0x3012&lt;/P&gt;&lt;P&gt;prints on silicon is 3N86B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On resuming back to RUN mode, the processor hangs when it migrates&amp;nbsp; from FBI to FBE mode in Cpu_SetMCGModePBE() of bsp_cm.c:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* MCG_C1: CLKS=2,FRDIV=3,IREFS=0,IRCLKEN=0,IREFSTEN=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCG_C1 = (uint8_t)0x98U;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 22:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510781#M16305</guid>
      <dc:creator>huishao2</dc:creator>
      <dc:date>2016-01-22T22:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX4.1] K20D50M Problem Exiting VLPR mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510782#M16306</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;Please check the below thread: &lt;A href="https://community.nxp.com/thread/313734"&gt;MQX Low Power Mode: stop from wait&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps!!!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&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>Tue, 16 Feb 2016 22:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510782#M16306</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-02-16T22:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: [MQX4.1] K20D50M Problem Exiting VLPR mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510783#M16307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I worked around it by setting MCG_G2 to 0x25U (high gain to low power) so that my external crystal circuit can start oscillation again on the way back to RUN mode.&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;Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 00:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-1-K20D50M-Problem-Exiting-VLPR-mode/m-p/510783#M16307</guid>
      <dc:creator>huishao2</dc:creator>
      <dc:date>2016-02-17T00:40:51Z</dc:date>
    </item>
  </channel>
</rss>

