<?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 MicrocontrollersのトピックRe: Unable to wake up with LPTMR0</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489127#M30160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPTMR only operates when clocked by a source that also runs in the low power mode - check that it is not configured to run from one that is stopped in the mode that you use.&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>Fri, 08 Apr 2016 19:46:22 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2016-04-08T19:46:22Z</dc:date>
    <item>
      <title>Unable to wake up with LPTMR0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489125#M30158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an MKL24Z64VLH4 with KDS 3.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple routine which I am trying to debug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Go to sleep.&lt;/P&gt;&lt;P&gt;2) Use LPTMR0 to wake me up.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;while (1) { &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE style="padding-left: 30px;"&gt;&lt;TBODY style="padding-left: 30px;"&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; AS1_BlockSent = 0;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LDD_TError sendError = AS1_SendBlock(AS1_DeviceData,"Sleeping\r\n",10);&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; while (AS1_BlockSent == 0) {&amp;nbsp; }&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; // Now go to sleep.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Cpu_SetClockConfiguration(1);&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp; Cpu_SetOperationMode(DOM_STOP,NULL,NULL);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;TABLE style="padding-left: 30px;"&gt;&lt;TBODY style="padding-left: 30px;"&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; //&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; // TU2 is programmed... so why don't I wake up?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; //&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="padding-left: 30px;"&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;/TD&gt;&lt;TD style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Cpu_SetClockConfiguration(0);&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;I have TU2 programmed as LPTMR0 with the interrupt enabled.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30743i00145CA0E1BCE6C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;And it's set to Auto-init. I also have the LLWU interrupt enabled in the CPU configuration&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30769iA1D076F08639D19A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried ensuring I use the BLPI Clock (I have two clock configs- one is for low power mode, the other for normal operation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also considered the possibility that I was waking up but just not seeing my message because of the change in clock configurations messing with the baud rate, but if I remove the DOM_STOP instruction the Serial port is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts on what I may be doing wrong? I can supply a sample project if necessary.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 18:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489125#M30158</guid>
      <dc:creator>rogerpease</dc:creator>
      <dc:date>2016-04-07T18:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to wake up with LPTMR0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489126#M30159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 style="margin: 5px 0; color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Hi Roger,&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I was wondering if you can sharing the demo, then I can debug with the FRDM-KL26 on my site.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: medium; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I'm looking forward to your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; font-family: Times New Roman,serif; font-size: 12pt;"&gt;Have a great day,&lt;BR style="background-color: inherit;" /&gt;Ping&lt;BR style="background-color: inherit;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; font-family: Times New Roman,serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; font-family: Times New Roman,serif; font-size: 12pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR style="background-color: inherit;" /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR style="background-color: inherit;" /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 05:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489126#M30159</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-04-08T05:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to wake up with LPTMR0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489127#M30160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPTMR only operates when clocked by a source that also runs in the low power mode - check that it is not configured to run from one that is stopped in the mode that you use.&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>Fri, 08 Apr 2016 19:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-wake-up-with-LPTMR0/m-p/489127#M30160</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-04-08T19:46:22Z</dc:date>
    </item>
  </channel>
</rss>

