<?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>Kinetis Design Studio中的主题 Re: Cannot Wake Up From LLS using LPTMR</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408511#M2897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I drop this folder into my workspace, PE (Driver Suite 10.4) does not pull it into the workspace window. I have had this problem in the past, where I paste in a new PE project folder and Driver Suite doesn't add it into the project explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 02:40:42 GMT</pubDate>
    <dc:creator>petertwiss</dc:creator>
    <dc:date>2015-06-18T02:40:42Z</dc:date>
    <item>
      <title>Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408507#M2893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Driver Suite 10.4 Ported to Keil, I am having trouble waking up from Sleep (LLS), using the Low Power Timer (LPTMR0) on a Kinetis KL15Z128xxx4.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand all that is needed to get it all to be set up in driver suite:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- under component inspector of the CPU, add LLS, and add LPTMR0 as a deivce for LLWU functionality. &lt;/P&gt;&lt;P&gt;- For Methods, add GetLLSWakeUpFlags(), and SetOperationMode()&lt;/P&gt;&lt;P&gt;- Make sure there is a Cpu_OnLLSWakeUpINT() function in the events list.&lt;/P&gt;&lt;P&gt;- Add a TimerUnit, which is LPTMR0, and add functions for setting offset and getting count, etc.&lt;/P&gt;&lt;P&gt;- I configure the LPTMR counter to be 1 sec ahead of the current grabbed Count (X + 1000), using a 1024 Hz Tick (~1ms)&lt;/P&gt;&lt;P&gt;- in main, call SetOperationMode(DOM_STOP, NULL, NULL); then I enter sleep.&lt;/P&gt;&lt;P&gt;- In the event Cpu_OnLLSWakeUpINT() call I check the flags as the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void Cpu_OnLLSWakeUpINT(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Write your code here ... */&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)Cpu_SetOperationMode(DOM_RUN, PARAM_UNUSED_NULL, PARAM_UNUSED_NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Cpu_GetLLSWakeUpFlags() == LLWU_INT_MODULE0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; WUT_LLWUFlag = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp; WUT_LLWUFlag = false;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**I then check the flag in main. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- When sleeping, I never wake up and enter PE_ISR(Cpu_INT_LLWInterrupt), I just d onot wake up.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a basic test of the sleep/LLS, in main:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;T0 = WUT_GetCounterValue(WUT_DevDrvPtr);&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)WUT_SetOffsetTicks(WUT_DevDrvPtr, (uint8_t)WUT_CHANNEL_ID, (WUT_TValueType)(T0 + (uint16_t)1000));&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)WUT_SetOperationMode(WUT_DevDrvPtr, DOM_STOP, PARAM_UNUSED_NULL, PARAM_UNUSED_NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)Cpu_SetOperationMode(DOM_STOP, PARAM_UNUSED_NULL, PARAM_UNUSED_NULL);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sprintf(Buf, "\n\rHELLO WORLD\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)UART_SendString(Buf, (uint16_t)14);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never wake up and I am locked out of SWD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 17:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408507#M2893</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-17T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408508#M2894</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;It is possible that the clock source you are for the timer is not enabled in low power modes, you need to ensure that the source clock for the LPTMR is enabled during LLS mode. I tested this using the LPO clock, which is enabled in all the low power modes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lptmr_lpo.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30964i052EDB9CBEA44949/image-size/large?v=v2&amp;amp;px=999" role="button" title="lptmr_lpo.jpg" alt="lptmr_lpo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&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, 18 Jun 2015 01:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408508#M2894</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-06-18T01:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408509#M2895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Reference Manual Page 132 / 755:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Most peripherals are in state retention mode (with clocks&lt;/P&gt;&lt;P&gt;stopped), but OSC, LLWU,LPTMR, RTC, CMP, TSI can be used."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That statement is quite vague.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The clock I am using for this quick bring up is the default :&lt;/P&gt;&lt;P&gt;32.768 KHz w/ FFL @ 640 Multiplier ==&amp;gt; 20.97MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this also in Reference Manual Page 373 / 755:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entered whenever the MCU enters a Stop state. The power modes are chip specific. For power&lt;/P&gt;&lt;P&gt;mode assignments, see the chapter that describes how modules are configured and MCG behavior&lt;/P&gt;&lt;P&gt;during Stop recovery. &lt;STRONG&gt;Entering Stop mode, the FLL is disabled, and all MCG clock signals are static&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;except in the following case&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;MCGPLLCLK is active in Normal Stop mode when PLLSTEN=1&lt;/P&gt;&lt;P&gt;MCGIRCLK is active in Normal Stop mode when all the following conditions become true:&lt;/P&gt;&lt;P&gt;• C1[IRCLKEN] = 1&lt;/P&gt;&lt;P&gt;• C1[IREFSTEN] = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Also this on Page 112 / 755:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.7.1 PMC 1-kHz LPO clock&lt;/P&gt;&lt;P&gt;The Power Management Controller (PMC) generates a 1-kHz clock that is enabled in all&lt;/P&gt;&lt;P&gt;modes of operation, including all low-power modes except VLLS0. This 1-kHz source is&lt;/P&gt;&lt;P&gt;commonly referred to as LPO clock or 1-kHz LPO clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**posting for others in the future..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me run PE again and implement a clock config setup (CONFIG_0 = default 20.97MHz, and CONFIG_1 = LPO use).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me your calls? I am new to implementing the clock configs. I&amp;nbsp; understand the PE conept of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oscillators ==&amp;gt; Clock Sources ==&amp;gt; Clock Settings, but I am a bit confused on the calling of SetOperationMode(), vs. SetClockConfiguration(). Seems like SetOperationsMode() doesn't cover all of the cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can please send your call on how you siwtches from 20.97 MHz, and into LPO, and the calls needed to update the LPTMR0 to get it back to align with a 1ms increment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 01:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408509#M2895</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-18T01:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408510#M2896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you can find a KDS 2.0 project for a Kinetis KL25, the application is set to wake the MCU from LLS every 2 seconds using the LPTMR interrupt clocked by the LPO clock.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&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, 18 Jun 2015 02:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408510#M2896</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-06-18T02:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408511#M2897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I drop this folder into my workspace, PE (Driver Suite 10.4) does not pull it into the workspace window. I have had this problem in the past, where I paste in a new PE project folder and Driver Suite doesn't add it into the project explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 02:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408511#M2897</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-18T02:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408512#M2898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it to work by setting the LPO as the main clock source for the LPTMR, and I can wake out of sleep now, but when I wake up my UART is all messed up. Before I go into sleep, my UART works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what happens to the CPU when the KL15 comes out of LLS, but it is not being configured back when awake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at your C-files, and you simply just call SetOperationMode() and just go to sleep, and when you wake up, you use the INT to clear some flags, and continue on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 05:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408512#M2898</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-18T05:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408513#M2899</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;Good to know you solved the Wake-up problem. In my example I am setting FEI mode and after exiting the LLS mode the core settings return to FEI mode. I am not sure but I assume you are using PEE mode and then enter to LLS mode, after exiting LLS mode the MCG will be in PBE mode, you need to ensure to return to the first configuration before the UART transmission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the note form the reference manual:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="note.jpg"&gt;&lt;IMG alt="note.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/37578i43F7234561AACDF9/image-size/large?v=v2&amp;amp;px=999" title="note.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using PEx you can just call the method:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14346420969051056 jive_macro_code jive_text_macro" data-renderedposition="362.33331298828125_8_1113_96" jivemacro_uid="_14346420969051056" modifiedtitle="true"&gt;&lt;P&gt;/*Moving to LLS mode*/&lt;/P&gt;&lt;P&gt;/*Waken up*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cpu_SetClockConfiguration(CPU_CLOCK_CONFIG_0)/*Moving to clock config 0...Now in PEE mode*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Printf()*/&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&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>Mon, 02 Nov 2020 13:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408513#M2899</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2020-11-02T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408514#M2900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all of your help. I found my problem. It was that the system requires a bit of time before you can immediately start driving peripherals. I have a CPU_Delay_us() function using&amp;nbsp;&amp;nbsp;&amp;nbsp; __nop(); (Keil).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding about a 50usec delay just after the return from wake fixes my UART problem. I noticed in my jumbled data, the last character was actually correct, so I figured there is a system settle time coming out of sleep. I added it and then dropped the delay until the failure came back. Seems to be ~50usec is the sweet spot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help others who reference this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//-----------main.c---------------&lt;/P&gt;&lt;P&gt;while(1)&lt;/P&gt;&lt;P&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SLEEP (LLS) FOR 1000ms:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WUT_Sleep_ms((uint16_t)1000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // PRINT COUNTER, WHICH IS UPDATED EVERY TIME WE WAKE UP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sprintf(Buf, "\rTimer: 0x%x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ", Cntr);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_SendString(Buf, 15);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cntr++;&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// PLACED IN MY TIMER UNIT C-FILE, FOR IT IS IS CALLED: 'WUT.c'&lt;/P&gt;&lt;P&gt;void WUT_Sleep_ms(uint16_t Time_ms)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; uint16_t T0 = WUT_GetCounterValue(WUT_DevDrvPtr);&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)WUT_SetOffsetTicks(WUT_DevDrvPtr, (uint8_t)LPTMR0_CHANNEL0, (WUT_TValueType)(T0 + Time_ms));&lt;/P&gt;&lt;P&gt;&amp;nbsp; (void)CPU_SetOperationMode(DOM_STOP, NULL, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cpu_Delay_us(50);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 18:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408514#M2900</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-18T18:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408515#M2901</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;Good to know that know is working. This is a very tricky issue, you will find very useful this report from Mark Butcher:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/421247"&gt;Using Kinetis Low Power Stop Modes with unrestricted UART operation - a report&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&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, 18 Jun 2015 20:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408515#M2901</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2015-06-18T20:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Wake Up From LLS using LPTMR</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408516#M2902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, this can be closed,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 20:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Cannot-Wake-Up-From-LLS-using-LPTMR/m-p/408516#M2902</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-06-18T20:31:57Z</dc:date>
    </item>
  </channel>
</rss>

