<?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: Bug Report: PWM bug in KExx driver V1.2.1 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Bug-Report-PWM-bug-in-KExx-driver-V1-2-1/m-p/340355#M227</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;Indeed, there is a bug presented on the PWM KEx driver V1.2.1. &lt;/P&gt;&lt;P&gt;I really appreciate your contribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bug has been submitted to the Developers Team in order to fix the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, thank you for your contribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 01:19:43 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2015-03-27T01:19:43Z</dc:date>
    <item>
      <title>Bug Report: PWM bug in KExx driver V1.2.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Bug-Report-PWM-bug-in-KExx-driver-V1-2-1/m-p/340354#M226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a PWM bug in KExx driver V1.2.1: If we set PTB2 as FTM0, PWM output to PTB2 but also PTA1. It seems be workable as below modification.&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;1. Swap the code in “SIM_RemapFTM0CH0ToPTB3” and “SIM_RemapFTM0CH0ToPTA1” to have the correct register setting.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;SIM-&amp;gt;PINSEL &amp;amp;= ~SIM_PINSEL_FTM0PS0_MASK;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;SIM-&amp;gt;PINSEL |= SIM_PINSEL_FTM0PS0_MASK;&lt;/P&gt;&lt;P&gt;In __STATIC_INLINE void SIM_RemapFTM0CH0ToPTB3(void) of sim.h.(Actually PTB2 is the correct name rather than PTB3)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20221_20221.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120202i4C9E95C64E9B88C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="20221_20221.jpg" alt="20221_20221.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="圖片 1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50796iD9868AD8E36C3B98/image-size/large?v=v2&amp;amp;px=999" role="button" title="圖片 1.jpg" alt="圖片 1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Change channels = 1 in FTM_PWMInit() of ftm.c as below picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20222_20222.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120203iC551F5DBF266B967/image-size/large?v=v2&amp;amp;px=999" role="button" title="20222_20222.jpg" alt="20222_20222.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="圖片 2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50797iDB9C9FD8C3476C50/image-size/large?v=v2&amp;amp;px=999" role="button" title="圖片 2.jpg" alt="圖片 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 07:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Bug-Report-PWM-bug-in-KExx-driver-V1-2-1/m-p/340354#M226</guid>
      <dc:creator>LaMoris</dc:creator>
      <dc:date>2015-02-26T07:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report: PWM bug in KExx driver V1.2.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Bug-Report-PWM-bug-in-KExx-driver-V1-2-1/m-p/340355#M227</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;Indeed, there is a bug presented on the PWM KEx driver V1.2.1. &lt;/P&gt;&lt;P&gt;I really appreciate your contribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bug has been submitted to the Developers Team in order to fix the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, thank you for your contribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 01:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Bug-Report-PWM-bug-in-KExx-driver-V1-2-1/m-p/340355#M227</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-03-27T01:19:43Z</dc:date>
    </item>
  </channel>
</rss>

