<?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: KW36 Power management in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733769#M65601</link>
    <description>&lt;P&gt;I remember I used the KL25 example Power Modes as reference for my project, and that was based on the LPTMR.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 13:53:41 GMT</pubDate>
    <dc:creator>AndreVB</dc:creator>
    <dc:date>2023-10-04T13:53:41Z</dc:date>
    <item>
      <title>KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1728045#M65559</link>
      <description>&lt;P&gt;&amp;nbsp;KW36 microcontroller enters the Low leakage stop mode.I have confirm whether it enters low leakage mode or not by measuring the current before LLSM and after LLSM. I am using LPTMR timer for wakeup the MCU and I have done the configuration in the LLWU wakeup unit as i am using LPTMR timer internal module .But after interrupt generating also MCU is not wakeup from the LLSM.Why please tell me&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1728045#M65559</guid>
      <dc:creator>sathyamoorthy</dc:creator>
      <dc:date>2023-09-22T12:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1729147#M65565</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216397"&gt;@sathyamoorthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;Which version of the KW36 are you using? Please make sure you are using the latest SDK version available, you can download it from the &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;MCUXpresso SDK Builder&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;What is the method you are using to measure the current of your device?&lt;/P&gt;
&lt;P&gt;Could you please provide more details about your application? Which demo application from the KW36 SDK are you using as base for your development? Is it a wireless example? BLE demo applications from the KW36 SDK should be optimized for low-power mode.&lt;/P&gt;
&lt;P&gt;Please, take a look at the &lt;A href="https://www.nxp.com/docs/en/application-note/AN12180.pdf" target="_blank"&gt;Kinetis MKW36 Power Consumption Analysis&lt;/A&gt;. This document provides information about the power consumption of KW36 wireless MCU, how the hardware is designed and optimized for low-power operations and how the software shall be configured in order to achieve the low-power profile measurements.&lt;/P&gt;
&lt;P&gt;How are you modifying the base source code to handle low-power? What procedure are you following to enter and exit low-power mode?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 21:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1729147#M65565</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-09-25T21:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731219#M65589</link>
      <description>&lt;P&gt;To enter the low power modes&amp;nbsp; i have used functions like these,&lt;/P&gt;&lt;P&gt;SMC_SetPowerModeProtection(&amp;amp;a ,kSMC_AllowPowerModeAll);&lt;BR /&gt;SMC_PreEnterStopModes();&lt;BR /&gt;SMC_SetPowerModeLls(&amp;amp;a,&amp;amp;config1);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To exit low power mode i have used functions like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LLWU_EnableInternalModuleInterruptWakup(bas,0,1);&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;LPTMR_GetDefaultConfig(&amp;amp;con);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPTMR_Init(DEMO_LPTMR_BASE,&amp;amp;con);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPTMR_SetTimerPeriod(DEMO_LPTMR_BASE,1000);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPTMR_EnableInterrupts(DEMO_LPTMR_BASE,kLPTMR_TimerInterruptEnable);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EnableIRQ(DEMO_LPTMR_IRQn );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPTMR_StopTimer(DEMO_LPTMR_BASE);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPTMR_StartTimer(DEMO_LPTMR_BASE);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here ,to exit the low power mode i have used a low power timer,and i have configured that in LLWU wakeup unit also.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am using the SDK is FRDM-KW36(MKW36Z512XXX4),but actually my micro controller part number is like it was written on the IC M36A&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;W9V4 1N41U CTJQJD (with free scale semiconductor symbole).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Yeah that SDK is BLE demo application only.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards ,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Srinivasan V.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 10:26:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731219#M65589</guid>
      <dc:creator>Srinivasan_V</dc:creator>
      <dc:date>2023-09-28T10:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731230#M65590</link>
      <description>&lt;P&gt;Please reply to Srinivasan_V&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 10:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731230#M65590</guid>
      <dc:creator>Srinivasan_V</dc:creator>
      <dc:date>2023-09-28T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731283#M65591</link>
      <description>&lt;P&gt;And I have tried to wake up MCU by connecting the reset pin to ground externally&amp;nbsp; ,this method works .But i don't want this method ,i want to use that internal modules like LPTMR or RTC to wakeup the MCU.Now that LPTMR timer interrupt&amp;nbsp; also generating but MCU was&amp;nbsp; not wakeup, RTC interrupt&amp;nbsp; also generating but MCU was not wakeup .These internal module wake up source was configured by LLWU.I have tried many times but it wont works ,help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 12:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731283#M65591</guid>
      <dc:creator>Srinivasan_V</dc:creator>
      <dc:date>2023-09-28T12:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731461#M65594</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;BLE demo applications from the KW36 SDK should already implement low power. Please, take a look at the BLE Demo Applications User Guide, Chapter 5 of this document describes the demo applications that can be found in the software development kit. It presents the profiles and services implemented and how to interact with them. Also, some chapters mention the low power mode used in the corresponding demo application.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12180.pdf" target="_blank"&gt;MKW36 Power Consumption Analysis&lt;/A&gt;, Chapter 4 Power managements and analysis, Section 4.2.2.1 Overview (Measurements and results) shows the current consumption of the KW36Z SoC during different operational phases using BLE Heart Rate Sensor application for the demonstration.&lt;/P&gt;
