Product overview
Key Benefits
Differentiate your product
Leverage STM32 features and performance through efficient hardware abstraction layer and optimized market reference middleware
Description
STM32Cube MCU Package for STM32C5 series is composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware and utilities. All embedded software components are delivered with a full set of examples running on STMicroelectronics boards.
The HAL is introduced in its version 2.0.0 bringing many enhancements, especially in terms of performance and footprint and is compatible with a new version of STM32CubeMX configuration tool, named STM32CubeMX2. A STM32 Package Creator available on st.com enables users to build and download their own STM32Cube Software Package based on HAL2, selecting software features according to their project need. Software is available on ST GitHub as well.
The STM32Cube HAL is an STM32 embedded software layer that ensures maximized portability across the STM32 portfolio, while the LL APIs make up a fast, light-weight, expert-oriented layer which is closer to the hardware than the HAL. HAL and LL APIs can be used simultaneously with a few restrictions.
Both the HAL and LL drivers have been developed in compliance with V-Model requirements for design, implementation, and tests. Furthermore, the STMicroelectronics-specific validation process adds a deeper qualification level, such as compliance with MISRA C®:2012 guidelines, elimination of possible runtime errors with the Synopsys® Coverity® static analysis tool, and code coverage by running tests on STM32 hardware with the LDRA dynamic analysis tool (on new drivers or with recent significant updates). Reports are available on demand.
STM32CubeC5 gathers in one single package all the generic embedded software components required to quickly develop and debug an application on STM32C5 microcontrollers. Following STM32Cube initiative, this set of components is highly portable to other STM32 series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeC5 HAL at the cost of portability and simplicity.
HAL and LL APIs are available in open-source BSD license for user convenience.
-
All features
- Consistent and complete embedded software that provides hardware abstraction to easily develop end-user firmware
- HTML format documentation, including getting started, for online browsing or download
- Maximized portability between all STM32 series supported by STM32Cube
- More than 200 examples per board, also browsable from STM32 Example Library, for easy understanding, compatible with STM32CubeMX2 to facilitate the configuration through a graphical tool
- User-customized package through features selection from STM32 Package Creator online tool
- HAL and LL APIs, developed in compliance with MISRA C®:2012 guidelines, elimination of possible runtime errors with Synopsys® Coverity® static analysis tool, and code coverage by running tests on STM32 hardware with the LDRA dynamic analysis tool
- Automated machine-readable SBOM documents, in CycloneDX format
- Optimized and ported selection of market reference middleware and other in-house
- Free-of-charge, user-friendly license terms
- Update mechanism with new-release notification capability
- Published on GitHub in addition to www.st.com to propagate bug fixes and improvements faster, open for pull requests and issues to facilitate user contributions and direct feedback
- Improved performance and footprint
- HAL services calling exclusively the LL ones whenever applicable
- More service granularity, with split between Initialization and configuration APIs
- Better integration with RTOS
- Enhanced online documentation, with flowcharts and user sequences
- Detailed guidelines and script for API update and migration from HAL V1.x.x