<?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: LLS and wake up with LLWU in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661985#M40639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KL15 and KL25 code are the same and all LLWU code is in the file "kinetis_LLWU.h".&lt;/P&gt;&lt;P&gt;As I mentioned - check that you have the GPIO set up as GPIO and not disabled, since some pins on the KL15 default to this and then nothing can work.&lt;/P&gt;&lt;P&gt;It is not possible to work with the debugger in LLS mode so don't try - it disconnects when you enter the mode.&lt;/P&gt;&lt;P&gt;After wake-up make sure that you are handling the interrupt or else the code may get stuck in the LLWU interrupt handler. That means you may wake but your code may lock up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in what you mean by MCU management?&lt;/P&gt;&lt;P&gt;The uTasker project is a complete solution to the KL parts which also completely solves low power management. It avoids project difficulties, allow simulation and reduces project development times. Why are proven, working solutions forbidden in some projects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you require code fixing you can request the service at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Findex.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/index.html&lt;/A&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 15:00:57 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-02-23T15:00:57Z</dc:date>
    <item>
      <title>LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661980#M40634</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;I'm trying to use an external pin to wake up my KL15Z4 from LLS using LLWU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all I configure LLWU module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* Clear flags for external sources */&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;F1 |= 0xFF;&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;F2 |= 0xFF;&lt;/P&gt;&lt;P&gt;/* Disable all external sources*/&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;PE1 &amp;amp;= 0;&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;PE2 &amp;amp;= 0;&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;PE3 &amp;amp;= 0;&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;PE4 &amp;amp;= 0;&lt;/P&gt;&lt;P&gt;/* Disable all internal sources */&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;ME &amp;amp;= 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// suppose the pin is in the first PE register&lt;/P&gt;&lt;P&gt;dev-&amp;gt;regMap-&amp;gt;PE1 &amp;amp;= ~(0b11 &amp;lt;&amp;lt; pin*2);&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;PE1 |= (event &amp;lt;&amp;lt; pin*2);&lt;BR /&gt; dev-&amp;gt;regMap-&amp;gt;F1 |= (1 &amp;lt;&amp;lt; pin*2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVIC_ICPR = 1 &amp;lt;&amp;lt; 7&amp;nbsp;&lt;SPAN&gt;//LLWU interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NVIC_ISER = 1 &amp;lt;&amp;lt; 7; //LLWU interrupt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I put the MCU in LLS state.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The debugger disconnects and I am not able to wake up the system with the external pin I configured.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I don't have any instruments to understand where I'm wrong. Could you help me?&lt;/P&gt;&lt;P&gt;Consider I'm able to put the MCU in stop and to get it back in run mode using an external interrupt.&lt;/P&gt;&lt;P&gt;Do you need other part of my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 16:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661980#M40634</guid>
      <dc:creator>matteopirro</dc:creator>
      <dc:date>2017-02-22T16:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661981#M40635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matteo Pirro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the LLS wake up code, please refer to the KL25 sample code:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/lab-test-software/KL25_SC.exe" title="http://www.nxp.com/assets/downloads/data/en/lab-test-software/KL25_SC.exe"&gt;http://www.nxp.com/assets/downloads/data/en/lab-test-software/KL25_SC.exe&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Folder:kl25_sc_rev10\klxx-sc-baremetal\build\iar\low_power_demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;For LLS and VLLS modes, the wakeup sources are limited to LLWU generated wake-ups, so, please refer to the KL25 sample code to configure the LLWU, and clear the flag in the LLWU interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp; Besides, test LLS, you need to download the code to the board, exit the debug mode, power off and power on the board again, then check the function.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Wish it helps you!&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 09:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661981#M40635</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-23T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661982#M40636</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;Low Power modes (All K, KL, KV, etc. parts):&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FLLWU.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/LLWU.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkWNlsAoMly4%26list%3DPLWKlVb_MqDQFZAulrUywU30v869JBYi9Q" rel="nofollow" target="_blank"&gt;https://www.youtube.com/watch?v=kWNlsAoMly4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv4UnfcDiaE4%26index%3D7%26list%3DPLWKlVb_MqDQFZAulrUywU30v869JBYi9Q" rel="nofollow" target="_blank"&gt;https://www.youtube.com/watch?v=v4UnfcDiaE4&amp;amp;index=7&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Open Source solution: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1721.msg7086%23msg7086" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1721.msg7086#msg7086&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tips to external pins:&lt;BR /&gt;- some GPIO are disabled by default and &lt;EM&gt;must first be configured to their GPIO mode&lt;/EM&gt; otherwise they will also not operate as wake up sources.&lt;BR /&gt;- Example of registers when set up for LLWU interrupt on PTC3 (LLWU_P7)&lt;BR /&gt;LLWU_F1 = 0x80; // reset potential pending interrupt&lt;BR /&gt;fnEnterInterrupt(irq_LL_wakeup_ID, int_priority, _wakeup_isr); // enter interrupt handler (the handler will be called after the wake up and should be used to clear the interrupt source and anything application-specific)&lt;BR /&gt;LLWU_PE2 = 0x80; // set/enable the type required&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;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Professional support for Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Findex.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/index.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Remote desktop one-on-one coaching: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fservices.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/services.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting started to expert videos: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Dutasker%2Bshorts" rel="nofollow" target="_blank"&gt;https://www.youtube.com/results?search_query=utasker+shorts&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 13:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661982#M40636</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-02-23T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661983#M40637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the project you suggested me. I don't find relevant differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First of all&lt;/STRONG&gt; I would ask you: Is it right&amp;nbsp;that the target disconnects when MCU enters in LLS? When I enter in normal stop mode it remains connected and the Run button is enabled so I can &amp;nbsp;restart debug after MCU wake up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second&lt;/STRONG&gt;, I try to be more clear: Using the following code I'm not able to wake up my board. Maybe LLWU works but I'm not able to restart debug? Or maybe I miss some register configurations? Maybe I have to configure clock to correctly work in low power? or other system modules?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INIT LLWU&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Clear flags for external sources */&lt;BR /&gt;LLWU_F1 |= 0xFF;&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;&lt;SPAN&gt;F2&lt;/SPAN&gt;|= 0xFF;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Disable all external sources*/&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE1 &amp;amp;= 0;&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE2 &amp;amp;= 0;&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE3 &amp;amp;= 0;&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE4 &amp;amp;= 0;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Disable all internal sources */&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;ME &amp;amp;= 0;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;EM&gt;INIT LLWU_P1&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;// suppose the pin is the LLWU_P1&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Enable PE Register */&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE1 &amp;amp;= ~(0b11);&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;PE1 |= (0b01);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//RISING EDGE&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Clear Flag */&lt;BR /&gt;&lt;SPAN&gt;LLWU_&lt;/SPAN&gt;F1 |=&amp;nbsp;0x01;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;ENABLE INTERRUPT&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;/* Enable Interrupt */&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;NVIC_ICPR = 1 &amp;lt;&amp;lt; 7&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;//LLWU interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;NVIC_ISER = 1 &amp;lt;&amp;lt; 7; //LLWU interrupt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:01:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661983#M40637</guid>
      <dc:creator>matteopirro</dc:creator>
      <dc:date>2017-02-23T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661984#M40638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't use utasker for MCU management. Not in this project. Don't you have an example code for KL15? Or maybe you can tell me which mistake I made in my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661984#M40638</guid>
      <dc:creator>matteopirro</dc:creator>
      <dc:date>2017-02-23T14:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661985#M40639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KL15 and KL25 code are the same and all LLWU code is in the file "kinetis_LLWU.h".&lt;/P&gt;&lt;P&gt;As I mentioned - check that you have the GPIO set up as GPIO and not disabled, since some pins on the KL15 default to this and then nothing can work.&lt;/P&gt;&lt;P&gt;It is not possible to work with the debugger in LLS mode so don't try - it disconnects when you enter the mode.&lt;/P&gt;&lt;P&gt;After wake-up make sure that you are handling the interrupt or else the code may get stuck in the LLWU interrupt handler. That means you may wake but your code may lock up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in what you mean by MCU management?&lt;/P&gt;&lt;P&gt;The uTasker project is a complete solution to the KL parts which also completely solves low power management. It avoids project difficulties, allow simulation and reduces project development times. Why are proven, working solutions forbidden in some projects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you require code fixing you can request the service at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Findex.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/index.html&lt;/A&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 15:00:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661985#M40639</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-02-23T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: LLS and wake up with LLWU</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661986#M40640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matteo Pirro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your test low power consumption method really have problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Tell you the correct low power consumption test method again:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1). Download the low power consumption code to the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2). power off the board,&amp;nbsp; disconnect the debugger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3). Find a digital multi-meter, adjust it to the current measurement mode, series the two measure pin to the MCU&amp;nbsp; VDD bus, take FRDM-KL25 board as an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13625iBA4AEDEC31B107A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;remove R73, R81, series the two measure pin to J4 pin1 and pin2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4). Power on the board again, test the run and LLS current, after wakeup, test the wakeup run mode current again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. About the debugger, from the reference manual, you can get :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13758iF56057C0C38367A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, if you enter LLS mode, the debugger will be disconnected, even you recovery from the LLS, the debugger can't be connect automatically.&lt;/P&gt;&lt;P&gt;When you test the low power mode, I don't suggest you to use the debug, it can't work in LLS,VLLSx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the correct measure mode test the current, if the current can't be back to RUN, then tell me again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 01:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LLS-and-wake-up-with-LLWU/m-p/661986#M40640</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-24T01:54:19Z</dc:date>
    </item>
  </channel>
</rss>

