Skip to main content
Associate II
Nov 16, 2026 4:57 AM UTC
Question

STM32MP257 - ETH3 pin allocation not available in STM32CubeMX

Hello ST Team,

We are evaluating the STM32MP257 device and noticed an inconsistency between the device documentation and STM32CubeMX.

According to the STM32MP257 feature table, the device supports 3 Gigabit Ethernet interfaces (ETH1, ETH2, and ETH3) with RGMII/GMII capability.

However, in the current STM32CubeMX version:

  • Only ETH1 and ETH2 are visible under the Connectivity configuration.
  • There is no ETH3 peripheral listed.
  • Consequently, it is not possible to view or assign the ETH3 signals/pins in the Pinout view.

Could you please clarify:

  1. Is ETH3 supported on STM32MP257 in the current STM32CubeMX release?
  2. If supported, how can the ETH3 pin allocation be displayed and configured in CubeMX?
  3. If ETH3 is not yet implemented in CubeMX, could you provide the complete ETH3 signal-to-pin mapping for STM32MP257?
  4. Is there a planned CubeMX release that will add ETH3 configuration support?

For reference, the STM32MP257 datasheet indicates support for 3 external Gigabit Ethernet interfaces, while CubeMX currently exposes only ETH1 and ETH2.

Thank you for your support.


1 reply

Erwan SZYMANSKI
ST Technical Moderator
Nov 16, 2026 12:57 PM UTC

Hello ​@Nilay Patel ,
Be careful, even if the there are 3 Ethernet ports available on the STM32MP257F-EV1 board, or in the documentation, you have to understand that it does not correspond to 3 Ethernet controllers.

Indeed, the STM32MP257 embeds 2 Ethernet controllers and 1 Ethernet switch providing 1 internal port (connected to ETH1 MAC controller) and 2 external ports (named ETH1 and ETH3). You can see a diagram here: https://wiki.st.com/stm32mpu/wiki/How_to_configure_Ethernet_switch#Ethernet_switch_interface

As concern Ethernet switch in CubeMX, you can find it under “Other” category and named ETHSW. Concerning pin muxing, you can find it on CubeMX pinout top view (right panel) by using the search field. 

To have more information about the configuration, please refer to this Wiki article: https://wiki.st.com/stm32mpu/wiki/X-LINUX-TSNSWCH_expansion_package

Hope it will help you,
Best regards,
Erwan.

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.