<?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 Frequency Counter in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Frequency-Counter/m-p/579590#M20072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by santner on Wed May 16 05:48:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to setup a counter using TIMER0.&amp;nbsp; I have the LPC4350 Hitex board and I'm using pin 1.17 as my external clock input (this is coming from a function generator set at 100kHz, 3.3v, 50% duty cycle).&amp;nbsp; In the code I first setup the pin as an input configured for FUNCTION4 (T0_CAP3 Input).&amp;nbsp; I then configure the GIMA to route this pin to TIMER0.&amp;nbsp; I also set TIMER0-&amp;gt;CTCR = 0xd.&amp;nbsp; Finally, I enable the timer.&amp;nbsp; After some analysis what I find is that there is a scale factor of 1/8.&amp;nbsp; So rather than seeing 100,000 ticks per second, I'm seeing 100,000/8 ticks per second.&amp;nbsp; Any ideas or examples which show how to accomplish this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:04:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:04:41Z</dc:date>
    <item>
      <title>Frequency Counter</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Frequency-Counter/m-p/579590#M20072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by santner on Wed May 16 05:48:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to setup a counter using TIMER0.&amp;nbsp; I have the LPC4350 Hitex board and I'm using pin 1.17 as my external clock input (this is coming from a function generator set at 100kHz, 3.3v, 50% duty cycle).&amp;nbsp; In the code I first setup the pin as an input configured for FUNCTION4 (T0_CAP3 Input).&amp;nbsp; I then configure the GIMA to route this pin to TIMER0.&amp;nbsp; I also set TIMER0-&amp;gt;CTCR = 0xd.&amp;nbsp; Finally, I enable the timer.&amp;nbsp; After some analysis what I find is that there is a scale factor of 1/8.&amp;nbsp; So rather than seeing 100,000 ticks per second, I'm seeing 100,000/8 ticks per second.&amp;nbsp; Any ideas or examples which show how to accomplish this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Frequency-Counter/m-p/579590#M20072</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:04:41Z</dc:date>
    </item>
  </channel>
</rss>

