<?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: CTIMER one-shot setup?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092396#M41859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ - Thanks but I must use SCTIMER for a different purpose.&lt;BR /&gt;Is it not possible to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use a capture channel to start the timer from an input pin,&lt;/LI&gt;&lt;LI&gt;use a match channel to drive output low&lt;/LI&gt;&lt;LI&gt;use a 2nd match channel to stop+reset timer&lt;/LI&gt;&lt;LI&gt;on stop+reset of timer, output pin should again go high&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this not correct?&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2020 13:20:18 GMT</pubDate>
    <dc:creator>davenadler</dc:creator>
    <dc:date>2020-04-14T13:20:18Z</dc:date>
    <item>
      <title>CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092394#M41857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really simple question, I hope!&lt;BR /&gt;I need to set up a one-shot timer, one external trigger pin, one output pin, which:&lt;/P&gt;&lt;P&gt;- timer starts on external trigger (for example positive transition)&lt;BR /&gt;- after 5usec, sets output pin to 0&lt;/P&gt;&lt;P&gt;- after 10usec, timer stops and pin reverts to 1&lt;BR /&gt;- next positive transition on external trigger, repeat the above steps...&lt;/P&gt;&lt;P&gt;How do I do this with a CTIMER (on LPC55S12)?&lt;BR /&gt;Thanks!&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 22:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092394#M41857</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2020-04-13T22:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092395#M41858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="288164" data-username="davenadler" href="https://community.nxp.com/people/davenadler"&gt;Dave Nadler&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;I'm afraid CTIMER's too hard to implement your application, so I'd like to suggest you use the SCTimer/PWM (SCT) to do it.&lt;BR /&gt;in addition, I've attached an application note which is a collection of examples and usage notes for the SCTimer/PWM block used in NXP microcontrollers, please refer to it for details.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&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;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&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;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 03:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092395#M41858</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-14T03:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092396#M41859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ - Thanks but I must use SCTIMER for a different purpose.&lt;BR /&gt;Is it not possible to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use a capture channel to start the timer from an input pin,&lt;/LI&gt;&lt;LI&gt;use a match channel to drive output low&lt;/LI&gt;&lt;LI&gt;use a 2nd match channel to stop+reset timer&lt;/LI&gt;&lt;LI&gt;on stop+reset of timer, output pin should again go high&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this not correct?&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 13:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092396#M41859</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2020-04-14T13:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092397#M41860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="288164" data-objecttype="3" href="https://community.nxp.com/people/davenadler"&gt;Dave Nadler&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) Is this not correct?&lt;BR /&gt;-- Except t the first operation, the CTIMER is available to do the rest of operations, as CTIMER doesn't support to trigger the timer's counter starts to run via capture pin, however, you can use a GPIO pin to detect the external signal instead of capture pin, then enable the timer's counter.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&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;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&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;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 03:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092397#M41860</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-15T03:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092398#M41861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ - I'm looking at UM11126 LPC55S6x/LPC55S2x/LPC552x User manual Rev. 1.9 — 15 November 2019. In chapter 25, please see Table 544. Count Control Register (CTCR, offset 0x070), SELCC field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bits 7:4 of this register are also used to enable and configure the capture-clears-timer&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;feature. This feature allows for a designated edge on a particular CAP input to reset the&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;timer to all zeros. Using this mechanism to clear the timer on the leading edge of an input&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;pulse and performing a capture on the trailing edge, permits direct pulse-width&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;measurement using a single capture input without the need to perform a subtraction&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;operation in software.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not what I am looking for??&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092398#M41861</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2020-04-15T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092399#M41862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="288164" data-objecttype="3" href="https://community.nxp.com/people/davenadler"&gt;Dave Nadler&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) Is this not what I am looking for??&lt;BR /&gt;-- I think it's available to implement your purpose via configuring the SELCC filed.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&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;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&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;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 02:13:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092399#M41862</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-16T02:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092400#M41863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ - Are you sure? Does this turn on the timer if it is not already running??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092400#M41863</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2020-04-16T12:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: CTIMER one-shot setup?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092401#M41864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="288164" data-objecttype="3" href="https://community.nxp.com/people/davenadler"&gt;Dave Nadler&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) Are you sure?&lt;BR /&gt;-- Yes.&lt;BR /&gt;2)&amp;nbsp; Does this turn on the timer if it is not already running??&lt;BR /&gt;-- No, I don't think so.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&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;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&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;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 02:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CTIMER-one-shot-setup/m-p/1092401#M41864</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-17T02:43:06Z</dc:date>
    </item>
  </channel>
</rss>

