2025-05-21 5:00 AM
Hello,
I'm working with the STM32N657X0H3Q MCU and trying to implement a UDP server . I enabled the Ethernet peripheral and selected NetXDuo in STM32CubeMX(6.14.1), then generated the code for MDK-ARM (Keil). However, two important driver files were not generated:
I noticed that in your example here:
"https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/NUCLEO-N657X0-Q/Applications/NetXDuo/Nx_UDP_Echo_Server"
the two files mentioned above are included, but this example does not contain a .ioc file, so I couldn't verify how they were configured.
To troubleshoot, I looked for another example with a similar configuration and found the STM32H5 series UDP example here:
"https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Applications/NetXDuo/Nx_UDP_Echo_Server"
This H5 example includes a .ioc file, and I observed that under NetXDuo > Network Interface, we can select:
But in STM32N6 (STM32CubeN6 package), the only option available is a "Custom Interface". I'm wondering if this is the reason why nx_stm32_phy_driver.c and nx_stm32_eth_driver.c are not being generated in my case.
My Questions:
Also, could you please provide the .ioc files for both UDP Server and UDP Client examples for STM32N6 ? That would help clarify the necessary configuration.
Thanks in advance!
2025-05-21 5:59 AM
Hello @SITARAM ,
First let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.