cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753ZIT6 - Ethernet with MicroChip PHY - KSZ8563RXNI in RMII mode

umtkyck
Associate II

Is there any sample code to port Microchip Micrel RMII PHY to STM32H7 controllers?

Regards,

Umit

2 REPLIES 2
Pavel A.
Evangelist III

The MDIO routines from the ST examples for LAN8742 can be used for the other PHYs.

Code to access advanced PHY registers over SPI or I2C can be found as usual by googling.

umtkyck
Associate II

Hi Pavel,

KSZ uses multiple communication methods, as seen below I am trying to connect with MDIO.

I guess the problem is on the REF_CLK pin, REF_CLK is the INPUT pin of STM32 right? At that time, I need to assembly R140 instead of R142.