没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
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 STM32CubeN6 for the STM32N6 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 ThreadX, FileX, LevelX, NetX Duo, USBX, USB PD, video
encoder API, and OpenBL
– 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 STM32CubeN6 MCU Package.
Section 2: STM32CubeN6 main features describes the main features of the STM32CubeN6 MCU Package.
Section 3: STM32CubeN6 architecture overview provides an overview of the STM32CubeN6 architecture and the MCU
Package structure.
Getting started with STM32CubeN6 for STM32N6 series
UM3249
User manual
UM3249 - Rev 1 - October 2024
For further information contact your local STMicroelectronics sales office.
www.st.com
1 General information
The STM32CubeN6 MCU Package runs on STM32 32-bit microcontrollers based on the Arm
®
Cortex
®
-M55
processor with
Arm
®
TrustZone
®
and FPU.
Note: Arm and TrustZone are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
UM3249
General information
UM3249 - Rev 1
page 2/33
2 STM32CubeN6 main features
The STM32CubeN6 MCU Package runs on STM32 32-bit microcontrollers based on the Arm
®
Cortex
®
-M55
processor with
TrustZone
®
and FPU.
The STM32CubeN6 gathers, in a single package, all the generic embedded software components required to
develop an application for the
STM32N6 series microcontrollers. In line with the STM32Cube initiative, this set of
components is highly portable, not only within the STM32N6 series microcontrollers but also to other STM32
series.
The STM32CubeN6 MCU Package also contains a comprehensive middleware component constructed around
Microsoft
®
Azure
®
RTOS middleware and other in-house and open source stacks, with the corresponding
examples.
They come with free user-friendly license terms:
•
Integrated and full featured Azure
®
RTOS: Azure
®
RTOS ThreadX
• Advanced file system and flash translation layer: FileX / LevelX
•
CMSIS-RTOS implementation with Azure
®
RTOS ThreadX
•
USB Host and Device stacks coming with many classes: Azure
®
RTOS USBX
• Industrial grade networking stack: optimized for performance coming with many IoT protocols: NetX Duo
•
VeriSilicon
®
H.264 video encoder software stack
• ST Image Signal Processing (ISP) Library
• ST USB Power Delivery library
• ST external memory manager
• MCUboot
• OpenBootloader
Several applications and demonstration implementing all these middleware components are also provided in the
STM32CubeN6 MCU Package.
The STM32CubeN6 MCU Package component layout is illustrated in Figure 1.
Figure 1. STM32CubeN6 MCU Package components
DT73811V1
FileX/LevelX
Middleware level
Utilities
Application-level demonstrations
HAL and LL APIs
User
application
Discovery boards STM32 Nucleo boards
ThreadX
USB PD
Hardware abstraction layer APIs (HAL)Board Support Package (BSP) Low-layer APIs (LL)
Utilities
CMSIS
H.264 Video
encoder
USBX
NetX
Duo
Video encore
wrapper layer
ExtMem
manager
Azure RTOS
OpenBL ExtMem loader
ISP library
MCU
boot
UM3249
STM32CubeN6 main features
UM3249 - Rev 1
page 3/33
3 STM32CubeN6 architecture overview
The STM32CubeN6 MCU Package solution is built around three independent levels that easily interact as
described in Figure 2.
Figure 2. STM32CubeN6 MCU Package architecture
DT73812V1
Library and protocol-based components
(for example ThreadX, FileX)
Examples
BSP drivers
Core drivers (optional)
Hardware abstraction layer (HAL)
HAL
Level 0
Level 1
Low-layer (LL)
Applications
3.1 Level 0
This level is divided into three sublayers:
• Board support package (BSP).
• Hardware abstraction layer (HAL):
– HAL peripheral drivers
– Low-layer drivers
• Basic peripheral usage examples.
3.1.1 Board support package (BSP)
This layer offers a set of APIs relative to the hardware components in the hardware boards (such as LCD, Audio,
microSD
™
...). It is composed of two parts:
• Component:
This is the driver relative to the external device on the board and not to the STM32. The component driver
provides specific APIs to the BSP driver external components and could be portable on any other board.
• BSP driver:
It allows linking the component drivers to a specific board and provides a set of user-friendly APIs. The API
naming rule is BSP_FUNCT_Action().
Example: BSP_LED_Init(), BSP_LED_On()
BSP is based on a modular architecture allowing easy porting on any hardware by just implementing the low-level
routines.
3.1.2 Hardware abstraction layer (HAL) and low-layer (LL)
The STM32CubeN6 HAL and LL are complementary and cover a wide range of applications requirements:
UM3249
STM32CubeN6 architecture overview
UM3249 - Rev 1
page 4/33
• The HAL drivers offer high-level function-oriented highly portable APIs. They hide the MCU and peripheral
complexity to the end‑user.
The HAL drivers provide generic multi-instance feature-oriented APIs which simplify user application
implementation by providing ready‑to‑use processes. For example, for the communication peripherals (I2S,
UART, and others), it provides APIs allowing initializing and configuring the peripheral, managing data
transfer based on polling, interrupting, or
DMA process, and handling communication errors that may arise
during communication. The
HAL driver APIs are split into two categories:
1. Generic APIs which provide common and generic functions to all the STM32 series microcontrollers.
2. Extension APIs which provide specific and customized functions for a specific family or a specific part
number.
• The low-layer APIs provide low-level APIs at the register level, with better optimization but less portability.
The LL drivers are designed to offer a fast lightweight expert-oriented layer that is closer to the hardware
than the HAL. Contrary to the HAL, LL APIs are not provided for peripherals where optimized access is not
a key feature, or for those requiring heavy software configuration or complex upper-level stack.
The LL drivers feature:
– A set of functions to initialize peripheral main features according to the parameters specified in data
structures.
– A set of functions to fill initialization data structures with the reset values corresponding to each field.
– Function for peripheral de-initialization (peripheral registers restored to their default values).
– A set of inline functions for direct and atomic register access.
– Full independence from HAL and capability to be used in standalone mode (without HAL drivers).
– Full coverage of the supported peripheral features.
3.1.3 Basic peripheral usage examples
This layer encloses the examples built over the STM32 peripherals using only the HAL and BSP resources.
3.2
Level 1
This level is divided into two sublayers:
• Middleware components
• Examples based on the middleware components
3.2.1 Middleware components
The middleware is a set of libraries covering Microsoft
®
Azure
®
RTOS, VeriSilicon
®
H.264 video encoder software
stack, external memory manager, USBPD library.
Horizontal interaction between the components of this layer is done by calling the featured APIs.
Vertical interaction with the low-layer drivers is done through specific callbacks and static macros implemented in
the library system call interface.
The main features of each middleware component are as follows:
• Microsoft
®
Azure
®
RTOS
– Azure
®
RTOS ThreadX: A real-time operating system (RTOS), designed for embedded systems with
two functional modes.
◦ Common mode: Common RTOS functionalities such as thread management and
synchronization, memory pool management, messaging, and event handling.
◦ Module mode: An advanced user mode that allows loading and unloading of prelinked ThreadX
modules on the fly through a module manager.
– NetX Duo
– FileX
– USBX
• VeriSilicon
®
H.264 video encoder
– Software stack offering H.264 video encoding feature based on the STM32CubeN6 video encoder
hardware peripheral.
UM3249
STM32CubeN6 architecture overview
UM3249 - Rev 1
page 5/33
剩余32页未读,继续阅读
资源评论
冻结的鱼
- 粉丝: 2301
- 资源: 186
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Delphi 12 控件之FlashAV FFMPEG VCL Player For Delphi v7.0 for D10-D11 Full Source.7z
- Delphi 12 控件之DevExpressVCLProducts-24.2.3.exe.zip
- Mysql配置文件优化内容 my.cnf
- 中国地级市CO2排放数据(2000-2023年).zip
- smart200光栅报警程序
- 企业信息部门2024年终工作总结与2025规划方案
- 串口AT命令发送工具,集成5G模组常用At命令
- 通过python实现归并排序示例代码.zip
- 复旦大学张奇:2023年大规模语言模型中的多语言对齐与知识分区研究
- 通过python实现一个堆排序示例代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功