Skip to main content
Visitor II
August 2, 2021
Question

STM32H753ZIT6 - Ethernet with MicroChip PHY - KSZ8563RXNI in RMII mode

  • August 2, 2021
  • 2 replies
  • 854 views

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

Regards,

Umit

    This topic has been closed for replies.

    2 replies

    Super User
    August 3, 2021

    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.

    umtkyckAuthor
    Visitor II
    August 4, 2021

    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.