cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Ethernet interface without assigning MDC / MDIO pins (SMI / MIIM bus)

zbrozek
Associate II

I don't use the code-generation features of the STM32CubeMX, but rather use it just for pin-planning purposes when designing hardware. I've noticed that when enabling the Ethernet MAC, that the SMI / MIIM peripheral is automatically enabled and allocated pins. There are many cases where this is inappropriate (e.g., some other device is managing the interface, no management is possible, or another bus type is used) and it would be lovely for STM32CubeMX to treat these two things as the fully-unrelated peripherals that they really are.

The workaround is to manually assign each Ethernet pin individually, but this is brutally unpleasant. Could ST please divorce these two peripherals within the STM32CubeMX software?

2 REPLIES 2
Pavel A.
Super User

Which STM32 is this for? What is the version of CubeMX?

 

zbrozek
Associate II

Which STM32? Any of them with Ethernet. I've had this bother me with the STM32F407, STM32F427, STM32H573, and others.

Which version of STM32CubeMX? Currently 6.15.0