<?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: MPC5746C: STOP Mode in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1219494#M17171</link>
    <description>&lt;P&gt;You are right, command&lt;/P&gt;
&lt;P&gt;while(MC_ME.GS.B.S_CURRENT_MODE != STOP_MODE);&lt;/P&gt;
&lt;P&gt;... doesn't make sense because the core is not running in stop mode. And after wake up, current mode is not stop mode anymore.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 09:05:43 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2021-01-22T09:05:43Z</dc:date>
    <item>
      <title>MPC5746C: STOP Mode</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1217928#M17150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having some trouble entering Stop mode from Run Mode 3..0.&lt;/P&gt;&lt;P&gt;The problem is that it seems to stop at while(MC_ME.GS.B.S_MTRANS); and never recover.&lt;/P&gt;&lt;P&gt;I searched for answers and found this post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MPC5xxx/Stop-mode-migrating-between-MPC5748G-and-MPC5746C/m-p/713554/highlight/true" target="_blank"&gt;Stop mode migrating between MPC5748G and MPC5746C - NXP Community&lt;/A&gt; and I have some issues regarding the post, because it looks identical to what I am seeing.&lt;/P&gt;&lt;P&gt;First, shouldn't the current mode be Stop mode, instead of Run Mode 0? Second, shouldn't it pass the statement&amp;nbsp;while(MC_ME.GS.B.S_CURRENT_MODE != 0x10); then, in my case, stop at&amp;nbsp;while(MC_ME.GS.B.S_CURRENT_MODE != 0x07); /*The mode before I went into stop mode */&lt;/P&gt;&lt;P&gt;I am trying to run the example "Modes Low Power" from AN2865 Qorivva Simple Cookbook and I have looked at other Low power examples. I can successfully run the RTC so I know that works. Everything looks right except for transitioning to Stop mode. I can see the event in RTC and an interrupt in WKPU, but there is no response.&lt;/P&gt;&lt;P&gt;PS. I thought I posted this yesterday.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Registers.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135302i2EF78F53AE22BF0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Registers.png" alt="Registers.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 12:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1217928#M17150</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2021-01-20T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C: STOP Mode</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1218808#M17159</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;first, here you can find working example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-Low-power-modes-S32DS-2017-R1/ta-p/1121746" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-Low-power-modes-S32DS-2017-R1/ta-p/1121746&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Just define #define LPU_Mode 1 ... to select STOP mode.&lt;/P&gt;
&lt;P&gt;The problem is that there's no support for low power modes in S32DS debugger. Most likely, debug session will crash when entering or leaving stop mode. It's better to test these low power mode features without debugger or use some advanced ones (like Lauterbach).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 11:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1218808#M17159</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-01-21T11:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C: STOP Mode</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1218904#M17163</link>
      <description>&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;I switched over to using the Lauterbach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now see that it is breaking at&amp;nbsp;while(MC_ME.GS.B.S_CURRENT_MODE != STOP_MODE);&lt;/P&gt;&lt;P&gt;That statement is not in your code, but the code in the referenced example does have it.&lt;/P&gt;&lt;P&gt;When ever I switch modes, I check to ensure the current mode is what I expect it to be (sanity check).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't believe I need the current mode check statement when transitioning to STOP mode and maybe perhaps STANDBY mode. It is only needed when transitioning to non LPU modes. i.e. DRUN RUN0...RUN3.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 14:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1218904#M17163</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2021-01-21T14:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C: STOP Mode</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1219494#M17171</link>
      <description>&lt;P&gt;You are right, command&lt;/P&gt;
&lt;P&gt;while(MC_ME.GS.B.S_CURRENT_MODE != STOP_MODE);&lt;/P&gt;
&lt;P&gt;... doesn't make sense because the core is not running in stop mode. And after wake up, current mode is not stop mode anymore.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 09:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-STOP-Mode/m-p/1219494#M17171</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-01-22T09:05:43Z</dc:date>
    </item>
  </channel>
</rss>

