<?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: VLPR Mode Not Initializing Correctly in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235304#M6533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code that I am referencing is in _lpm_set_operation_mode.&amp;nbsp; It appears the version of MQX we are using (4.0.0) has been modified in our SVN repository.&amp;nbsp; It appears this occurred when we ported the project fro K20 to K60.&amp;nbsp; The lpm_smc file should be used, but instead a modified version of lpm_mc was used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am porting over the code from the 4.0.2 patch and seeing what that brings to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 15:45:11 GMT</pubDate>
    <dc:creator>robertryan</dc:creator>
    <dc:date>2013-09-24T15:45:11Z</dc:date>
    <item>
      <title>VLPR Mode Not Initializing Correctly</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235302#M6531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on implementing a power savings schema on our latest design (K60 based) and I have run into an odd behavior.&amp;nbsp; I am using the low power module in MQX 4.0 to accomplish the switching into the various power states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My entry into VLPR is as follows:&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);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing too exciting.&amp;nbsp; As expected, the overall current on my boards drops from 88 mA to 3 mA, but the UART does not function as expected.&amp;nbsp; After some chasing I have located the code where the code is hanging, but I have no idea why.&amp;nbsp; If I comment out the code (a hack for testing only), everything works great.&amp;nbsp; Power goes to where I expect and the UART behaves as expected.&amp;nbsp; The suspect code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while (0 == (PMC_REGSC &amp;amp; PMC_REGSC_ACKISO_MASK))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is in _lpm_set_cpu_operation_mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously I am missing a setup step, I am just not sure what exactly it is!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 17:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235302#M6531</guid>
      <dc:creator>robertryan</dc:creator>
      <dc:date>2013-09-16T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: VLPR Mode Not Initializing Correctly</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235303#M6532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where exactly comes the suspect code from ? If I search MQX 4.0.2 ${MQX_ROOT_DIR}\mqx\source\io\lpm\*.* I will find none occurence of such a code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you generate the power management code using Processor Expert ? Also, there is application note AN4503 which discusses the Kinetis power modes in detail and it mentions the ACKISO bit only for VLLSx modes (entry, exit) but nothing for VLPR. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 11:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235303#M6532</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-09-23T11:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: VLPR Mode Not Initializing Correctly</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235304#M6533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code that I am referencing is in _lpm_set_operation_mode.&amp;nbsp; It appears the version of MQX we are using (4.0.0) has been modified in our SVN repository.&amp;nbsp; It appears this occurred when we ported the project fro K20 to K60.&amp;nbsp; The lpm_smc file should be used, but instead a modified version of lpm_mc was used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am porting over the code from the 4.0.2 patch and seeing what that brings to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 15:45:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/VLPR-Mode-Not-Initializing-Correctly/m-p/235304#M6533</guid>
      <dc:creator>robertryan</dc:creator>
      <dc:date>2013-09-24T15:45:11Z</dc:date>
    </item>
  </channel>
</rss>

