<?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: LPC1756 DMA timeout for UART RX in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695501#M28010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f;"&gt;Hi&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="213424" data-objecttype="3" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We are also assuming that DMA should generate interrupt on&amp;nbsp;terminal count or on error condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We observed interrupt on terminal count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;However we are not getting interrupt on DMA timeout.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Did&amp;nbsp;you verify DMA timeout interrupt generation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2017 06:22:29 GMT</pubDate>
    <dc:creator>prashantnirmal</dc:creator>
    <dc:date>2017-08-16T06:22:29Z</dc:date>
    <item>
      <title>LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695496#M28005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;We are using LPC1756 DMA interface on UART1 module. We are able to get DMA interrupt for transmit packets. Also we are getting the RX DMA interrupt for number of bytes same for RX FIFO level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;However, whenever we send less bytes than RX FIFO level we are not receiving DMA timeout interrupt.&lt;/P&gt;&lt;P&gt;Please suggest if you have any solution.&lt;A href="https://community.nxp.com/t5/tag/lpc175x/tg-p"&gt;#lpc175x&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 14:00:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695496#M28005</guid>
      <dc:creator>prashantnirmal</dc:creator>
      <dc:date>2017-08-10T14:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695497#M28006</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="295622" data-username="prashantnirmal" href="https://community.nxp.com/people/prashantnirmal"&gt;Prashant Nirmal&lt;/A&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: inherit; font-family: 微软雅黑,sans-serif;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: inherit; font-family: 微软雅黑,sans-serif;"&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I was wondering if you can share the build-able demo, then I could replicate the issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Have a great day.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 01:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695497#M28006</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-11T01:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695498#M28007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached source code.&lt;/P&gt;&lt;P&gt;In the source code, we are transmitting &amp;amp; receiving&amp;nbsp;some data over the UART1.&lt;/P&gt;&lt;P&gt;We get DMA interrupt when DMA max. buffer length (MAX_PACKET_LEN) reaches, when other device sends data. But other device sends less than &lt;SPAN&gt;MAX_PACKET_LEN,&amp;nbsp;&lt;/SPAN&gt;we are not getting DMA timeout (UART1 CTI) interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, if you need any more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 06:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695498#M28007</guid>
      <dc:creator>prashantnirmal</dc:creator>
      <dc:date>2017-08-11T06:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695499#M28008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="295622" data-username="prashantnirmal" href="https://community.nxp.com/people/prashantnirmal"&gt;Prashant Nirmal&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply, I'm working on it now, and I will share the update when I work it out.&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695499#M28008</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-11T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695500#M28009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="295622" data-username="prashantnirmal" href="https://community.nxp.com/people/prashantnirmal"&gt;Prashant Nirmal&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;After going over the RM, I don't think it's a issue.&lt;/P&gt;&lt;P&gt;The DMA interrupt is generated when terminal count or an error occurring.&lt;/P&gt;&lt;P&gt;Before the terminal counter exhausting, definitely, the interrupt wouldn't be triggered.&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 07:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695500#M28009</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-14T07:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695501#M28010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f;"&gt;Hi&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="213424" data-objecttype="3" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We are also assuming that DMA should generate interrupt on&amp;nbsp;terminal count or on error condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We observed interrupt on terminal count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;However we are not getting interrupt on DMA timeout.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Did&amp;nbsp;you verify DMA timeout interrupt generation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695501#M28010</guid>
      <dc:creator>prashantnirmal</dc:creator>
      <dc:date>2017-08-16T06:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695502#M28011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;According to your code, the following code is used to setup up the DMA to receive the data from the RXD, the DMA won't enter the DMA interrupt handler if the received data doesn't reach the MAX_PACKET_LEN.&lt;/P&gt;&lt;P&gt;It behaves meet up with the expectation.&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; //enable receive setup before transmit here
 setDMA_ReceiveData(rxBuffer, MAX_PACKET_LEN);‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regrading to UART time-out interrupt, I don't find some functions to enable or setup up interrupt, moreover you already set the UART1 works in DMA mode.&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 02:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695502#M28011</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-17T02:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1756 DMA timeout for UART RX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695503#M28012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="213424" data-objecttype="3" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;We have tried setting UART timeout without DMA. We observed that Uart timeout interrupt generates in UART mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But when we use DMA mode, it does not generate timeout interrupt for DMA. But during that we have observed that the data received is available in RX buffer. What we think that as DMA reads all the data from FIFO which does not allow 3.5 to 4.5 character space timeout measurement. Hence it does not generate DMA timeout interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 14:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-DMA-timeout-for-UART-RX/m-p/695503#M28012</guid>
      <dc:creator>prashantnirmal</dc:creator>
      <dc:date>2017-08-18T14:52:57Z</dc:date>
    </item>
  </channel>
</rss>

