<?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: What is the best timer? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907489#M36346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we want to know is not how to use ADC.&lt;/P&gt;&lt;P&gt;Whether synchronized signals with different cycles can be generated using only the built-in timer.&lt;/P&gt;&lt;P&gt;External logic is required at twice the frequency for the ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to use the timer to make it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&amp;nbsp;&lt;/P&gt;&lt;P&gt;George.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2019 11:16:09 GMT</pubDate>
    <dc:creator>george</dc:creator>
    <dc:date>2019-05-07T11:16:09Z</dc:date>
    <item>
      <title>What is the best timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907487#M36344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are developing the product using LPC54608.&lt;/P&gt;&lt;P&gt;The synchronization between&amp;nbsp;Internal ADC and External Logic is very important for our product.&lt;/P&gt;&lt;P&gt;We want to use the timer which LPC has and to generate timing as shown in the following figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/80761iC1E910E3DC514935/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&gt;Please let me know timer which was suitable in order to generate such a timing signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 08:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907487#M36344</guid>
      <dc:creator>george</dc:creator>
      <dc:date>2019-04-24T08:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907488#M36345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, George,&lt;/P&gt;&lt;P&gt;First of all, the ADC converter of LPC546xx supports the external pin triggering mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;In other words, you can connect the ADC external triggering signal to any PIO0_x or PIO1_x, in detail, PIO0_0~ PIO0_31 or PIO1_0 ~ PIO1_31, but you can not connect the other pins.&lt;/P&gt;&lt;P&gt;For example, you can connect the external triggering signal to PIO0_0, you can select the GINT0 by set the SEQA_CTRL[TRIGGER]=1. If you want to have the external trigger signal WITHOUT synchronization as you desired, you have to set the SYNCBYPASS bit by SEQA_CTRL[SYNCBYPASS ]=1. If you want&amp;nbsp; negative edge trigger, set SEQA_CTRL[TRIGPOL]=0. Regarding the pin setting, you can set the PORT_POL0[0]=0, PORT_ENA0[0]=1&lt;/P&gt;&lt;P&gt;For detailed inf, pls refer to Chapter 14: LPC546xx Group GPIO input interrupt (GINT0/1) in UM10912.pdf&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&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/80878i429A6CC49718D45F/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 05:31:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907488#M36345</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-04-25T05:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907489#M36346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we want to know is not how to use ADC.&lt;/P&gt;&lt;P&gt;Whether synchronized signals with different cycles can be generated using only the built-in timer.&lt;/P&gt;&lt;P&gt;External logic is required at twice the frequency for the ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to use the timer to make it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&amp;nbsp;&lt;/P&gt;&lt;P&gt;George.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 11:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907489#M36346</guid>
      <dc:creator>george</dc:creator>
      <dc:date>2019-05-07T11:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907490#M36347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, George,&lt;/P&gt;&lt;P&gt;Regarding your question that you want to&amp;nbsp;implement a divider by TWO with Timer and use the Timer output signal to trigger ADC converter, I think you can use on-chip CTimerx to implement it, and the CTimerx output signal can trigger ADC.&lt;/P&gt;&lt;P&gt;For example, as the above Figure, the CTimer0_MAT3 can trigger ADC, so you can use CTimer3_MAT3 to trigger ADC. You can configure the CTimer0 to count your external clock in Timer mode, set the modulo value(match value) as 1, when the CTimer0 counter reaches up to 1, toggle the external pin. In this way, the CTimer external pin signal is the 2 divider. But I do not know whether it is possible to set the modulo as 1, you have to have a try.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 05:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907490#M36347</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-05-08T05:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907491#M36348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiangjun&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your advice is a little different from our needs.&lt;/P&gt;&lt;P&gt;But you gave us enough hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 01:51:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-the-best-timer/m-p/907491#M36348</guid>
      <dc:creator>george</dc:creator>
      <dc:date>2019-05-14T01:51:13Z</dc:date>
    </item>
  </channel>
</rss>

