<?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: ADC triggering from external pin in LPC54608J512BD208 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-triggering-from-external-pin-in-LPC54608J512BD208/m-p/1014322#M39718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="328626" data-username="prasannanaik" href="https://community.nxp.com/people/prasannanaik" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Prasanna Naik&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have checked, there is no LPC54608 hardware trigger adc demo code. But user can easily modify it based on software trigger demo code under MCUXpresso SDK folder, for example, ..\boards\lpcxpresso54608\driver_examples\adc\lpc_adc_basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please make sure this software trigger adc code can function well on your side. then modify it to hardware trigger.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To use external pin triggers for ADC conversions, assign the pin triggers to a pin via IOCON.In addition to assigning the pin triggers to a pin, they must also be selected in the conversion sequence registers for each ADC conversion sequence defined.&lt;/P&gt;&lt;P&gt;The hardware trigger can be selected independently for each of the two conversion sequences in the ADC SEQA_CTRL or SEQB_CTRL registers by programming the hardware trigger input # into the TRIGGER bits.&lt;/P&gt;&lt;P&gt;There are 11 hardware trigger sources available. Software can select among hardware triggers.&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/94293i5FB7CF33BE1A25F4/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&gt;&lt;/P&gt;&lt;P&gt;Please try it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Mon, 11 Nov 2019 04:50:29 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2019-11-11T04:50:29Z</dc:date>
    <item>
      <title>ADC triggering from external pin in LPC54608J512BD208</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-triggering-from-external-pin-in-LPC54608J512BD208/m-p/1014321#M39717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to trigger 8 channels of ADC of LPC54608J512BD208 from an external pin&amp;nbsp;&amp;nbsp;( ADC0_PINTRIG0 ). This trigger is controlled through a group GPIO pin interrupt. As per my understanding any port pin can be linked to Group GPIO pin interrupt and can be used as ADC pin trigger. I couldn't find any reference code for the same. Can you please help me out with all the data and demo code of ADC triggering through external pin.&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;P&gt;cc:&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gauravmore"&gt;gauravmore&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 06:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-triggering-from-external-pin-in-LPC54608J512BD208/m-p/1014321#M39717</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2019-11-07T06:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: ADC triggering from external pin in LPC54608J512BD208</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-triggering-from-external-pin-in-LPC54608J512BD208/m-p/1014322#M39718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="328626" data-username="prasannanaik" href="https://community.nxp.com/people/prasannanaik" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Prasanna Naik&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have checked, there is no LPC54608 hardware trigger adc demo code. But user can easily modify it based on software trigger demo code under MCUXpresso SDK folder, for example, ..\boards\lpcxpresso54608\driver_examples\adc\lpc_adc_basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please make sure this software trigger adc code can function well on your side. then modify it to hardware trigger.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To use external pin triggers for ADC conversions, assign the pin triggers to a pin via IOCON.In addition to assigning the pin triggers to a pin, they must also be selected in the conversion sequence registers for each ADC conversion sequence defined.&lt;/P&gt;&lt;P&gt;The hardware trigger can be selected independently for each of the two conversion sequences in the ADC SEQA_CTRL or SEQB_CTRL registers by programming the hardware trigger input # into the TRIGGER bits.&lt;/P&gt;&lt;P&gt;There are 11 hardware trigger sources available. Software can select among hardware triggers.&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/94293i5FB7CF33BE1A25F4/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&gt;&lt;/P&gt;&lt;P&gt;Please try it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Mon, 11 Nov 2019 04:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-triggering-from-external-pin-in-LPC54608J512BD208/m-p/1014322#M39718</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-11T04:50:29Z</dc:date>
    </item>
  </channel>
</rss>

