Introduction
STM32Cube is an STMicroelectronics original initiative to improve designer productivity significantly by reducing development
effort, time, and cost. STM32Cube covers the whole STM32 portfolio.
STM32Cube includes:
A set of user-friendly software development tools to cover project development from conception to realization, among
which are:
STM32CubeMX, a graphical software configuration tool that allows the automatic generation of C initialization code
using graphical wizards
STM32CubeIDE, an all-in-one development tool with peripheral configuration, code generation, code compilation,
and debug features
STM32CubeCLT, an all-in-one command-line development toolset with code compilation, board programming, and
debug features
STM32CubeProgrammer (STM32CubeProg), a programming tool available in graphical and command-line
versions
STM32CubeMonitor (STM32CubeMonitor, STM32CubeMonPwr, STM32CubeMonRF, STM32CubeMonUCPD),
powerful monitoring tools to fine-tune the behavior and performance of STM32 applications in real time
STM32Cube MCU and MPU Packages, comprehensive embedded-software platforms specific to each microcontroller
and microprocessor series (such as
STM32CubeH7 for the STM32H7 series), which include:
STM32Cube hardware abstraction layer (HAL), ensuring maximized portability across the STM32 portfolio
STM32Cube low-layer APIs, ensuring the best performance and footprints with a high degree of user control over
hardware
A consistent set of middleware components such as RTOS, USB Host and Device, TCP/IP, mbedTLS, FAT file
system, audio, and graphics
All embedded software utilities with full sets of peripheral and applicative examples
STM32Cube Expansion Packages, which contain embedded software components that complement the functionalities of
the STM32Cube MCU and MPU Packages with:
Middleware extensions and applicative layers
Examples running on some specific STMicroelectronics development boards
This user manual describes how to get started with the STM32CubeH7 MCU Package. Section 1: STM32CubeH7 main features
describes the main features of the STM32CubeH7 MCU Package.
Section 2: STM32CubeH7 architecture overview and Section 3: STM32CubeH7 MCU Package overview provide an overview of
the STM32CubeH7 architecture and MCU Package structure.
Getting started with STM32CubeH7 for STM32H7 series MCUs
UM2204
User manual
UM2204 - Rev 8 - December 2023
For further information contact your local STMicroelectronics sales office.
www.st.com
1 STM32CubeH7 main features
STM32CubeH7 MCU Package runs on STM32H7 32-bit microcontrollers based on Arm
®
Cortex
®
-M processors.
The
STM32H7 products come with different lines: mainly single-core lines based on Arm
®
Cortex
®
-M7 and dual-
core lines based on an Arm
®
Cortex
®
-M7 + Arm
®
Cortex
®
-M4 architecture.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
STM32CubeH7 contains all generic embedded software components required to develop an application on
STM32H7 microcontrollers in a single package. This set of components is highly portable, not only within the
STM32H7 series but also to other STM32 series.
STM32CubeH7 is fully compatible with STM32CubeMX code generator that allows the user to generate
initialization code. The package includes low-layer (LL) and hardware abstraction layer (HAL) APIs that cover the
microcontroller hardware, together with an extensive set of examples running on STMicroelectronics boards. The
HAL and LL APIs are available in an open-source BSD license for user convenience. They are compliant with
MISRA C
®
: 2012 guidelines, and have been reviewed with a static analysis tool to eliminate possible runtime
errors. Reports are available on demand.
The STM32CubeH7 MCU Package also contains a set of middleware components with the corresponding
examples. They come with very permissive license terms:
Full USB host and device stack, supporting many classes:
Host classes: HID, MSC, CDC, Audio, MTP.
Device classes: HID, MSC, CDC, Audio, DFU.
Graphics:
STemWin, a professional graphical stack solution available in binary format and based on the emWin
solution from STMicroelectronics' partner SEGGER.
LibJPEG, an open-source implementation on STM32 for JPEG image encoding and decoding.
TouchGFX, a professional graphical stack solution from STMicroelectronics to create revolutionary
embedded graphical user interfaces (GUIs) with high-end graphics and maximum performance on
energy-efficient STM32 microcontrollers.
Audio:
PDM2PCM library, offering a solution to decimate and filter out a pulse density modulated (PDM)
stream from a digital microphone, to convert it to a pulse code modulated (PCM) signal output
stream.
CMSIS-RTOS implementation with FreeRTOS
open-source solution. This RTOS solution comes with
dedicated communications primitives (stream buffers and message buffers), allowing to pass data from an
interrupt service routine to a task, or from one core to another in STM32H7 dual-core lines.
OpenAMP, an AMP framework providing software components that allow the development of software
applications for asymmetric multiprocessing (Arm
®
Cortex
®
-M7 and Arm
®
Cortex
®
-M4 in STM32H7 dual
lines).
FAT File system based on the open-source FatFS solution.
TCP/IP stack based on the open-source LwIP solution.
SSL/TLS secure layer based on the open-source mbedTLS.
Network interface:
STM32_Network_Library provides APIs to access network services on STM32 devices. It supports
several network adapters and protocols required by STM32Cube applications using network services.
Several demonstrations implementing these middleware components are also provided in the STM32CubeH7
MCU Package.
UM2204
STM32CubeH7 main features
UM2204 - Rev 8
page 2/28