cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Ethernet with LWIP on STM32H573I-DK Board

manoj7
Associate

I am currently working with the STM32H573I-DK discovery kit and am trying to enable Ethernet connectivity using LWIP in STM32CubeMX and STM32CubeIDE. However, I have noticed that the LWIP option is not available in STM32CubeMX for this board.

Could you kindly guide me on how to enable Ethernet functionality with LWIP on the STM32H573I-DK? Is there any recommended procedure or workaround to add Ethernet support if the option is not directly available in STM32CubeMX?

Any guidance, reference materials, or example projects would be highly appreciated.


How to use the LwIP Ethernet middleware on the STM32H5 series....I already saw this...but so many error

8 REPLIES 8
MOBEJ
ST Employee

Hello @manoj7 , 

For the STM32H5 series, including your STM32H573I-DK board, we recommend using NetX Duo for Ethernet connectivity. NetX Duo is a high-performance, dual IPv4/IPv6 TCP/IP network stack that is optimized for embedded systems. It offers a robust set of features and is well-supported within the STM32 ecosystem.

 You can find examples and application projects within the NetX Duo package that can help you get started quickly. These examples cover various use cases and can be a great reference for your project.

You can download and use the NetX Duo examples for the STM32H573I-DK board from GitHub via this link: : STM32CubeH5/Projects/STM32H573I-DK/Applications/NetXDuo at main · STMicroelectronics/STM32CubeH5 · GitHub

BR

 

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.

@manoj7 wrote:

How to use the LwIP Ethernet middleware on the STM32H5 series....I already saw this...


You mean this:

https://community.st.com/t5/stm32-mcus/how-to-use-the-lwip-ethernet-middleware-on-the-stm32h5-series/ta-p/691100

(please always give a link, to be sure).

 


@manoj7 wrote:

but so many error


That's often down to just one small error early on (eg, omitting an include file) which then causes  many knock-on errors.

So start by addressing the earliest reported error first.

For this, you need to look in the Console output, not the "Problems" list - because that gets re-ordered.

 

Hello @MOBEJ,

Thank you for the information! I found that NetX Duo is available in the middleware section of STM32CubeMX, which I have enabled. However, I couldn't find the X-CUBE-AZURE-H5 package in the middleware section.

I manually downloaded the X-CUBE-AZURE-H5 package in ST website and tried linking it to STM32CubeMX, but I encountered an issue (please refer to the attached image for details). Could you guide me on how to properly integrate the X-CUBE-AZURE-H5 package with STM32CubeMX?

Thanks in advance for your help!

BR,
@manoj7

Hello @manoj7 , 

To integrate the X-CUBE-AZURE-H5 package with STM32CubeMX, please kindly follow this  article: How to install and import an X-CUBE Expansion Pack.

Br

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.

@MOBEJ 

what you gave the link its showing Invalid Parameters Specified. I will attach the photo

Hello @manoj7 ,

please check it again , it works well 

MOBEJ_0-1740132224838.png

 

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.

@MOBEJ 

There is no option for x-cube-azure-H5 in middleware package to install and import. i will attach the photo

 

@manoj7 Please go to  STM32Cube MCU packages and downloads the package , In fact The H5 package natively supports Azure integration.

MOBEJ_0-1740133624267.png

 

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.