<?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 Low power modes in USB-KW40 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506098#M31763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using USB-KW40 with IAR embedded workbench and we are able to work on "Wireless UART" program code which is using BLE to communicate controller with "Kinetis BLE Toolbox" (Android App). &lt;/P&gt;&lt;P&gt;How to change the power modes and enter into low power modes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 07:16:58 GMT</pubDate>
    <dc:creator>syed_idris</dc:creator>
    <dc:date>2016-03-04T07:16:58Z</dc:date>
    <item>
      <title>Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506098#M31763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using USB-KW40 with IAR embedded workbench and we are able to work on "Wireless UART" program code which is using BLE to communicate controller with "Kinetis BLE Toolbox" (Android App). &lt;/P&gt;&lt;P&gt;How to change the power modes and enter into low power modes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506098#M31763</guid>
      <dc:creator>syed_idris</dc:creator>
      <dc:date>2016-03-04T07:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506099#M31764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wireless_uart_demo does not have lower power support as is, you need to add Low Power files that located at: &amp;lt;KW40Z_Connectivity_software_PATH&amp;gt;\ConnSw\framework\LowPower\ and modify application source file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, you can look at heart_rate_sensor example that includes Low Power files (although this feature is disabled in the project) and you can use it as reference. Just enable this definition in PWR_Configuration.h as it is shown:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14574688613591305 jive_text_macro" data-renderedposition="190_8_1192_128" jivemacro_uid="_14574688613591305" modifiedtitle="true"&gt;&lt;P&gt;//-----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;// To enable/disable all of the code in this PWR/PWRLib files.&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp; TRUE =&amp;nbsp; 1: Use PowerDown functions (Normal)&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp; FALSE = 0: Don't use PowerDown. Will cut variables and code out. But&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functions still exist. Useful for debugging and test purposes&lt;/P&gt;&lt;P&gt;#ifndef cPWR_UsePowerDownMode&lt;/P&gt;&lt;P&gt;&amp;nbsp; #define cPWR_UsePowerDownMode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FALSE&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And try by using PWR modes' APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as reference, there is a document called Bluetooth Low Energy Application Developer's Guide (BLEADG) located at &amp;lt;KW40Z_Connectivity_software_PATH&amp;gt;\ConnSw\doc that talks about Low Power functionality. (Chapter 10. Low Power Management). I think this could be helpful to understand the low power management in KW40Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506099#M31764</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-03-08T20:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506100#M31765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Isaac,&lt;/P&gt;&lt;P&gt;As we can do "Wireless UART" code, now we want to move ahead and write a ' Hello Word ' code using BLE for USB-KW40 which should be received by any mobile terminal (not ' kinetis BLE toolkit ' only) in low power modes. But we are unable to do that.&lt;/P&gt;&lt;P&gt;Even when "Wireless UART" code is debugged, We can see the bluetooth name on mobile but not able to pair and communicate with terminal.&lt;/P&gt;&lt;P&gt;your reply will be great help for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 11:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506100#M31765</guid>
      <dc:creator>syed_idris</dc:creator>
      <dc:date>2016-03-09T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506101#M31766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your application does not pair nor communicate with terminal when enabling low power? Or it does not communicate even though you are not using low power?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 22:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506101#M31766</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-03-10T22:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506102#M31767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Our aim is in low power modes&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;1- instead of using "Kinetis BLE toolbox" can't we use any other bluetooth terminal on our cellphones?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;2- And instead of writing on PC serial terminal we want to write "Hello \n" in the code only, means as we pair with the bluetooth application it should display "Hello" on cellphone without typing in PC serial monitor.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;And for low power modes "Low Power" files are added in platform folder but it is showing errors.&lt;span class="lia-inline-image-display-wrapper" image-alt="IAR LPM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23055i386962D1B2D92F18/image-size/large?v=v2&amp;amp;px=999" role="button" title="IAR LPM.png" alt="IAR LPM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 10:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506102#M31767</guid>
      <dc:creator>syed_idris</dc:creator>
      <dc:date>2016-03-11T10:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes in USB-KW40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506103#M31768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as your mobile application supports BLE. You should be able to pair with the USB-KW40Z. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding to the low power functionality. Please, use Heart Rate Sensor from the FRDM-KW40Z example as a reference to implement low power features in your code. You need to include the low power folder in your project, but you also need to enable a couple of defines in the app_preinclude.h file (use the heart rate sensor(frdmkw40 version) as a reference).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference there is that DCDC module is in bypass in the USB-KW40Z. So, you need to change the DCDC Defines to 0 and to Bypass mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enables / Disables the DCDC platform component */&lt;/P&gt;&lt;P&gt;#define gDCDC_Enabled_d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Default DCDC Mode used by the application */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;#define APP_DCDC_MODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gDCDC_Mode_Bypass_c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an additional information. We recommend to read low power management chapter from the "BLEDAG.pdf" document included in the KW40Z Connectivity Package under the "doc" folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 20:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Low-power-modes-in-USB-KW40/m-p/506103#M31768</guid>
      <dc:creator>miguel_reyes</dc:creator>
      <dc:date>2016-03-11T20:45:59Z</dc:date>
    </item>
  </channel>
</rss>

