Skip to main content
Visitor II
May 5, 2020
Solved

STM32 Ethernet

  • May 5, 2020
  • 1 reply
  • 727 views

I use ethernet switch instead of PHY with stm32f4. While RMII pins are connected to STM32, I manage MDIO pins with SPI.There is basic things whic is I can not understand.What is the difference between the autonegation,speed settings in STM32 ethernet driver configuration and switch autonegation,speed configuration?

    This topic has been closed for replies.
    Best answer by Pavel A.

    Depends on the switch.

    If it is like Micrel /Microchip KS: STM32 connects to its internal port which has fixed parameters, so don't autonegotiate, just match these parameters.

    Enable autonegotiation on external ports of the switch, if desired.

    -- pa

    1 reply

    Pavel A.Answer
    Super User
    May 5, 2020

    Depends on the switch.

    If it is like Micrel /Microchip KS: STM32 connects to its internal port which has fixed parameters, so don't autonegotiate, just match these parameters.

    Enable autonegotiation on external ports of the switch, if desired.

    -- pa