2026-03-24 3:05 AM
We have some devices based on STM32MP257 SoCs that connect to a 100 Mbit Ethernet network via ETH1, where ETH1 is going straight to an RMII PHY. Pins for ETH2 are reserved, but are not used/not connected. Some of our devices work rock-solid as excepted, but others exhibit massive performance problems on the Ethernet connection.
After lots of research, we think that our devices are affected by a silicon bug described in errata sheet ES ES0598 as "ETH1 RMII mode could have CRC errors". Our chip revisions are all rev Y, which are affected by the issue. The errata says that ETH1 should be routed through ETHSW to work around the silicon bug. To test if the workaround works for our case, I've tried to enable ETHSW, but failed so far because STM32CubeMX forces me to free some pins before it allows me to enable ETHSW in RMII mode. It seems like ETH1 and ETH3 must be used together if ETHSW is enabled, the pins for ETH3, however, are already used for other hardware functions.
So, my goal is to
- enable ETHSW in RMII mode,
- route ETH1 through ETHSW to work around the silicon bug,
- use the same set of pins as used by ETH1 in direct mode,
- don't use ETH3 (ETH2 would be OK, though), and
- keep all other pins unaffected by this change.
Is this possible at all?
Solved! Go to Solution.
2026-06-08 2:18 AM
If I were to use RGMII instead of RMII, would it be possible to avoid this problem?
Thank you~
2026-06-08 11:06 PM - edited 2026-06-08 11:06 PM
Hello @bugman ,
The RGMII is not affected by the issue. Only RMII is. By the way, the issue is corrected on last STM32MP25 SoC revision.
Kind regards,
Erwan.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.