<?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: Invoking Interruption using PLU module (LPCxpresso55S69) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037292#M40376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Randa,&lt;/P&gt;&lt;P&gt;Pls refer to section 39.5.5 Wake-up/interrupt control register in UM11126.pdf, which is UM of LPC55S6x.&lt;/P&gt;&lt;P&gt;I copy it here:&lt;/P&gt;&lt;P&gt;"Any of the eight selected PLU outputs can be enabled to contribute to an asynchronous&lt;BR /&gt;wake-up or an interrupt request. All enabled output signals are logically OR’d together to&lt;BR /&gt;generate a single wake-up or /Interrupt request"&lt;/P&gt;&lt;P&gt;BTW, you have to write the WAKEINT register so that you can specify which PLU output signal triggers the interrupt.&lt;/P&gt;&lt;P&gt;I do not think we have example for the PLU interrupt.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/92559i5774FAEB9B046DAC/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2019 03:10:41 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2019-11-27T03:10:41Z</dc:date>
    <item>
      <title>Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037291#M40375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like&amp;nbsp;to invoke a&amp;nbsp; hardware interruption whenever there is a change in the PLU Inputs values (PLU_INs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;used the &lt;STRONG&gt;NVIC_EnableIRQ() &lt;/STRONG&gt;from the CMSIS access NVIC functions.&lt;/P&gt;&lt;P&gt;Also I checked the PLU interrupt priority and it is &lt;STRONG&gt;0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But whenever I change the PLU_IN values, (from 0V to ),&amp;nbsp; nothing occurs, no execution of the &lt;STRONG&gt;PLU_IRQHandler()&lt;/STRONG&gt;. No interruption happen. I tried to manually pend the interruption (using the SW) only then the &lt;STRONG&gt;PLU_IRQHandler()&lt;/STRONG&gt; is executed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about what I maybe missing?&lt;/P&gt;&lt;P&gt;Any example deploying interruptions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;When does the SysTick has to do with peripheral interruption?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 16:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037291#M40375</guid>
      <dc:creator>randa_zarrouk</dc:creator>
      <dc:date>2019-11-26T16:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037292#M40376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Randa,&lt;/P&gt;&lt;P&gt;Pls refer to section 39.5.5 Wake-up/interrupt control register in UM11126.pdf, which is UM of LPC55S6x.&lt;/P&gt;&lt;P&gt;I copy it here:&lt;/P&gt;&lt;P&gt;"Any of the eight selected PLU outputs can be enabled to contribute to an asynchronous&lt;BR /&gt;wake-up or an interrupt request. All enabled output signals are logically OR’d together to&lt;BR /&gt;generate a single wake-up or /Interrupt request"&lt;/P&gt;&lt;P&gt;BTW, you have to write the WAKEINT register so that you can specify which PLU output signal triggers the interrupt.&lt;/P&gt;&lt;P&gt;I do not think we have example for the PLU interrupt.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/92559i5774FAEB9B046DAC/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 03:10:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037292#M40376</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-11-27T03:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037293#M40377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your precious insight, I am trying to work it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, I have a question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;Is writing the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;WAKEINT register&lt;/SPAN&gt;&amp;nbsp;( by deploying&amp;nbsp;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;PLU_EnableWakeIntRequest()&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;/SPAN&gt;&amp;nbsp;go together with enabling the NVIC interrupt request ( using&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;NVIC_EnableIRQ(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;) or does it eliminate it? Do you have an idea what is the difference between them?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;PS: &lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: 400;"&gt;UM11126 of the&lt;/SPAN&gt; &lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: 400;"&gt;LPC55S6x that I have is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Rev. 1.3 — 10 May 2019, where the PLU chapter number is 38, which is different than the one shown in your screen shot. Just I want to make sure that I am no missing an update.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN class=""&gt;Thank you,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 19:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037293#M40377</guid>
      <dc:creator>randa_zarrouk</dc:creator>
      <dc:date>2019-11-27T19:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037294#M40378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Randa,&lt;/P&gt;&lt;P&gt;Youi have to call the two function:&amp;nbsp;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;PLU_EnableWakeIntRequest()&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;/SPAN&gt; and &lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;NVIC_EnableIRQ(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;The function &lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;NVIC_EnableIRQ(&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;/SPAN&gt; is to set up the NVIC module, for example to set up the priority of the PLU, enable the interrupt source of PLU, which is 52th vector in vector table. The function can do it&amp;nbsp; by setting bit 20 for the NVIC-&amp;gt;ISER1 register, setting the bit 20 of NVIC-&amp;gt;ICER1.&lt;/P&gt;&lt;P&gt;Pls refer to the Chapter 3: LPC55S6x/LPC55S2x/LPC552x Nested Vectored Interrupt Controller (NVIC), Note that the NVIC is part of cortem-M4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;nbsp;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;PLU_EnableWakeIntRequest() is only to write the WAKEINT_CTRL register, which can select the interrupt source from the PLU output signals.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;Pls refer to section&amp;nbsp; 38.5.5 Wake-up/interrupt control register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;Hope it can help you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt;"&gt;Xiangjun Rong&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 05:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037294#M40378</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-11-28T05:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037295#M40379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much this was so helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional issue,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Referring to the &lt;EM&gt;38.5.5 Wake-up/interrupt control register&amp;nbsp;&lt;/EM&gt;from the UM, some glitching issues&amp;nbsp;can occur&amp;nbsp;when it comes to invoke interrupt using the PLU module due to the possible delay caused by the LUT network.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a first trial, I left the default settings of the&amp;nbsp;&lt;STRONG&gt;plu_wakeint_config_t,&amp;nbsp;&lt;/STRONG&gt;means no filtering&amp;nbsp;is used and the clock cycle is default &lt;EM&gt;(using the PLU_GetDefaultWakeIntConfig). &lt;/EM&gt;Then, the code get stuck in the&amp;nbsp;&lt;STRONG&gt;PLU_IRQHandler&amp;nbsp;&lt;/STRONG&gt;and does not go out from the function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a trial to fix that, I thought that glitching may be the cause, so I updated the&amp;nbsp;&lt;STRONG&gt;plu_wakeint_config_t &lt;/STRONG&gt;in a way that it considers the filtering&amp;nbsp;mode. Then, then interruption is no more invoked from the PLU module!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this issue?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 19:21:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037295#M40379</guid>
      <dc:creator>randa_zarrouk</dc:creator>
      <dc:date>2019-11-28T19:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037296#M40380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Randa,&lt;/P&gt;&lt;P&gt;You have to configure the PLU module so that there is an exact signal for the PLU_OUTx signal which you predefined and the signal can toggle to trigger interrupt.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 08:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037296#M40380</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-11-29T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037297#M40381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0px;"&gt;Hi Xiangjung Rong,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;Indeed, this is what I made sure to do:&amp;nbsp;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: none #f6f6f6; border-left: 2px solid #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG&gt;PLU_interruptMask= 11111111;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;PLU_EnableWakeIntRequest(PLU, &lt;STRONG&gt;PLU_interruptMask&lt;/STRONG&gt;, pPLU_interrupt_config); //Enables PLU outputs wakeup/interrupt request.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="padding: 0px;"&gt;This is the definition of API:&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;I want what ever one of the 8 Outputs pin changes, then an interruption occurs.&lt;/P&gt;&lt;P style="padding: 0px;"&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/95385iFFA0AA1530F6F921/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 18:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037297#M40381</guid>
      <dc:creator>randa_zarrouk</dc:creator>
      <dc:date>2019-11-29T18:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking Interruption using PLU module (LPCxpresso55S69)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037298#M40382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Randa,&lt;/P&gt;&lt;P&gt;Can you observe that the PLU_OUTx signal toggle via oscilloscope?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 23:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Invoking-Interruption-using-PLU-module-LPCxpresso55S69/m-p/1037298#M40382</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-12-02T23:10:45Z</dc:date>
    </item>
  </channel>
</rss>

