<?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>S32KのトピックRe: S32K3 Standby mode</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1466135#M15720</link>
    <description>&lt;P&gt;Hi&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you look at the Power_Ip_SetMode() function in Power_Ip.c, there are 8 steps.&lt;/P&gt;
&lt;P&gt;The power mode is specified not only by&amp;nbsp;&lt;STRONG&gt;ModeConfigPtr-&amp;gt;PowerMode&lt;/STRONG&gt; but &lt;STRONG&gt;ModeConfigPtr-&amp;gt;McMeModeConfigPtr&lt;/STRONG&gt; too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2022 08:52:14 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2022-05-30T08:52:14Z</dc:date>
    <item>
      <title>S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1459573#M15495</link>
      <description>&lt;P&gt;Hello&amp;nbsp;I have questions about the S32K3 STANDBY MODE.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Operating Mode STANDBY cannot reduce current consumption.&lt;BR /&gt;Operating Mode SOC_PREPARE_STANDBY -&amp;gt; SOC_STANDBY reduces current consumption.&lt;BR /&gt;What is the difference between these two behaviors?&lt;/LI&gt;&lt;LI&gt;When I entered STANDBY MODE of S32K3, the connection with Trace32 was lost.&lt;BR /&gt;This is a different behavior than the S32K1.&lt;BR /&gt;Is there a setting to prevent disconnection from Trace32?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 00:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1459573#M15495</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2022-05-18T00:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1459966#M15521</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you please elaborate on the first question?&lt;/P&gt;
&lt;P&gt;What drivers/tools do you use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the second question, it has been answered by Lauterbach here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/How-to-re-connect-Lauterbach-debugger-to-S32K344-after-standby/td-p/1420113" target="_blank"&gt;https://community.nxp.com/t5/S32K/How-to-re-connect-Lauterbach-debugger-to-S32K344-after-standby/td-p/1420113&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 11:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1459966#M15521</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-18T11:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1460391#M15530</link>
      <description>&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. S32K312 MCU, controlling with Power_Ip_SetMode.&lt;BR /&gt;2. But looking at the answer, the question was not resolved.&lt;BR /&gt;Any additional solutions related to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Junyeong&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 23:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1460391#M15530</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2022-05-18T23:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1460803#M15548</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;You can refer to the RTD documentation&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1652955908487.png" style="width: 498px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180277iD81E9ACF4E2C7EC3/image-dimensions/498x271?v=v2" width="498" height="271" role="button" title="danielmartynek_0-1652955908487.png" alt="danielmartynek_0-1652955908487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;RTD_MCU_UM.pdf&lt;/P&gt;
