<?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>Kinetis MicrocontrollersのトピックRe: Duty Cycle Selection in PWM channels</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697848#M42907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each timer has a single frequency but each of its channels can generate a different duty cycle at this frequency.&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerHWTimers.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerHWTimers.PDF&lt;/A&gt;&lt;SPAN&gt; (chapter 5 and appendix - page 20) for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 14:11:19 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-08-14T14:11:19Z</dc:date>
    <item>
      <title>Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697847#M42906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need use one timer with four channels operating on the same frequency, however each channels I need set duty cycle independently out of other channels. Is it possible or I need find micro with four timers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 00:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697847#M42906</guid>
      <dc:creator>marceli1</dc:creator>
      <dc:date>2017-08-14T00:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697848#M42907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each timer has a single frequency but each of its channels can generate a different duty cycle at this frequency.&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerHWTimers.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerHWTimers.PDF&lt;/A&gt;&lt;SPAN&gt; (chapter 5 and appendix - page 20) for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697848#M42907</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-08-14T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697849#M42908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MKL25Z timer and PE approach. I am able create PWM2 for next channel with the same timer TU1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not sure when changing duty cycle using:&lt;/P&gt;&lt;P&gt;LDD_TError PWM2_SetDutyMS(LDD_TDeviceData *DeviceDataPtr, uint16_t Time){..}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling at OnEnd event I will change for only PWM2 set channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 00:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697849#M42908</guid>
      <dc:creator>marceli1</dc:creator>
      <dc:date>2017-08-15T00:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697850#M42909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Marceli,&lt;/P&gt;&lt;P&gt;When you create several PWM_LDD with same timer TU1, PWM&lt;SPAN style="color: #3366ff;"&gt;x&lt;/SPAN&gt;_SetDutyMS will only update the duty of selected channel&lt;SPAN style="color: #3366ff;"&gt;x&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PWMx_SetDutyMS.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20759iA369C7942A55D7D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="PWMx_SetDutyMS.png" alt="PWMx_SetDutyMS.png" /&gt;&lt;/span&gt;&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;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>Tue, 15 Aug 2017 06:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697850#M42909</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-08-15T06:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697851#M42910</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;&lt;/P&gt;&lt;P&gt;thank you. To avoid output noise I need change duty cycle in the event OnEnd period and this will be separate for each channel done. Problem can be I will get six channels interrupts at the same time on the end of the same period. Will I lost some of interrupts or I need to setup priorities for them and how?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Marceli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 01:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697851#M42910</guid>
      <dc:creator>marceli1</dc:creator>
      <dc:date>2017-08-17T01:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697852#M42911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These six channels share the same overflow interrupt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Interrupt vector assignments.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24307i4017F9078769F56A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Interrupt vector assignments.png" alt="Interrupt vector assignments.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TPMx_STATUS[TOF].png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24430i8EECC617344D3D73/image-size/large?v=v2&amp;amp;px=999" role="button" title="TPMx_STATUS[TOF].png" alt="TPMx_STATUS[TOF].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OnEND.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24237iDECDBD461935F260/image-size/large?v=v2&amp;amp;px=999" role="button" title="OnEND.png" alt="OnEND.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>Fri, 18 Aug 2017 02:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697852#M42911</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-08-18T02:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697853#M42912</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;&lt;/P&gt;&lt;P&gt;Thank you, this explains process order very well. Only need to pass channel's duty cycle value at OnEnd channel event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marceli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 01:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697853#M42912</guid>
      <dc:creator>marceli1</dc:creator>
      <dc:date>2017-08-21T01:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duty Cycle Selection in PWM channels</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697854#M42913</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;&lt;/P&gt;&lt;P&gt;PE is not allowing me to change initially period timer TU1 while is linked with PWM six channels. It is even Counter restart is in "On-match" mode. Can I make own method to change period for all channels in timer TU1? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "TPM_PDD.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LDD_TError TU1_SetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, uint16_t Ticks)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; (void)DeviceDataPtr;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Parameter is not used, suppress unused argument warning */&lt;BR /&gt;&amp;nbsp; /* Parameter test - this test can be disabled by setting the "Ignore range checking"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; property to the "yes" value in the "Configuration inspector" */&lt;BR /&gt;&amp;nbsp; if ((Ticks &amp;gt; 65535U) || (Ticks == 1U)) { /* Is the given value out of range? */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ERR_PARAM_TICKS;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* If yes then error */&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; TPM_PDD_WriteModuloReg(TPM0_BASE_PTR, (uint16_t)(--Ticks));&lt;BR /&gt;&amp;nbsp; return ERR_OK;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* OK */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marceli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 02:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Duty-Cycle-Selection-in-PWM-channels/m-p/697854#M42913</guid>
      <dc:creator>marceli1</dc:creator>
      <dc:date>2017-08-31T02:26:46Z</dc:date>
    </item>
  </channel>
</rss>

