<?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 PWM Period creating errors when compiling in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PWM-Period-creating-errors-when-compiling/m-p/664735#M40847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the MK22FN256VLH12 uC. &amp;nbsp;I inherited some code that&amp;nbsp;creates a PWM. &amp;nbsp;What I do is change the value to the variable "DutyCycle" to 100. &amp;nbsp;I compile and load the uC and it works great. &amp;nbsp;I also tried set the DutyCycle variable to 80 it still, it works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the properties page (Kinetis Design Studio 3.2.0) the&amp;nbsp;current period is set to 20kHz (see attached Figure 1.). &amp;nbsp;I would like to reduce the period to 1kHz, however, I get an error when I compile (see attached Figures 2 and 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change it back to a 20kHz period and recompile, the error and warnings remain (see attached Figure 4). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached the code, perhaps this will help. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 00:45:02 GMT</pubDate>
    <dc:creator>briancavanagh</dc:creator>
    <dc:date>2017-03-20T00:45:02Z</dc:date>
    <item>
      <title>PWM Period creating errors when compiling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PWM-Period-creating-errors-when-compiling/m-p/664735#M40847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the MK22FN256VLH12 uC. &amp;nbsp;I inherited some code that&amp;nbsp;creates a PWM. &amp;nbsp;What I do is change the value to the variable "DutyCycle" to 100. &amp;nbsp;I compile and load the uC and it works great. &amp;nbsp;I also tried set the DutyCycle variable to 80 it still, it works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the properties page (Kinetis Design Studio 3.2.0) the&amp;nbsp;current period is set to 20kHz (see attached Figure 1.). &amp;nbsp;I would like to reduce the period to 1kHz, however, I get an error when I compile (see attached Figures 2 and 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change it back to a 20kHz period and recompile, the error and warnings remain (see attached Figure 4). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached the code, perhaps this will help. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 00:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PWM-Period-creating-errors-when-compiling/m-p/664735#M40847</guid>
      <dc:creator>briancavanagh</dc:creator>
      <dc:date>2017-03-20T00:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: PWM Period creating errors when compiling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PWM-Period-creating-errors-when-compiling/m-p/664736#M40848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;The PWM_LDD component doesn't support ticks as it's Unit.&lt;BR /&gt;Please try to use us\ms\sec.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PWM unit.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15475i822D6838ABF38E1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="PWM unit.png" alt="PWM unit.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 22 Mar 2017 02:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PWM-Period-creating-errors-when-compiling/m-p/664736#M40848</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-03-22T02:42:13Z</dc:date>
    </item>
  </channel>
</rss>

