Skip to main content
Visitor II
July 21, 2020
Question

STM32F107 ethernet doesn't work, MDIO doesn't work, lan8720a

  • July 21, 2020
  • 1 reply
  • 1179 views

I'm new in ethernet and stm32, I use lan8720a and LWIP, I created code from stm32cubeide and created signal with a pin MCO but the ethernet communication isn't work, the MDIO stay low. I belived that MX_LWIP_Init the ethernet communication, isn't it? I need some instruction more?, the PHY address is put in 0 I didn't move more configurations of the code generated

    This topic has been closed for replies.

    1 reply

    JRodr.2Author
    Visitor II
    July 22, 2020

    could you tell me a list of steps to enable ethernet?

    Did not fully understand the link information

    Graduate II
    July 22, 2020

    You're likely to have to understand the peripheral and mechanics yourself, relying on CubeMX to produce code at the push of a button requires no knowledge.

    You'd do better finding ethernet examples for the STM32F1 EVAL boards, and chinese boards, that are rough proxies for what you're working with.

    Start with simple examples where you can just see packets/traffic on the wire, and once that works move on to TCP/IP stacks