EasyManua.ls Logo

ST STM32CubeH7 User Manual

ST STM32CubeH7
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #12 background imageLoading...
Page #12 background image
Kernel description UM2222
12/76 UM2222 Rev 2
3.3 Kernel processes and tasks
The kernel is composed of a main task and software timer scheduled by FreeRTOS through
the CMSIS-OS wrapping layer:
GUI thread: this task initializes the demonstration main menu and then handles the
graphical background task when requested by the STemWin.
Software timer: managing periodically (each 30 ms) the touch screen state.
Note: For the STM32H747I EVAL and DISCO board demonstrations, the interrupt handles
the touch screen event.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the ST STM32CubeH7 and is the answer not in the manual?

ST STM32CubeH7 Specifications

General IconGeneral
MicrocontrollerSTM32H7 Series
On-chip SRAMUp to 1 MB
On-chip FlashUp to 2 MB
Operating Voltage1.62 V to 3.6 V
PeripheralsADC, DAC, Timers, PWM, UART, SPI, I2C, CAN, USB, Ethernet

Summary

STM32CubeH7 Demonstration Platform Introduction

STM32Cube Overview

Global Architecture

Kernel Description

Kernel Overview

Provides a generic platform to control and monitor application processes, offering user APIs and services.

Kernel Initialization

Initializes hardware, firmware resources, HAL system clocks, and common services like memory management.

Kernel Processes and Tasks

Composed of a main task and software timer scheduled by FreeRTOS for GUI and periodic operations.

Kernel Graphical Aspect

Defines the visual interface, including splash screen and main menu for demonstrations.

Kernel Menu Management

Initializes and launches the main demonstration menu, handling background images and callbacks.

Module Manager

Manages modules, responsible for initializing hardware, GUI resources, storage units, and the system menu.

Backup and Settings Configuration

Saves kernel and module settings using RTC backup registers, with two kernel APIs for saving/restoring.

Storage Units

Provides a storage unit for audio, bitmaps, and video media, initialized at startup and accessible via FatFS.

Adding Binary Demonstrations

Allows loading specific demonstrations as binaries in memory, launched during native ST demonstration runtime.

Demonstration Repository Structure

Details the folder organization for demonstration sources, divided into Core, GUI, Config, Modules, and Binary.

Kernel Components

Lists core components like Kernel core, Modules, HAL Drivers, BSP Drivers, CMSIS, FatFS, FreeRTOS, and STemWin.

Kernel Core Files

Lists essential kernel files such as main.c, stm32h7xx_it.c, k_bsp.c, and k_module.c.

Hardware Settings and Jumpers

Describes supported boards and jumper configurations for demonstration purposes.

Creating a New Module

Creating the Graphical Aspect

Designs module appearance using GUIBuilder, generating resource tables and dialog procedures.

Graphics Customization

Allows customizing graphical elements like buttons by replacing standard aspects with user-defined images.

Module Implementation

Adds module functionalities and processes after finalizing the graphical appearance.

Adding Module to Main Desktop

Adds a created module to the main desktop view by updating the module_prop[] list.

Demonstration Customization and Configuration

LCD Configuration

Configures LCD parameters like multiple layers, buffering, virtual screens, and frame buffer locations.

Layer Management

Manages layers for main desktop and video player, optimizing CPU usage during refresh tasks.

BSP Customization

Covers BSP customization including SDRAM and Touchscreen configurations.

Performance Features

CPU Cache Performance

Leverages Cortex-M7 performance with 16KB instruction and 16KB data caches.

Multi Buffering Features

Uses multiple frame buffers for smooth display updates, copying content to back buffers.

Multi-Layer Feature

Allows windows to be placed in any layer or display, handled uniformly via API routines.

Hardware Acceleration

Utilizes STM32H7 hardware acceleration, with STemWin callbacks for custom behavior.

Hardware JPEG Decoding

Supports hardware JPEG decompression and YCbCr to RGB conversion via Chrom-ART for faster performance.

Module Footprint and Memory Requirements

STemWin Features and Resources

Details STemWin features and resources, including JPEG decoder and GUI components.

STemWin GUI Components Memory Requirements

Details ROM and RAM requirements for STemWin components like Windows manager, drivers, and widgets.

STM32H743I/747I Demonstration Modules

STemWin Demonstration Modules

Covers STemWin modules: Audio Player, Video Player, Rocket Game, Clock/Weather, Graphic Effect, Dual Core, System Info.

TouchGFX Demonstration Overview

Introduces TouchGFX demonstration, available in binary format for various applications.

Embedded Wizard Demonstration Overview

Details Embedded Wizard demos: Video Player, Graphic Effect, TapTap Plane, Accelerator, Waveform, Screen Saver, Charts, Climate, Brick, Fitness, Paper Cutter, Washing Machine.

STM32H745I-DISCO Demonstration Modules

STM32H745I-DISCO Main Graphical Interface

Allows users to select applications like Oscilloscope, CoreMark, or system information.

STM32H745I-DISCO EEMBC CoreMark Benchmark

Measures microcontroller and CPU performance, showing Cortex-M7 and Cortex-M4 scores.

STM32H745I-DISCO Oscilloscope & Signal Generator

Demonstrates dual core and analog features, with Cortex-M7 for signal generator and Cortex-M4 for oscilloscope.

Document Revision History

Related product manuals