<?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: LPC55xx ADC external trigger in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1551690#M50664</link>
    <description>&lt;P&gt;I suppose you will need to read the user manual in detail, especially the ADC section.&lt;BR /&gt;I don't use a LPC55xx, but assume it is not different than on other LPC MCUs.&lt;/P&gt;&lt;P&gt;An external trigger requires physical connection from the GPIO to the ADC peripheral on the silicon, thus there are usually only one or two pins to select from. Which one's can usually be found in the description of trigger source config register for the ADC peripheral.&lt;/P&gt;&lt;P&gt;By the way, I never really had the need to run the ADC using an external trigger.&lt;BR /&gt;Unless you require a very low jitter and delay, you could use a timer as trigger, and "gate" the results with the external trigger. Which means, either use or discard the ADC values depending on the gate input.&lt;BR /&gt;The advantage would be a more consistent timing (assuming interrupts).&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 06:46:59 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2022-11-10T06:46:59Z</dc:date>
    <item>
      <title>LPC55xx ADC external trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1551012#M50658</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I read in the LPC5526JBD100_User_Manual_11126 UM11126 manual that AD conversion can be trigger using external pins&lt;/P&gt;&lt;P&gt;I'm sorry but, since I'm new in NXP world, I can't understand if there are two dedicated pins or any GPIO pin can be used.&lt;/P&gt;&lt;P&gt;could you help me to solve the question ?&lt;/P&gt;&lt;P&gt;Thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 11:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1551012#M50658</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2022-11-09T11:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC external trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1551690#M50664</link>
      <description>&lt;P&gt;I suppose you will need to read the user manual in detail, especially the ADC section.&lt;BR /&gt;I don't use a LPC55xx, but assume it is not different than on other LPC MCUs.&lt;/P&gt;&lt;P&gt;An external trigger requires physical connection from the GPIO to the ADC peripheral on the silicon, thus there are usually only one or two pins to select from. Which one's can usually be found in the description of trigger source config register for the ADC peripheral.&lt;/P&gt;&lt;P&gt;By the way, I never really had the need to run the ADC using an external trigger.&lt;BR /&gt;Unless you require a very low jitter and delay, you could use a timer as trigger, and "gate" the results with the external trigger. Which means, either use or discard the ADC values depending on the gate input.&lt;BR /&gt;The advantage would be a more consistent timing (assuming interrupts).&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 06:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1551690#M50664</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-10T06:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC external trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553206#M50688</link>
      <description>&lt;P&gt;Dear Frank,&lt;/P&gt;&lt;P&gt;thank you very much for your reply.&lt;/P&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&amp;gt;I suppose you will need to read the user manual in detail, especially the ADC section.&lt;/P&gt;&lt;P&gt;I read the ADC setction but I noticed only the table that you chan see in the attached file.&lt;/P&gt;&lt;P&gt;So I suppose that, since the LPC55xx can handle up to 8 externa interrupt, only the first two (0 and 1) can be used as external ADC trigger. Of course they can routed to several phisical external pin.&lt;/P&gt;&lt;P&gt;Could you confirm if I'm rigth ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you also wrote:&lt;/P&gt;&lt;P&gt;&amp;gt;By the way, I never really had the need to run the ADC using an external trigger.&lt;BR /&gt;&amp;gt;Unless you require a very low jitter and delay, you could use a timer as trigger, and "gate" the results &amp;gt;with the external trigger. Which means, either use or discard the ADC values depending on the gate i&amp;gt;nput.&lt;BR /&gt;&amp;gt;The advantage would be a more consistent timing (assuming interrupts).&lt;/P&gt;&lt;P&gt;Yes you are right. Unfortunately I have external asynchronous event&lt;/P&gt;&lt;P&gt;Thank you for very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 09:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553206#M50688</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2022-11-14T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC external trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553292#M50690</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; So I suppose that, since the LPC55xx can handle up to 8 externa interrupt, only the first two (0 and 1) can be used as external ADC trigger. Of course they can routed to several phisical external pin.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the respective section in the LPC546xx user manual, a MCU I am using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_meyer_0-1668426539532.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200227iDCFFEBBD73098965/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_meyer_0-1668426539532.png" alt="frank_meyer_0-1668426539532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_meyer_1-1668426583661.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200228i801C85A8F3971CB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_meyer_1-1668426583661.png" alt="frank_meyer_1-1668426583661.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I expect the LPC55 family to be very similiar in this regard.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; Yes you are right. Unfortunately I have external asynchronous event&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unless a jitter/delay of not more than a couple of nanoseconds is essential, I would go for a timer-triggered ADC conversion. Especially if it is not a single-shot conversion.&lt;BR /&gt;For the external asynchronous event, I would use ext. pin interrupt, and set a flag in the handler routine that enables the ADC conversion/storage.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But that depends on the exact project requirements that are unknown to me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 11:55:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553292#M50690</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-11-14T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55xx ADC external trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553336#M50691</link>
      <description>&lt;P&gt;Ok, thank you&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-ADC-external-trigger/m-p/1553336#M50691</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2022-11-14T13:24:16Z</dc:date>
    </item>
  </channel>
</rss>

