<?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: LPC55xx ADC timer trigger</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1749171#M54583</link>
    <description>&lt;P&gt;I had the same question. But I didn't want to use the "toggle" of the output. I was able to set up the CTIMER MAT3 output in PWM mode.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put the desired time interval into the MR[0] register.&lt;/LI&gt;&lt;LI&gt;Put 1 in the MR[3] register.&lt;/LI&gt;&lt;LI&gt;In the MCR register, set the MR0R bit.&lt;/LI&gt;&lt;LI&gt;In PWMC register, set the PWMEN3 bit.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The MAT3 output should turn on when the TC == 1 (which is MR[3]), and off when TC == MR[0], and TC is reset to zero at the same time.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 01:36:17 GMT</pubDate>
    <dc:creator>craigmcqueenir</dc:creator>
    <dc:date>2023-11-01T01:36:17Z</dc:date>
    <item>
      <title>LPC55xx ADC timer trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1568625#M51002</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;In my project I have to&amp;nbsp; use hardware triggers to start ADC conversion.&lt;/P&gt;&lt;P&gt;In the LPC5526JBD64_User_Manual_11126.pdf I read:&lt;/P&gt;&lt;P&gt;"When a hardware trigger input is enabled, hardware trigger events are detected on the&lt;BR /&gt;rising-edge of the associated hardware trigger source. The hardware trigger event must&lt;BR /&gt;be high for 1.5 ADCK cycles."&lt;/P&gt;&lt;P&gt;It is very clear: if I use an external trigger it is asserted only on rising-edge.&lt;/P&gt;&lt;P&gt;But it is not so clear if it is the same for internal trigger (es State Counter Timer (CTIMER) ct0_mat3_out; trigger 5). It seems that ADC conversion starts every two ct0_mat3_out events.&lt;/P&gt;&lt;P&gt;Could you, please, explain better ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for you help and cooperation&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 23:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1568625#M51002</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2022-12-12T23:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC timer trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1569048#M51009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think this part of the ADC documentation is abundantly unclear. I had a hard time relating the number of the hardware trigger source with the number of the trigger control register (e.g., TCTRL9 is invariably associated with external match register 3 of CTIMER4).&lt;/P&gt;&lt;P&gt;To answer your question, yes, a hardware source triggers only on the positive edge (e.g. when the respective bit in external match register EMR changes from 0 to 1). Thus if you configure EMR[EMC3] timer to &lt;STRONG&gt;toggle&lt;/STRONG&gt; this bit, this will effectively double the cycle time.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:50:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1569048#M51009</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2022-12-13T14:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC timer trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1749171#M54583</link>
      <description>&lt;P&gt;I had the same question. But I didn't want to use the "toggle" of the output. I was able to set up the CTIMER MAT3 output in PWM mode.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put the desired time interval into the MR[0] register.&lt;/LI&gt;&lt;LI&gt;Put 1 in the MR[3] register.&lt;/LI&gt;&lt;LI&gt;In the MCR register, set the MR0R bit.&lt;/LI&gt;&lt;LI&gt;In PWMC register, set the PWMEN3 bit.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The MAT3 output should turn on when the TC == 1 (which is MR[3]), and off when TC == MR[0], and TC is reset to zero at the same time.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 01:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-timer-trigger/m-p/1749171#M54583</guid>
      <dc:creator>craigmcqueenir</dc:creator>
      <dc:date>2023-11-01T01:36:17Z</dc:date>
    </item>
  </channel>
</rss>

