<?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>LPC Microcontrollers中的主题 Re: Usage of POWER_SetLowPowerVoltageForFreq in LPC5411x SDK</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Usage-of-POWER-SetLowPowerVoltageForFreq-in-LPC5411x-SDK/m-p/770417#M30999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi huang zhexiong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; description is very concise, this is the ROM API, used to set up internal voltage levels for the low power mode(sleep/deep sleep,etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You said when you call &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt;, you can't use the HWVAD to wake up the core, could you tell me, any power consumption difference between you add &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; and don't add it? If the power consumption is really cut down, just can't be wake up, I will test it, and help you to check our according department.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; principle, because the it is the ROM API function, and the ROM API doesn't opensource, then we also don't have it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Wed, 02 May 2018 06:42:48 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-05-02T06:42:48Z</dc:date>
    <item>
      <title>Usage of POWER_SetLowPowerVoltageForFreq in LPC5411x SDK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Usage-of-POWER-SetLowPowerVoltageForFreq-in-LPC5411x-SDK/m-p/770416#M30998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see LPC5411x SDK provides some Power APIs. There is a function called&amp;nbsp;POWER_SetLowPowerVoltageForFreq in SDK, and its description is "Set voltage levels for low power regulation mode". However, the description still confuses me with the scope of influence. Does this function regulate power just in Sleep/Deep-sleep mode or also in Active mode? Where shall I use this function in application?&lt;/P&gt;&lt;P&gt;Actually, I have tried this function in my code, like that (this is an application used HWVAD and Watchdog oscillator in Deep-sleep mode):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;// using FRO 12 MHz clock as main clock now&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;POWER_SetLowPowerVoltageForFreq(CLK_FRO_12MHZ);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// okay here&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;POWER_EnterDeepSleep(SYSCON_PDRUNCFG_PDEN_SRAM0(1) | SYSCON_PDRUNCFG_PDEN_WDT_OSC(1)); // only keep&amp;nbsp;&lt;SPAN&gt;W&lt;/SPAN&gt;&lt;SPAN&gt;atchdog oscillator running and power down FRO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// cannot get here&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It seems like okay immediately after&amp;nbsp;&lt;SPAN&gt;POWER_SetLowPowerVoltageForFreq, but when it tries to get into Deep-sleep mode, the DMIC seems unclocked and never wakes up the cores. When I remove the call of&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq, it gets back to normal.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;I also try to change the source of main clock to&amp;nbsp;Watchdog oscillator before it gets into Deep-sleep mode,&amp;nbsp;i&lt;SPAN&gt;t seems like okay immediately after this operation, but when HWVAD&amp;nbsp;wakes up the cores and the source of main clock is changed back to FRO 12 MHz it also fails. I would like to know what happen in this function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;In short, please inform me how to use&amp;nbsp;POWER_SetLowPowerVoltageForFreq, and (if permitted) its principle. Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Huang Zhexiong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 16:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Usage-of-POWER-SetLowPowerVoltageForFreq-in-LPC5411x-SDK/m-p/770416#M30998</guid>
      <dc:creator>imetro</dc:creator>
      <dc:date>2018-04-25T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of POWER_SetLowPowerVoltageForFreq in LPC5411x SDK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Usage-of-POWER-SetLowPowerVoltageForFreq-in-LPC5411x-SDK/m-p/770417#M30999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi huang zhexiong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; description is very concise, this is the ROM API, used to set up internal voltage levels for the low power mode(sleep/deep sleep,etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You said when you call &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt;, you can't use the HWVAD to wake up the core, could you tell me, any power consumption difference between you add &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; and don't add it? If the power consumption is really cut down, just can't be wake up, I will test it, and help you to check our according department.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About &lt;SPAN style="background-color: #f6f6f6;"&gt;POWER_SetLowPowerVoltageForFreq&lt;/SPAN&gt; principle, because the it is the ROM API function, and the ROM API doesn't opensource, then we also don't have it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Wed, 02 May 2018 06:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Usage-of-POWER-SetLowPowerVoltageForFreq-in-LPC5411x-SDK/m-p/770417#M30999</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-05-02T06:42:48Z</dc:date>
    </item>
  </channel>
</rss>

