Skip to main content
Visitor II
February 20, 2025
Solved

Enabling Ethernet with LWIP on STM32H573I-DK Board

  • February 20, 2025
  • 2 replies
  • 2129 views

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

    This topic has been closed for replies.
    Best answer by MOBEJ

     

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

    MOBEJ_0-1740133624267.png

     

    2 replies

    ST Employee
    February 20, 2025

    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

     

    manoj7Author
    Visitor II
    February 21, 2025

    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

    ST Employee
    February 21, 2025

    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

    Super User
    February 20, 2025

    @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.