2025-06-20 7:52 AM - last edited on 2025-06-20 8:12 AM by Andrew Neil
Hello, I am using STM32H743BIT6 as a MAC for DP83TC814R Ethernet PHY, I have one query regarding oscillator, I am using Ethernet in RMII slave mode which requires 50MHz reference clock, can i use the same clock which i am using for MCU HSE or should i use different one for EThernet PHY, But how the clocks can be synchronised in that case?
2025-06-21 3:02 AM
Yes you can use the same clock (50MHz is the max clock allowed on OSC_IN), the synch is via the RMII_REF_CLK input pin of the STM32H7 (50MHz from PHY).
2025-06-21 8:01 PM
Could you please elaborate on the pin numbers & names at both MAC & PHY side
MAC part number : STM32H743BIT6
PHY part number : DP83TC814R
2025-06-22 3:49 AM
I will no do your work, please read the Datasheet / Reference manual for the STM32H74x and the DP83TC814.
Some small hint: The STM32 MAC with RMII interface needs the same clock as the PHY, see chapter 58.6.3 of the Reference manual (rm0433).
2025-06-22 10:16 PM
I got your point but now if we are giving the output of 50MHz oscillator to XI pin of PHY and ref_clk pin of STM(MAC), there is one more OSC_IN pin(which is used for HSE operations), then same will be given to this pin as well?
2025-06-22 10:28 PM
Yes, if You whant to use the same clock as CPU clock.
2025-07-03 3:07 AM
The clock path is very not clear, this is how we have implemented in our design, please guide us here,
But from the reference manual it shows from ETH transceiver REF CLK is input to STM32 RMII_ETH_Refclk, but is this the clk going to XI pin of ETH transciver, how the synchronisation will be?
2025-07-03 3:59 AM
Hello, Can we use OSC50M-3.3I/S3 for HSE operations of STM32H743BIT6?
2025-07-03 4:10 AM
Ok:
1) 50MHz Clock has to go to PH0_OSC_IN (not PH1_OSC_OUT).
2) Aside from the point 1) the clock is OK (the DP83TC814R use XI as reference clock), from the Datasheet:
3) You have tu use an Oscillator capable of driving the 3 Inputs. OSC50M-3.3I/S3 should be OK (max. 15pF)
2025-07-03 4:14 AM
Is this ok, We are planning to use ETH transceiver in RMII slave mode?