<?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: LPC54608 Usart Interrupt Example</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-Usart-Interrupt-Example/m-p/908079#M36389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;First let me say that I do not have the example and I am only replying from my experience without actually looking at the code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;First question&lt;/STRONG&gt;&lt;/SPAN&gt;: Why I collect data from the usart also if I have an error (kUSART_RxError) ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;If you received this error&amp;nbsp;the FIFO is full.&amp;nbsp;the data needs to be pulled out of the FIFO or it will keep getting this error when new data arrives&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Second question&lt;/STRONG&gt;&lt;/SPAN&gt;: I haven't found any point where the status of kUSART_RxError is deleted in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;DEMO_USART_IRQHandler() is not invoked directly as an interrupt handler. It is called by the actual USART interrupt handler, my guess is that it is cleared in the actual interrupt handler (e.g. USART0_IRQHandler)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 15:41:41 GMT</pubDate>
    <dc:creator>Ray_V</dc:creator>
    <dc:date>2019-05-16T15:41:41Z</dc:date>
    <item>
      <title>LPC54608 Usart Interrupt Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-Usart-Interrupt-Example/m-p/908078#M36388</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 question in relation about the Usart Interrupt LPC54608 example, that I re-write down here:&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/80370i8A1FA21C6DA58476/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;&lt;STRONG&gt;First question&lt;/STRONG&gt;: Why I collect data from the usart also if I have an error (kUSART_RxError) ?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Second question&lt;/STRONG&gt;: I haven't found any point where the status of kUSART_RxError is deleted in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I well understand, on the relative manual it is sayed that must be reset by software.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80408i95607FF61C6E0EAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where I'm wronging ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot for help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 08:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-Usart-Interrupt-Example/m-p/908078#M36388</guid>
      <dc:creator>mpazzi</dc:creator>
      <dc:date>2019-05-10T08:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 Usart Interrupt Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-Usart-Interrupt-Example/m-p/908079#M36389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;First let me say that I do not have the example and I am only replying from my experience without actually looking at the code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;First question&lt;/STRONG&gt;&lt;/SPAN&gt;: Why I collect data from the usart also if I have an error (kUSART_RxError) ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;If you received this error&amp;nbsp;the FIFO is full.&amp;nbsp;the data needs to be pulled out of the FIFO or it will keep getting this error when new data arrives&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Second question&lt;/STRONG&gt;&lt;/SPAN&gt;: I haven't found any point where the status of kUSART_RxError is deleted in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;DEMO_USART_IRQHandler() is not invoked directly as an interrupt handler. It is called by the actual USART interrupt handler, my guess is that it is cleared in the actual interrupt handler (e.g. USART0_IRQHandler)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 15:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-Usart-Interrupt-Example/m-p/908079#M36389</guid>
      <dc:creator>Ray_V</dc:creator>
      <dc:date>2019-05-16T15:41:41Z</dc:date>
    </item>
  </channel>
</rss>

