Skip to main content
Graduate
September 26, 2025
Solved

STM32H573I-DK HTTP Client

  • September 26, 2025
  • 2 replies
  • 428 views

Hello ST Community -

I am seeking to migrate a functioning HTTP Client application from a SAMD51 MCU to STM32 silicon, I have an STM32H573I-DK on hand, objectives:

  • HTTP Client Ethernet (wired) connectivity using a static IP address
  • Storing retrieved JSON objects on an SD card
  • DIsplaying selected attributes on the 240x240 LCD

Other than the demo program, I have not deeply explored the STM32H573I-DK. Any configuration, and coding tips / examples would be greatly appreciated. 

Thanks much,

Kelly

 

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

    Hello Kelly,

    This is an interesting task. I can offer a suggestion on the HTTP Client side of your project.

    You can use the Mongoose Networking Library. It's a lightweight library designed for embedded systems, with support for many networking protocols, and is a good fit here because it provides both a simple HTTP client and a built-in JSON parser. This means you don't need to add a separate library just to handle the retrieved objects. Mongoose is well-documented here and has a clean, non-blocking API.

    You can use the following resources as a starting point:

    • a tutorial showcasing a basic HTTP client
    • to give you a working foundation on your specific hardware, here is a complete CubeIDE project for your STM32H573I-DK board running a simple webserver. This is the quickest way to integrate Mongoose with the Ethernet hardware setup to work properly on Cube. Once this base project is running, you can easily adapt it into an HTTP client using the logic from the tutorial above.

    As for your other requirements, you can use the standard STM32 HAL functions for the SD card and LCD, and integrate those calls into the Mongoose project.

    Heads up: I am part of the Mongoose development team. Hope this helps you get started.

    2 replies

    Super User
    September 26, 2025

    Here you can find help for your STM32 project.

    You can split the project to 3 parts that can be done in parallel, maybe by different people: http client, SD-card and the LCD.

     

    Graduate
    October 1, 2025

    Thanks Pavel for providing awareness of developmental resources. 

    Graduate
    September 26, 2025

    Hello Kelly,

    This is an interesting task. I can offer a suggestion on the HTTP Client side of your project.

    You can use the Mongoose Networking Library. It's a lightweight library designed for embedded systems, with support for many networking protocols, and is a good fit here because it provides both a simple HTTP client and a built-in JSON parser. This means you don't need to add a separate library just to handle the retrieved objects. Mongoose is well-documented here and has a clean, non-blocking API.

    You can use the following resources as a starting point:

    • a tutorial showcasing a basic HTTP client
    • to give you a working foundation on your specific hardware, here is a complete CubeIDE project for your STM32H573I-DK board running a simple webserver. This is the quickest way to integrate Mongoose with the Ethernet hardware setup to work properly on Cube. Once this base project is running, you can easily adapt it into an HTTP client using the logic from the tutorial above.

    As for your other requirements, you can use the standard STM32 HAL functions for the SD card and LCD, and integrate those calls into the Mongoose project.

    Heads up: I am part of the Mongoose development team. Hope this helps you get started.

    Graduate
    October 1, 2025

    ...will explore the Mongoose Networking Library as a supported approach. Thanks!