<?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: How LPC4337 wake up from deep using RTC_ALARM_TIME? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723542#M29235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;It still doesn't work.&lt;/P&gt;&lt;P&gt;Btw, why do we need to call &lt;SPAN&gt;Chip_EVRT_SetUpIntSrc&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;EVRT_SRC_ATIMER&lt;SPAN&gt;,&lt;/SPAN&gt; ENABLE&lt;SPAN&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it is for enabling ATIMER event routing, not for RTC_ALARM.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 15:57:15 GMT</pubDate>
    <dc:creator>irvingliu</dc:creator>
    <dc:date>2018-06-06T15:57:15Z</dc:date>
    <item>
      <title>How LPC4337 wake up from deep using RTC_ALARM_TIME?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723538#M29231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working to a project with LPC4337 and I need to wake up processor from deep-sleep using RTC. Most of the time the processor is in deep-sleep mode and wakes up on a preset moment of time, do some jobs and going back in to deep-sleep. To test this I used a modified version of “misc_pmc_states” but in don’t work - my board is very small and I haven’t space for a UART debug interface. The project works if the wake up is trigger by WAKEUP0. If I try to use RTC_ALARM_TIME, not alarm timer peripheral, the processor goes in to deep-sleep mode and don’t wake up – I connected a mA’s on the power line and I can measure the current in real time so I can see in which mode the processor is. I tried everything I found on the Internet, also on this forum, but the result was the same. How I can solve this problem without another chip on the board - a dedicated RTC chip connected to a wakeup pin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 06:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723538#M29231</guid>
      <dc:creator>iordănescuvasil</dc:creator>
      <dc:date>2018-05-25T06:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How LPC4337 wake up from deep using RTC_ALARM_TIME?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723539#M29232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iordănescu Vasile&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;I think there's something wrong with the misc_pmc_states demo in the lpcxpresso_nxp_lpcxpresso_4337.&lt;BR /&gt;To provide the fastest possible support, I'd like to recommend you to refer to the misc_pmc_states demo in the lpcxpresso_keil_mcb_4357. It can definitely work well.&lt;BR /&gt;Hope it helps.&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>Thu, 31 May 2018 02:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723539#M29232</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-31T02:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How LPC4337 wake up from deep using RTC_ALARM_TIME?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723540#M29233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy Zhou,&lt;/P&gt;&lt;P&gt;I got the same problem. I checked the mis_pmc_states project for lpcxpresso_nxp_lpcxpresso_4337 and lpcxpresso_keil_mcb_4357. It seems no difference between them. Adding delay after Chip_RTC_Enable() can make "wake form ATIMER" work, but not RTC_ALARM in deelp sleep, power down modes. I think the sample codes use both ATIMER and RTC_ALARM events at the same time while selecting RTC for wakeup. And actually, the MCU will be wakeup by ATIMER not RTC_ALARM. If we remove the ATIMER settings and leave the codes for RTC_ALARM, you&amp;nbsp;will find that RTC_ALARM won't work. However, it is ok for sleep mode. Do you have any further suggestion that i can try?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 00:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723540#M29233</guid>
      <dc:creator>irvingliu</dc:creator>
      <dc:date>2018-06-04T00:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How LPC4337 wake up from deep using RTC_ALARM_TIME?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723541#M29234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="299499" data-username="irvingliu" href="https://community.nxp.com/people/irvingliu" rel="nofollow noopener noreferrer" target="_blank"&gt;Irving Liu&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your sharing.&lt;/P&gt;&lt;P&gt;Please giving a try to use the following code to enable RTC alarm interrupt as the wake-up source.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_DeInit&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* Configure EVRT_SRC_RTC as wake up signal */&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;Chip_EVRT_ConfigIntSrcActiveType&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;EVRT_SRC_RTC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; EVRT_SRC_ACTIVE_HIGH_LEVEL&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_EVRT_SetUpIntSrc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;EVRT_SRC_ATIMER&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ENABLE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Initialize and configure RTC */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_Init&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_ResetClockTickCounter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_SetTime&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RTC_TIMETYPE_SECOND&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Set alarm time = RTC_ALARM_TIME seconds.
* So after each RTC_ALARM_TIME seconds, RTC will generate and wake-up system
*/&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_SetAlarmTime&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RTC_TIMETYPE_SECOND&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RTC_ALARM_TIME&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;Chip_RTC_CntIncrIntConfig&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_RTC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RTC_AMR_CIIR_IMSEC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; DISABLE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&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>Tue, 05 Jun 2018 08:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723541#M29234</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-05T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How LPC4337 wake up from deep using RTC_ALARM_TIME?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723542#M29235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;It still doesn't work.&lt;/P&gt;&lt;P&gt;Btw, why do we need to call &lt;SPAN&gt;Chip_EVRT_SetUpIntSrc&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;EVRT_SRC_ATIMER&lt;SPAN&gt;,&lt;/SPAN&gt; ENABLE&lt;SPAN&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it is for enabling ATIMER event routing, not for RTC_ALARM.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-LPC4337-wake-up-from-deep-using-RTC-ALARM-TIME/m-p/723542#M29235</guid>
      <dc:creator>irvingliu</dc:creator>
      <dc:date>2018-06-06T15:57:15Z</dc:date>
    </item>
  </channel>
</rss>

