cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK: How to integrate a custom Ethernet PHY (MXL86110I) driver instead of RTL8211/LAN8742 generated by CubeMX?

GKarthik
Visitor

Hello,

I am working on an STM32N6570-DK project using NetX Duo generated through STM32CubeMX.

CubeMX provides PHY options such as RTL8211 and LAN8742. However, my hardware uses an MXL86110I-AQB-R Ethernet PHY connected through the RGMII interface.

I would like to know the recommended method for integrating a custom PHY driver when the required PHY is not available in CubeMX.

My questions are:

  1. Can a project be generated using RTL8211 and then modified to use a custom MXL86110I PHY driver?

  2. Which source files are responsible for PHY initialization, auto-negotiation, link status detection, and speed/duplex configuration?

  3. Is there a PHY driver abstraction layer that custom PHY drivers must implement to work with the STM32 Ethernet driver and NetX Duo?

  4. Are there any examples showing integration of a third-party PHY that is not listed in CubeMX?

  5. What is the recommended approach for maintaining custom PHY support when regenerating code from CubeMX?

Project details:

  • MCU: STM32N6570

  • Board: STM32N6570-DK

  • Middleware: NetX Duo

  • PHY: MXL86110I-AQB-R

  • Interface: RGMII

Any guidance would be appreciated.

Thank you.

0 REPLIES 0