<?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: s32k3 exit from standby mode in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788953#M11707</link>
    <description>&lt;P&gt;I guess I forgot to attach the file&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 19:54:14 GMT</pubDate>
    <dc:creator>hajianik</dc:creator>
    <dc:date>2024-01-15T19:54:14Z</dc:date>
    <item>
      <title>s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788370#M11702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp; using Q_100 eval board for the projects targeted for S32k310/11.&lt;/P&gt;&lt;P&gt;I'm able to enter/exit stand by mode both using RTI and pin WAKE UP. I SAY THAT BECAUSE OF THE CURRENT DROP IN RUN VS STANDBY MODE.&lt;/P&gt;&lt;P&gt;I also have a debug_printf custom made for my project.&lt;/P&gt;&lt;P&gt;ONCE I WAKE UP, THE DEBUGGER (P&amp;amp;E MULTI LINK) CRASHES BUT I COULD USE THE PRINTF TO REPORT THE MC_RGM_ DES/FES:&lt;/P&gt;&lt;P&gt;DEBUG_Printf(Print_buf,"the value is %X %X\r\n", IP_MC_RGM-&amp;gt;DES,IP_MC_RGM-&amp;gt;FES)&amp;nbsp;&lt;/P&gt;&lt;P&gt;MC-RGM_DES IS 1 AND FES IS 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value of 1 for&amp;nbsp;MC-RGM_DES indicates POWER UP RESET where I was expecting to see 0.&lt;/P&gt;&lt;P&gt;I've also notice that this bit is used in startup code not to clear the RAM location for the RAM retention.&lt;/P&gt;&lt;P&gt;Lastly when I call&amp;nbsp;Power_Ip_GetResetReason(); the device triggers a bus fault which is promoted to Hard Fault:&lt;/P&gt;&lt;P&gt;Clock_Ip_StatusType clockStatus;&lt;/P&gt;&lt;P&gt;/*Initialize the clocks*/&lt;BR /&gt;&lt;BR /&gt;clockStatus=Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;BR /&gt;#if 1&lt;BR /&gt;while (clockStatus != CLOCK_IP_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;clockStatus = Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;BR /&gt;Power_Ip_Init(&amp;amp;Power_Ip_HwIPsConfigPB);&lt;BR /&gt;Power_Ip_GetResetReason();&lt;/P&gt;&lt;P&gt;This code is tightly base on the EXAMPLES PROVIDE BY NXP.&lt;/P&gt;&lt;P&gt;I'm impatiently waiting for your response.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2024 23:07:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788370#M11702</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2024-01-14T23:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788803#M11705</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if remember well you got some simple working project from us. Do you see same issue for it too?&lt;BR /&gt;For your modified one, hard to say, try to share it so we can test.&lt;BR /&gt;A POR can be also triggered when multimeter is still connected using auto-ranging function, as mentioned in power management AN note (&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/1527724)" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/1527724)&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 13:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788803#M11705</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-01-15T13:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788952#M11706</link>
      <description>&lt;P&gt;Hi PEtrS,&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;I'm so happy to see your name to answer this question.&lt;/P&gt;&lt;P&gt;It does not happen on your project when running on Q_100 eval board . I used basically same code and I added in, the RTI wakeup. Both work , RTI is set up for 15 seconds or so.&lt;/P&gt;&lt;P&gt;Same LEDS&amp;nbsp; setup as yours. I compared the clock config and power config file with yours they are almost identical.&lt;/P&gt;&lt;P&gt;I am not calling&amp;nbsp;Power_Ip_GetResetReason(). if I do I get a Hardfault&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyways I've attached the project.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;koorosh Hajiani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbs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P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 19:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788952#M11706</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2024-01-15T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788953#M11707</link>
      <description>&lt;P&gt;I guess I forgot to attach the file&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 19:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1788953#M11707</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2024-01-15T19:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1791059#M11741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried your project and it has some SRAM init issue or similar. It goes away after I added S32K310 into asm preprocessor setting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1705579666407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258809i07C5FB74D2CCA9AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1705579666407.png" alt="PetrS_0-1705579666407.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then the project seems to run well as standalone. I uncommented&amp;nbsp;Power_Ip_GetResetReason as well. It is going to standby and wakes up upon timeout or switch pressing. Terminal is showing "the value is 0 0 " still, after wake up too.&amp;nbsp;&lt;BR /&gt;With debugger connected it does not run similarly, but debugging low power apps is always problematic.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 12:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1791059#M11741</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-01-18T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 exit from standby mode</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1791358#M11746</link>
      <description>&lt;P&gt;Thank you PetrS,&lt;/P&gt;&lt;P&gt;So I see the " S32K310" is used in the startup code. It is working as expected.&lt;/P&gt;&lt;P&gt;I don't know is this question needs another thread or I could ask this here.&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;the startup code&amp;nbsp; checks the PON bit of the DES register. if it is zero ( no POWER ON RESET)it jumps to NO_INIT_STANDBY_REGION, I guess over there it initializes the ram to zero, I could be wrong there. I need to look at the code more carefully . But lets say it does init RAM to zero and this defeat the RAM retention, If it does skip the ZERO loop then that RAM is preserved. and if I need to have the portion of the RAM,I need to modify the linker file&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 20:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k3-exit-from-standby-mode/m-p/1791358#M11746</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2024-01-18T20:50:33Z</dc:date>
    </item>
  </channel>
</rss>

