cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5 Interface With Gigabit Ethernet PHY device

B.Michele
Associate III

Moved from MPUs forum.


Hi, i must Use a Single Port Gigabit Ethernet PHY  that have a RGMII Gigabit Interface to connect a RMII 10/100 Mbit
Ethernet MAC interface of the STM32H563VI MCU. 

Do you think it is possible to connect a Gigabit PHY chip to the 100 Mbit H5 micros??? pin out,

Sure the final Ethernet Speed of the system, will be declasses to 10/100 Mbit. 

In particular I can't find where to connect the PA7 pin [RMII_CRS_DV] Carrier Sense... there is no CRS_DV output in the PHY gigabit device

 

Thank you very much

8 REPLIES 8
SofLit
ST Employee

Hello,

STM32 MCUs don't support Ethernet Gigabit. Only MPU family does: STM32MP1xx, STM32MP2xx

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.
PatrickF
ST Employee

Not possible to connect RGMII PHY to an RMII interface. They are using different signals and clocks.

You need to look for a RMII PHY.

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.

Good evening SofLit,

Thank you for your answer;  Yes I Know that STM32H563VI  MCU haven't the Gigabit Interface but only the 10/100 Mbit/s Fast Ethernet Like All H5-H7 ecc.. STM Arm processor
For me it' Ok to have only 100 Mbit/s speed  But I want Interface the PHY Phisical Layer to magnetic and RJ45 Copper Ethernet line With a New Chip Gigabit that have RGMII line.

So i want interface the RMII or MII Interface of STM H5 With a RGMII PHY Chip;

Is it possible to adapt the signals together with some I/O pins to drive the RGMII interface by downgrading it to max 100 Mbit??

Thank's

Good evening PatrickF,

Thank you for your answer;  Ok The H5 MCU haven't the RGMII but only  the SMI, MII, RMII, interface.

I was wondering if it's not really possible to adapt the signals together with some I/O pins to drive the RGMII interface by downgrading it to max 100 Mbit??   with the RMII Or MII H5 pinout and some other I/O pin.... 
downgrading the clock to 25 MHz I think, or whatever it takes....

Thank's

Hi, @B.Michele 

sorry to be rude, but I fear there is no way, they are too different.

RGMII PHY could run on 100Mbit/s link, but it is still using RGMII protocol.

Either you use an RMII PHY with STM32H5, or use an STM32 having RGMII capabilities (STM32N6, STM32MP1, STM32MP2 families).

 

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.
Pavel A.
Evangelist III

@B.Michele Please ask the vendor of the PHY if they support RMII. We have successfully connected STM32H753 to a 10/100/GB Broadcom switch chip, in 100 M RMII mode.

 

Thank you @PatrickF

Ok, thanks for the advice, so ultimately the "Copper" or "Fiber" Ethernet PHY device must support one of the three protocols of the H5: 'SMI' or 'MII' or 'RMII'???

 

Last question; the 'SMI' serial interface, that I had never considered until now; It's not explained very well in the manual. Is it the older system??, does it have to do with fiber optics?? Is it worth considering??

 

Thank's

Thank you @Pavel A.,

Thanks for your suggestion, certainly i see the opinion too with my MaxLinear Single Port Gigabit Ethernet PHY with RGMII Or SGMII interface.  H7 & H5 I think they have the same Ethernet MAC interface.
I can only ask you the brand of the PHY chips ??

Thank's