<?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: Example LWIP PING project using DP8384 instead of LAN8741 in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2350185#M5222</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157113"&gt;@jonasa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;That's a great catch.&amp;nbsp;Ethernet drivers typically uses DMA to read TX descriptors/buffers and to write RX descriptors/buffers, so it's not surprising. I apologize, I don't know details related to this SDK.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2026 13:56:54 GMT</pubDate>
    <dc:creator>PavelL</dc:creator>
    <dc:date>2026-04-13T13:56:54Z</dc:date>
    <item>
      <title>Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2343714#M5132</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I build and use this example project:&lt;/P&gt;&lt;P&gt;\mcuxsdk\examples\lwip_examples\lwip_ping_enet_qos&lt;/P&gt;&lt;P&gt;with this dev. board:&lt;/P&gt;&lt;P&gt;\mcuxsdk\examples\_boards\frdmmcxe31b&lt;/P&gt;&lt;P&gt;and it works good, I can connect the dev board to a Raspberry Pi 4 and ping the dev board.&lt;/P&gt;&lt;P&gt;I got a custom board with the same MCX microcontroller but with a DP8384 PHY controller instead of a LAN8741 that is used on the&amp;nbsp;frdmmcxe31b board. I have ported the example project to this board and the board send ping to the Raspberry but it doesn't send reply on ARP requests sent from the Raspberry. I have debugged and can see that the microcontroller receives the ARP request and try to send a reply with this function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status_t&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;ENET_QOS_SendFrame&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in this file:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;\mcuxsdk\drivers\enet_qos\fsl_enet_qos.c&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;You can see the call stack in call_stack.png.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But no package is sent and I get no errors. I run tcpdump on the Raspberry.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Here is the .pcap file:&lt;/P&gt;&lt;P&gt;disco__test14.zip&lt;BR /&gt;where can be seen that packet 18 is the ARP request from the Raspberry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've compared the .config files from the dev project and the custom board project and they are almost identical except the&amp;nbsp;&lt;/P&gt;&lt;P&gt;CONFIG_MCUX_COMPONENT_component.phydp8384x=y&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;CONFIG_MCUX_COMPONENT_component.phylan8741=y&lt;/P&gt;&lt;P&gt;In config.zip you find both .config files.&lt;/P&gt;&lt;P&gt;My question is if there are any more adaptations that need to be done? Is it the DP8384 that blocks the ARP reply?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 13:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2343714#M5132</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-01T13:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2343919#M5134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157113"&gt;@jonasa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;In config.zip you find both .config files.&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;Can you share your config.zip?&lt;/P&gt;
&lt;P&gt;If the ARP request is received by the MCU, parsed by lwIP, and ENET_QOS_SendFrame() is called but no frame ever appears on the wire, the MAC is ready, the PHY is not transmitting.&lt;BR /&gt;This strongly suggests a PHY configuration issue rather than lwIP or ENET_QOS driver logic.&lt;/P&gt;
&lt;P&gt;Can you share&amp;nbsp; your&amp;nbsp;schematic screenshot of DP83848?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 02:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2343919#M5134</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2026-04-02T02:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344035#M5135</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a schematic screenshot.&lt;/P&gt;&lt;P&gt;The board can send other ethernet frames like the echo request as can be seen in the attached .zip file.&lt;BR /&gt;The board has IP address 192.168.0.102 and the Raspberry has IP address 192.168.0.100.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 06:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344035#M5135</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-02T06:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344036#M5136</link>
      <description>&lt;P&gt;Sorry forgot the other files, I've attached them to this message.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 06:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344036#M5136</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-02T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344663#M5143</link>
      <description>&lt;P&gt;One more thing:&lt;BR /&gt;On the dev board we have a MCXE31BMPB&lt;/P&gt;&lt;P&gt;and on the custom board we have a S32K324EHT.&lt;/P&gt;&lt;P&gt;Those two microcontrollers are identical, right?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 13:06:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2344663#M5143</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-02T13:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2346308#M5159</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157113"&gt;@jonasa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I checked your schematic and it appears to be correct.&lt;/P&gt;
