<?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 LPC54606 Deep Sleep, Utick0 interrupt in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606-Deep-Sleep-Utick0-interrupt/m-p/823454#M32946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to wakeup a LPC54606 from deep sleep using utick0 timer. Here are the snippets of my initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define EXCLUDE_FROM_DEEPSLEEP (SYSCON_PDRUNCFG_PDEN_SRAMX_MASK|\&lt;BR /&gt; SYSCON_PDRUNCFG_PDEN_SRAM0_MASK|SYSCON_PDRUNCFG_PDEN_SRAM1_2_3_MASK| \&lt;BR /&gt; SYSCON_PDRUNCFG_PDEN_WDT_OSC_MASK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// I am calling POWER_EnterDeepSleep with the above exclude mask.&amp;nbsp;&lt;/P&gt;&lt;P&gt;POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the micro-tick related initialization:&lt;/P&gt;&lt;P&gt;// Setup wake pin.&lt;BR /&gt; SYSCON-&amp;gt;STARTERSET[0] |= SYSCON_STARTER_UTICK_MASK; /* GPIO pin interrupt 0 wake-up. */&lt;BR /&gt; EnableDeepSleepIRQ(UTICK0_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;utick0 is initialized using the fsl interface functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am toggling an LED in the IRQ handler - i can see the current consumption dropping - but i was expecting the LED to still toggle after the controller has gone into low power. And of course, i never come out of the low power mode at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any pointers on where the configuration is going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2018 20:12:11 GMT</pubDate>
    <dc:creator>santosh1</dc:creator>
    <dc:date>2018-12-20T20:12:11Z</dc:date>
    <item>
      <title>LPC54606 Deep Sleep, Utick0 interrupt</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606-Deep-Sleep-Utick0-interrupt/m-p/823454#M32946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to wakeup a LPC54606 from deep sleep using utick0 timer. Here are the snippets of my initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define EXCLUDE_FROM_DEEPSLEEP (SYSCON_PDRUNCFG_PDEN_SRAMX_MASK|\&lt;BR /&gt; SYSCON_PDRUNCFG_PDEN_SRAM0_MASK|SYSCON_PDRUNCFG_PDEN_SRAM1_2_3_MASK| \&lt;BR /&gt; SYSCON_PDRUNCFG_PDEN_WDT_OSC_MASK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// I am calling POWER_EnterDeepSleep with the above exclude mask.&amp;nbsp;&lt;/P&gt;&lt;P&gt;POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the micro-tick related initialization:&lt;/P&gt;&lt;P&gt;// Setup wake pin.&lt;BR /&gt; SYSCON-&amp;gt;STARTERSET[0] |= SYSCON_STARTER_UTICK_MASK; /* GPIO pin interrupt 0 wake-up. */&lt;BR /&gt; EnableDeepSleepIRQ(UTICK0_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;utick0 is initialized using the fsl interface functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am toggling an LED in the IRQ handler - i can see the current consumption dropping - but i was expecting the LED to still toggle after the controller has gone into low power. And of course, i never come out of the low power mode at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any pointers on where the configuration is going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 20:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606-Deep-Sleep-Utick0-interrupt/m-p/823454#M32946</guid>
      <dc:creator>santosh1</dc:creator>
      <dc:date>2018-12-20T20:12:11Z</dc:date>
    </item>
  </channel>
</rss>

