<?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のトピックInput capture module in MK22FN512VLH12 Microcontroller</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-module-in-MK22FN512VLH12-Microcontroller/m-p/856790#M51360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to measure frequency of a signal (Range: 20 to 70 Hz) with resolution of 0.005 Hz. I was trying to use capture mode of K22f but it is 16 bit capture module. One of my colleague experimented with 16 bit capture and was not able to get the desired resolution due to the problem mentioned in the thread below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/477271"&gt;Error in frequency measurement using capture inputs of LPC11U68&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest a method to measure the input frequency with the desired accuracy using&amp;nbsp;MK22FN512VLH12 microcontroller. Also, please share reference code if possible. I have FREEDOM KINETIS K22F board for evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2019 09:00:43 GMT</pubDate>
    <dc:creator>prasannanaik</dc:creator>
    <dc:date>2019-03-14T09:00:43Z</dc:date>
    <item>
      <title>Input capture module in MK22FN512VLH12 Microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-module-in-MK22FN512VLH12-Microcontroller/m-p/856790#M51360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to measure frequency of a signal (Range: 20 to 70 Hz) with resolution of 0.005 Hz. I was trying to use capture mode of K22f but it is 16 bit capture module. One of my colleague experimented with 16 bit capture and was not able to get the desired resolution due to the problem mentioned in the thread below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/477271"&gt;Error in frequency measurement using capture inputs of LPC11U68&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest a method to measure the input frequency with the desired accuracy using&amp;nbsp;MK22FN512VLH12 microcontroller. Also, please share reference code if possible. I have FREEDOM KINETIS K22F board for evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 09:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-module-in-MK22FN512VLH12-Microcontroller/m-p/856790#M51360</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2019-03-14T09:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture module in MK22FN512VLH12 Microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-module-in-MK22FN512VLH12-Microcontroller/m-p/856791#M51361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: 'Helvetica Neue'; font-size: 11.25pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Hi Prasanna,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: 'Helvetica Neue'; font-size: 11.25pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Because the period of the signal is too low, I would suggest if you're using the input capture FlexTimer:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="margin-left: .375in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Enable the overflow and the trigger interruption for the FlexTimer channel, this to know if the value was triggered&amp;nbsp;by the pulse edge or to know if the timer overflows.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Set the double edge capture mode and compare both measurement, if you identify that are to different you could try a work-around or discard the measurement.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Reset&amp;nbsp;the CNT (count value) every time&amp;nbsp;the edge triggers.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: 'Helvetica Neue'; font-size: 11.25pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Other approach could be using one of the edges of the signal as a trigger for a timer with a low period, the PIT or FTM module for example. And stop the signal when the interruption triggers again and catch the value.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: 'Helvetica Neue'; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white; font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Hope it can help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white; font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white; font-size: 15px; font-family: arial, helvetica, sans-serif;"&gt;Alexis Andalon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 18:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-module-in-MK22FN512VLH12-Microcontroller/m-p/856791#M51361</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-03-20T18:54:26Z</dc:date>
    </item>
  </channel>
</rss>

