cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N657X0H3Q: NetXDuo Ethernet Some Drivers Files Not Generated for UDP Server.

SITARAM
Associate III

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:

  • nx_stm32_phy_driver.c
  • nx_stm32_eth_driver.c

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:

  1. Ethernet Interface.
  2. LAN8742 PHY Driver.

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:

  • Is the limited option (only "Custom Interface") in STM32N6 the reason these two  files are not being generated?
  • If yes, what is the correct way to generate or integrate them?
  • If not, what is the actual reason, and how can I resolve the issue?


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!

1 REPLY 1
Mahmoud Ben Romdhane
ST Employee

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.