<?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: K10 and PWM input in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882206#M52322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Mehrdad,&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;For an example on how to measure PWM duty cycle, could you please Chapter 35, section 4 of the K10 Reference Manual &lt;A href="https://www.nxp.com/docs/en/reference-manual/K10P48M50SF0RM.pdf"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2019 19:56:35 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2019-04-08T19:56:35Z</dc:date>
    <item>
      <title>K10 and PWM input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882202#M52318</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'm using K10 and want to encode PWM-Input. I need to measure the base frequency and the duty cycle. Is there any documentation about that or know anybody where to search for description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:38:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882202#M52318</guid>
      <dc:creator>mehrdad_ostovar</dc:creator>
      <dc:date>2019-04-05T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: K10 and PWM input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882203#M52319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Mehrdad,&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN lang="es-MX"&gt;If you want &lt;/SPAN&gt;&lt;SPAN lang="en-US"&gt;to measure frequency and duty cycle of an input signal you can use the Flex Timer Module (FTM) in Input Capture mode. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;You can set an FTM's channel to capture on rising or falling edges and compare both time readings to measure period. As for measuring duty cycle, you can set another flex timer channel to capture on either edge, compare both time readings, and then with your previously calculated frequency you can get the Duty Cycle of the signal.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN lang="en-US"&gt;For further reading, as well as some examples, you can check the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K10P48M50SF0RM.pdf"&gt;K10 Reference Manual&lt;/A&gt;&lt;SPAN lang="en-US"&gt;&amp;nbsp;Chapter 35.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882203#M52319</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-04-05T21:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: K10 and PWM input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882204#M52320</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;See chapter 7 of this document for a second method based on port triggered DMA, which allows very accurate high frequency measurements to be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/docs/uTasker/uTaskerHWTimers.PDF" target="test_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerHWTimers.PDF&lt;/A&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Complete Kinetis solutions, training and support: &lt;A href="http://www.utasker.com/kinetis.html" target="test_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Kinetis K60/K10:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K60N512.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K60D100M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K60F120M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/ELZET80_NET-KBED.html" target="test_blank"&gt;http://www.utasker.com/kinetis/ELZET80_NET-KBED.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/ELZET80_NET-K60.html" target="test_blank"&gt;http://www.utasker.com/kinetis/ELZET80_NET-K60.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2019 11:42:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882204#M52320</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-04-06T11:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: K10 and PWM input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882205#M52321</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 looked at the documentation but I see nowhere PWM Input. I can only select inut capture in both edges and read the counter measure the relation.&lt;/P&gt;&lt;P&gt;Is there any examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882205#M52321</guid>
      <dc:creator>mehrdad_ostovar</dc:creator>
      <dc:date>2019-04-08T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: K10 and PWM input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882206#M52322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Mehrdad,&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;For an example on how to measure PWM duty cycle, could you please Chapter 35, section 4 of the K10 Reference Manual &lt;A href="https://www.nxp.com/docs/en/reference-manual/K10P48M50SF0RM.pdf"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;&lt;P lang="es-MX" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K10-and-PWM-input/m-p/882206#M52322</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-04-08T19:56:35Z</dc:date>
    </item>
  </channel>
</rss>

