<?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 MKM14Z128ACHH5 PWM duty cycle read in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063489#M57145</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;I'm starting a proyect with this microcontroller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that proyect I need to set a PWM and read a different one duty cycle's. Is that prossible with this model?&lt;/P&gt;&lt;P&gt;I have found that to generate the PWM signal I have to use the TMR0 output, but there is only one Timer I/O avaible and I dont know if there is other way to measurement the duty cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Raúl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2020 15:18:54 GMT</pubDate>
    <dc:creator>raununmar</dc:creator>
    <dc:date>2020-04-06T15:18:54Z</dc:date>
    <item>
      <title>MKM14Z128ACHH5 PWM duty cycle read</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063489#M57145</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;I'm starting a proyect with this microcontroller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that proyect I need to set a PWM and read a different one duty cycle's. Is that prossible with this model?&lt;/P&gt;&lt;P&gt;I have found that to generate the PWM signal I have to use the TMR0 output, but there is only one Timer I/O avaible and I dont know if there is other way to measurement the duty cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Raúl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 15:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063489#M57145</guid>
      <dc:creator>raununmar</dc:creator>
      <dc:date>2020-04-06T15:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: MKM14Z128ACHH5 PWM duty cycle read</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063490#M57146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I will give you a thougnt to measure the duty. Configure a gpio as a external interrupt source. The rising edge and falling edge is active. When the PWM's rising edge comes, we start the PIT. When the PWM's falling edge comes, we stop the PIT. Calculate the difference. Then the results is multiplied by the PIT's period. It is the high level duration. If you set the gpio that the rising edge only&amp;nbsp; is active, you will get the PWM's period. We have the&amp;nbsp;&lt;SPAN&gt;high level duration and PWM's period. Then we can calculate the duty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 01:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063490#M57146</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-04-07T01:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: MKM14Z128ACHH5 PWM duty cycle read</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063491#M57147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks you so much for your reply.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;How do I know which pins have an interrupt? I have found in the manual the register to configure it and it seems that not all input support that function.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104502i7FBBB37BBA938597/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;How do I know which pins support it?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks you in advance,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Raúl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 07:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063491#M57147</guid>
      <dc:creator>raununmar</dc:creator>
      <dc:date>2020-04-07T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: MKM14Z128ACHH5 PWM duty cycle read</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063492#M57148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104547i6966B702E0AD1284/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="1294294" style="color: #646464; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 09:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKM14Z128ACHH5-PWM-duty-cycle-read/m-p/1063492#M57148</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-04-07T09:37:53Z</dc:date>
    </item>
  </channel>
</rss>

