<?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: Any example to use CAPTURE PINS as pulse counters?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586768#M21479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Badman on Fri Sep 18 23:38:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my code on registers, now I noticed that this forum LPCOpen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:24:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:24:54Z</dc:date>
    <item>
      <title>Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586765#M21476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Fri Sep 18 09:04:47 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm in the first steps programming LPC1347 and I would like to learn how to use capture pins to make a fan RPM monitor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mi idea is to make a program using ritimer. In each ritimer handler, read a variable increased by rising in a capture pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The counter will be up 500 pulses/sec so I think CT16B must be sufficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has someone an example to study it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586765#M21476</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586766#M21477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Badman on Fri Sep 18 12:14:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I not tested this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#include "LPC11xx.h"

#define KHZ_PRESCALE&amp;nbsp;&amp;nbsp;&amp;nbsp; (SystemCoreClock / 1000)

volatile uint16_t rpm, tmp_rpm;
volatile uint8_t status_flag = 0;

// obsluga przerwania TMR16B0
void TIMER16_0_IRQHandler(void)
{
if ( LPC_TMR16B0-&amp;gt;IR &amp;amp; (0x1&amp;lt;&amp;lt;1) )
{
LPC_TMR16B0-&amp;gt;IR = 1;// clear flag from MR0
rpm = tmp_rpm;
tmp_rpm = 0;
status_flag = 1;
}
if ( LPC_TMR16B0-&amp;gt;IR &amp;amp; (0x1&amp;lt;&amp;lt;4) )// sprawdzenie czy przerwanie od kanalu zliczajacego
{
LPC_TMR16B0-&amp;gt;IR = 0x1&amp;lt;&amp;lt;4;// skasowanie flagi przerwania
tmp_rpm++;
}
}

