<?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: LPC1347 Level Interrupts, lpcware, MCUXpresso</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-Level-Interrupts-lpcware-MCUXpresso/m-p/984629#M38828</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="289162" data-username="ronkreymborg" href="https://community.nxp.com/people/ronkreymborg"&gt;Ron Kreymborg&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;According to your reply, I'm not very clear with the triangular wave, likes the frequency, amplitude, etc, so I hope you can show me this wave, in further, &lt;BR /&gt;I was wondering if you can introduce the testing result about using either the edge or level detecting to measure the triangular wave.&lt;BR /&gt;I'd like to suggest to you download the LCPOpen library which contains ADC demo project and please refer to it.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc13xx:LPCOPEN-SOFTWARE-FOR-LPC13XX" title="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc13xx:LPCOPEN-SOFTWARE-FOR-LPC13XX"&gt;LPCOpen Software for LPC13XX | 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>Fri, 29 Nov 2019 03:02:43 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-11-29T03:02:43Z</dc:date>
    <item>
      <title>LPC1347 Level Interrupts, lpcware, MCUXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-Level-Interrupts-lpcware-MCUXpresso/m-p/984628#M38827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need&amp;nbsp;interrupts&amp;nbsp;from both edges of&amp;nbsp;a&amp;nbsp;0 to 3.3V triangular input wave. It must interrupt on the rising edge and then on the falling edge. The actual interrupt levels&amp;nbsp;are not important, just so both edges are caught. The frequency is low enough that using EDGE&lt;STRONG&gt; &lt;/STRONG&gt;triggering I get six or so interrupts at the chip's&amp;nbsp;trigger levels on both edges.&lt;/P&gt;&lt;P&gt;I had thought the solution would be to use LEVEL&lt;STRONG&gt; &lt;/STRONG&gt;triggering implemented so that&amp;nbsp;at&amp;nbsp;the first rising edge interrupt&amp;nbsp;the rising interrupts are turned off and&amp;nbsp;falling interrupts turned on. On the subsequent falling interrupt, falling interrupts&amp;nbsp;are turned off and&amp;nbsp;rising interrupts turned on. This would give me a single interrupt on both edges.&lt;/P&gt;&lt;P&gt;However, while I have tried various combinations of the associated&amp;nbsp; pinint_13xx functions, I cannot arrive at a sequence that would look something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;void PIN_INT1_IRQHandler(void) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; // Interrupt setting is LEVEL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; if (this Interrupt was high-going) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disable high-going interrupts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable low-going interrupts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; else {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable&amp;nbsp;high-going interrupts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disable low-going interrupts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is there does not seem to be equivalent functions in the pinit_13xx library and I am not sure I understand how to implement the above functions myself. Has anyone managed to implement&amp;nbsp;level interrupt code with this functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;BR /&gt;Ron Kreymborg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 07:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-Level-Interrupts-lpcware-MCUXpresso/m-p/984628#M38827</guid>
      <dc:creator>ronkreymborg</dc:creator>
      <dc:date>2019-11-28T07:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1347 Level Interrupts, lpcware, MCUXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-Level-Interrupts-lpcware-MCUXpresso/m-p/984629#M38828</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="289162" data-username="ronkreymborg" href="https://community.nxp.com/people/ronkreymborg"&gt;Ron Kreymborg&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;According to your reply, I'm not very clear with the triangular wave, likes the frequency, amplitude, etc, so I hope you can show me this wave, in further, &lt;BR /&gt;I was wondering if you can introduce the testing result about using either the edge or level detecting to measure the triangular wave.&lt;BR /&gt;I'd like to suggest to you download the LCPOpen library which contains ADC demo project and please refer to it.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc13xx:LPCOPEN-SOFTWARE-FOR-LPC13XX" title="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc13xx:LPCOPEN-SOFTWARE-FOR-LPC13XX"&gt;LPCOpen Software for LPC13XX | 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>Fri, 29 Nov 2019 03:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-Level-Interrupts-lpcware-MCUXpresso/m-p/984629#M38828</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-11-29T03:02:43Z</dc:date>
    </item>
  </channel>
</rss>

