Skip to main content
Associate
June 26, 2023
Question

NetXDuo custom phy interface

  • June 26, 2023
  • 4 replies
  • 1596 views

Hello
I have STM32H563 with KSZ8081 ethernet phy. On FreeRTOS + LWIP i was able to define the PHY in CubeMX and it was basically working out of the box. However on the NetXDuo when i select Custom Phy Interface I am a bit lost. Are there any guidelines on how should i write a custom PHY driver for NetXDuo? I tried searching for a guide or documentation but couldn't find any.

This topic has been closed for replies.

4 replies

Associate
May 24, 2024

Hello @Kacper Dalach 

Did you ever get this to work?

I'm facing the exact same problem now. Same chip, same phy, not sure how I should implement the nx_stm32_phy_custom_driver.c file.

Associate
May 24, 2024

Due to poor documentation and support I have dropped NetXDuo and moved to Zephyr RTOS.

With zephyr it just worked out of the box.

Associate
May 24, 2024

Thank you for you swift answer.

I hopw I can prevent switching to yet another RTOS. I just got used to Azure.

Associate
May 24, 2024

I also did not want to switch to another RTOS. However after working with Zephyr I can say that it is much more than an RTOS (like FreeRTOS or Azure).

It tries to be a "Linux for MCUs", with high level of hardware abstraction, nice modular architecture and use of devicetree and kconfig. I strongly suggest looking into it, although the learning curve could be quite steep.

Either way good luck with your project!