<?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のトピックExample for entering sleep mode(or deep-sleep mode) and wake up sequence</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841421#M33512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use LPC51U68 with OM40005 board, is there examples that I can follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC51U68 is used as Master and another device as slave communicate via SPI.&lt;/P&gt;&lt;P&gt;After some initiation steps, I want to let LPC51U68 enter sleep mode or deep-sleep mode then stand by a interrupt from external GPIO pin. (Is a specific GPIO pin need to be selected?)&lt;/P&gt;&lt;P&gt;When receive a interrupt, LPC51U68 needs to configure the status of other GPIO pin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Dec 2018 16:25:34 GMT</pubDate>
    <dc:creator>larry781111</dc:creator>
    <dc:date>2018-12-30T16:25:34Z</dc:date>
    <item>
      <title>Example for entering sleep mode(or deep-sleep mode) and wake up sequence</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841421#M33512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use LPC51U68 with OM40005 board, is there examples that I can follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC51U68 is used as Master and another device as slave communicate via SPI.&lt;/P&gt;&lt;P&gt;After some initiation steps, I want to let LPC51U68 enter sleep mode or deep-sleep mode then stand by a interrupt from external GPIO pin. (Is a specific GPIO pin need to be selected?)&lt;/P&gt;&lt;P&gt;When receive a interrupt, LPC51U68 needs to configure the status of other GPIO pin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2018 16:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841421#M33512</guid>
      <dc:creator>larry781111</dc:creator>
      <dc:date>2018-12-30T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Example for entering sleep mode(or deep-sleep mode) and wake up sequence</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841422#M33513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="331037" data-username="larry781111@gmail.com" href="https://community.nxp.com/people/larry781111@gmail.com"&gt;YuChia Chien&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;-Under MCUXpresso SDK , there is a demo "&amp;nbsp;power_manager_lpc" shows the usage of normal power mode control APIs for entering the three kinds of low power mode: Sleep mode, Deep Sleep mode and Sleep Power Down mode.&lt;/P&gt;&lt;P&gt;The device can be also waken up by prepared wakeup source ( GPIO pin interrupt 0 )from external event .&lt;/P&gt;&lt;P&gt;You can download the SDK package from NXP website : &lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/select" title="https://mcuxpresso.nxp.com/en/select"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71190i095AA5DC26A1C376/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then can find this demo under : SDK_2.3.0_LPCXpresso51U68\boards\lpcxpresso51u68\demo_apps\power_manager_lpc .&lt;/P&gt;&lt;P&gt;- About "Is a specific GPIO pin need to be selected?"-&amp;gt; By configure the "Pin interrupt select register" to select&lt;/P&gt;&lt;P&gt;which pin to Pin interrupt. In this demo , use SW3(P0_24) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&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;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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 Jan 2019 04:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841422#M33513</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-02T04:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Example for entering sleep mode(or deep-sleep mode) and wake up sequence</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841423#M33514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already integrate power manage code to my origin code.&lt;/P&gt;&lt;P&gt;But I found that&amp;nbsp;in Deep sleep mode, the return point is the beginning of main(). Moreover, the argument will be reset.&lt;/P&gt;&lt;P&gt;If it is possible to set the return point and maintain the value of argument?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If use Sleep mode, it will return from where entering sleep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Larry&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841423#M33514</guid>
      <dc:creator>larry781111</dc:creator>
      <dc:date>2019-01-08T08:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Example for entering sleep mode(or deep-sleep mode) and wake up sequence</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841424#M33515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello YuChia,&lt;/P&gt;&lt;P&gt;How about only run the SDK demo with sleep mode ? I test it on my side ,it can work well, after&lt;/P&gt;&lt;P&gt;wake up, it run from where entering deep sleep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:43:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-for-entering-sleep-mode-or-deep-sleep-mode-and-wake-up/m-p/841424#M33515</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-10T07:43:58Z</dc:date>
    </item>
  </channel>
</rss>