&lt;P&gt;Base on&amp;nbsp;AN14792 - S32K31x to MCX E31x Migration Guidelines,&amp;nbsp;MCXE31BMPB is S32K314EHT1.&lt;/P&gt;
&lt;P&gt;At first, let me discuss the shared pcap file.&lt;/P&gt;
&lt;P&gt;The device with IP 192.168.0.102 (your NXP board) is sending traffic first: it transmits a gratuitous ARP (“ARP announcement for 192.168.0.102”) and then it sends ICMP Echo requests to the Raspberry Pi (192.168.0.100). The Raspberry Pi replies with ICMP Echo replies for several seconds, so both TX and RX are working initially (at least for IP/ICMP).&lt;/P&gt;
&lt;P&gt;After ~10–12 seconds, the Raspberry Pi starts issuing repeated ARP “Who has 192.168.0.102?” requests and does not receive any ARP reply from the NXP device. On Linux, once neighbor reachability is in doubt, it will first try unicast ARP probes (to the last-known MAC) and then fall back to broadcast ARP requests if that fails. At that point, the Pi can no longer reliably send frames to 192.168.0.102, so it also stops returning ICMP replies.&lt;BR /&gt;So the core issue is not “hardware cannot transmit” (we clearly see the NXP board transmitting ICMP requests), but rather that after some time the NXP board stops replying to ARP requests for its own IP address.&lt;/P&gt;
&lt;P&gt;If ARP requests stop being answered only after running for a while, common causes are:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RX path not being serviced anymore (interrupt not firing, polling not running, RX task starved),&lt;/LI&gt;
&lt;LI&gt;RX descriptor/buffer exhaustion (frames are received by DMA but buffers are not recycled),&lt;/LI&gt;
&lt;LI&gt;a timing/priority issue where the application load eventually prevents lwIP input processing.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Suggested quick experiment&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Please try disabling the periodic ping generated by the NXP board (or reduce its rate significantly). If the ARP failure disappears when the device is not continuously generating ICMP, that strongly suggests a scheduling/priority / RX-servicing / buffer-recycling problem rather than a PHY limitation.&lt;/LI&gt;
&lt;LI&gt;As a quick diagnostic, please verify whether D‑Cache is enabled and try running with D‑Cache disabled&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 11:21:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2346308#M5159</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-04-07T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2349363#M5208</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, same software works on the dev board&amp;nbsp;&lt;SPAN&gt;MCXE31BMPB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are there any difference between the two microcontrollers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you state, the root cause might be that EMAC DMS interrupt is not triggered. DO I need to modify the driver code for the EMAC or are the two microcontrollers exactly the same? WIth same EMAC control registers etc?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a bare metal example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the main loop:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Poll the driver, get any outstanding frames */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ethernetif_input&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;netif);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;sys_check_timeouts&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;SPAN&gt; /* Handle all system timeouts for all core protocols */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 12:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2349363#M5208</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-10T12:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2349391#M5209</link>
      <description>&lt;P&gt;I got it to work now, I added these lines in a .cmake file in my project:&lt;BR /&gt;&lt;BR /&gt;mcux_add_macro(&lt;BR /&gt;CC "-DFSL_ETH_ENABLE_CACHE_CONTROL"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;In the example project these lines are in this file:&lt;BR /&gt;&lt;BR /&gt;C:\work\mcx\mcuxpresso-sdk\mcuxsdk\examples\_boards\frdmmcxe31b\lwip_examples\lwip_ping_enet_qos\bm\reconfig.cmake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know why ethernet cache control needs to be enabled?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 14:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2349391#M5209</guid>
      <dc:creator>jonasa</dc:creator>
      <dc:date>2026-04-10T14:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2350185#M5222</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157113"&gt;@jonasa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;That's a great catch.&amp;nbsp;Ethernet drivers typically uses DMA to read TX descriptors/buffers and to write RX descriptors/buffers, so it's not surprising. I apologize, I don't know details related to this SDK.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 13:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2350185#M5222</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-04-13T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Example LWIP PING project using DP8384 instead of LAN8741</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2350189#M5223</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157113"&gt;@jonasa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MCXE31BMPB is S32K314EHT1. Difference between S32K14 and S32K324 is only in the number of cores - please refer to S32K3 Data Sheet, Table 1. I do not believe you need any modification of the code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pavel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 14:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Example-LWIP-PING-project-using-DP8384-instead-of-LAN8741/m-p/2350189#M5223</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-04-13T14:04:34Z</dc:date>
    </item>
  </channel>
</rss>

