Skip to main content
Associate
February 10, 2026
Solved

How to configure XCore407I STM32 Board Ethernet in Stm32CubeIDE?

  • February 10, 2026
  • 5 replies
  • 317 views

I have an XCore407I board with an Ethernet port installed. I'm trying to create a simple UDP server in Stm32CubeIDE. Compilation and uploading to the board is OK. But the board doesn't respond to ping and isn't visible in the router's device list.

Screenshot_7.png

Here are my settings in IDE.

Spoiler
Screenshot_2.pngScreenshot_3.pngScreenshot_4.pngScreenshot_5.pngScreenshot_6.png

Here is the main code.

int main(void)
{
 HAL_Init();
 SystemClock_Config();

 /* Initialize all configured peripherals */
 MX_GPIO_Init();
 MX_LWIP_Init();

 // Udp init function
 udpServer_init();

 while (1)
 {
 MX_LWIP_Process();
 }
}

Unfortunately, I can't attach the entire project here. But I can add code from other modules upon request.

Can you tell me how to set this up correctly so it works? Thank you.

Best answer by Andrew Neil

@KeshaV wrote:

Sources on vendor's site is outdated 


That's something you need to take up with Waveshare - it's nothing to do with ST.

Otherwise, you'll just have to do it from first principles - as if it were a custom board of your own design.

 

If you want a ready-to-go solution from ST, try a Discovery or Nucleo board...

5 replies

Andrew Neil
Super User
February 10, 2026

@KeshaV wrote:

I have an XCore407I board .


You mean this: https://www.waveshare.com/wiki/XCore407I

It's not an ST board, so your primary source for support should be Waveshare:

https://www.waveshare.com/wiki/XCore407I#Support

https://service.waveshare.com/

 

Using the ITM console for printf redirects and LWIP debug messages

 


@KeshaV wrote:

Unfortunately, I can't attach the entire project here. .


Why not?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
KeshaVAuthor
Associate
February 10, 2026

Thanks for the reply. Yes, it's not an STM board, but it does have an STM32F407IGT6 processor. Are there any nuances to configuring this processor for Ethernet that I've missed?

I've attached the project.

Pavel A.
Super User
February 10, 2026

The web page for that board contains some downloads related to ethernet, for one - "stm32f4 IAP ETH".

It is a source project for a ST STM32F4 board with DP83848 PHY. Does the board actually have the DP83848?

Try to use these sources, as the board vendor recommends them.

 

KeshaVAuthor
Associate
February 11, 2026

Board have DP83848. See photo:

photo_2026-02-11_12-24-46.jpg

 

Sources on vendor's site is outdated and not for Stm32CubeIde. I can't compile them.

Andrew Neil
Andrew NeilBest answer
Super User
February 11, 2026

@KeshaV wrote:

Sources on vendor's site is outdated 


That's something you need to take up with Waveshare - it's nothing to do with ST.

Otherwise, you'll just have to do it from first principles - as if it were a custom board of your own design.

 

If you want a ready-to-go solution from ST, try a Discovery or Nucleo board...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
KeshaVAuthor
Associate
February 11, 2026

Ok. Thank you.

Pavel A.
Super User
February 11, 2026

Here you can find help to adapt these sources and other available examples to CubeIDE.