<?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: TMP0 and center aligned PWM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651430#M39653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to thank you for your advice and help.I &lt;SPAN class="" lang="en"&gt; highly &lt;/SPAN&gt;appreciate it. Center-aligned PWM is working properly at the moment :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miroslav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 10:53:57 GMT</pubDate>
    <dc:creator>miroslavmartise</dc:creator>
    <dc:date>2017-03-24T10:53:57Z</dc:date>
    <item>
      <title>TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651426#M39649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am playing with FRDM-KL25Z at the moment, namely with Init_TMP component and blue LED. If I want to set up the mode of channels as a Center-aligned PWM, output signal is not produced &lt;SPAN lang="en"&gt;farther&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;away&lt;/SPAN&gt;. But if I change it to Edge-aligned PWM, it works fine and LED lights.&lt;/P&gt;&lt;P&gt;In attachment you can see screenshot of my current setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any bug, or so? This puzzles me.....&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>Tue, 14 Mar 2017 15:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651426#M39649</guid>
      <dc:creator>miroslavmartise</dc:creator>
      <dc:date>2017-03-14T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651427#M39650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miroslav,&lt;/P&gt;&lt;P&gt;Could you please share your project to me , I will check it on my side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 03:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651427#M39650</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-20T03:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651428#M39651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in attached .rar file you can find my project. It should be noted that I am not the author of entire project, main structure was downloaded from this community forum. I have only changed setting of TPM0 to center-aligned PWM.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miroslav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 08:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651428#M39651</guid>
      <dc:creator>miroslavmartise</dc:creator>
      <dc:date>2017-03-20T08:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651429#M39652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miroslav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I test your project on my side , find there is a bug in the generated code of Init_TPM.&lt;/P&gt;&lt;P&gt;Please add these code in the file of "TPM0.C"&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt; TPM0_C0SC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;TPM_CnSC_MSB_MASK &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; TPM_CnSC_ELSB_MASK&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and disable the original code of TPM0_C0SC :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/15663iCD6F56437B777F7A/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After change the code,&amp;nbsp; please&amp;nbsp; choose " Don't Write Generated Component Modules":&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/15727i0D2468AF96A23A11/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then build , run ...&lt;/P&gt;&lt;P&gt;I also attached the project which I changed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Alice Yang&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, 02 Nov 2020 13:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651429#M39652</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-11-02T13:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651430#M39653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to thank you for your advice and help.I &lt;SPAN class="" lang="en"&gt; highly &lt;/SPAN&gt;appreciate it. Center-aligned PWM is working properly at the moment :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miroslav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 10:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651430#M39653</guid>
      <dc:creator>miroslavmartise</dc:creator>
      <dc:date>2017-03-24T10:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: TMP0 and center aligned PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651431#M39654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miroslav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 03:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TMP0-and-center-aligned-PWM/m-p/651431#M39654</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-27T03:43:43Z</dc:date>
    </item>
  </channel>
</rss>

