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 #18 background imageLoading...
Page #18 background image
Kernel description UM2222
18/76 UM2222 Rev 2
In the FatFS file system, the page size is fixed to 512 bytes. The SD cards with higher page
size are not supported.
The software architecture of the storage unit is described in Figure 9.
Table 1. File system interface functions
Function Description
disk_initialize Initialize disk drive
disk_read Interface function for a logical page read
disk_write Interface function for a logical page write
disk_status Interface function for testing if unit is ready
disk_ioctl Control device dependent features
f_mount Register / unregister a work area
f_open Open / create a file
f_close Close a file
f_read Read a file
f_write Write a file
f_lseek Move read / write pointer, expand file size
f_truncate Truncate file size
f_sync Flush cached data
f_opendir Open a directory
f_readdir Read a directory item
f_getfree Get free clusters
f_stat Get a file status
f_mkdir Create a directory
f_unlink Remove a file or a directory
f_chmod Change attribute
f_utime Change timestamp
f_rename Rename / move a file or a directory
f_mkfs Create a file system on the drive
f_forward Forward file data to the stream directly
f_chdir Change current directory
f_chdrive Change current drive
f_getcwd Retrieve the current directory
f_gets Read a string
f_putc Write a character
f_puts Write a string
f_printf Write a formatted string

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