<?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: Change PWM frecuency in Kinetis Motor Suite</title>
    <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Change-PWM-frecuency/m-p/679231#M199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There could be a couple different things going on here.&lt;/P&gt;&lt;P&gt;1. When you added the decimation into ADC1_IRQHandler the KMS tool didn't take that into account when it calculated the gains.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6358i0E2823C8EEC2706B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png" alt="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;KMS provides a way to do that decimation so that it will account for it correctly in the gain calculations. &amp;nbsp;The PWM / Fast ISR is used for this purpose. &amp;nbsp;We've ran up to 80kHz PWM with a divider of 4 successfully on the TWR eval kit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you are not using the reference hardware make sure that your power device is configured correctly. &amp;nbsp;When you get into high speeds you are also at high modulations and if the deadtime isn't configured correctly this will destroy your power devices. &amp;nbsp;See &lt;A href="http://www.nxp.com/docs/en/application-note/AN5254.pdf"&gt;AN5254&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2017 12:56:12 GMT</pubDate>
    <dc:creator>linestream-adam</dc:creator>
    <dc:date>2017-07-31T12:56:12Z</dc:date>
    <item>
      <title>Change PWM frecuency</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Change-PWM-frecuency/m-p/679230#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I changed PWM frecuency from 20Khz to 70Khz but the CPU use was very high (about 98%). So I add a counter inside&amp;nbsp;ADC1_IRQHandler before call&amp;nbsp;rda_push_int(); and now the CPU use is 51%.&lt;/P&gt;&lt;P&gt;I ran the motor to 30KRpm and everything was ok, but when I configure the motor to 60KRpm, after two minutes, the D3 mosfet has broken. It's happened two time.&lt;/P&gt;&lt;P&gt;does anybody know why?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 18:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Change-PWM-frecuency/m-p/679230#M198</guid>
      <dc:creator>juanmas</dc:creator>
      <dc:date>2017-07-21T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change PWM frecuency</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Change-PWM-frecuency/m-p/679231#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There could be a couple different things going on here.&lt;/P&gt;&lt;P&gt;1. When you added the decimation into ADC1_IRQHandler the KMS tool didn't take that into account when it calculated the gains.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6358i0E2823C8EEC2706B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png" alt="2017-07-31 08_52_18-Kinetis Motor Suite_ C__Users_Adam_Documents_KMS_1.2.0_SavedProjects_TWRKV31F120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;KMS provides a way to do that decimation so that it will account for it correctly in the gain calculations. &amp;nbsp;The PWM / Fast ISR is used for this purpose. &amp;nbsp;We've ran up to 80kHz PWM with a divider of 4 successfully on the TWR eval kit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you are not using the reference hardware make sure that your power device is configured correctly. &amp;nbsp;When you get into high speeds you are also at high modulations and if the deadtime isn't configured correctly this will destroy your power devices. &amp;nbsp;See &lt;A href="http://www.nxp.com/docs/en/application-note/AN5254.pdf"&gt;AN5254&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 12:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Change-PWM-frecuency/m-p/679231#M199</guid>
      <dc:creator>linestream-adam</dc:creator>
      <dc:date>2017-07-31T12:56:12Z</dc:date>
    </item>
  </channel>
</rss>

