<?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: LPC546 ADC with interrupt is not working in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988755#M38947</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-objectid="340973" data-objecttype="3" href="https://community.nxp.com/people/s-mwittw@haw-landshut.de"&gt;Michael Wittwer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I've attached an ADC interrupt demo which is from the SDK library for the LPC54628, I run it in the MCUXpresso and it can enter the ADC's interrupt function, please refer to it for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 18 Dec 2019 08:24:37 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-12-18T08:24:37Z</dc:date>
    <item>
      <title>LPC546 ADC with interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988752#M38944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;we try to initialize the ADC module of the LPC54616J512.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim is to simply start a conversion by Software in the while loop and wait for the result. This is indicated in a flag that is set in the corresponding ISR of the ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to accomplish that with the help of the ConfigTool in MCUXpresso&amp;nbsp;and some extra lines in the main ( mostly taken from the ADC-example with interrupts from the SDK examples ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging results: the Interrupt never occurs -&amp;gt; Flag is never set to true&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to get the ADC running and check results without ISR like it is done in the basic ADC example, but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most important code lines: ( The entire project is in the attachment )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96854i82E7495CC8871602/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and the BOARD_InitBootPeripherals() generated by the ConfigTool:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96855iD243E527E7A14A59/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope anybody can help.&lt;/P&gt;&lt;P&gt;Thank you in advance :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Michael&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 17:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988752#M38944</guid>
      <dc:creator>s-mwittw</dc:creator>
      <dc:date>2019-12-16T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546 ADC with interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988753#M38945</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="340973" data-username="s-mwittw@haw-landshut.de" href="https://community.nxp.com/people/s-mwittw@haw-landshut.de"&gt;Michael Wittwer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support, I'd like to suggest you refer to the ADC demo in the SDK library, please refer to it for details.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools/mcuxpresso-software-development-kit-sdk:MCUXpresso-SDK" title="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools/mcuxpresso-software-development-kit-sdk:MCUXpresso-SDK"&gt;MCUXpresso SDK | Software Development for Kinetis, LPC, and i.MX MCUs | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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>Tue, 17 Dec 2019 02:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988753#M38945</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-12-17T02:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546 ADC with interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988754#M38946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we used&amp;nbsp;&lt;A class="" data-no-sdk-example-info="" data-original-title="Download SDK archive and documentation" data-pk="214259" data-sdk-version="2.6.0" href="https://mcuxpresso.nxp.com/en/dashboard" style="color: #337ab7; background-color: transparent; text-decoration: none; font-size: 16px; margin-right: 6px;" tabindex="-1" title=""&gt;SDK_2.6.0_LPC54616J512&lt;/A&gt;&amp;nbsp;from the SDK builder and the ADC interrupt demo, but no interrupt occurs there it seems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 08:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988754#M38946</guid>
      <dc:creator>s-mwittw</dc:creator>
      <dc:date>2019-12-17T08:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546 ADC with interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988755#M38947</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-objectid="340973" data-objecttype="3" href="https://community.nxp.com/people/s-mwittw@haw-landshut.de"&gt;Michael Wittwer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I've attached an ADC interrupt demo which is from the SDK library for the LPC54628, I run it in the MCUXpresso and it can enter the ADC's interrupt function, please refer to it for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 18 Dec 2019 08:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546-ADC-with-interrupt-is-not-working/m-p/988755#M38947</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-12-18T08:24:37Z</dc:date>
    </item>
  </channel>
</rss>

