<?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: Interrupt triggering</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606176#M23618</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-content-finding="Community" data-objectid="283353" data-objecttype="3" href="https://community.nxp.com/people/dimitrissideris"&gt;Dimitris Sideris&lt;/A&gt;,,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;1. Can I change the sensitivity of the triggering of an interrupt?&lt;/P&gt;&lt;P&gt;Now, the ADC can support to select the trigger source (See Fig 1).&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/9891i4B9289C4D98F33D3/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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P&gt;2. Can I somehow filter values that are too low and trigger interrupt under a given threshold?&lt;/P&gt;&lt;P&gt;The ADC doesn't support the feature.&lt;/P&gt;&lt;P&gt;3. How do in general nvic interrupt handlers work? Where is their threshold specified?&lt;/P&gt;&lt;P&gt;About the NVIC, please refer to the Chapter 9 for details in the reference manual: UM10503.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2016 01:42:37 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2016-12-15T01:42:37Z</dc:date>
    <item>
      <title>Interrupt triggering</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606173#M23615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to handle some ADC interrupts but i have a more general question. I will try to explain my use case and use it as an example for the bigger picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an lpcxpresso 4367 mounted on a custom pcb.&lt;/P&gt;&lt;P&gt;I am using an analog PIR sensor so that i can catch different levels of motion and generate the appropriate interrupts as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i used lpcopen periph adc example as a code base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside adc example there is ADC0_IRQHandler function which is triggered every time a specific adc channel asserts some voltage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find out (but arm specifciation only says about level and edge sensitive interrupts) when an interrupt is triggered. When ADC0_IRQHandler in my example is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i change the sensitivity of the triggering of an interrupt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, in my example when no motion is detected the pir sensor generates mV that i dont care about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i somehow filter values that are too low and trigger interrupt under a given threshold?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do in general nvic interrupt handlers work? Where is their threshold specified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 14:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606173#M23615</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2016-12-13T14:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt triggering</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606174#M23616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="283353" data-username="dimitrissideris" href="https://community.nxp.com/people/dimitrissideris"&gt;Dimitris Sideris&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;/P&gt;&lt;P&gt;I'd highly recommend you refer to Chapter 47： LPC43xx/LPC43Sxx 10-bit ADC0/1 in the UM10503 which has illustrates the ADC operations in details, I think it can clarify you queries.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 07:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606174#M23616</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-12-14T07:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt triggering</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606175#M23617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I surely checked the file you mentioned. It is the first thing I check. I didn't find anything that clears up my questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please refer to it more specifically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 08:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606175#M23617</guid>
      <dc:creator>dimitrissideris</dc:creator>
      <dc:date>2016-12-14T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt triggering</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606176#M23618</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-content-finding="Community" data-objectid="283353" data-objecttype="3" href="https://community.nxp.com/people/dimitrissideris"&gt;Dimitris Sideris&lt;/A&gt;,,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;1. Can I change the sensitivity of the triggering of an interrupt?&lt;/P&gt;&lt;P&gt;Now, the ADC can support to select the trigger source (See Fig 1).&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/9891i4B9289C4D98F33D3/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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P&gt;2. Can I somehow filter values that are too low and trigger interrupt under a given threshold?&lt;/P&gt;&lt;P&gt;The ADC doesn't support the feature.&lt;/P&gt;&lt;P&gt;3. How do in general nvic interrupt handlers work? Where is their threshold specified?&lt;/P&gt;&lt;P&gt;About the NVIC, please refer to the Chapter 9 for details in the reference manual: UM10503.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 01:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-triggering/m-p/606176#M23618</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-12-15T01:42:37Z</dc:date>
    </item>
  </channel>
</rss>