int main(void) {

LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= 1&amp;lt;&amp;lt;16;//wlaczenie zegara dla bloku IOCON_LOC
LPC_IOCON-&amp;gt;PIO0_2 &amp;amp;= ~0x07;// zerowanie 3 pierwszych bitow
LPC_IOCON-&amp;gt;PIO0_2 |= 0x02;// CT16B0_CAP0

// konfiguracja timera TMR16B0
LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= 1&amp;lt;&amp;lt;7;// wlaczenie zegara dla bloku timera TMR16B0
LPC_TMR16B0-&amp;gt;PR = KHZ_PRESCALE - 1;&amp;nbsp;&amp;nbsp; // ustawienie preskalera na 1 kHz
LPC_TMR16B0-&amp;gt;MR0 = 1000;// for 1 s
LPC_TMR16B0-&amp;gt;CTCR = 2;&amp;nbsp; // rosnace zbocze rozpoczyna zliczanie i generuje przerwanie
LPC_TMR16B0-&amp;gt;MCR = (0x1&amp;lt;&amp;lt;0) | (0x1&amp;lt;&amp;lt;1);// interrupt and reset MR0
NVIC_EnableIRQ(TIMER_16_0_IRQn);

LPC_TMR16B0-&amp;gt;TCR = 1;// wlaczenie timera

&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (status_flag == 1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; status_flag = 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("RPM=%d\r\n", rpm);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0 ;
}

&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586766#M21477</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586767#M21478</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 Fri Sep 18 12:46:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;Mi idea is to make a program using ritimer. In each ritimer handler, read a variable increased by rising in a capture pin.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCOpen is including a RIT sample&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;&lt;LI-EMOJI id="lia_face-with-open-mouth" title=":face_with_open_mouth:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting this timer to 1s and reading TC value of your capture counter shouldn't be too difficult&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you just need to read the user manual and let a timer count. That are 4 lines of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; //init Timer32
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0
 Chip_TIMER_Init(LPC_TIMER32_0);//init timer
 LPC_TIMER32_0-&amp;gt;CTCR = 2;//falling edge CT32B0_CAP0
 LPC_TIMER32_0-&amp;gt;TCR&amp;nbsp; = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //start timer
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586767#M21478</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586768#M21479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Badman on Fri Sep 18 23:38:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my code on registers, now I noticed that this forum LPCOpen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586768#M21479</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586769#M21480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Mon Sep 21 06:28:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, R2D2... I have a program using RITIMER correctly&amp;nbsp; 8-)&amp;nbsp; my problem is to know how to read TC value&amp;nbsp; :(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm newbie with Cortex, sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your answer was very clearifying so I'll add your code at the start of my main() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; //init Timer32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Chip_TIMER_Init(LPC_TIMER32_0);//init timer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_TIMER32_0-&amp;gt;CTCR = 2;//falling edge CT32B0_CAP0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_TIMER32_0-&amp;gt;TCR&amp;nbsp; = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //start timer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the RITIMER handle I'll add the next code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CountValue = Chip_TIMER_ReadCount(LPC_TIMER32_0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_TIMER2-&amp;gt;TC=0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // reset TC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should be enough&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&amp;nbsp; 0:) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586769#M21480</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586770#M21481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Mon Sep 21 15:47:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;Mi idea is to make a program using ritimer. In each ritimer handler, read a variable increased by rising in a capture pin.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;LPCOpen is including a RIT sample&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;&lt;LI-EMOJI id="lia_face-with-open-mouth" title=":face_with_open_mouth:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;Setting this timer to 1s and reading TC value of your capture counter shouldn't be too difficult&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;So you just need to read the user manual and let a timer count. That are 4 lines of code:&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; //init Timer32
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0
 Chip_TIMER_Init(LPC_TIMER32_0);//init timer
 LPC_TIMER32_0-&amp;gt;CTCR = 2;//falling edge CT32B0_CAP0
 LPC_TIMER32_0-&amp;gt;TCR&amp;nbsp; = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //start timer
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm dumb, it doesn't works...&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
void RIT_IRQHandler(void){
/* Clearn interrupt */
Chip_RIT_ClearInt(LPC_RITIMER);
CountValue = Chip_TIMER_ReadCount(LPC_TIMER32_0);
LPC_TIMER32_0-&amp;gt;TC=0; // reset TC
Chip_GPIO_WritePortBit(LPC_GPIO_PORT, 0, 7, !Chip_GPIO_ReadPortBit(LPC_GPIO_PORT, 0, 7));
}

/**
 * @briefMain entry point
 * @returnNothing
 */
int main(void)
{
/* Generic Initialization */
SystemCoreClockUpdate();
Board_Init();

setSYSTICK();
config7segm();

LPC_SYSCTL-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 9);

Board_LED_Set(0, true);

/* Initialize RITimer */
Chip_RIT_Init(LPC_RITIMER);

/* Configure RIT for a 1s interrupt tick rate */
Chip_RIT_SetTimerInterval(LPC_RITIMER, TIME_INTERVAL);
NVIC_EnableIRQ(RIT_IRQn);

//init Timer32
Chip_GPIO_WriteDirBit(LPC_GPIO_PORT, 0, 17, 0);
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0
Chip_TIMER_Init(LPC_TIMER32_0);//init timer

LPC_TIMER32_0-&amp;gt;CTCR = 2;//falling edge CT32B0_CAP0
LPC_TIMER32_0-&amp;gt;TCR = 1;//start timer

_delay_ms(600);

while (1) {
Imprime7segm(CountValue);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // print value in 7 segments display
}
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some tutorials for first steps... It's hard for me to face easy projects with a lot of issues...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fortunately I have your help R2D2&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586770#M21481</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586771#M21482</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 Mon Sep 21 16:11:03 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;I need some tutorials for first steps... It's hard for me to face easy projects with a lot of issues...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First lesson: post complete projects&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second lesson: describe exactly what's not working...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586771#M21482</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586772#M21483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Mon Sep 21 16:23:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;CountValue is =0 always.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586772#M21483</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586773#M21484</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 Mon Sep 21 17:11:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;CountValue is =0 always.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then use an input signal&amp;nbsp; :~ &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586773#M21484</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586774#M21485</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 Mon Sep 21 17:17:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;...and volatiles...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586774#M21485</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586775#M21486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Tue Sep 22 12:19:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm puting P0.17 to GND manually and I erased lines that were reseting counter... and CountValue is still 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I change the onboard led state by P0.17 value and it's blinking so the imput is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now, I've made the simpliest code to check if it works... but CountValue is always =0 (onboard led is blinking!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;int main(void) {
volatile uint32_t CountValue;

SystemCoreClockUpdate();
Board_Init();

setSYSTICK();
config7segm();

LPC_SYSCTL-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 9);

Board_LED_Set(0, true);

//init Timer32
Chip_GPIO_WriteDirBit(LPC_GPIO_PORT, 0, 17, 0);
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0
Chip_TIMER_Init(LPC_TIMER32_0);//init timer

LPC_TIMER32_0-&amp;gt;CTCR = 2;//falling edge CT32B0_CAP0
LPC_TIMER32_0-&amp;gt;TCR = 1;//start timer

_delay_ms(600);

