<?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 How to know wakeup source/interrupt in S32k144? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1690002#M25258</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing weird issue that when I setup s32k144 into VLPS mode, sometimes it will be waken up with no reason, which means it cannot successfully enter VLPS mode.&lt;/P&gt;&lt;P&gt;The only interrupt I setup is by using following code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PINS_DRV_SetPinIntSel&lt;/SPAN&gt;&lt;SPAN&gt;( PORTA, &lt;/SPAN&gt;&lt;SPAN&gt;PTA0_WAKE_PIN&lt;/SPAN&gt;&lt;SPAN&gt;, PORT_INT_LOGIC_ONE );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;POWER_SYS_SetMode&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;VIMSM_MCU_STATE_VLPS&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;POWER_MANAGER_POLICY_AGREEMENT&lt;/SPAN&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I'm wondering if there's some internal interrupt being triggered that cause this issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Are there any register I can check further to confirm which wakeup source/interrupt from VLPS mode is being triggered?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kenny&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 21 Jul 2023 05:13:24 GMT</pubDate>
    <dc:creator>huangkenny</dc:creator>
    <dc:date>2023-07-21T05:13:24Z</dc:date>
    <item>
      <title>How to know wakeup source/interrupt in S32k144?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1690002#M25258</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing weird issue that when I setup s32k144 into VLPS mode, sometimes it will be waken up with no reason, which means it cannot successfully enter VLPS mode.&lt;/P&gt;&lt;P&gt;The only interrupt I setup is by using following code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PINS_DRV_SetPinIntSel&lt;/SPAN&gt;&lt;SPAN&gt;( PORTA, &lt;/SPAN&gt;&lt;SPAN&gt;PTA0_WAKE_PIN&lt;/SPAN&gt;&lt;SPAN&gt;, PORT_INT_LOGIC_ONE );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;POWER_SYS_SetMode&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;VIMSM_MCU_STATE_VLPS&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;POWER_MANAGER_POLICY_AGREEMENT&lt;/SPAN&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I'm wondering if there's some internal interrupt being triggered that cause this issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Are there any register I can check further to confirm which wakeup source/interrupt from VLPS mode is being triggered?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kenny&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jul 2023 05:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1690002#M25258</guid>
      <dc:creator>huangkenny</dc:creator>
      <dc:date>2023-07-21T05:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to know wakeup source/interrupt in S32k144?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1690245#M25274</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@huangkenny" target="_blank"&gt;Hi@huangkenny&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;S32K1 does not have a register specially used to indicate the wake-up source, but the user can judge whether an interrupt is currently generated by capturing the NVIC value.&lt;/P&gt;
&lt;P&gt;Here is a similar problem and a solution you can refer to.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/How-to-identify-which-interrupt-changed-Power-Mode-from-VLPS-to/m-p/882087" target="_self"&gt;https://community.nxp.com/t5/S32K/How-to-identify-which-interrupt-changed-Power-Mode-from-VLPS-to/m-p/882087&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 08:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1690245#M25274</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-07-21T08:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to know wakeup source/interrupt in S32k144?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1692614#M25435</link>
      <description>&lt;P&gt;Hi Senlent,&lt;/P&gt;&lt;P&gt;Thanks for pointing out that clue, I have found which interrupt cause MCU wakeup from VLPS mode,&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 02:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-know-wakeup-source-interrupt-in-S32k144/m-p/1692614#M25435</guid>
      <dc:creator>huangkenny</dc:creator>
      <dc:date>2023-07-26T02:53:52Z</dc:date>
    </item>
  </channel>
</rss>

