I am writing to seek assistance regarding the GMAC_IP_InternalLoopback_Q172_S32K344 example code that I have been working with on my S32K344 evaluation board.
In my testing, I have made modifications to the configuration by deleting rmii_txd_1 and rmii_rxd1 as I do not want to perform a loopback test. Instead, I am trying to observe Ethernet frames using Wireshark software. To do this, I have connected an Ethernet cable between the S32K344 eval board and my PC.
However, despite these steps, I am unable to see any Ethernet frames on Wireshark. This leads me to wonder if there is something missing in my testing process. Specifically, I am curious if there are any jumpers that need to be connected on the S32K eval board to access the LAN port in the driver.
I have attached the example code that I have used for my testing for your reference. Any guidance or suggestions you can provide to help me troubleshoot and get the Ethernet frames to appear on Wireshark would be greatly appreciated.
Thank you very much for your time and support.
Hi @aadyaa
My recommendation is to start with the LWIP example. The reason is that the loopback example was not tested with external PHY while the LWIP example was tested in this way.
You can download them from S32K3 Reference Software -> Automotive SW - S32K3 - Stacks.
B.R.
VaneB
@VaneB Thank you for your response. As per your suggestion I've installed the TCP/IP stack into S32 DS 3.5 and tried the lwip_baremetal_s32k344 example. Unfortunately, the code is entering an infinite loop, as shown in the attached image.
Any insights on resolving this issue would be appreciated.
Hi @aadyaa
As previously said these example codes were implemented using an external PHY, so please ensure to have set the setup as mentioned in the documentation provided with the package.
Also, I sent you a message with some useful tips and FAQs.
@VaneB I have carefully reviewed the attached document, and unfortunately, I do not have the complete setup for it.
I am using the S32K3X4EVB-Q172 (black colour) evaluation board.
Could you please provide guidance or share any example code that is compatible with the S32K3X4EVB-Q172 evaluation board ?
Thank you very much for your assistance. I look forward to your response.
Hi @aadyaa
I am afraid that the S32K3X4EVB-Q172 is no longer manufactured, so the example codes compatible with this board might be old. The lwIP example from SW32K3 TCP/IP 1.0.0 should work fine with S32K3X4EVB-Q172.
Note: this example could be worked only with RTD 1.0.0.