<?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: LPC11 timer capture</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528073#M9522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 09:37:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah... Sorry...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I'm learning fast, I hope ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The test project I'm using is attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:26:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:26:46Z</dc:date>
    <item>
      <title>LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528067#M9516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Mon Jul 13 05:52:55 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get the capture configured in order to measure the time between the edges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I have configured the following way:&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;Chip_IOCON_PinMux(LPC_IOCON, IOCON_PIO1_5, IOCON_MODE_INACT, IOCON_FUNC2);
Chip_TIMER_Init(LPC_TIMER32_0);
Chip_TIMER_TIMER_SetCountClockSrc(LPC_TIMER32_0, TIMER_CAPSRC_RISING_PCLK, 0);
Chip_TIMER_PrescaleSet(LPC_TIMER32_0, 1);//1=&amp;gt; every 2 PCLK clocks
Chip_TIMER_CaptureRisingEdgeEnable(LPC_TIMER32_0, 0);
Chip_TIMER_CaptureFallingEdgeEnable(LPC_TIMER32_0, 0);
Chip_TIMER_CaptureEnableInt(LPC_TIMER32_0, 0);
/* preemption = 1, sub-priority = 1 */
NVIC_SetPriority(TIMER_32_0_IRQn, 1);
NVIC_EnableIRQ(TIMER_32_0_IRQn);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but no interrupt (on TIMER32_0_IRQHandler()) is received.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing anything obviously wrong or am I missing something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528067#M9516</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528068#M9517</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 Jul 13 06:58:43 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;Am I doing anything obviously wrong...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you are posting code snippets&amp;nbsp; |( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've no clue if you start your timer somewhere or if you have an ISR at all...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528068#M9517</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528069#M9518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Mon Jul 13 07:41:05 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: nickich&lt;/STRONG&gt;&lt;BR /&gt;Am I doing anything obviously wrong...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, you are posting code snippets&amp;nbsp; |( &lt;BR /&gt;&lt;BR /&gt;So I've no clue if you start your timer somewhere or if you have an ISR at all...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks R2D2. I might well forgotten to start the timers... I'll double check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW. What's wrong with the code snippets being posted?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528069#M9518</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528070#M9519</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 Jul 13 08:04:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;BTW. What's wrong with the code snippets being posted?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not debuggable&amp;nbsp; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you post your main file or better your project, it's easy to load / flash / debug&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's a time-consuming guessing game and instead of getting a fast precise answer you might get no answer at all...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528070#M9519</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528071#M9520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Mon Jul 13 08:12:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah, I got it. Thanks. &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;BR /&gt;&lt;SPAN&gt;Here is the whole init and IRQ code.&lt;/SPAN&gt;&lt;BR /&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: nickich&lt;/STRONG&gt;&lt;BR /&gt;Am I doing anything obviously wrong...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, you are posting code snippets&amp;nbsp; |( &lt;BR /&gt;&lt;BR /&gt;So I've no clue if you start your timer somewhere or if you have an ISR at all...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks R2D2. Sorry for the snipped. That was actually the whole init routine at the time...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the whole code, which I expect to fire interrupt on edge change, where I can read the time between edges. Unfortunately no interrupt happens...&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;
#define CAPDATA_SIZE256
static uint32_t capdata[CAPDATA_SIZE];
static int capdataidx = 0;
void TIMER32_0_IRQHandler(void)
{
__disable_irq();
if(capdataidx &amp;lt; CAPDATA_SIZE)
{
capdata[capdataidx++] = Chip_TIMER_ReadCount(LPC_TIMER32_0);
}
__enable_irq();
}

