Skip to main content
Associate
July 28, 2025
Question

External Ethernet PHY FOR STM32H743BIT6

  • July 28, 2025
  • 3 replies
  • 382 views

Hello,

I am working on the STM32H743BIT6 ethernet communication. I am using the external PHY DP83TC814RRHARQ1 for my requirement. I am configuring in CubeMX as USER_PHY under platform settings of LwIP. How can i communicate via external PHY.? Does configuring the pins for this external PHY is enough or do we need to include drivers of DP83TC814RRHARQ1 in the software. Can you help me on this how to communicate with this external PHY.

 

mahesh543_0-1753699799011.png

 

3 replies

Technical Moderator
July 29, 2025

Hello @mahesh543 and welcome to ST Community!

You need to configure the pins properly and include the PHY drivers (both header and source files) for your specific PHY device in your project directory, then import them accordingly. This will enable your MCU to communicate with the PHY by reading from and writing to its registers.

Best regards

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
mahesh543Author
Associate
July 29, 2025

I have configured the PHY in LwIP platform settings as USER_PHY. It is correct? I have provided the image in the above. Can you suggest me regarding the PHY configuration.

 

 

Thank you

Mahesh

Technical Moderator
July 29, 2025

>I have configured the PHY in LwIP platform settings as USER_PHY. It is correct?

Yes that is correct.

>Can you suggest me regarding the PHY configuration.

Regarding PHY configuration, the necessary setup is typically handled within the driver you import into your project. Your task is to establish the connection between LwIP and your specific PHY so that communication with the PHY registers is possible. You might find this thread helpful:
https://community.st.com/t5/stm32cubemx-mcus/how-to-configure-external-ethernet-phy/m-p/803061

Additionally, downloading a working LwIP project and examining how LwIP communicates with the PHY via the IO functions in the ethernetif.c source file can provide valuable insights.

 

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.