<?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: View Unexpected Wake-up Source on FRDM-MCXA153 in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933233#M1523</link>
    <description>&lt;P&gt;Some further research:&lt;/P&gt;&lt;P&gt;The MCXA153 data sheet does seem to imply that asynchronous edge interrupts are possible on&amp;nbsp;&lt;EM&gt;both&lt;/EM&gt; GPIO and LPUART. See Table 17 in&amp;nbsp;&lt;STRONG&gt;3.3.2 General switching specifications&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aberger_0-1723761573474.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293509i39B655AF937F8654/image-size/large?v=v2&amp;amp;px=999" role="button" title="aberger_0-1723761573474.png" alt="aberger_0-1723761573474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that asynchronous means "un-clocked". Is that the case? If so, what is the proper way to ensure that an asynchronous edge on LPUART Rx (or GPIO) can wake the processor from Deep Sleep? Can you point me to example code?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2024 22:42:19 GMT</pubDate>
    <dc:creator>aberger</dc:creator>
    <dc:date>2024-08-15T22:42:19Z</dc:date>
    <item>
      <title>View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1931457#M1510</link>
      <description>&lt;P&gt;I have configured the &lt;LI-PRODUCT title="FRDM-MCXA153" id="FRDM-MCXA153"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;to go to Deep Sleep mode, and enabled the Rx Edge Interrupt on LPUART2 (so that it serves as the wake-up source). After a variable and random amount of time (typically between 15 s and 50 s) the CPU will unexpectedly wake back up without having received an Rx Edge. This seems to occur if I have the debugger running and CMC_DBGCTL[SOD] = 0 (debug remains enabled when the core sleeps). If I either end the debug session, or set DBGCTL[SOD] = 1 (disable debug), then the CPU remains asleep as desire&lt;/P&gt;&lt;P&gt;So, I'm suspicious that the debugger is causing the unwanted wake from deep sleep. But is there a way to verify this? Following the unwanted wake, I can see that CMC_SRS[WARM] = 1 and CMC_SRS[SW] = 1. However, CMC_SRS[DAP] = 0, which I am surprised to see. Also, CMC_RSTCNT[COUNT] remains unchanged following the sudden wake.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1931457#M1510</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-13T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1932655#M1514</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about running your project without debug mode. Program it into chip, then run it standalone without debugger and IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 03:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1932655#M1514</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-15T03:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933160#M1521</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;If I run without debug mode, the MCU doesn't not unexpectedly wake up.&amp;nbsp;&lt;SPAN&gt;However, it also won't wake up when receiving the Rx Edge on LPUART2. I have this configured as an enabled interrupt, and have LPUART2_IRQn enabled. Maybe this isn't sufficient, and it is necessary to use the WUU?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From Table 89 in Chapter 18 (CMC), it seems that wake from Deep Sleep should be possible from any enabled interrupts via the NVIC (and that the WUU is only used by Power Down and Deep Power Down):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aberger_1-1723746271470.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293494iAD5F2CFB28DFA941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aberger_1-1723746271470.png" alt="aberger_1-1723746271470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, Table 10 in Chapter 2 of the Reference Manual implies that the WUU&amp;nbsp;&lt;EM&gt;is used&lt;/EM&gt; for waking from Deep Sleep modes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aberger_0-1723746205169.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293493iFD871440F3302A20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aberger_0-1723746205169.png" alt="aberger_0-1723746205169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Furthermore, I see that in the "How to implement low power on MCXA153" demo available on the Application Code Hub, that even Deep Sleep mode uses the WUU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you clarify whether the WUU is necessary for waking from Deep Sleep?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 18:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933160#M1521</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-15T18:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933190#M1522</link>
      <description>&lt;P&gt;Some follow-up context and questions:&lt;/P&gt;&lt;P&gt;My goal in using the Deep Sleep mode is to stop all internal clocks, and wake on a UART Rx Edge. (I will actually need to wake from&amp;nbsp;&lt;EM&gt;any&lt;/EM&gt; of the LPUART Rx signals: LPUART0, LPUART1, and LPUART2). Ideally, the wake delay would be short enough that the UART could service the incoming byte that caused the wake up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to "wake" on the Rx Edge during debugging with DBGCTL[SOD] = 0 (enable debug during sleep). However, without the debugger attached, the Rx Edge failed to wake the chip. I now realize that the Rx Edge was likely only detected because the core clock remained enabled by the SOD setting.&lt;/P&gt;&lt;P&gt;So, a possibly dumb question: In order to serve as a wake-up source, is it necessary for a module to remain clocked? If so, then it seems I will not be able to achieve my goal of silencing all clocks.&lt;/P&gt;&lt;P&gt;From the Reference Manual, &lt;STRONG&gt;23.3.3 Deep Sleep mode&lt;/STRONG&gt; (pg 670):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Some modules can remain operational with low power asynchronous clock sources and serve as wake-up sources.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So it seems I either need to clock the WUU and use &lt;EM&gt;it&lt;/EM&gt; to wake the unit. (In that case, I don't think a UART Rx edge can be used, as none of the LPUART signals are listed in Table 84, Wakeup Source for WUU inputs).&amp;nbsp;Alternatively,&amp;nbsp;I need to clock a module itself (e.g. clock the LPUART either from an asynchronous clock source or the LPO CLK16K0) if I wish to use it as a wake-up source during low power operation. Is this accurate?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 20:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933190#M1522</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-15T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933233#M1523</link>
      <description>&lt;P&gt;Some further research:&lt;/P&gt;&lt;P&gt;The MCXA153 data sheet does seem to imply that asynchronous edge interrupts are possible on&amp;nbsp;&lt;EM&gt;both&lt;/EM&gt; GPIO and LPUART. See Table 17 in&amp;nbsp;&lt;STRONG&gt;3.3.2 General switching specifications&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aberger_0-1723761573474.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293509i39B655AF937F8654/image-size/large?v=v2&amp;amp;px=999" role="button" title="aberger_0-1723761573474.png" alt="aberger_0-1723761573474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that asynchronous means "un-clocked". Is that the case? If so, what is the proper way to ensure that an asynchronous edge on LPUART Rx (or GPIO) can wake the processor from Deep Sleep? Can you point me to example code?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 22:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933233#M1523</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-15T22:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933236#M1524</link>
      <description>&lt;P&gt;How is the "asynchronous path" chosen as the interrupt source? I cannot find it in the GPIO or PORT config.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, what is the difference between the 50 ns GPIO pin interrupt pulse width (digital filter disabled, analog filter disabled) - Asynchronous path and the 16 ns GPIO pin interrupt pulse width - Asynchronous path?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 22:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1933236#M1524</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-15T22:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1935116#M1540</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LPUART remains functional during low-power modes, provided CTRL[DOZEEN] is 0 and the LPUART functional clock is enabled.&lt;BR /&gt;LPUART can generate an interrupt or DMA request to cause a wake-up from low-power modes.&lt;BR /&gt;You can configure LPUART to be disabled in low-power modes, when CTRL[DOZEEN] is 1. In this case, the transmitter and&lt;BR /&gt;receiver finish transmitting and receiving the current word.&lt;BR /&gt;If LPUART is disabled in low-power modes, it can generate a wake-up via STAT[RXEDGIF] if the receiver detects an active edge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LPUART can continue operating when the processor is in Low-Power mode, if an appropriate peripheral clock is available. So which what about the clock source for LPUART on your project.&lt;/P&gt;
&lt;P&gt;If still have any issue, how about sharing your project , I help you check on my side. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1935116#M1540</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-19T10:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1936680#M1543</link>
      <description>&lt;P&gt;Based on my reading of the Reference Manual and the Data Sheet, GPIO and LPUART should be able to generate asynchronous (i.e. unclocked) interrupts to wake the processor from Deep Sleep.&lt;/P&gt;&lt;P&gt;I am attaching a minimum project where I have tried to implement the desired operation as described in the original post. Asynchronous wakeup from LPUART and GPIO &lt;EM&gt;does not work with the attached project&lt;/EM&gt;. The project goals and operation are described in the included README.md, including attached scope screenshots showcasing the runtime behavior.&lt;/P&gt;&lt;P&gt;Please let me know if there is further configuration that would get asynchronous wakeup sources to work properly. &lt;EM&gt;If this is not possible, the Reference Manual and Data Sheet should be updated to reflect that wakeup is only possible from clocked peripherals.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have verified that LPUART_STAT[RXEDGIF] is set upon receipt of commands during Run mode.&lt;BR /&gt;I have verified that SW3 can generate interrupts during Run mode.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 19:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1936680#M1543</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-08-20T19:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1946981#M1601</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Asynchronous not means unlocked. It means the peripheral clock not the same with system clock.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 07:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1946981#M1601</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-09-04T07:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1949369#M1620</link>
      <description>&lt;P&gt;As stated initially, I would like to wake from Deep Sleep on&amp;nbsp;&lt;EM&gt;either&lt;/EM&gt; an active GPIO edge or LPUART edge.&lt;/P&gt;&lt;P&gt;You have pointed out that "asynchronous" doesn't mean un-clocked, but rather, clocked from a clock source different than the Core/System clock. If that is the case, how do GPIO modules remain clocked during Deep Sleep in order to serve as a wake-up source? Or is it always necessary to use the WUU to wake from Deep Sleep, and route the desired GPIO pin to the WUU (which itself remains clocked by FRO16k)?&lt;/P&gt;&lt;P&gt;Furthermore, how can I achieve wake-up via active edge on an LPUART peripheral that is disabled in low-power modes? The LPUART is not listed as an available WUU input, and yet the manual states:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;37.3.7.1 Low-Power Modes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If LPUART is disabled in low-power modes, it can generate a wake-up via STAT[RXEDGIF] if the receiver detects an active edge.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Though disabled (CTRL[DOZEEN] = 1), does the LPUART functional clock remain enabled? Please provide configuration details for accomplishing the above.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 22:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1949369#M1620</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-09-06T22:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1949602#M1623</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly recommend refer to "power_mode_switch_ii" under SDK demo.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The demo prints the power mode menu through the debug console, where the users can set the MCU to a specific power modes. Users can also select the wake-up source by following the debug console prompts. The purpose of this demo is to show how to switch between different power modes, and how to configure a wake-up source and wakeup the MCU from low power modes.&amp;nbsp;&lt;STRONG&gt;Deep Sleep: Core clock, system clock, and bus clock are all OFF, some modules can remain operational with low power asynchronous clock source(OSC32k or FRO16K which located in VBAT domain) and serve as wake-up sources.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This demo demonstrates 2 wake-up sources: - &lt;STRONG&gt;LPTMR: Located in System power domain, clocked by FRO16K which from VBAT domain.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When runt the demo, input C enter Deepsleep mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1725849357638.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297759iAFE1F894269462E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1725849357638.png" alt="Alice_Yang_0-1725849357638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can configure LPUART using FRO16k clock source.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 02:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1949602#M1623</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-09-09T02:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1950325#M1627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have looked at that demo. I've also taken a look at the dm-low-power-implementation-mcxa153&amp;nbsp;&amp;nbsp;demo from the Application Code Hub, which implements similar functionality as the power_mode_switch_ii demo. However, both demos show the processor waking from Deep Sleep via the WUU.&lt;/P&gt;&lt;P&gt;Again, is this necessary? Table 89 shows that Deep Sleep is exited via NVIC, and not the WUU. But I have not been able to get this to work.&lt;/P&gt;&lt;P&gt;I have modified&amp;nbsp;&lt;SPAN&gt;power_mode_switch_ii to try to implement both SW3 as a wake source&amp;nbsp;&lt;EM&gt;and&lt;/EM&gt; LPUART2 as a wake source. The attached project includes Git version tracking with 3 branches representing 3 different attempts to get this working:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;nvicWakeup&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- attempt to wakeup from Deep Sleep via enabled interrupts: either SW3 falling edge or LPUART2 RX active edge. &lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;RESULT: Does not wake from deep sleep on either SW3 falling edge of LPUART2 RX active edge.&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;lpuart2fro16k&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- Attach FRO_16k clock to LPUART2 on transition into Deep Sleep to keep module active on an asynchronous running clock. &lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;RESULT: Does not wake from deep sleep on either SW3 falling edge of LPUART2 RX active edge.&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;gpioWuu&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;- routes SW3 (GPIO P1_7) to WUU P9. &lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;RESULT: Does wake from deep sleep on SW3 falling edge, but still fails to wake on LPUART2 RX active edge.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A summary of program operation is also included in the attached slide deck.&lt;/P&gt;&lt;P&gt;Even though the Reference Manual states that any enabled interrupts should be able to wake the unit from Deep Sleep, I have only been able to wake via the WUU. If that is the case how can the LPUART ever be a wakeup source?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience and your continued support.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Sep 2024 20:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1950325#M1627</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-09-09T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1953292#M1640</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the Power mode switch demo, I disabled&amp;nbsp; WUU interrupt , still can wakeup from deep sleep mode. Comment out the code as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1726130827200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298806i17681972754DB07C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1726130827200.png" alt="Alice_Yang_0-1726130827200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For you attached project, sorry I haven't find the configuration LPUART as wakeup source. How about send a standalone project that use LPUART as wakeup source.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 08:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1953292#M1640</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-09-12T08:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1953650#M1643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I see that the WAKETIMER is also clocked by the FRO16K oscillator, which is perhaps why it works as an NVIC wakeup even without enabling a Module Interrupt wake source in the WUU?&lt;/P&gt;&lt;P&gt;I've attached two projects that try to wake from LPUART and GPIO.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nvicWakeup&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add IRQHandler for GPIO1 and LPUART2 (lines 120-128)&lt;/LI&gt;&lt;LI&gt;EnableIRQ for GPIO1 (line 159)&lt;/LI&gt;&lt;LI&gt;Modify App_GetWakeupConfig in order to wake via NVIC on GPIO1 or LPUART2 RX Active Edge if the targetMode is &lt;EM&gt;Sleep &lt;/EM&gt;or &lt;EM&gt;Deep Sleep&amp;nbsp;&lt;/EM&gt;(lines 349-372)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;lpuart2fro16k&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Identical to&amp;nbsp;&lt;STRONG&gt;nvicWakeup&lt;/STRONG&gt; except switch to FRO16K clock as LPUART2 functional clock when transitioning to&amp;nbsp;&lt;EM&gt;Deep Sleep&lt;/EM&gt; mode (lines 411-414)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In both projects,&amp;nbsp;the MCU cannot wake from deep sleep on either SW3 (GPIO1, pin 7) falling edge or the LPUART2 RX active edge.&lt;/P&gt;&lt;P&gt;Please suggest modifications to use GPIO and LPUART interrupts as a wakeup source from&amp;nbsp;&lt;EM&gt;Deep Sleep&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 17:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1953650#M1643</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-09-12T17:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1956501#M1656</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In deep sleep mode, if you want to use LPUART as wake up source, must use FRO16k as clock source. This device only supports FRO16 feature of VBAT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:23:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1956501#M1656</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-09-18T09:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1956823#M1657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, I tried to implement exactly that in&amp;nbsp;&lt;STRONG&gt;lpuart2fro16k&lt;/STRONG&gt;. I attached the CLK16K_1 to LPUART2 in lines 411-414. But this still doesn't get the processor to wake from Deep Sleep on a received LPUART2 RX edge. Can you point out what I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 17:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1956823#M1657</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2024-09-18T17:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: View Unexpected Wake-up Source on FRDM-MCXA153</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1959307#M1672</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check your new project on my side. Then reply you .asap. Thanks for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 22:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/View-Unexpected-Wake-up-Source-on-FRDM-MCXA153/m-p/1959307#M1672</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-09-22T22:50:55Z</dc:date>
    </item>
  </channel>
</rss>