void cap_init(void)
{
capdataidx = 0;
Chip_IOCON_PinMux(LPC_IOCON, IOCON_PIO1_5, IOCON_MODE_INACT, IOCON_FUNC2);
Chip_TIMER_Init(LPC_TIMER32_0);

Chip_TIMER_Disable(LPC_TIMER32_0);
Chip_TIMER_TIMER_SetCountClockSrc(LPC_TIMER32_0, TIMER_CAPSRC_RISING_PCLK, 0);
Chip_TIMER_PrescaleSet(LPC_TIMER32_0, 1);//1=&amp;gt; every 2 PCLK clocks
Chip_TIMER_CaptureRisingEdgeEnable(LPC_TIMER32_0, 0);
Chip_TIMER_CaptureFallingEdgeEnable(LPC_TIMER32_0, 0);
Chip_TIMER_CaptureEnableInt(LPC_TIMER32_0, 0);
/* preemption = 1, sub-priority = 1 */
NVIC_SetPriority(TIMER_32_0_IRQn, 1);
NVIC_EnableIRQ(TIMER_32_0_IRQn);
Chip_TIMER_Reset(LPC_TIMER32_0);
Chip_TIMER_Enable(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;and the main is mostly:&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;SystemCoreClockUpdate();
Board_Init();
Board_LED_Set(0, false);

cap_init();

UART_Init();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAN_Init();
UART_Start();

while (1)
{
}

/* DeInitialize UART0 peripheral */
NVIC_DisableIRQ(UART0_IRQn);
Chip_UART_DeInit(LPC_USART);

return 1;
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The UART init 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;void UART_Init(void)
{
Init_UART_PinMux();
/* Setup UART for 115.2K8N1 */
Chip_UART_Init(LPC_USART);
Chip_UART_SetBaud(LPC_USART, 1500000);
Chip_UART_ConfigData(LPC_USART, (UART_LCR_WLEN8 | UART_LCR_SBS_1BIT));
Chip_UART_SetupFIFOS(LPC_USART, (UART_FCR_FIFO_EN | UART_FCR_TRG_LEV2));
Chip_UART_TXEnable(LPC_USART);
/* Before using the ring buffers, initialize them using the ring
&amp;nbsp;&amp;nbsp; buffer init function */
RingBuffer_Init(&amp;amp;rxring, rxbuff, 1, UART_RRB_SIZE);
RingBuffer_Init(&amp;amp;txring, txbuff, 1, UART_SRB_SIZE);
}

void UART_Start(void)
{
/* Enable receive data and line status interrupt */
Chip_UART_IntEnable(LPC_USART, (UART_IER_RBRINT | UART_IER_RLSINT));

/* preemption = 1, sub-priority = 1 */
NVIC_SetPriority(UART0_IRQn, 1);
NVIC_EnableIRQ(UART0_IRQn);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...that's most of the initialization...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528071#M9520</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528072#M9521</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 Jul 13 15:40:22 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;Here is the whole code...&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;And again, code snippets...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, there's still much time to pass until christmas&amp;nbsp; :D &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;So I don't know what's your problem in detail, but your interrupt handler in nonsense. You don't clear the capture interrupt, as explained in several capture samples (&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%2Flpc1114-my-isr-using-timer16-on-lpcxpresso" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/lpc1114-my-isr-using-timer16-on-lpcxpresso&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If an interrrupt is triggered, your code is never leaving the handler...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528072#M9521</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528073#M9522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 09:37:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah... Sorry...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I'm learning fast, I hope ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The test project I'm using is attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528073#M9522</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528074#M9523</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 Jul 14 09:48:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;...but I'm learning fast, I hope ;)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...then debug your interrupt handler and watch IR register...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528074#M9523</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528075#M9524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 10:00:31 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: nickich&lt;/STRONG&gt;&lt;BR /&gt;...but I'm learning fast, I hope ;)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;...then debug your interrupt handler and watch IR register...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;well, that's not much helpful...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528075#M9524</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528076#M9525</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 Jul 14 10:16:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What's not helpful?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've posted a link to a working example, I've explained you that your handler isn't clearing the capture interrupt (as shown in sample)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528076#M9525</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528077#M9526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 10:43:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The interrupt event doesn't happen at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the code to clear the interrupt (in case it happens).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IR register doesn't show pending interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. I'll have another look at the link.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528077#M9526</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528078#M9527</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 Jul 14 11:03:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;The interrupt event doesn't happen at all.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then check PIO1_5. You switched it to pull-up / pull-down inactive, so what are you doing to trigger an interrupt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528078#M9527</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528079#M9528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 11:10:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm toggling it with square wave signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried pull-up - still nothing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528079#M9528</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528080#M9529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 11:37:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for the sake... The same code modified for TIMER16_0 works fine. TIMER32_0 doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any difference in configuration between them that I'm missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528080#M9529</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528081#M9530</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 Jul 14 11:47:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Toggling PIO1_5 with 2V / 100Hz is generating interrupts here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img=1250x801]&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2FCapture_1.JPG%5B%2Fimg%5D" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/system/files/Capture_1.JPG[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which hardware are you using? Is it a LPCXpresso11C24 board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be useful to change the board, perhaps PIO1_5 is damaged&amp;nbsp; :(( &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528081#M9530</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528082#M9531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 11:53:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the same project I've posted?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, I'm thinking it could be a HW issue as well, although I'm using brand new LPCXpresso (LPC11C24 Rev B) board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to find another board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528082#M9531</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528083#M9532</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 Jul 14 11:59:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;Is this the same project I've posted?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I just added &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;Board_LED_Toggle(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;to scope the interrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course you can also try to use Timer32B1&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;&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528083#M9532</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528084#M9533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickich on Tue Jul 14 13:00:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good suggestion! Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528084#M9533</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 timer capture</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528085#M9534</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 Jul 14 23:44:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickich&lt;/STRONG&gt;&lt;BR /&gt;Just for the sake... The same code modified for TIMER16_0 works fine. TIMER32_0 doesn't.&lt;BR /&gt;Is there any difference in configuration between them that I'm missing?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, that's the same mechanism, but there are a few pifalls&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;- Some CAP inputs can be switched&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;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; In your case: IOCON_CT32B0_CAP0_LOC can select PIO2_9 as CT32B0_CAP0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- If the pin has an AD function, it's necessary to select 'Digital functional mode'&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;&amp;nbsp; &lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;Chip_IOCON_PinMux(LPC_IOCON, IOCON_PIO1_0, IOCON_MODE_PULLUP |[color=#f00] IOCON_DIGMODE_EN[/color], IOCON_FUNC3);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-timer-capture/m-p/528085#M9534</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:53Z</dc:date>
    </item>
  </channel>
</rss>

