<?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: mkE04Z8VFK4 change frequency on pwm in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596647#M34948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;P&gt;Now I am using PPG module and trying to change the frequency at once in 1ms from 2Mhz to 5Mhz in step of 200kHz, and I see the delay(the amplitude in high position) of 5ms, it`s any way to change the frequency with minimal delay time?&lt;/P&gt;&lt;P&gt;Please see attached print screen.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Evgeny&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4968iE08D1CDC5DAECB19/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq4.jpg" alt="freq4.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5000i71071B588FB874F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq5.jpg" alt="freq5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 09:50:24 GMT</pubDate>
    <dc:creator>evgenybelov</dc:creator>
    <dc:date>2016-09-08T09:50:24Z</dc:date>
    <item>
      <title>mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596645#M34946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using&amp;nbsp;codewarrior for&amp;nbsp;mkE04Z8VFK4 &amp;nbsp;programming.&lt;/P&gt;&lt;P&gt;I am looking for method&amp;nbsp;to change&amp;nbsp;frequency of pwm and&amp;nbsp;&lt;SPAN&gt;methods(see attached picture) that I can see only for duty cycle?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Evgeny.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;P.S.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I use the PPG component for frequency and duty cycle change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am&amp;nbsp;trying to config the period and got the&amp;nbsp;Peripheral is not set properly (property "Period device"), please see attached picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 06:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596645#M34946</guid>
      <dc:creator>evgenybelov</dc:creator>
      <dc:date>2016-09-07T06:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596646#M34947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evgeny,&lt;/P&gt;&lt;P&gt;This component(PWM_LDD) implements a pulse-width modulation generator that generates a signal with variable duty and &lt;SPAN style="color: #ff0000;"&gt;fixed frequency &lt;/SPAN&gt;(period).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Component PWM_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6232i691F251E72524373/image-size/large?v=v2&amp;amp;px=999" role="button" title="Component PWM_LDD.png" alt="Component PWM_LDD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; You can use the PPG component for frequency and duty cycle change&lt;/SPAN&gt;. This component implements a programmable pulse generator that generates a signal with variable duty and &lt;SPAN style="color: #ff0000;"&gt;variable cycle&lt;/SPAN&gt; (period).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Component PPG_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6108i2460AA4C8CF384F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Component PPG_LDD.png" alt="Component PPG_LDD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set &lt;SPAN&gt;properly period, for example: &lt;/SPAN&gt;6800014.6484375 MHz or 6799833.984375.&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 08:03:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596646#M34947</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2016-09-08T08:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596647#M34948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;P&gt;Now I am using PPG module and trying to change the frequency at once in 1ms from 2Mhz to 5Mhz in step of 200kHz, and I see the delay(the amplitude in high position) of 5ms, it`s any way to change the frequency with minimal delay time?&lt;/P&gt;&lt;P&gt;Please see attached print screen.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Evgeny&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4968iE08D1CDC5DAECB19/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq4.jpg" alt="freq4.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5000i71071B588FB874F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq5.jpg" alt="freq5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 09:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596647#M34948</guid>
      <dc:creator>evgenybelov</dc:creator>
      <dc:date>2016-09-08T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596648#M34949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evgeny,&lt;/P&gt;&lt;P&gt;Would you please attach the project here? So that I can test it on my FRDM-KE04Z board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 09:27:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596648#M34949</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2016-09-12T09:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596649#M34950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;Thank you Robin.&lt;/P&gt;&lt;P&gt;I solved the last problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have new issue, I use the&amp;nbsp;SetFreqkHz command and I see that the command allocate&amp;nbsp;about 600byte in cpu memory and I have overflow of 844bytes , what is wrong?&lt;/P&gt;&lt;P&gt;Please find &amp;nbsp;attached link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wetransfer.com/downloads/5ee1bd33c87f8615ec2966d6bd5264b420160913092709/272f8cdffa279cdfb061fb73ecc2afb620160913092709/231410"&gt;project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Evgeny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 09:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596649#M34950</guid>
      <dc:creator>evgenybelov</dc:creator>
      <dc:date>2016-09-13T09:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596650#M34951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evgeny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no enough space in m_text for your code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Size of m_text.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6295i21645ACB0BF611AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Size of m_text.png" alt="Size of m_text.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The code/object generated by Processor Expert is too big to be loaded in m_text section. And the Optimize size(-Os) has been selected&amp;nbsp; in Optimization level.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Optimization level.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6346i4A7D6AD549653916/image-size/large?v=v2&amp;amp;px=999" role="button" title="Optimization level.png" alt="Optimization level.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am afraid you need decress some Component which eat too many memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 08:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596650#M34951</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2016-09-18T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: mkE04Z8VFK4 change frequency on pwm</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596651#M34952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I saw that I have empty space that reserved for vector table and&amp;nbsp;changed the project setting and now I can load the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;BR /&gt; m_interrupts (RWX) : ORIGIN = 0x00000000, LENGTH = 0x000000C0&lt;BR /&gt; &lt;STRONG style="color: #ff0000;"&gt;my_flash_seg (RX) : ORIGIN = 0x000000C0, LENGTH = 0x00000312&lt;/STRONG&gt;&lt;BR /&gt; m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x00001BF0&lt;BR /&gt; m_data (RW) : ORIGIN = 0x1FFFFF00, LENGTH = 0x00000400&lt;BR /&gt; m_cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Define output sections */&lt;BR /&gt;SECTIONS&lt;BR /&gt;{&lt;BR /&gt;/* Section created to relocate code in specific Flash address */ &lt;BR /&gt; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;.my_section :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; { &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; . = ALIGN(4); &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; KEEP( *(.mysegment)) /* This is the tag you use in code */ &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; . = ALIGN(4); &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; } &amp;gt; my_flash_seg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I am using the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;"&amp;nbsp;__attribute__ ((section(".mysegment"))) "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is running but I get Alert before burn in the code , Please see attached picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5850i4CABA764290B61EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 07:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mkE04Z8VFK4-change-frequency-on-pwm/m-p/596651#M34952</guid>
      <dc:creator>evgenybelov</dc:creator>
      <dc:date>2016-09-20T07:10:17Z</dc:date>
    </item>
  </channel>
</rss>

