<?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>LPC MicrocontrollersのトピックRe: Help me decide on impulse counting</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513874#M401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karpis on Wed Mar 23 01:12:45 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for pinpointing to frequency measurement. I don't know how I skipped that, but first results are highly encouraging.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:08:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:08:47Z</dc:date>
    <item>
      <title>Help me decide on impulse counting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513872#M399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karpis on Tue Mar 22 05:31:59 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I using LPC1549 100 pin MCU and trying to decide the best way to measure fan RPM. Fan has simple feedback with square impulse for rotation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm in doubt should I use :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. RIT with GPIO interrupt. On rising edge on GPIO it would generate interrupt and increment rpm_count value. Then RIT periodically counts by known formula actual RPM and resets&amp;nbsp; rmp_count value on its own interrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. SCT. I would assign input to SCT_IN, event on SCT_IN rising edge and event on count down. On rising edge event I would increment rpm_count value and on count down I would use formula, reset rpm_count and restart SCT timer. I still have not found yet if it is possible to increment rpm counter without interrupts - that would be a huge improvement on 1st choice, which will load MCU with interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone did this before and how did you do it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513872#M399</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help me decide on impulse counting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513873#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Tue Mar 22 06:44:18 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;... or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use 'Frequency measure function' of LPC15xx&amp;nbsp; :D &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;So obviously I used SCT (as described in #7 of &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fdecoding-pwm-input" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/decoding-pwm-input&lt;/A&gt;&lt;SPAN&gt;)&amp;nbsp; :O &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And of course you can also use SCT without SCT interrupt...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513873#M400</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help me decide on impulse counting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513874#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karpis on Wed Mar 23 01:12:45 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for pinpointing to frequency measurement. I don't know how I skipped that, but first results are highly encouraging.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513874#M401</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help me decide on impulse counting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513875#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:06:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-me-decide-on-impulse-counting/m-p/513875#M402</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:06:04Z</dc:date>
    </item>
  </channel>
</rss>

