<?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のトピックFacing issue on integrating UART ringbuffer example and Ethernet easyweb application</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1267037#M44754</link>
    <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working on UART using ring buffer example provided by cmsis. I was successful on configuring all four UART and got the expected output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I tried running the Ethernet easyweb application which also worked fine for me.&lt;/P&gt;&lt;P&gt;The problem arises when I integrate both the UART and easweb application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. On running the integrated application the the UART application will send the message once which is in while loop.&lt;/P&gt;&lt;P&gt;2. The connection is UP until the UART's first transmission is complete. After which both UART and Ethernet communication is down and there's no output.&lt;/P&gt;&lt;P&gt;Configurations I used in my applications are&lt;/P&gt;&lt;P&gt;1. UART - UART3&amp;nbsp;&lt;/P&gt;&lt;P&gt;Baudrate - 9600&lt;/P&gt;&lt;P&gt;Data Bits - 8bit&lt;/P&gt;&lt;P&gt;Parity - Even&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stop bits - 1bit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interrupts are enable&lt;/P&gt;&lt;P&gt;Uart pins - P0.0 and P0.1&lt;/P&gt;&lt;P&gt;2. Ethernet&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default configuration which was provided with easyweb application.&lt;/P&gt;&lt;P&gt;Edit: Target Device - LPC1768&lt;/P&gt;&lt;P&gt;Kindly help me with the solving this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ajeeth Kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 05:14:32 GMT</pubDate>
    <dc:creator>Ajeeth_kumar</dc:creator>
    <dc:date>2021-04-23T05:14:32Z</dc:date>
    <item>
      <title>Facing issue on integrating UART ringbuffer example and Ethernet easyweb application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1267037#M44754</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working on UART using ring buffer example provided by cmsis. I was successful on configuring all four UART and got the expected output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I tried running the Ethernet easyweb application which also worked fine for me.&lt;/P&gt;&lt;P&gt;The problem arises when I integrate both the UART and easweb application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. On running the integrated application the the UART application will send the message once which is in while loop.&lt;/P&gt;&lt;P&gt;2. The connection is UP until the UART's first transmission is complete. After which both UART and Ethernet communication is down and there's no output.&lt;/P&gt;&lt;P&gt;Configurations I used in my applications are&lt;/P&gt;&lt;P&gt;1. UART - UART3&amp;nbsp;&lt;/P&gt;&lt;P&gt;Baudrate - 9600&lt;/P&gt;&lt;P&gt;Data Bits - 8bit&lt;/P&gt;&lt;P&gt;Parity - Even&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stop bits - 1bit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interrupts are enable&lt;/P&gt;&lt;P&gt;Uart pins - P0.0 and P0.1&lt;/P&gt;&lt;P&gt;2. Ethernet&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default configuration which was provided with easyweb application.&lt;/P&gt;&lt;P&gt;Edit: Target Device - LPC1768&lt;/P&gt;&lt;P&gt;Kindly help me with the solving this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ajeeth Kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 05:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1267037#M44754</guid>
      <dc:creator>Ajeeth_kumar</dc:creator>
      <dc:date>2021-04-23T05:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue on integrating UART ringbuffer example and Ethernet easyweb application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1267117#M44758</link>
      <description>&lt;P&gt;There is not much detailed information to work with, but I suspect it is an interrupt/runtime issue.&lt;/P&gt;&lt;P&gt;I suppose all 3 UARTs and ethernet are basically handled via interrupts, probably callbacks. Keep in mind that callbacks run in interrupt context, and thus block other interrupts of the same or lower priority. And almost all UART peripherals I know stop reception when an error (like overflow) occurs. This is probably what happens in your case. And lost (overrun) ethernet transmissions will most probably break the connection-handling state machine.&lt;/P&gt;&lt;P&gt;You can either try to priorize your interrupt handlers (I would start with giving ethernet higher priority), or move as much time-consuming code as possible from handlers/callbacks into the "normal" user context, i.e. main loop handling.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 07:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1267117#M44758</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-04-23T07:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue on integrating UART ringbuffer example and Ethernet easyweb application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1270061#M44837</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your swift response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recreated the project and the program just worked fine. I am interested in knowing that how the issue was resolved by just recreating the project. Is that something to deal with complier and linker settings ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajeeth Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 05:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1270061#M44837</guid>
      <dc:creator>Ajeeth_kumar</dc:creator>
      <dc:date>2021-04-29T05:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue on integrating UART ringbuffer example and Ethernet easyweb application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1270085#M44840</link>
      <description>&lt;P&gt;Impossible to say from outside.&lt;/P&gt;&lt;P&gt;You could investigate the "failed" version, and check where and why it happened.&lt;/P&gt;&lt;P&gt;Recreating a project might undo modifications, change compiler settings, include/exclude conditional code, or change underlying libraries (clib).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 06:01:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Facing-issue-on-integrating-UART-ringbuffer-example-and-Ethernet/m-p/1270085#M44840</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-04-29T06:01:45Z</dc:date>
    </item>
  </channel>
</rss>