while (1) {
Imprime7segm(CountValue);
Chip_GPIO_WritePortBit(LPC_GPIO_PORT, 0, 7, Chip_GPIO_ReadPortBit(LPC_GPIO_PORT, 0, 17));
CountValue = Chip_TIMER_ReadCount(LPC_TIMER32_0);
}
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd tried writing directly &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Imprime7segm(Chip_TIMER_ReadCount(LPC_TIMER32_0));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and displays shows "0000" too&amp;nbsp; :(( &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586775#M21486</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586776#M21487</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 Sep 22 16:11:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;I'm puting P0.17 to GND manually and I erased lines that were reseting counter... and CountValue is still 0.&lt;BR /&gt;I change the onboard led state by P0.17 value and it's blinking so the imput is correct.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugger is your friend&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is B[17] register of GPIO-PORT showing correct input values ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check PIO0-17 IOCON register, is it CT32B0_CAP0 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check CT32B0 registers, is TCR = 1 and CTCR =2 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a new simple project and add RIT and Timer code there...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586776#M21487</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586777#M21488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Tue Sep 22 16:41:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;I'm puting P0.17 to GND manually and I erased lines that were reseting counter... and CountValue is still 0.&lt;BR /&gt;I change the onboard led state by P0.17 value and it's blinking so the imput is correct.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt; :quest: &lt;BR /&gt;&lt;BR /&gt;Debugger is your friend&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;Is B[17] register of GPIO-PORT showing correct input values ?&lt;BR /&gt;&lt;BR /&gt;Check PIO0-17 IOCON register, is it CT32B0_CAP0 ?&lt;BR /&gt;&lt;BR /&gt;Check CT32B0 registers, is TCT = 1 and CTCR =2 ?&lt;BR /&gt;&lt;BR /&gt;Create a new simple project and add RIT and Timer code there...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* B[0] [17]register of GPIO-PORT is working OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* IOCON for PIO0.17 is 0x12 (Pull-down resistor enabled and CT32B0_CAP0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* CT32B0 TCR=1 and CTCR=2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... and TC register is always =0&amp;nbsp; |( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_SYSCTL-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 9);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Enables clock for 32-bit counter/timer 0.
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 17, (IOCON_FUNC2 | IOCON_MODE_PULLUP)); //CT32B0_CAP0
Chip_TIMER_Init(LPC_TIMER32_0);//init timer


LPC_TIMER32_0-&amp;gt;CTCR = 2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //falling edge CT32B0_CAP0
LPC_TIMER32_0-&amp;gt;TCR = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //start timer

CountValue = Chip_TIMER_ReadCount(LPC_TIMER32_0);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm frustrated...&amp;nbsp; :(( &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586777#M21488</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586778#M21489</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 Sep 22 18:11:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a new project with RIT and Timer32 code, compile it and post it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll debug the AXF file here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: Did you try to use another timer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;//init Timer32_1
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 12, (IOCON_FUNC3 | IOCON_MODE_PULLUP | IOCON_DIGMODE_EN)); //CT32B1_CAP0
 Chip_TIMER_Init(LPC_TIMER32_1);//init timer
 LPC_TIMER32_1-&amp;gt;CTCR = 2;//falling edge
 LPC_TIMER32_1-&amp;gt;TCR&amp;nbsp; = 1;//start timer
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586778#M21489</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586779#M21490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Wed Sep 23 15:57:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've copied RITI example and added TIMER32 Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with CT32B0, CT32B1, CT16B0 and CT16B1 with the same result: TC =0 always.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Onboard led toggles with CAP pin input correctly .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My board is a LPC1347 rev A.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your assistant&amp;nbsp; :) .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586779#M21490</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586780#M21491</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 Wed Sep 23 16:21:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: emimad&lt;/STRONG&gt;&lt;BR /&gt;I've copied RITI example and added TIMER32 Code.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code is also working here (although it's not a new created project)&amp;nbsp; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I suspect that your problem is a hardware problem&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586780#M21491</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586781#M21492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Thu Sep 24 00:51:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible that onboard led blinks depending CAP pin input... and TC remains =0??&amp;nbsp; :O &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586781#M21492</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586782#M21493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Wed Sep 30 10:10:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just received a new LPCXpresso board and I've programmed it with the same code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;y TC is still =0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe do I need to inicialize a CLK, pinmux or any more?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586782#M21493</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586783#M21494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Sun Oct 04 10:39:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Woow! I run the project in the IDE on other computer and the program works OK!&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've reinstalled IDE in my PC and LPCOpen libraries... but the problem persists&amp;nbsp; :~ &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what to do... it's so rare...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586783#M21494</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Any example to use CAPTURE PINS as pulse counters?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586784#M21495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emimad on Sun Oct 04 14:46:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why... but now it works&amp;nbsp; :~ &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Any-example-to-use-CAPTURE-PINS-as-pulse-counters/m-p/586784#M21495</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:25:04Z</dc:date>
    </item>
  </channel>
</rss>

