DEVKIT-MPC5748G ENET code example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DEVKIT-MPC5748G ENET code example

967 Views
yankuang1
Contributor III

Is there any examples or documents where I can find information on how to configure and use ENET on DEVKIT-MPC5748G.I use the following code to test the Ethernet communication,but unable to communicate successfully.

 

181048_181048.pngpastedImage_1.png181055_181055.pngpastedImage_2.png

Original Attachment has been moved to: mpc5748g_enet_rmii_udp.zip

0 Kudos
1 Reply

388 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

this example is not prepared for reply to ICMP echo request.

When your computer sends ICMP echo request, it needs to know MAC address of the microcontroller, so it sends ARP request. But the example only sends UDP datagrams to PC. ARP request handling is not configured in your example.

So at first, you have to add ARP handling to your project or set MAC address of the microcontroller in PC arp cache manually.

But even if you will be able to send ICMP echo request to microcontroller, it will not be able to answer you, because ICMP handler is not implemented. Please see code below:

pastedImage_1.png

Regards,

Martin

0 Kudos