<?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 Re: How can I configure pulse counter by timer? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683659#M27516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="299224" data-username="leeyoungjae" href="https://community.nxp.com/people/leeyoungjae"&gt;LEE Young Jae&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I think the interrupt handler cost too much to response the match event occur on time, so I'd like to suggest that you can use the following function to toggle &lt;STRONG style="font-variant: normal; color: #000000; font-size: 9pt; font-style: normal;"&gt;T1_MAT1 pin &lt;/STRONG&gt;instead of the interrupt way.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chip_TIMER_ExtMatchControlSet(LPC_TIMER1, False,TIMER_EXTMATCH_TOGGLE1);&lt;/STRONG&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 08:54:24 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2017-05-26T08:54:24Z</dc:date>
    <item>
      <title>How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683656#M27513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;How can I configure pulse counter by timer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Test Board : LPC-Link2. (MCU : LPC4370)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Develop Env : LPCXpresso&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Example Code : LPC Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Target : 8MHz Pulse counter by timer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I am trying make pulse counter by timer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I have executed periph_blinky for testing timer1 that is working timer interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;This example code working for 10Hz tick rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;But It is not enough for My project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I modified code for tick rate 8MHz(8000000) from 10 Hz(10) but I couldn't get 8MHz tick rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;My project is working ADCHS that is 8MHz pulse counter by Hardware trigger of GPIO or SCT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I am checking ADC external triggers in UM10503-User-Manual &amp;nbsp;(1357 Page )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;If i configure 8MHz pulse counter of timer and selecting GIMA &amp;nbsp;It will be worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20905iA8C9C490695D2980/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;for GIMA register ( 454 pate )&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20906i3B09876DE8AC6722/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Question&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1. How can i configure 8MHz pulse counter by timer?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- Please let me know step by step if you can , I am beginner for LPC4370 ^^&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2. How can i check &amp;nbsp;pulse counter after setup 8MHz pulse counter ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- Using toggled GPIO ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;3. if you have better idea for my project Please Let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- I have to get analog result from scanner device which is external device and make analog signal by 8MHz clock&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- the following timing chart is for scanner device.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- Meaning is " I have to generate 8MHz clock and send to device.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- and that clock will be used hardware trigger for SYNC.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 10:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683656#M27513</guid>
      <dc:creator>leeyoungjae</dc:creator>
      <dc:date>2017-05-17T10:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683657#M27514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="299224" data-username="leeyoungjae" href="https://community.nxp.com/people/leeyoungjae"&gt;LEE Young Jae&lt;/A&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 16px; line-height: 1.5; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 13px;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 16px; line-height: 1.5; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 13px;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 16px; line-height: 1.5; background-color: #ffffff;"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 13px; color: #000000;"&gt;1. How can i configure 8MHz pulse counter by timer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="font-size: 13px;"&gt;&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; The periph_timers demo is the better choice to achieve your goal, and you'd better to have a through over the Chapter 32: LPC43xx/LPC43Sxx in the reference manual.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 13px; color: #000000;"&gt;2. How can i check &amp;nbsp;pulse counter after setup 8MHz pulse counter ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Using oscilloscope is Ok.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;Have a great day,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;TIC&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 02:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683657#M27514</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-25T02:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683658#M27515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Dear&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;jeremyzhou,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;I have tested by your way. but I couldn't make 8MHz timer interrupt.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;MAX speed : 1.6MHz &amp;nbsp;--&amp;gt; Using Oscilloscope&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;You can see the following code, I changed the Match counter value 250000000 from 5.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;if I have to use another way, Please let me you idea or your way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;static void timer_setup(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// uint32_t timerFreq;&lt;/P&gt;&lt;P&gt;/* Enable timer 1 clock and reset it */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Chip_TIMER_Init(LPC_TIMER1);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Chip_RGU_TriggerReset(RGU_TIMER1_RST);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;while (Chip_RGU_InReset(RGU_TIMER1_RST)) {}&lt;/P&gt;&lt;P&gt;/* Timer setup for match and interrupt at SAMPLERATE */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Chip_TIMER_Reset(LPC_TIMER1);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Chip_TIMER_MatchEnableInt(LPC_TIMER1, 1);&lt;/P&gt;&lt;P&gt;/* Get timer 1 peripheral clock rate */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Orignal code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Chip_TIMER_SetMatch(LPC_TIMER1, 1, (Chip_Clock_GetRate(CLK_MX_TIMER1) / 5)); // 5 Hz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_TIMER_SetMatch(LPC_TIMER1, 1, (Chip_Clock_GetRate(CLK_MX_TIMER1) / &lt;SPAN&gt;25000000&lt;/SPAN&gt;)); //8 MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_TIMER_ResetOnMatchEnable(LPC_TIMER1, 1);&lt;BR /&gt; Chip_TIMER_Enable(LPC_TIMER1);&lt;/P&gt;&lt;P&gt;/* Enable timer interrupt */&lt;BR /&gt; NVIC_EnableIRQ(TIMER1_IRQn);&lt;BR /&gt; NVIC_ClearPendingIRQ(TIMER1_IRQn);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 01:27:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683658#M27515</guid>
      <dc:creator>leeyoungjae</dc:creator>
      <dc:date>2017-05-26T01:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683659#M27516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="299224" data-username="leeyoungjae" href="https://community.nxp.com/people/leeyoungjae"&gt;LEE Young Jae&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I think the interrupt handler cost too much to response the match event occur on time, so I'd like to suggest that you can use the following function to toggle &lt;STRONG style="font-variant: normal; color: #000000; font-size: 9pt; font-style: normal;"&gt;T1_MAT1 pin &lt;/STRONG&gt;instead of the interrupt way.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chip_TIMER_ExtMatchControlSet(LPC_TIMER1, False,TIMER_EXTMATCH_TOGGLE1);&lt;/STRONG&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 08:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683659#M27516</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-26T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683660#M27517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar issue with LPC_TIMER2. Our application needs a timer interrupt with a rate of at least 20MHz. Similar settings (refer to timer.c in sample project periph_timers) are used. The highest interrupt rate achieved is 1.6MHz rather the expected 20MHz. In my application, the timer2 ISR does nothing but increments a counter. When the counter reaches a threshold, say 5000000, the program stops and we record the time elapsed. It was noticed the elapsed time is changed as expected when the frequency is lower than 2MHz and then ceases changing after 2MHz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 13:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/683660#M27517</guid>
      <dc:creator>stevenjin</dc:creator>
      <dc:date>2018-06-15T13:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure pulse counter by timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/1169125#M42598</link>
      <description>&lt;P&gt;Dear all I am beginner to this controller please tell me how to configure Timer in LPC4337 using library and if any calculation regarding time period please let me know.&lt;/P&gt;&lt;P&gt;i already gone through Datasheets and user manual but i am first time working on driver based code please help me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 11:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-configure-pulse-counter-by-timer/m-p/1169125#M42598</guid>
      <dc:creator>Vyankatesh_ATL1</dc:creator>
      <dc:date>2020-10-17T11:13:20Z</dc:date>
    </item>
  </channel>
</rss>

