2023-06-26 03:51 AM
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.
2024-05-24 12:20 AM
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.
2024-05-24 12:56 AM
Due to poor documentation and support I have dropped NetXDuo and moved to Zephyr RTOS.
With zephyr it just worked out of the box.
2024-05-24 01:09 AM
Thank you for you swift answer.
I hopw I can prevent switching to yet another RTOS. I just got used to Azure.
2024-05-24 01:47 AM
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!