<?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: Wake from sleep with OSTimer</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wake-from-sleep-with-OSTimer/m-p/978367#M38644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I recommend to use the example for the OS Timer in the SDK.&amp;nbsp;The OSTIMER project is a simple demonstration program of the SDK OSTIMER driver. It sets the OSTIMER as the wakeup source from deep-sleep mode. After wakeup from deep-sleep mode, OS timer will set match value&amp;nbsp; to trigger the interrupt while the timer count tick reach the match value about every 2 seconds.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 21:43:36 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2020-03-19T21:43:36Z</dc:date>
    <item>
      <title>Wake from sleep with OSTimer</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wake-from-sleep-with-OSTimer/m-p/978366#M38643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to put the LPC55S69 into deep sleep and/or power down mode and wake it with the OS Timer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use OSTIMER_SetMatchValue(...) to configure the sleep duration.&amp;nbsp; If I use a simple __WFI(), I get "woken" and code continues to execute.&amp;nbsp; If I substitute&amp;nbsp;&lt;EM&gt;either&lt;/EM&gt; of these for the __WFI(), the code does not wake up on the OS Timer match (OS Timer is clocked from external 32K crystal):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;POWER_EnterDeepSleep(kPDRUNCFG_PD_XTAL32K,0x7FFF,WAKEUP_OS_EVENT_TIMER | WAKEUP_GPIO_GLOBALINT0,0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;POWER_EnterPowerDown(kPDRUNCFG_PD_XTAL32K,0x7FFF, WAKEUP_OS_EVENT_TIMER | WAKEUP_GPIO_GLOBALINT0, 1);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Both options&amp;nbsp;&lt;EM&gt;do&lt;/EM&gt; wake up correctly when one of the gpio interrupts triggers.&amp;nbsp; I have referred to the power_manager_lpc project as well as the utick_wakeup projects, but neither has given me any clue as to why the OS Timer does not wake the processor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 20:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wake-from-sleep-with-OSTimer/m-p/978366#M38643</guid>
      <dc:creator>otsl</dc:creator>
      <dc:date>2020-03-17T20:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Wake from sleep with OSTimer</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wake-from-sleep-with-OSTimer/m-p/978367#M38644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I recommend to use the example for the OS Timer in the SDK.&amp;nbsp;The OSTIMER project is a simple demonstration program of the SDK OSTIMER driver. It sets the OSTIMER as the wakeup source from deep-sleep mode. After wakeup from deep-sleep mode, OS timer will set match value&amp;nbsp; to trigger the interrupt while the timer count tick reach the match value about every 2 seconds.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 21:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wake-from-sleep-with-OSTimer/m-p/978367#M38644</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-19T21:43:36Z</dc:date>
    </item>
  </channel>
</rss>

