Skip to main content
ATima.1
Associate
September 26, 2023
Question

STM32F4 + LAN8720

Hi all!

I'm trying to send a page to the browser using a microcontroller. I use instructions and code from YouTube. I generate fsdata.c. I connect LAN8720 with a cable directly to the computer. As a result, the ping passes, but the site is not displayed at the same address (http://192.168.77.6).

Ping.jpg

Why might the page not be displayed?

This topic has been closed for replies.

2 replies

ST Technical Moderator
September 26, 2023

Hello @ATima.1,

Make sur that the default PHY addr value is 0.

Please review this post How to create project for STM32H7 with Ethernet an... - STMicroelectronics Community

Hope this helped you!

You can also share your code and configuration, so that Community members can help you solve your issue.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ATima.1
ATima.1Author
Associate
October 1, 2023

 

I watched a lot of videos with examples of setting up STM32 for a web server and noticed that the network settings on the computer were not discussed anywhere. That is, for example, with DHCP, my network scanners do not see the device at all and it does not ping. If you specify the address programmed into the controller in the IPv4 settings, then a ping will respond to this address, but the site page will still not be displayed. What should be the network settings on the computer?