Skip to main content
Visitor II
October 11, 2024
Question

stm32f767bi and lan8720a

  • October 11, 2024
  • 2 replies
  • 1063 views

Hello everybody!

I'm working with MCU stm32f767bi and I'm trying to communicate a ethernet port (lan8720a).
I'm using a MXcube32 to configure the ETH and LWIP, but I can't get work the port.
If someone has experience integrating this two devices please give some advices or examples.

Thanks in advance!

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    October 11, 2024
    LeoGPAuthor
    Visitor II
    October 11, 2024

    Hi @Imen.D, thanks for your quick reply! The LAN8270 Led it's blinking now, and my computer detects something at the ethernet port. Now, I'm trying to send a PING from my computer to the LAN8270 but it's unsuccessful.

    Do you now if I need add extra settings or code to make a PING successful?

    Or what can I do to check if the LAN8270 its working?

    Thanks for your help!!!

    Technical Moderator
    October 11, 2024

    We need more details on your configuration to answer your question, as it could be related to the HW or software configuration (PHY, Clock etc ..)

    Check the Pin assignment for Ethernet as it could be different from the one selected by default with CubeMX.

    Make sure to use the latest release of STM32CubeF7 (v1.17.2) - with Ethernet driver update and contains some enhancement and fixes.

    Please check these resources which may help you: 

    LeoGPAuthor
    Visitor II
    October 15, 2024

    Hi @Imen.D!

    The pin assigment is correct as the default with CubeMX.

    I'm using STM32CubeF7 v1.17.0 (last released version) I have a project working correctly with touchgfx just I want implement ethernet communication to this project.

    Here is my Clock Configuration

    LeoGP_0-1729006543031.png

    LeoGP_1-1729006602058.png

    And my PHY

    LeoGP_2-1729006715396.png

    LeoGP_3-1729006728675.png

    LeoGP_4-1729006787780.png

    LeoGP_5-1729006801192.png

    Thanks for your help :)