<?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: PE Option to Enter VLP Stop? in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332163#M2529</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;Prior to enter VLPS mode you need to enter a VLPR mode, this is what is indicated in the mentioned document. To accomplish this you need to set a Clock Configuration for BLPE or BLPI mode checking the Very low power mode as enabled, here an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vlps1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50403i206ED07A19334A64/image-size/large?v=v2&amp;amp;px=999" role="button" title="vlps1.png" alt="vlps1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You enter the Clock configuration calling the methods Cpu_SetClockConfiguration(); and Cpu_GetClockConfiguration();. After ensuring you are running the BLPI or BLPE configuration you call the Cpu_SetOperationMode(DOM_SLEEP, NULL, NULL) to enter VLPS mode. This is the normal behavior of the MCU you can check more information in the &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;AN4503&lt;/A&gt; document. Referring to it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"STOP mode &lt;STRONG&gt;entry routine&lt;/STRONG&gt;: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if in Run mode puts the processor into normal stop mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If in VLPR mode puts the processor into VLPS mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In this mode core, bus and peripheral clocks are disabled."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned before it is possible to enter VLPS mode from Normal RUN mode but this is not implemented in Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&lt;BR /&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>Mon, 09 Feb 2015 20:58:46 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2015-02-09T20:58:46Z</dc:date>
    <item>
      <title>PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332160#M2526</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;In a future version of Processor Expert for the MK22FN512, would it be possible to add an option to enter the VLP STOP mode from run (in Operation Mode Settings - SLEEP Options)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now the only three options for SLEEP are: STOP, PSTOP1 and PSTOP2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is always possible to modify the CPU_Init.c file directly of course, or to use a custom function to replace it. But adding the options in the Processor Expert GUI would be nicer!&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;Bruno&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46036iBABE04E313272222/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG.jpg" alt="Capture.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 14:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332160#M2526</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-09T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332161#M2527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bruno:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not played much with low power modes, but I think VLPS is achieved combining CPU operation mode with Clock configuration, according to the next document by colleague Petr Hradsky:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102163"&gt;Operation modes in Processor Expert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!,&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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>Sun, 08 Feb 2015 21:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332161#M2527</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-02-08T21:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332162#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either I do not understand the text in the document that you sent, or there is an option missing (exactly the option that I am suggesting I think).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding sleep modes (not run modes), in the last part, Petr's document indicates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt;"&gt;For example the DOM_SLEEP can be mapped to normal stop mode, very low power stop, partial stop 1 or partial stop 2 of Kinetis L"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But the image below it only shows 3 options: Normal STOP, PSTOP1 and PSTOP2. Allowing the VLP mode checkmark above has no impact on the code (I checked).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am suggesting is to add a VLP STOP mode menu option, which is exactly what Petr seems to say already exists...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 13:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332162#M2528</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-02-09T13:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332163#M2529</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;Prior to enter VLPS mode you need to enter a VLPR mode, this is what is indicated in the mentioned document. To accomplish this you need to set a Clock Configuration for BLPE or BLPI mode checking the Very low power mode as enabled, here an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="vlps1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50403i206ED07A19334A64/image-size/large?v=v2&amp;amp;px=999" role="button" title="vlps1.png" alt="vlps1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You enter the Clock configuration calling the methods Cpu_SetClockConfiguration(); and Cpu_GetClockConfiguration();. After ensuring you are running the BLPI or BLPE configuration you call the Cpu_SetOperationMode(DOM_SLEEP, NULL, NULL) to enter VLPS mode. This is the normal behavior of the MCU you can check more information in the &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;AN4503&lt;/A&gt; document. Referring to it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"STOP mode &lt;STRONG&gt;entry routine&lt;/STRONG&gt;: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if in Run mode puts the processor into normal stop mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If in VLPR mode puts the processor into VLPS mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In this mode core, bus and peripheral clocks are disabled."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned before it is possible to enter VLPS mode from Normal RUN mode but this is not implemented in Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&lt;BR /&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>Mon, 09 Feb 2015 20:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332163#M2529</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-02-09T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332164#M2530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going directly from normal RUN to VLPS and back from VLPS to normal RUN is a very attractive option (and it is what I need to do). All that would be needed for that code to be generated by Processor Expert would be to have a fourth "VLPS" option for SLEEP, beside STOP, PSTOP1 and PSTOP2. Such an option would be very easy to manage in CPU_Init.c. Right now I have modified manually CPU_Init.c to get that feature (not that hard to do), but it would be much cleaner if PE would manage such an option on its own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe in a future version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 21:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332164#M2530</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-02-09T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: PE Option to Enter VLP Stop?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332165#M2531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;Thank you for the new feature proposal. I have created a ticket for Processor Expert development team with your request (&lt;A class="issue-link" data-issue-key="PEXMCU-2129" href="http://sw-jira.freescale.net/browse/PEXMCU-2129" rel="98731"&gt;PEXMCU-2129&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 08:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Option-to-Enter-VLP-Stop/m-p/332165#M2531</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-03-17T08:31:00Z</dc:date>
    </item>
  </channel>
</rss>

