<?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: Lowering S32K148 Power Consumption using VLPS</title>
    <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748921#M2045</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;Does the S&lt;SPAN&gt;32K148&amp;nbsp;&lt;/SPAN&gt;run in the debug mode? Because debug in low-power modes, with debug enabled, transitions from Run directly to VLPS are not allowed and result in the system entering Stop mode instead.&lt;BR /&gt;How do you measure current consumption?&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, 06 Dec 2017 14:16:52 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2017-12-06T14:16:52Z</dc:date>
    <item>
      <title>Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748920#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a "toy" program that blinks an LED several times before going to sleep. No other peripherals are used. I want to lower the power consumption of the MCU by as much as possible while the MCU sleeps to match the datasheet. I am running on our target hardware that has flash chips and the like lifted to isolate the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I cannot get the current consumption lower then 0.86mA @12V. As well I do not see a change in current consumption between STOP and VLPS modes, which suggests I am not actually running in VLPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read and followed AN5425 (Power Management for S32K14x) but still cannot get current consumption down to ~60 uA that is mentioned in the datasheet. The code is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define STAT_RUN 0x01&lt;BR /&gt;#define STAT_STOP 0x02&lt;BR /&gt;#define STAT_VLPS 0x10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define SMC_STOP 0U&lt;BR /&gt;#define SMC_VLPS 2U&lt;/P&gt;&lt;P&gt;void switch2Sleep()&lt;BR /&gt;{&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Check Power Mode Status Register&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;uint32_t runMode = (SMC-&amp;gt;PMSTAT &amp;amp; SMC_PMSTAT_PMSTAT_MASK) &amp;gt;&amp;gt; SMC_PMSTAT_PMSTAT_SHIFT;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;if (runMode != STAT_VLPS)&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;{&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Set the SLEEPDEEP bit to enable deep sleep mode (STOP/VLPS)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;S32_SCB-&amp;gt;SCR |= S32_SCB_SCR_SLEEPDEEP(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Power Mode Control Register&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SMC-&amp;gt;PMCTRL = (SMC-&amp;gt;PMCTRL &amp;amp; ~(SMC_PMCTRL_STOPM_MASK)) | SMC_PMCTRL_STOPM(SMC_VLPS); // VLPS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Disable system PLL clock&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SCG-&amp;gt;SOSCCSR = 0;&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SCG-&amp;gt;SPLLCSR = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Wait For Interrupt: Cpu is going into deep sleep state&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;STANDBY();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;systemClock_InitMedSpeed();&lt;SPAN&gt;&amp;nbsp;// configure to RUN mode at 80 MHz&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(void)&lt;BR /&gt;{&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;watchdog_Disable();&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;systemClock_InitMedSpeed(); // configure to RUN mode at 80 MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SMC-&amp;gt;PMPROT = 0xA0; // Allow high speed run &amp;amp; Allow Very-Low-Power Modes&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Ensure disable of fast/slow internal reference clock&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SCG-&amp;gt;FIRCCSR = 0;&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SCG-&amp;gt;SIRCCSR = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Enable Port E4 as output BLUE LED&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PCC-&amp;gt;PCCn[PCC_PORTE_INDEX] |= PCC_PCCn_CGC(1);&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PTE-&amp;gt;PDDR |= (1 &amp;lt;&amp;lt; 4);&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PORTE-&amp;gt;PCR[4] = 0x00000100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// This bit disables the bias currents and reference voltages for some clock modules in order to further&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// reduce power consumption in VLPS mode.&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PMC-&amp;gt;REGSC |= PMC_REGSC_BIASEN(1) | PMC_REGSC_CLKBIASDIS(1) | PMC_REGSC_LPODIS(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// wait several seconds so the LED blinks&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PTE-&amp;gt;PSOR |= (1 &amp;lt;&amp;lt; 4); /* Blue led off */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;// Disable port E prior to sleeping&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PCC-&amp;gt;PCCn[PCC_PORTB_INDEX] |= PCC_PCCn_CGC(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;switch2Sleep();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;// never actually get here...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;PCC-&amp;gt;PCCn[PCC_PORTE_INDEX] |= PCC_PCCn_CGC(1);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PTE-&amp;gt;PCOR |= (1 &amp;lt;&amp;lt; 4); /* Blue led on */&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 23:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748920#M2044</guid>
      <dc:creator>stephandewit1</dc:creator>
      <dc:date>2017-11-29T23:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748921#M2045</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;Does the S&lt;SPAN&gt;32K148&amp;nbsp;&lt;/SPAN&gt;run in the debug mode? Because debug in low-power modes, with debug enabled, transitions from Run directly to VLPS are not allowed and result in the system entering Stop mode instead.&lt;BR /&gt;How do you measure current consumption?&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, 06 Dec 2017 14:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748921#M2045</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2017-12-06T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748922#M2046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and sorry for my late response back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running the S32K148 with the debugger disconnected after programming, is that what you mean by debug mode?Otherwise I am not sure what you mean by debug mode, could you explain?&amp;nbsp; I do think there is something like you describe happening because the current consumption does not change when I change the code to sleep in either STOP or VLPS modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am compiling with S32 Design Studio and have created a "Release" build configuration based on the default release configuration.&amp;nbsp; However this build has the same &lt;SPAN&gt;current&amp;nbsp;&lt;/SPAN&gt;consumption values as my debug build.&amp;nbsp; I do notice a drop in &lt;SPAN&gt;current&amp;nbsp;&lt;/SPAN&gt;consumption when the JTAG debugger is disconnected but the consumption still seems higher then it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have modified the target board so that the MCU is isolated from the other peripherals.&amp;nbsp; We have now also removed some power components so that I need to use a 5V supply to the board.&amp;nbsp; When sleeping the current consumption is 0.425 mA at 5V.&amp;nbsp; I am measuring the current draw by having a precision digital multimeter inline with the power supplied to the board and MCU.&amp;nbsp; Do you recommend another approach?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am less concerned that my current measurement only &lt;SPAN&gt;current&amp;nbsp;&lt;/SPAN&gt;the MCU current draw but more concerned that I am not putting the MCU in its lowest possible current consuming mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 19:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748922#M2046</guid>
      <dc:creator>stephandewit1</dc:creator>
      <dc:date>2017-12-15T19:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748923#M2047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background: white;"&gt;Hi Stephan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white;"&gt;Yes, if you have debugger disconnect, you are not in the debug mode. More information in the RM – chapter &lt;/SPAN&gt;53.13 Debug in low-power modes.&lt;/P&gt;&lt;P&gt;I assume,&lt;SPAN style="background: white;"&gt; you are in the VLPS mode because power consumption according to datasheet in the STOP mode is higher.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have you met the conditions in the AN5425 - chapter 7.3 Tips for making low-power measurements on the bench?&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, 19 Dec 2017 10:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748923#M2047</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2017-12-19T10:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748924#M2048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand debug mode equates with having the debugger connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read AN5425 and trying to follow it as best I can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree it does seem like the power measurement indicates running in VLPS&lt;/P&gt;&lt;P&gt;mode, but I would expect the power measurement to be even lower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hate to bring up a different issue but in my quest to reduce power&lt;/P&gt;&lt;P&gt;consumption while the MCU is sleeping I have seemingly bricked my board. I&lt;/P&gt;&lt;P&gt;have disabled some of the JTAG pins (see below) and now I can no longer&lt;/P&gt;&lt;P&gt;connect to the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a PE Micro USB Multilink Universal programmer connected to the&lt;/P&gt;&lt;P&gt;following pins on our board.&lt;/P&gt;&lt;P&gt;PTA4 JTMS_SWDIO (now disabled)&lt;/P&gt;&lt;P&gt;PTC4 JTCLK_SWDCLK&lt;/P&gt;&lt;P&gt;PTA10 JTDO (now disabled)&lt;/P&gt;&lt;P&gt;PTC3 JTDI&lt;/P&gt;&lt;P&gt;PTA5 nRST (now disabled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on how to reconnect to the board? I need a way&lt;/P&gt;&lt;P&gt;to clear the S32K148 flash so that I can prevent the JTAG pins from being&lt;/P&gt;&lt;P&gt;disabled. I have found the tool "Flash magic" but it does not support the&lt;/P&gt;&lt;P&gt;S32K1xx family.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have been able to recover debugger access to the S32K148 MCU after I downloaded firmware that reassigned the JTAG and nRESET pins.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;To recover I did the following.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1 -&amp;nbsp;&lt;SPAN style="color: #696969; background-color: transparent; border: 0px; text-decoration: none; font-size: 10pt;"&gt;Attempt a flash download to the device. &amp;nbsp;If the connection fails I see a P&amp;amp;E Connection assistant window providing options to retry the connection or abort.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #696969; background-color: transparent; border: 0px; text-decoration: none; font-size: 10pt;"&gt;2 -&amp;nbsp;Now repeatedly click the “retry” button while also repeatedly power cycling the device (or press reset button if there is one). Keep doing this until the flash download begins and the “P&amp;amp;E Connection Assistant” no longer appears. &amp;nbsp;This might take dozens of attempts to get the timing just right.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #333333; background-color: #ffffff; border: 0px;"&gt;The goal is to prevent any of the code on the S32K148 to execute prior to the debugger forcing 
the S32K148 into debug. 

This allowed me to flash the MCU with "fixed" firmware and continue using the devugger for further
firmware programming.&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On Tue, Dec 19, 2017 at 5:12 AM, dianabatrlova &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:admin@community.nxp.com" rel="nofollow noopener noreferrer" target="_blank"&gt;admin@community.nxp.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 19:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748924#M2048</guid>
      <dc:creator>stephandewit1</dc:creator>
      <dc:date>2017-12-19T19:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lowering S32K148 Power Consumption using VLPS</title>
      <link>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748925#M2049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I set it up according to your method. The current consumption when the single-chip microcomputer 3.3V enters VLPS is 1.2mA, and it cannot be reduced to 60uA. How did you do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 05:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Lowering-S32K148-Power-Consumption-using-VLPS/m-p/748925#M2049</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2020-02-25T05:36:07Z</dc:date>
    </item>
  </channel>
</rss>

