2022-01-03 10:37 PM
Hello,
I was trying to do a basic Ethernet set up to send UDP packets using LWIP stack, STM32f427VG MCU and CubeIDE.
For initial testing I have configured the Ethernet module and external PHY - KSZ8041NL and tried sending PING command. But the ethernet module in my PC is not detecting the hardware. Seems like I have configured wrongly because the hardware is perfectly sending data over ethernet when I load another program. I am not using any OS at present.
I have attached my project file here. Please share your valuable comments.
Thank you
Solved! Go to Solution.
2022-01-17 02:14 AM
Hi,
Thank you for your reply, it was resolved. The issue was, I wasn't enabling the clock to the PHY. Below is a very good tutorial for beginners.
2022-01-10 02:07 AM
Hi @SSala.3 ,
As there is no exact example with your current setup in STM32CubeF4 package, I suggest you to refer to some LWIP examples available under STM32CubeF4/Projects/STM324x9I_EVAL/Applications/LwIP at master · STMicroelectronics/STM32CubeF4 · GitHub.
Try to compare your implementation with the one used in the example similar to your expected application.
There is also the knwoledge article "How to create project for STM32H7 with Ethernet and LwIP stack workinge" that may be helpful for although it is based on STM32H7.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-01-17 02:14 AM
Hi,
Thank you for your reply, it was resolved. The issue was, I wasn't enabling the clock to the PHY. Below is a very good tutorial for beginners.