<?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: SysTick，VLPS ，Debug in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953983#M5281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So，&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the SysTick is one of the wake up source。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If I don't use the FreeRTOS component, the use of some components will open the SysTick,but there is no closed interface. will this is optimized?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I use the demo project of the power_mode_switch_s32k144.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I modify the code，see below：&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/* VLPS */&lt;BR /&gt; case '6':&lt;BR /&gt; &lt;STRONG&gt;//OSIF_TimeDelay(25);&lt;/STRONG&gt;&lt;BR /&gt; print((const char*)"******** CPU is going in VLPS and need interrupt to wake up CPU\r\n");&lt;BR /&gt; /*Board EVB - red led on&lt;BR /&gt; Board MB - led 0 on */&lt;BR /&gt; PINS_DRV_WritePin(LED_PORT, LED_0, 0);&lt;BR /&gt; /*Board EVB - green led off&lt;BR /&gt; Board MB - led 1 off */&lt;BR /&gt; PINS_DRV_WritePin(LED_PORT, LED_1, 1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; /* Set power mode to VLPS */&lt;BR /&gt; //retV = POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EcuM_EnterLPM();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if (retV == STATUS_SUCCESS)&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"CPU was entered VLPS mode successfully and then woke up to exit VLPS mode.\r\n");&lt;BR /&gt; if (POWER_SYS_GetCurrentMode() == POWER_MANAGER_RUN)&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Current mode is RUN.\r\n");&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Current mode is VLPR.\r\n");&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Switch VLPS mode unsuccessfully\r\n");&lt;BR /&gt; }&lt;BR /&gt; break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * \brief the ECU Enter Lower Power Mode.&lt;BR /&gt; *&lt;BR /&gt; * \param None&lt;BR /&gt; *&lt;BR /&gt; * \return None&lt;BR /&gt; *&lt;BR /&gt; * \note Before calling this function , the peripheral and power must be turned off.&lt;BR /&gt; */&lt;BR /&gt;void EcuM_EnterLPM(void)&lt;BR /&gt;{&lt;BR /&gt; Mcu_DisableGlobalIRQ(); /* Step 1,disable global IRQ.*/&lt;BR /&gt; EcuM_ResetPortCfg(); /* Step 2,Reset the port configurations. */&lt;BR /&gt; EcuM_EnableWakeupSource(); /* Step 3,Enable wake up source. */&lt;BR /&gt; Mcu_EnterPLM(); /* Step 4,enter the PLM mode,Step5,wait for interrupt. excute&amp;nbsp;&lt;SPAN&gt;POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);&lt;/SPAN&gt;&amp;nbsp; */&lt;BR /&gt; EcuM_RecordWakeupEvent(); /* Step 6,record wake up event. */&lt;BR /&gt; EcuM_DisableWakeupSource(); /* Step 7,disable wake up source,and clear interrupt flag.*/&lt;BR /&gt; Mcu_EnableGlobalIRQ(); /* Step 8,enable global IRQ.*/&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I mask the code OSIF_TimeDelay(25), the actual operation can enter the VLPS mode. When I open the code OSIF_TimeDelay(25), the actual operation will exit directly from the VLPS mode and cannot enter low power consumption. So，Is this normal operation？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the SysTick is the one of wake up source？ Can you optimize the interface of the SDK to close the SysTick？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2019 11:56:28 GMT</pubDate>
    <dc:creator>liuruowen</dc:creator>
    <dc:date>2019-07-24T11:56:28Z</dc:date>
    <item>
      <title>SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953978#M5276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SysTick&amp;nbsp; will affect entering into VLPS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;when I am debugging，the&amp;nbsp;&lt;SPAN&gt;SysTick&amp;nbsp;&amp;nbsp;is tunned off before entering VLPS，it stops。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;when I am debugging，the&amp;nbsp;&lt;SPAN&gt;SysTick&amp;nbsp;&amp;nbsp;isn't tunned off before entering VLPS，it do not stops，why？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 03:18:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953978#M5276</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-23T03:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953979#M5277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The similar question was already discussed in the community thread below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1160023"&gt;https://community.nxp.com/message/1160023&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to RM rev 11. section 39.4.5.&lt;/P&gt;&lt;P&gt;I believe it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 08:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953979#M5277</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-23T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953980#M5278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So ，&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SysTick&amp;nbsp;&lt;SPAN&gt;is one of wake up source(WFI)？&amp;nbsp; if the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;SysTick&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;pending flag set， it will exit VLPS deirectly?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 11:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953980#M5278</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-23T11:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953981#M5279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So ，&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;SysTick&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;is one of wake up source(WFI)？&amp;nbsp; if the&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;SysTick&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;pending flag set， it will exit VLPS deirectly?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953981#M5279</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-24T11:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953982#M5280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in debug mode and you enter to VLPS which is actually&amp;nbsp;emulated stop state the core clock is enabled. That is mean the SysTick is&amp;nbsp;enabled. In that case, the SysTick is wake up source and it will exit the emulated stop state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not have attached debugger the SysTick should be disabled and you should be able to enter VLPS.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:29:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953982#M5280</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-24T11:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953983#M5281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So，&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the SysTick is one of the wake up source。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If I don't use the FreeRTOS component, the use of some components will open the SysTick,but there is no closed interface. will this is optimized?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I use the demo project of the power_mode_switch_s32k144.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I modify the code，see below：&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/* VLPS */&lt;BR /&gt; case '6':&lt;BR /&gt; &lt;STRONG&gt;//OSIF_TimeDelay(25);&lt;/STRONG&gt;&lt;BR /&gt; print((const char*)"******** CPU is going in VLPS and need interrupt to wake up CPU\r\n");&lt;BR /&gt; /*Board EVB - red led on&lt;BR /&gt; Board MB - led 0 on */&lt;BR /&gt; PINS_DRV_WritePin(LED_PORT, LED_0, 0);&lt;BR /&gt; /*Board EVB - green led off&lt;BR /&gt; Board MB - led 1 off */&lt;BR /&gt; PINS_DRV_WritePin(LED_PORT, LED_1, 1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; /* Set power mode to VLPS */&lt;BR /&gt; //retV = POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EcuM_EnterLPM();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if (retV == STATUS_SUCCESS)&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"CPU was entered VLPS mode successfully and then woke up to exit VLPS mode.\r\n");&lt;BR /&gt; if (POWER_SYS_GetCurrentMode() == POWER_MANAGER_RUN)&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Current mode is RUN.\r\n");&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Current mode is VLPR.\r\n");&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; print((const char*)"Switch VLPS mode unsuccessfully\r\n");&lt;BR /&gt; }&lt;BR /&gt; break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * \brief the ECU Enter Lower Power Mode.&lt;BR /&gt; *&lt;BR /&gt; * \param None&lt;BR /&gt; *&lt;BR /&gt; * \return None&lt;BR /&gt; *&lt;BR /&gt; * \note Before calling this function , the peripheral and power must be turned off.&lt;BR /&gt; */&lt;BR /&gt;void EcuM_EnterLPM(void)&lt;BR /&gt;{&lt;BR /&gt; Mcu_DisableGlobalIRQ(); /* Step 1,disable global IRQ.*/&lt;BR /&gt; EcuM_ResetPortCfg(); /* Step 2,Reset the port configurations. */&lt;BR /&gt; EcuM_EnableWakeupSource(); /* Step 3,Enable wake up source. */&lt;BR /&gt; Mcu_EnterPLM(); /* Step 4,enter the PLM mode,Step5,wait for interrupt. excute&amp;nbsp;&lt;SPAN&gt;POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);&lt;/SPAN&gt;&amp;nbsp; */&lt;BR /&gt; EcuM_RecordWakeupEvent(); /* Step 6,record wake up event. */&lt;BR /&gt; EcuM_DisableWakeupSource(); /* Step 7,disable wake up source,and clear interrupt flag.*/&lt;BR /&gt; Mcu_EnableGlobalIRQ(); /* Step 8,enable global IRQ.*/&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I mask the code OSIF_TimeDelay(25), the actual operation can enter the VLPS mode. When I open the code OSIF_TimeDelay(25), the actual operation will exit directly from the VLPS mode and cannot enter low power consumption. So，Is this normal operation？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the SysTick is the one of wake up source？ Can you optimize the interface of the SDK to close the SysTick？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953983#M5281</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-24T11:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953984#M5282</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;&lt;/P&gt;&lt;P&gt;At first, please let me confirm some questions:&lt;/P&gt;&lt;P&gt;When you debug the code the described issue appears, right?&lt;/P&gt;&lt;P&gt;If you do not use the debugger, the code is running as expected, right?&lt;/P&gt;&lt;P&gt;Which version of the SDK do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953984#M5282</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-25T13:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953985#M5283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When you debug the code the described issue appears, right?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;No. it will appearr when i actually run it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you do not use the debugger, the code is running as expected, right?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;No.&amp;nbsp;the actual operation did not work as I expected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp;Which version of the SDK do you use?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp; SDK2.9.0&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 00:56:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953985#M5283</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-26T00:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953986#M5284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Diana Batrlova&lt;/P&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Is there such the problem on your side？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;So，Is the SysTick one of the wakeup sources？What is the solution to this problem？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Looking forward to your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 02:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953986#M5284</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-07-31T02:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953987#M5285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the&amp;nbsp;power_mode_switch_s32k144 example and when I enable the&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;OSIF_TimeDelay(25);&amp;nbsp;&lt;/STRONG&gt;under the&lt;/P&gt;&lt;P&gt;"case '6':" in the code. I was able to enter into VLPS mode without any problem.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;,&amp;nbsp;the&amp;nbsp;SysTick is &lt;STRONG&gt;not&lt;/STRONG&gt; the wakeup source when you are not in debug mode. Please, make sure, the debugger is not attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 12:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953987#M5285</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-31T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953988#M5286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dianabatrlova"&gt;dianabatrlova&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;So，you only add&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;OSIF_TimeDelay(25) &lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;under the "case '6': ",you can try it below:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #3d3d3d; font-weight: 400; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84519iE819DA4A8ECD4C21/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #3d3d3d; font-weight: 400; "&gt;Add the code of "① ② ③ "， It will exit the VLPS mode directly. It didn't work as I expected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #3d3d3d; font-weight: 400; "&gt;Add the code of "② ③ ", It wll work normally。&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 02:00:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953988#M5286</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-08-01T02:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953989#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the same code as you shared with me and VLPS works as expected. I was able to enter into VLPS with additional code "① ② ③ ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the root cause of your issue is that the debugger is still attached. Important note: the &lt;STRONG&gt;power cycle&lt;/STRONG&gt; is required after debugging.&lt;/P&gt;&lt;P&gt;Also, I recommend you to use the newest SDK version&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-343020"&gt;S32 Design Studio for ARM 2018.R1 - Update 10 available&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. If not, could you please share your project?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 08:55:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953989#M5287</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-08-02T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953990#M5288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dianabatrlova"&gt;dianabatrlova&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hello：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Please check the attachment, the attachment is my project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Below is the environment&amp;nbsp; I tested：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86133i371EC141EDBD4D52/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1）Press Reset Key, See below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86193iCE077F905FFD36FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2）Prepare to send ‘6’ ,Select “6) for VLPS”, see below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86227i74557B67146CD05C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3） Send send ‘6’,see below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86262i895C121A60C6FF4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 10:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953990#M5288</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-08-02T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953991#M5289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested your code and still cannot reproduce your issue.&lt;/P&gt;&lt;P&gt;Please, see the steps after the load project:&lt;/P&gt;&lt;P&gt;I'm using OpenSDA UART.&lt;/P&gt;&lt;P&gt;1. Disconnect the power supply&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86609i9D9E0443162BFBD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Connect the power supply and press reset and press key number '6'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86657i53F050F6C150D178/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, I&amp;nbsp;measure the current 0.15 mA which confirms that MCU is in VLPS mode:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86702i606B6F7DBA436FA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 11:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953991#M5289</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-08-02T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953992#M5290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dianabatrlova"&gt;dianabatrlova&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sorry，Maybe I didn't disconnect the power supply last time, causing problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But，trouble you here is trying the code below：&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86568i649C9099E8A0C105/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1 disconnect the debuger；&lt;/P&gt;&lt;P&gt;&amp;nbsp;2 disconnected the power supply；&lt;/P&gt;&lt;P&gt;&amp;nbsp;3 connect &lt;SPAN&gt;the power supply&lt;/SPAN&gt;&amp;nbsp;and reset；&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;4 first ，it can enter VLPS， second ，it can not enter VLPS( exist from VLPS directly）。&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 12:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953992#M5290</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-08-05T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953993#M5291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, It is woken up by the pending interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 08:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953993#M5291</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-08-08T08:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953994#M5292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dianabatrlova"&gt;dianabatrlova&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hello：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Now i have some questions.&amp;nbsp; In the last reply，the SysTick is not one of the wakeup source.Then, why is it woken up by the SysTick pending interrupt?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The SDK does not provide an interface to clear the pending interrupt, In this case ,what should I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953994#M5292</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-08-08T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953995#M5293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dianabatrlova"&gt;dianabatrlova&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am bothering you again. What should I do if I encounter the above problems?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87455i34553529C5A83E92/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 01:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953995#M5293</guid>
      <dc:creator>liuruowen</dc:creator>
      <dc:date>2019-08-13T01:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick，VLPS ，Debug</title>
      <link>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953996#M5294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to apologize for the delay. I recommend you to look at the&amp;nbsp;ARMv7-M Architecture&lt;BR /&gt;Reference Manual&amp;nbsp;&lt;A class="link-titled" href="https://static.docs.arm.com/ddi0403/eb/DDI0403E_B_armv7m_arm.pdf" title="https://static.docs.arm.com/ddi0403/eb/DDI0403E_B_armv7m_arm.pdf"&gt;https://static.docs.arm.com/ddi0403/eb/DDI0403E_B_armv7m_arm.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the&amp;nbsp;exception&amp;nbsp;becomes pending after the global interrupts are disabled.&lt;/P&gt;&lt;P&gt;You can test that if you comment the INT_SYS_DisableIRQGlobal() function, the MCU enter VLPS successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The SysTick pending status can be clear by PENDSTCLR bit located in ICSR register. This bit removes the pending status of the SysTick exception.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 07:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SysTick-VLPS-Debug/m-p/953996#M5294</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-08-13T07:16:58Z</dc:date>
    </item>
  </channel>
</rss>

