<?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: Getting wakeup source causing exit from Standby mode in S32G</title>
    <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1617960#M2512</link>
    <description>&lt;P&gt;Hello Harry,&lt;/P&gt;&lt;P&gt;I had the same problem with S32K312, set the external wake source to rise edge trigger, everything was fine, but set to fall edge trigger, all the WISR set as the wake source corresponding bit was set to 1, that is, all wake sources triggered the wake. I can confirm that there is no problem with the register I read. May I ask if you have solved this problem&lt;/P&gt;&lt;P&gt;Thanks for your support and solution.&lt;/P&gt;&lt;P&gt;Jian&lt;/P&gt;</description>
    <pubDate>Sat, 18 Mar 2023 09:40:38 GMT</pubDate>
    <dc:creator>jian72</dc:creator>
    <dc:date>2023-03-18T09:40:38Z</dc:date>
    <item>
      <title>Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1480854#M962</link>
      <description>&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get wakeup source causing exit from Standby mode.&lt;/P&gt;&lt;P&gt;For example, I configured WKPU0, WKPU1 and WKPU2 (Wakeup input) for wakeup sources to exit from standby mode and enabled rising edge detection for all wakeup sources.&lt;/P&gt;&lt;P&gt;If I make the S32G2 enter standby mode and WKPU1 HIGH, then I want to get the wakeup source as WKPU1 on the application after exit from standby.&lt;/P&gt;&lt;P&gt;Is there any register or API to get the wakeup source easily?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 02:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1480854#M962</guid>
      <dc:creator>harry_choi</dc:creator>
      <dc:date>2022-06-28T02:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1482239#M971</link>
      <description>&lt;P&gt;Does anybody have an idea for this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 00:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1482239#M971</guid>
      <dc:creator>harry_choi</dc:creator>
      <dc:date>2022-06-30T00:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1484965#M1006</link>
      <description>&lt;P&gt;Hello Harry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the wake-up signal occurs, the WKUP will record the event through the WISR register.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to the WISR register in S32G RM.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="johnyoo_0-1657073435741.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185665iEC97E6886F2AF5CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="johnyoo_0-1657073435741.png" alt="johnyoo_0-1657073435741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 02:11:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1484965#M1006</guid>
      <dc:creator>johnyoo</dc:creator>
      <dc:date>2022-07-06T02:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1484987#M1009</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;Thank for your reply.&lt;/P&gt;&lt;P&gt;When I read WISR after wake up from sleep, all BITs which were configured to wakeup source are '1'.&lt;/P&gt;&lt;P&gt;For example, if I set WKPU1 and WKPU3 for wakeup source and go to sleep, and then both WKPU1, WKPU2 and WKPU3 bits are HIGH when read the WISR register after wake up from sleep by WKPU1.&lt;/P&gt;&lt;P&gt;My codes are as below:(Actually I set 5 channels for wakeup source)&lt;/P&gt;&lt;P&gt;for (i = 0; i &amp;lt; ICU_MAX_CHANNEL; i++)&lt;BR /&gt;{&lt;BR /&gt;/* Configure ICU */&lt;BR /&gt;Icu_EnableWakeup(i);&lt;BR /&gt;Icu_EnableEdgeDetection(i);&lt;BR /&gt;Icu_EnableNotification(i);&lt;BR /&gt;}&lt;BR /&gt;Icu_SetMode(ICU_MODE_SLEEP);&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 02:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1484987#M1009</guid>
      <dc:creator>harry_choi</dc:creator>
      <dc:date>2022-07-06T02:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1485104#M1011</link>
      <description>&lt;P&gt;Hello Harry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’ve tested on my side, and there is no such issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I set 3 wakeup sources as WKUP0, 1, 2 (MSCR43, 146, 148) and enables those by WRER.&lt;/P&gt;
&lt;P&gt;I tried to wake up by WKUP0, and successfully waked up and the WISR value was only source 0 like below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="johnyoo_1-1657088352963.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185701iB95E2C3775DD4185/image-size/large?v=v2&amp;amp;px=999" role="button" title="johnyoo_1-1657088352963.png" alt="johnyoo_1-1657088352963.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please refer to below register setting that I tested with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WIFER = 0;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WBMSR = 0x00000007;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_IRER = 0x0;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WRER = 0x0;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_0.MSCR[43].B.PUE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_0.MSCR[43].B.PUS = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_0.MSCR[43].B.IBE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[146].B.PUE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[146].B.PUS = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[146].B.IBE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[148].B.PUE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[148].B.PUS = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;SIUL2_1.MSCR[148].B.IBE = 1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;STBY_GPR.WKUP_PUS.B.WKUP_PUS |= 0x1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WIPUER_WIPDER = 0x1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;STBY_GPR.WKUP_PUS.B.WKUP_PU_OVERRIDE |= 0x1;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WIFEER = 0x00000007;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WIREER = 0x0;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_IRER = 0;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WRER = 0x00000007;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;WKPU_WISR = 0xffffffff;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1485104#M1011</guid>
      <dc:creator>johnyoo</dc:creator>
      <dc:date>2022-07-06T06:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1485107#M1012</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;Thanks for your quick and kind response.&lt;/P&gt;&lt;P&gt;I will check more on my side and get back you soon.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1485107#M1012</guid>
      <dc:creator>harry_choi</dc:creator>
      <dc:date>2022-07-06T06:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1486473#M1028</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;When I tested again, I confirmed that I could read wakeup source by following your advise.&lt;/P&gt;&lt;P&gt;Maybe there had been my mistake which read another register and so on.&lt;/P&gt;&lt;P&gt;Thanks for your support and solution.&lt;/P&gt;&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 01:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1486473#M1028</guid>
      <dc:creator>harry_choi</dc:creator>
      <dc:date>2022-07-08T01:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1506674#M1341</link>
      <description>&lt;P&gt;Hi Harry and&amp;nbsp;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am testing S32G2 M7 with entrying standby mode and wakeup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I followed register setting, but still can't wakeup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any idea about this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fxn&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 08:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1506674#M1341</guid>
      <dc:creator>fxn</dc:creator>
      <dc:date>2022-08-16T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting wakeup source causing exit from Standby mode</title>
      <link>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1617960#M2512</link>
      <description>&lt;P&gt;Hello Harry,&lt;/P&gt;&lt;P&gt;I had the same problem with S32K312, set the external wake source to rise edge trigger, everything was fine, but set to fall edge trigger, all the WISR set as the wake source corresponding bit was set to 1, that is, all wake sources triggered the wake. I can confirm that there is no problem with the register I read. May I ask if you have solved this problem&lt;/P&gt;&lt;P&gt;Thanks for your support and solution.&lt;/P&gt;&lt;P&gt;Jian&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 09:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Getting-wakeup-source-causing-exit-from-Standby-mode/m-p/1617960#M2512</guid>
      <dc:creator>jian72</dc:creator>
      <dc:date>2023-03-18T09:40:38Z</dc:date>
    </item>
  </channel>
</rss>

