<?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: Problem with USART TX irq on LPC546XX in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870243#M34701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good try, but this is not the case :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Theory : FIFO is empty and the irq should be triggered when it **become** empty&lt;/P&gt;&lt;P&gt;- Real world : I already tried to set the TXLVL to 1 before enabling the irq, and the result is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2019 06:03:48 GMT</pubDate>
    <dc:creator>sst1</dc:creator>
    <dc:date>2019-04-02T06:03:48Z</dc:date>
    <item>
      <title>Problem with USART TX irq on LPC546XX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870241#M34699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using a usart, and enabling tx irq, I get&amp;nbsp; a permanent call to the irq routine (permanent = once we return from the irq routine, we get back to it without any time to execute something else).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reproduce : use lpcxpresso54608_usart_example from sdk, and replace in "usart_interrupt.c" the line&amp;nbsp;&lt;/P&gt;&lt;P&gt;USART_EnableInterrupts(DEMO_USART, kUSART_RxLevelInterruptEnable | kUSART_RxErrorInterruptEnable);&lt;/P&gt;&lt;P&gt;by&lt;/P&gt;&lt;P&gt;USART_EnableInterrupts(DEMO_USART, kUSART_TxLevelInterruptEnable );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem&amp;nbsp;has been reproduced with this program on lpc54608 (om13098) and lpc54606 (custom board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original problem has also been detected on a mbed generated project on our custom board.&lt;/P&gt;&lt;P&gt;We got the same behaviour for all the usart we are using (0,2, 4 and 6).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 12:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870241#M34699</guid>
      <dc:creator>sst1</dc:creator>
      <dc:date>2019-04-01T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with USART TX irq on LPC546XX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870242#M34700</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="333286" data-username="sst@cachat.org" href="https://community.nxp.com/people/sst@cachat.org"&gt;SST Informatique&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;After initializing the UART, the TX FIFO is empty, meanwhile, the transmit FIFO level trigger is 0, I think it can explain repeat enter the transmit FIFO level interrupt.&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/69573i938069338AA41C45/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 style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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&gt;&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>Tue, 02 Apr 2019 03:32:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870242#M34700</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-04-02T03:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with USART TX irq on LPC546XX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870243#M34701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good try, but this is not the case :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Theory : FIFO is empty and the irq should be triggered when it **become** empty&lt;/P&gt;&lt;P&gt;- Real world : I already tried to set the TXLVL to 1 before enabling the irq, and the result is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 06:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870243#M34701</guid>
      <dc:creator>sst1</dc:creator>
      <dc:date>2019-04-02T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with USART TX irq on LPC546XX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870244#M34702</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="333286" data-objecttype="3" href="https://community.nxp.com/people/sst@cachat.org"&gt;SST Informatique&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;BR /&gt;There're suggestions for you for further testing&lt;BR /&gt;1. Increase TXLVAL(&amp;gt;1).&lt;BR /&gt;2. Clear the TXLVL interrupt status in the interrupt function.&lt;/P&gt;&lt;P&gt;Please give a try.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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&gt;&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>Mon, 08 Apr 2019 10:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-USART-TX-irq-on-LPC546XX/m-p/870244#M34702</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-04-08T10:22:47Z</dc:date>
    </item>
  </channel>
</rss>

