<?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: low power mode and pwm with TPM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616106#M36668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working with&lt;/P&gt;&lt;P&gt;OSC0-&amp;gt;CR |= OSC_CR_EREFSTEN_MASK;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 07:14:29 GMT</pubDate>
    <dc:creator>tuomasaaltio</dc:creator>
    <dc:date>2017-03-08T07:14:29Z</dc:date>
    <item>
      <title>low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616102#M36664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to generate PWM and keep cpu in low power mode. Is it possible to wake up at time overflow interrupt and then put cpu to stop mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 13:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616102#M36664</guid>
      <dc:creator>tuomasaaltio</dc:creator>
      <dc:date>2017-03-02T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616103#M36665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tuomas aaltio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know which chip you are using, now take MKL25 as an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14775i8266A799AD8360E2/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find in the STOP mode, async operation, the TPM is full function in PSTOP2, it can generate PWM if you don't use the interrupt. If you use interrupt, the STOP mode will be wake up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14820i920B7CDDD31DB847/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&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;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>Mon, 06 Mar 2017 05:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616103#M36665</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-06T05:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616104#M36666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;current consumption is too large in partial stop 2 mode. I tried partial stop mode, but seems to be that tpm interrupt doesn't wake cpu up. Shoud it be possible to use tpm interrupt to wake us from stop mode ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 14:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616104#M36666</guid>
      <dc:creator>tuomasaaltio</dc:creator>
      <dc:date>2017-03-07T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616105#M36667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tuomas aaltio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, the TPM interrupt can wake up the stop mode:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15144i24A43FC7B0B06FAD/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15206i0FEDECE21FD87986/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But take care, you must make sure, the clock which you are using for TPM can still work in the stop mode.&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;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>Wed, 08 Mar 2017 02:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616105#M36667</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-08T02:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616106#M36668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working with&lt;/P&gt;&lt;P&gt;OSC0-&amp;gt;CR |= OSC_CR_EREFSTEN_MASK;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 07:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616106#M36668</guid>
      <dc:creator>tuomasaaltio</dc:creator>
      <dc:date>2017-03-08T07:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: low power mode and pwm with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616107#M36669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tuomas aaltio,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please check these information from the reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16470iB16EC557A8B3CA69/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16512iDC8CF6C16F1CF3B1/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16556i672C906AD9A438E4/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16645i99613DDA97F8CCD7/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can use MCGPLLCLK with PLLSTEN=1, MCGIRCLK with C1[IRCLKEN]=1 and C1[IREFSTEN] =1, or OSCERCLK with EREFSTEN=1.&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;&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>Wed, 08 Mar 2017 07:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/low-power-mode-and-pwm-with-TPM/m-p/616107#M36669</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-08T07:42:31Z</dc:date>
    </item>
  </channel>
</rss>

