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.
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: