<?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: LWIP bare-metal ethernetif_input() thread safe in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1546013#M197003</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/133845"&gt;@mspenard603&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;In my opinion, I'd highly recommend you use the LWIP+ FreeRTOS demo as the template, which can manage the incoming ENET frame, meanwhile, synchronize the signal with the GUI code.&lt;BR /&gt;And you can find the LWIP+ FreeRTOS demo in the SDK library.&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
    <pubDate>Mon, 31 Oct 2022 03:29:19 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2022-10-31T03:29:19Z</dc:date>
    <item>
      <title>LWIP bare-metal ethernetif_input() thread safe</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1542894#M196783</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a bare-metal project with LWIP and Eth being serviced (i.e.,&amp;nbsp;ethernetif_input() ) in mail() loop as is recommended per the SDK example and notes I've read. Viz., it is my understanding that&amp;nbsp;ethernetif_input() is not to run in an interrupt context.&lt;BR /&gt;&lt;BR /&gt;My issue with with LWIP and Eth not being serviced quick enough. As I have some GUI code (EwWiz) that inserts enough delay as to lag network io to some large degree.&lt;BR /&gt;&lt;BR /&gt;Therefore, I'm looking for some way to run&amp;nbsp;ethernetif_input() off a GPT based timer. How can I make it interrupt context safe?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 19:02:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1542894#M196783</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2022-10-24T19:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP bare-metal ethernetif_input() thread safe</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1546013#M197003</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/133845"&gt;@mspenard603&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;In my opinion, I'd highly recommend you use the LWIP+ FreeRTOS demo as the template, which can manage the incoming ENET frame, meanwhile, synchronize the signal with the GUI code.&lt;BR /&gt;And you can find the LWIP+ FreeRTOS demo in the SDK library.&lt;BR /&gt;TIC&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;&amp;nbsp;&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;</description>
      <pubDate>Mon, 31 Oct 2022 03:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1546013#M197003</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-10-31T03:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: LWIP bare-metal ethernetif_input() thread safe</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1546962#M197070</link>
      <description>Thanks. Were a bit far into our bare-metal project. So RTOS isn't on the table for now.&lt;BR /&gt;&lt;BR /&gt;I did find a solution by utilizing the PIT. And a lock-out mechanism for when it shouldn't run. E.g., in the middle of an f_open() or f_read() etc etc.&lt;BR /&gt;&lt;BR /&gt;Ethernet speeds jumped 10 fold to where they should be.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Nov 2022 15:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LWIP-bare-metal-ethernetif-input-thread-safe/m-p/1546962#M197070</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2022-11-01T15:33:50Z</dc:date>
    </item>
  </channel>
</rss>

