2026-06-05 4:36 AM
Hi everyone,
I have a schematic using the Realtek RTL8211F-CG Gigabit Ethernet PHY and I want to connect it directly to an STM32H7 microcontroller for Ethernet communication.
My questions are:
Any help or experience is appreciated. Thanks!
Solved! Go to Solution.
2026-06-05 4:59 AM
Hello,
A question that you need to address to Realtek
2026-06-05 4:59 AM
Hello,
A question that you need to address to Realtek
2026-06-05 5:02 AM
@Meer wrote:2. The RTL8211F-CG datasheet mentions it can operate at 10/100 Mbps as well — but does it support a true RMII mode that the STM32H7 MAC can talk to?
You would have to ask RealTek that.
@Meer wrote:4. If this is not possible at all, what is the simplest/cheapest alternative 10/100 PHY that works reliably with STM32H7 in RMII mode?
Simplest, surely, would be to use whatever the ST boards use?
2026-06-05 5:55 AM
Thanks for your comment. I will asked to RealTek
2026-06-08 9:48 PM
No, you generally cannot connect RTL8211F-CG directly to an STM32H7 Ethernet MAC.
The problem is not the 10/100/1000 capability on the cable side. The issue is the MAC-to-PHY interface. STM32H7 Ethernet supports MII/RMII, while RTL8211F-CG is mainly an RGMII PHY. Even when the RTL8211F-CG negotiates 10 or 100 Mbps on the Ethernet cable, the MAC-side interface is still RGMII, just running at lower clock rates. It does not magically become RMII.
So unless your STM32H7 variant has an RGMII-capable Ethernet MAC, which normal STM32H7 parts do not, CubeMX/HAL cannot fix this in software. The pinout, clocking, and data bus are physically different.
For STM32H7, the simpler solution is to use a 10/100 RMII PHY such as:
LAN8720 / LAN8742
DP83848
KSZ8081 / KSZ8091
RTL8201
LAN8742 is commonly used on ST boards, so it is usually the safest choice with CubeMX examples.
In short: RTL8211F-CG is fine for processors with RGMII support, but for STM32H7 RMII Ethernet, use a proper RMII PHY.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.