<?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 Using KL46Z in a very low power application in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-KL46Z-in-a-very-low-power-application/m-p/397484#M21937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Hi.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;my name is Diego and I'm developing a mission critical board based on a Freescale Kinetis KL46Z.&lt;BR /&gt;&lt;BR /&gt;It is battery powered so the power consumption should be as low as possible,&lt;BR /&gt;that is overall less than 100uA.&lt;BR /&gt;&lt;BR /&gt;The software environment is CodeWarrior 10.6 with PE and MQXLite 1.1.1.&lt;BR /&gt;&lt;BR /&gt;The application is not simple enough in order to allow to wake up just by means&lt;BR /&gt;of a reset, but we need to wake up also by interrupts like INT_LLW and&lt;BR /&gt;INT_LPTimer.&lt;BR /&gt;&lt;BR /&gt;The application should wake up every 125 milliseconds and handle also a serial&lt;BR /&gt;protocol on two UARTs.&lt;BR /&gt;&lt;BR /&gt;The idea was to have two clock configurations, one for normal RUN where to use&lt;BR /&gt;all devices as the UARTs, and one to STOP in VLPS (or other mode).&lt;BR /&gt;&lt;BR /&gt;The second configuration for low power is entered in the IDLE of MQXLite, and&lt;BR /&gt;it should exit for any interrupt like INT_LLW and INT_LPTimer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The PE has generated the following functions:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Cpu_SetClockConfiguration(CPU_CLOCK_CONFIG_1)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Cpu_SetOperationMode(DOM_STOP)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For entering the VLPS mode, we call them in the same order as above in the&lt;/P&gt;&lt;P&gt;IDLE task.Hereafter the problems:&lt;/P&gt;&lt;OL start="1" style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;it doesn't wake up on INT_LPTimer interrupt, but just&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for INT_LLW&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;with or without Cpu_SetClockConfiguration(), the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consuption is exactly the same, in other words the normal STOP and the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VLPS seems to be identical (please note we set to Auto the "VLP mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry" in Clock configuration 1)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;is it strictly necessary to use MQX full in order to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; work with the low power features?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;is it possible to have what we want, that is an average&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consuption less than 100uA / 150uA with that MCU?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;What we are doing wrong or we should do?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 16:47:52 GMT</pubDate>
    <dc:creator>diegogangale</dc:creator>
    <dc:date>2015-05-26T16:47:52Z</dc:date>
    <item>
      <title>Using KL46Z in a very low power application</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-KL46Z-in-a-very-low-power-application/m-p/397484#M21937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Hi.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;my name is Diego and I'm developing a mission critical board based on a Freescale Kinetis KL46Z.&lt;BR /&gt;&lt;BR /&gt;It is battery powered so the power consumption should be as low as possible,&lt;BR /&gt;that is overall less than 100uA.&lt;BR /&gt;&lt;BR /&gt;The software environment is CodeWarrior 10.6 with PE and MQXLite 1.1.1.&lt;BR /&gt;&lt;BR /&gt;The application is not simple enough in order to allow to wake up just by means&lt;BR /&gt;of a reset, but we need to wake up also by interrupts like INT_LLW and&lt;BR /&gt;INT_LPTimer.&lt;BR /&gt;&lt;BR /&gt;The application should wake up every 125 milliseconds and handle also a serial&lt;BR /&gt;protocol on two UARTs.&lt;BR /&gt;&lt;BR /&gt;The idea was to have two clock configurations, one for normal RUN where to use&lt;BR /&gt;all devices as the UARTs, and one to STOP in VLPS (or other mode).&lt;BR /&gt;&lt;BR /&gt;The second configuration for low power is entered in the IDLE of MQXLite, and&lt;BR /&gt;it should exit for any interrupt like INT_LLW and INT_LPTimer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The PE has generated the following functions:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Cpu_SetClockConfiguration(CPU_CLOCK_CONFIG_1)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;Cpu_SetOperationMode(DOM_STOP)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For entering the VLPS mode, we call them in the same order as above in the&lt;/P&gt;&lt;P&gt;IDLE task.Hereafter the problems:&lt;/P&gt;&lt;OL start="1" style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;it doesn't wake up on INT_LPTimer interrupt, but just&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for INT_LLW&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;with or without Cpu_SetClockConfiguration(), the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consuption is exactly the same, in other words the normal STOP and the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VLPS seems to be identical (please note we set to Auto the "VLP mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry" in Clock configuration 1)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;is it strictly necessary to use MQX full in order to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; work with the low power features?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;is it possible to have what we want, that is an average&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; consuption less than 100uA / 150uA with that MCU?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;What we are doing wrong or we should do?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 16:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-KL46Z-in-a-very-low-power-application/m-p/397484#M21937</guid>
      <dc:creator>diegogangale</dc:creator>
      <dc:date>2015-05-26T16:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using KL46Z in a very low power application</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-KL46Z-in-a-very-low-power-application/m-p/397485#M21938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have difficulties achieving the specification you can also look at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/FRDM-KL46Z.html" title="http://www.utasker.com/kinetis/FRDM-KL46Z.html"&gt;µTasker FRDM-KL46Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/TWR-KL46Z48M.html" title="http://www.utasker.com/kinetis/TWR-KL46Z48M.html"&gt;µTasker Kinetis TWR-KL46Z48M support&lt;/A&gt; (&lt;EM&gt;the low power modes can be tested with the binaries here - I think that the VLPS mode, with 50ms TICK is well under 100uA on average&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;which contains dynamic low power mode support, including low power UART handling. You may find some addition information that could be useful about LLWU operation at &lt;A href="http://www.utasker.com/kinetis/LLWU.html" title="http://www.utasker.com/kinetis/LLWU.html"&gt;µTasker LLWU Support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the lower average power consumption depends on the UART speed, the amount of UART activity and the speed of wake up required to handle asynchronous UART activity (unless all activity is out-going).&lt;/P&gt;&lt;P&gt;Furthermore there are a number of decisions that need to be made concerning which clocks are operating in the low power or LLWU modes, the speed of these clocks, as well as the clock setting when in RUN/WAIT modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Average consumption of a few uA may be possible but, depending on the exact requirements as noted above it may not always be possible to achieve the optimal. Therefore I don't think that a figure can be given without analysing all of the requirments to identify the low power possibilities and the ratio of time in various states to calculate the long-term average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that it is worth considering the newer KL43 too since it may offer some lower power advantages compared to the KL46.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL43: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL43Z.html" title="http://www.utasker.com/kinetis/FRDM-KL43Z.html"&gt;µTasker FRDM-KL43Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-KL43Z48M.html" title="http://www.utasker.com/kinetis/TWR-KL43Z48M.html"&gt;µTasker TWR-KL43Z48M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL46: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL46Z.html" title="http://www.utasker.com/kinetis/FRDM-KL46Z.html"&gt;µTasker FRDM-KL46Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-KL46Z48M.html" title="http://www.utasker.com/kinetis/TWR-KL46Z48M.html"&gt;µTasker Kinetis TWR-KL46Z48M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;LLWU: &lt;A href="http://www.utasker.com/kinetis/LLWU.html" title="http://www.utasker.com/kinetis/LLWU.html"&gt;µTasker LLWU Support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 20:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-KL46Z-in-a-very-low-power-application/m-p/397485#M21938</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-26T20:50:17Z</dc:date>
    </item>
  </channel>
</rss>