&lt;P&gt;Section 3.6.5 How Mcu_SetMode works when entering Low Power mode&lt;/P&gt;
&lt;P&gt;I would say, it depends on how the modes are configured.&lt;/P&gt;
&lt;P&gt;As the UM says, "The sequence can also be split, giving the posibility to run application code in between the steps"&lt;/P&gt;
&lt;P&gt;You can call:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;Power_Ip_SetMode(&amp;amp;Power_Ip_aModeConfigPB[1]);/*Enter SOC_PREPARE_STANDBY mode, close the last mile regulator*/
Power_Ip_SetMode(&amp;amp;Power_Ip_aModeConfigPB[2]);/*Enter SOC_STANDBY mode*/&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;Please refer to the S32K3 RM, 76.9 Low-power debug handshake protocol.&lt;/P&gt;
&lt;P&gt;If the debugger wants to perform low power entry handshake, then the debugger writes a bit in the LWPWREN to indicate that it wants the low power handshake with the device.&lt;BR /&gt;Before entry, it can save its configurations and write a bit in the PRVNTRSTRGM to allow the device to enter standby. While entering in standby mode, debugger connection is lost.&lt;BR /&gt;On standby exit, the debugger connection is restored. Since the debugger is already aware that it has enabled the low power debug handshake, the debugger has to poll reading the DESTRST bit to check if the debug infrastructure is out of reset and DAP connection connection can be established now. To take the device out of reset on standby exit, the debugger needs to configure&lt;BR /&gt;WTRSTRGM bit. After this bit is set by the debugger, the device enters the RUN mode.&lt;/P&gt;
&lt;P&gt;Contact Lauterbach support for more details about this implementation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 10:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1460803#M15548</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-19T10:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1461987#M15584</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I still have a question.&lt;/P&gt;&lt;P&gt;Looking at the documentation, STANDBY and SOC_PREPARE_STANDBY-&amp;gt;SOC_STANDBY are the same and it says 'giving the posibility to run application code in between the steps'.&lt;BR /&gt;However, when tested, the current consumption does not decrease when proceeding to STANDBY.&lt;BR /&gt;(SOC_PREPARE_STANDBY-&amp;gt;SOC_STANDBY reduces current consumption)&lt;BR /&gt;Can i know the cause?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 01:12:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1461987#M15584</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2022-05-23T01:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1463126#M15631</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The documentation seems to be really incomplete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have the modes configured in the configuration GUI and the code has been generated, please have a look at generated struct in&amp;nbsp;Power_Ip_BOARD_InitPeripherals_PBcfg.c&lt;/P&gt;
&lt;P&gt;Power_Ip_aModeConfigPB[]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then take a look at the Power_Ip.c source code.&lt;/P&gt;
&lt;P&gt;Function Power_Ip_SetMode() which takes the struct as an argument.&lt;/P&gt;
&lt;P&gt;As you can see below, POWER_IP_STANDBY_MODE does both.&lt;/P&gt;
&lt;P&gt;But you can call the prepare mode separately as specified in the documentation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1653384887566.png" style="width: 763px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180841i75E12286D92A2DD8/image-dimensions/763x397?v=v2" width="763" height="397" role="button" title="danielmartynek_0-1653384887566.png" alt="danielmartynek_0-1653384887566.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 09:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1463126#M15631</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-24T09:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1464531#M15663</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the reply&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001" target="_blank"&gt;@danielmartynek&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Looking at the documentation, STANDBY and Prepare SOC STANDBY -&amp;gt; SOC STANDBY seem to be the same thing.&lt;BR /&gt;However, when STANDBY is performed, current consumption does not decrease.&lt;BR /&gt;Can you tell me why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 06:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1464531#M15663</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2022-05-26T06:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1466135#M15720</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you look at the Power_Ip_SetMode() function in Power_Ip.c, there are 8 steps.&lt;/P&gt;
&lt;P&gt;The power mode is specified not only by&amp;nbsp;&lt;STRONG&gt;ModeConfigPtr-&amp;gt;PowerMode&lt;/STRONG&gt; but &lt;STRONG&gt;ModeConfigPtr-&amp;gt;McMeModeConfigPtr&lt;/STRONG&gt; too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 08:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1466135#M15720</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-30T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1717962#M26822</link>
      <description>&lt;P&gt;Hi I have issue :&amp;nbsp; I call Mcu_setmode to chang mode&amp;nbsp; from Run -&amp;gt; SOC_PREPARE_STANDBY_MODE -&amp;gt;&amp;nbsp;SOC_STANDBY_MODE&amp;nbsp; after&amp;nbsp; about 60s I see current consumption reduce. I think 60s is too long.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 10:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1717962#M26822</guid>
      <dc:creator>GiangHM</dc:creator>
      <dc:date>2023-09-06T10:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Standby mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1956616#M41069</link>
      <description>&lt;P&gt;Hi, Any one please help me with low power S32K3xx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCU seem to be going in low power mode, but at wakeup as soon as taskEXIT_CRITICAL is executed the control jumps to hardfault.&lt;/P&gt;&lt;DIV&gt;Below are the steps I am following from a freeRTOS Task:-&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;// Enter critical section to prevent task switches&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;taskENTER_CRITICAL();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Ensure all previous data operations are complete&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MCAL_DATA_SYNC_BARRIER();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Set the RTC alarm for the low power wakeup callback&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RTCSetAlarm(10, lowPowerWakeUpCallback);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Suspend all tasks to ensure safe transition&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vTaskSuspendAll();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Set the device to low power mode&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Power_Ip_SetMode(&amp;amp;lowPowerConfig[0]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Ensure that all previous operations are completed before further instructions&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MCAL_DATA_SYNC_BARRIER();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Ensure the instruction pipeline is flushed to account for any configuration changes&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MCAL_INSTRUCTION_SYNC_BARRIER();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Clock_Ip_InitClock(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Resume all tasks after low power mode transition&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;xTaskResumeAll();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Exit the critical section&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;taskEXIT_CRITICAL();&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Sep 2024 11:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1956616#M41069</guid>
      <dc:creator>AbdNxp</dc:creator>
      <dc:date>2024-09-18T11:23:38Z</dc:date>
    </item>
  </channel>
</rss>

