<?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: LPC4337: Any way to wake up using the USART2 interrupts? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071133#M41291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emilio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately in this MCU, this is not possible, in section 10.4 Event router inputs mention the possible interruptions that can be used but the USART is not one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you could do is to notify the MCU to wake up with one of the four wake up pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience this may cause you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2020 22:41:34 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-05-26T22:41:34Z</dc:date>
    <item>
      <title>LPC4337: Any way to wake up using the USART2 interrupts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071132#M41290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a working USART2 that sends 16 bytes, and waits for the buffer to be empty, which triggers an interrupt, and I continue sending bytes, on an LPC4337.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to work just fine when the processor is busy, but the transmission stops as soon as it enters a sleep state, and it only continues when other interrupts wake up the processor. Is there any way to make the THRE interrupt wake up the processor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe something with the event router? I was not able to find anything on the User Manual. I tried changing the interrupt priority without luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 02:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071132#M41290</guid>
      <dc:creator>emilio_moretti</dc:creator>
      <dc:date>2020-05-26T02:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337: Any way to wake up using the USART2 interrupts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071133#M41291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emilio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately in this MCU, this is not possible, in section 10.4 Event router inputs mention the possible interruptions that can be used but the USART is not one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you could do is to notify the MCU to wake up with one of the four wake up pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience this may cause you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 22:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071133#M41291</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-05-26T22:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337: Any way to wake up using the USART2 interrupts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071134#M41292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. It confused me a lot because section &lt;STRONG&gt;&lt;EM&gt;7.8 Event Router&lt;/EM&gt;&lt;/STRONG&gt; of the datasheet for parts LPC435x/3x/2x/1x it says:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remark: Any interrupt can wake up the ARM Cortex-M4 from sleep mode if enabled in the NVIC.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the datasheet I'm referring to:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/LPC435X_3X_2X_1X.pdf" title="https://www.nxp.com/docs/en/data-sheet/LPC435X_3X_2X_1X.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/LPC435X_3X_2X_1X.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the datasheet incorrect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 23:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071134#M41292</guid>
      <dc:creator>emilio_moretti</dc:creator>
      <dc:date>2020-05-26T23:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337: Any way to wake up using the USART2 interrupts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071135#M41293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/emilio.moretti@gmail.com"&gt;emilio.moretti@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying these different ways I couldn't wake up the MCU with only the UART interruption but what you could do is connect the RX line to one of the wake-up pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way would be possible to wake the MCU even in the lowest power modes, but the first byte would not be reliable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2020 22:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071135#M41293</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-06-15T22:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337: Any way to wake up using the USART2 interrupts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071136#M41294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexis,&lt;/P&gt;&lt;P&gt;sadly, I can't rely on something like that. What I ended up doing was to prevent going into sleep mode when there are pending USART transactions (either send or receive). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:26:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-Any-way-to-wake-up-using-the-USART2-interrupts/m-p/1071136#M41294</guid>
      <dc:creator>emilio_moretti</dc:creator>
      <dc:date>2020-06-16T00:26:23Z</dc:date>
    </item>
  </channel>
</rss>