&lt;P&gt;Also, these demo applications should allow you to use PWR (LPM) Library. This module offers access to interface functions and macros that allow the developer to put the device into the low-power or sleep modes. For more information on this, please refer to Connectivity Framework Reference Manual (KW36 SDK &amp;gt; docs &amp;gt; wireless &amp;gt; Common), Section 3.15 Low-power library.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 19:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1731461#M65594</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-09-28T19:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733403#M65598</link>
      <description>&lt;P&gt;Hi Srinivasan,&lt;/P&gt;&lt;P&gt;Not sure it will help, but I have a code used with another MCU.&lt;/P&gt;&lt;P&gt;To enter Stop mode:&lt;/P&gt;&lt;PRE&gt;		LLWU_SetExternalWakeupPinMode(LLWU, 14, kLLWU_ExternalPinFallingEdge);
		EnableIRQ(LLWU_IRQn);

		smc_power_mode_vlls_config_t vlls_config;
		vlls_config.subMode = kSMC_StopSub1;

		SMC_PreEnterStopModes();
		SMC_SetPowerModeVlls(SMC, &amp;amp;vlls_config);
		SMC_PostExitStopModes();&lt;/PRE&gt;&lt;P&gt;To exit&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; LLWU_ClearExternalWakeupPinFlag(LLWU, 14);&lt;/PRE&gt;&lt;PRE&gt;void LLWU_HANDLER(void)
{
     LLWU_ClearExternalWakeupPinFlag(LLWU, 14);
}&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;I instantiate&amp;nbsp;&lt;U&gt;LLWU_ClearExternalWakeupPinFlag(LLWU, 14)&lt;/U&gt;; within the main(void) as well as within the LLWU_HANDLER(void). And of course, you have to config pin 14 as LLWU first.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 22:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733403#M65598</guid>
      <dc:creator>AndreVB</dc:creator>
      <dc:date>2023-10-03T22:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733475#M65599</link>
      <description>&lt;P&gt;Hi Andre VB!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your help, Actually&amp;nbsp; i have to implement the wakeup using the internal modules like LPTMR. if you have any idea means ,kindly help me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 04:29:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733475#M65599</guid>
      <dc:creator>Srinivasan_V</dc:creator>
      <dc:date>2023-10-04T04:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 Power management</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733769#M65601</link>
      <description>&lt;P&gt;I remember I used the KL25 example Power Modes as reference for my project, and that was based on the LPTMR.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 13:53:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Power-management/m-p/1733769#M65601</guid>
      <dc:creator>AndreVB</dc:creator>
      <dc:date>2023-10-04T13:53:41Z</dc:date>
    </item>
  </channel>
</rss>

