cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure MDIOS pins of stm32mp157c in STM32CubeMX

UStei.1
Associate II

I try to configure the pins of the MDIOS controler of the STM32MP157C in STM32CubeMX version 6.2.1 . The datasheet states, for pin PA10 -ALT11 the function MDIOS_MDIO. But I cannot select this function for PA10. I also cannot find MDIOS in the devices column.

Is MDIOS not supported by CubeMX or did I make something wrong?

1 REPLY 1
PatrickF
ST Employee

Hi,

MDIOS (MDIO Slave, pins MDIOS_MDC/MDIO) has not to be confused with MDIO (master) used to control an external Ethernet PHY (pins ETH1_MDC/MDIO).

MDIO (master) is embedded/controlled in ETH IP (and obviously fully supported under Linux).

MDIOS is not supported in Linux SW. There is no plan to add it.

MDIOS is available in STM32MP1 Cube HAL.

MDIOS IP support is discontinued on future ST32MPx products.

We did not found any relevant use cases with MDIOS (slave) on MPU platforms, could you provide more information on your use case ?

Btw, I see an internal support ticket (thru ST FAE) with same topic, please use only one channel to avoid confusion.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.