Product overview
Description
STMCube™ is an STMicroelectronics original initiative to ease developers’ life by reducing development efforts, time and cost. STM32Cube is the implementation of STMCube™ that covers STM32 microcontrollers.
STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards. It also comprises the STM32CubeL4 platform composed of the STM32Cube HAL and the Low Layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FatFS, graphics and STM32 touch sensing). All embedded software utilities come with a full set of examples running on STMicroelectronics boards.
The STM32Cube HAL is an STM32 embedded software stack that ensures a maximized portability across 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.
Both the HAL and LL APIs are production-ready and have been developed in compliance with MISRA-C guidelines and ISO/TS 16949. On top of that, ST specific validation processes add a deeper-level qualification.
STM32CubeL4 gathers in one single package all the generic embedded software components required to develop an application on STM32L4 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within STM32L4 series but also to other STM32 series. In addition, the Low Layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeL4 HAL at the cost of portability and simplicity.
STM32CubeL4 is fully compatible with STM32CubeMX code generator that allows generating initialization code. The HAL and LL APIs are available in open-source BSD license for user convenience.
-
All features
- Consistent and complete embedded software offer that frees the user from dependency issues
- Maximized portability between all STM32 series supported by STM32Cube
- More than 100 examples for easy understanding
- High quality HAL using CodeSonar® static analysis tool
- High quality Low Layer APIs (LL) using CodeSonar® static analysis tool
- STM32L4-specific middleware including USB Host, USB Device and touch sensing library
- Free user-friendly license terms
- Update mechanism that can be enabled by the user to be notified of new releases
Get Software
| Part Number | General Description | Latest version | ECCN (EU) | ECCN (US) | Supplier | Download | All versions |
|---|---|---|---|---|---|---|---|
| STM32CubeL4 | STM32Cube MCU Package for STM32L4 series | 1.18.0 | NEC | EAR99 | ST | Get from GitHub | |
| Patch_CubeL4 | Patch for STM32CubeL4 | 1.18.2 | NEC | EAR99 | ST |
Featured Videos
In our continued efforts to simplify developers’ life within the STM32Cube environment, we just introduced a new video demonstrating how to easily port an example built using ST’s new STM32Cube Low-Layer APIs from one board (NUCLEO-L476RG) to another (32L496GDISCOVERY) within the same STM32 family.
Recommended for you
Recommended Tools & Software
All tools & software
All resources
| Resource title | Version | Latest update |
|---|
Product Specifications (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 4.0 | 18 Dec 2017 | 18 Dec 2017 |
Application Notes (2)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 5.0 | 06 Apr 2018 | 06 Apr 2018 | ||
| 14.0 | 25 Mar 2021 | 25 Mar 2021 |
User Manuals (5 of 13)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 9.0 | 03 Sep 2021 | 03 Sep 2021 | ||
| 3.0 | 28 Oct 2019 | 28 Oct 2019 | ||
| 3.0 | 20 Feb 2019 | 20 Feb 2019 | ||
| 16.0 | 12 Nov 2025 | 12 Nov 2025 | ||
| 11.0 | 06 Mar 2025 | 06 Mar 2025 | ||
| 2.0 | 10 Jul 2019 | 10 Jul 2019 | ||
| 3.0 | 28 May 2015 | 28 May 2015 | ||
| 2.0 | 09 May 2017 | 09 May 2017 | ||
| 1.0 | 20 Mar 2020 | 20 Mar 2020 | ||
| 1.0 | 17 Jul 2015 | 17 Jul 2015 | ||
| 1.0 | 27 Mar 2017 | 27 Mar 2017 | ||
| 1.0 | 04 Sep 2015 | 04 Sep 2015 | ||
| 4.0 | 20 Feb 2019 | 20 Feb 2019 |
Presentations (5 of 7)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||
| 2.5 | 13 Jan 2016 | 13 Jan 2016 | ||
| 1.0 | 21 Mar 2024 | 21 Mar 2024 | ||
| 1.0 | 13 Dec 2023 | 13 Dec 2023 | ||
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||
| 1.0 | 15 May 2025 | 15 May 2025 | ||
| 1.0 | 02 Apr 2024 | 02 Apr 2024 |
Flyers (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 18.10 | 13 Jan 2016 | 13 Jan 2016 |
Brochures (2)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 1.0 | 31 Aug 2022 | 31 Aug 2022 | ||
| 1.0 | 29 Jul 2020 | 29 Jul 2020 |
License Agreement (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 8.0 | 16 Oct 2025 | 16 Oct 2025 |
Additional License Terms (2)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| HTML | 1.18.0 | 06 Jul 2023 | 06 Jul 2023 | |
| HTML | 1.17.1 | 10 Dec 2021 | 10 Dec 2021 |
Security Advisory (2)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 1.0 | 31 Mar 2025 | 31 Mar 2025 | ||
| 1.0 | 23 Feb 2025 | 23 Feb 2025 |