Hello,
I am implementing Ethernet communication using the LWIP TCP/IP stack on an S32K314 MCU.
Using the S32K344 EVM board, I confirmed that the ARP command (ping 192.168.0.200) works when running the LWIP sample code.
However, when using the same circuit configuration on the S32K314 board, the ping command does not receive a response.
Debugging code revealed that the IP, netmask, and gateway were correctly assigned to the network interface. Additionally, the arp -a command showed that the physical connection seems to be successful.
However, I discovered that the receive interrupt for the ping command is not triggered.
Could you check if there might be any issues with my interrupt settings?
Thank you.
Solved! Go to Solution.
Hello @malove ,
you did lots of changes in your software since I did the small fixes in the other thread.
If I were you, I wouldn't do any changes in SW when I change the HW (unless absolutely necessary). I would do small changes.
I do not feel comfortable with no sys_msleep() in your infinite loop in main.c.
Unfortunately, I do not have suitable HW to check your code now.
Best regards,
Pavel
Hello @malove ,
I checked all files you have shared and I just found disabled RX interrupt in GMAC module:
I don't have hardware with S32K14 now, so I couldn't check it.
Best regards,
Pavel
Thank you for answer @PavelL
After posting this, I confirmed that the Rx interrupt was disabled.
Even after enabling the function, the interrupt still fails to occur intermittently.
What should I check in this situation?
Hello @malove ,
you did lots of changes in your software since I did the small fixes in the other thread.
If I were you, I wouldn't do any changes in SW when I change the HW (unless absolutely necessary). I would do small changes.
I do not feel comfortable with no sys_msleep() in your infinite loop in main.c.
Unfortunately, I do not have suitable HW to check your code now.
Best regards,
Pavel
Thank you for your advice @PavelL
With efforts to match the sample code precisely, I was able to successfully complete the ping test.