Skip to main content
Visitor II
June 26, 2023
Question

NetXDuo custom phy interface

  • June 26, 2023
  • 2 replies
  • 1569 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.

    2 replies

    Explorer II
    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.

    Visitor II
    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.

    Explorer II
    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.

    Visitor II
    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!