STM32Cube MCU Package for STM32L4 series and STM32L4 Plus series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TouchSensing, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

Get Software Download databrief
Overview
Tools & Software
Resources
Solutions
Quality & Reliability
Sales Briefcase
eDesignSuite
Get Started
Sample & Buy
Partner products
  • 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.

    Key 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

Recommended for you

Development Tools

    • Part Number

      STM32 Standard Peripheral Libraries to STM32Cube Low-Layer APIs migration tool

      STM32Cube initialization code generator

      TouchGFX graphical design and code generation tool for STM32 MCUs

Support and Applications

    • Part Number

      STM32, STM8 and ST Ecosystem trainings

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB2602
      STM32Cube MCU Package for STM32L4 Series and STM32L4+ Series with HAL, low-layer drivers and dedicated middleware
      4.0
      149.25 KB
      PDF
      DB2602

      STM32Cube MCU Package for STM32L4 Series and STM32L4+ Series with HAL, low-layer drivers and dedicated middleware

    • Description Version Size Action
      AN4323
      Getting started with STemWin Library
      5.0
      1.37 MB
      PDF
      AN4726
      STM32Cube firmware examples for STM32L4 Series and STM32L4+ Series
      12.0
      488.8 KB
      PDF
      AN4323

      Getting started with STemWin Library

      AN4726

      STM32Cube firmware examples for STM32L4 Series and STM32L4+ Series

    • Description Version Size Action
      UM1884
      Description of STM32L4/L4+ HAL and Low-layer drivers
      7.0
      49.38 MB
      PDF
      UM1722
      Developing Applications on STM32Cube with RTOS
      2.5
      710.15 KB
      PDF
      UM1721
      Developing applications on STM32Cube™ with FatFs
      3.0
      649.69 KB
      PDF
      UM1913
      Developing applications on STM32Cube™ with STMTouch® touch sensing library
      7.0
      2.56 MB
      PDF
      UM1860
      Getting started with STM32CubeL4 MCU Package for STM32L4 Series and STM32L4+ Series
      12.0
      635.59 KB
      PDF
      UM2298
      STM32Cube BSP drivers development guidelines
      2.0
      1.78 MB
      PDF
      UM1720
      STM32Cube USB host library
      3.1
      606.11 KB
      PDF
      UM1916
      STM32CubeL4 Nucleo demonstration firmware
      2.0
      848.84 KB
      PDF
      UM1919
      STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit
      1.0
      3.25 MB
      PDF
      UM2145
      STM32CubeL4 demonstration firmware for 32L496GDISCOVERY kit
      1.0
      4.77 MB
      PDF
      UM1937
      STM32CubeL4 demonstration firmware for STM32L476G-EVAL board
      1.0
      1.83 MB
      PDF
      UM1734
      STM32Cube™ USB device library
      4.0
      1.45 MB
      PDF
      UM1884

      Description of STM32L4/L4+ HAL and Low-layer drivers

      UM1722

      Developing Applications on STM32Cube with RTOS

      UM1721

      Developing applications on STM32Cube™ with FatFs

      UM1913

      Developing applications on STM32Cube™ with STMTouch® touch sensing library

      UM1860

      Getting started with STM32CubeL4 MCU Package for STM32L4 Series and STM32L4+ Series

      UM2298

      STM32Cube BSP drivers development guidelines

      UM1720

      STM32Cube USB host library

      UM1916

      STM32CubeL4 Nucleo demonstration firmware

      UM1919

      STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit

      UM2145

      STM32CubeL4 demonstration firmware for 32L496GDISCOVERY kit

      UM1937

      STM32CubeL4 demonstration firmware for STM32L476G-EVAL board

      UM1734

      STM32Cube™ USB device library

Presentations & Training Material

    • Description Version Size Action
      STM32 Embedded Software overview 2.5
      342.73 KB
      PDF
      STM32 and STM8 embedded software solutions 7.0
      3.12 MB
      PDF
      STM32L4 MCU series - Excellence in ultra-low-power with performance 4.0
      1.29 MB
      PDF
      STM32L4+ MCU series - Excellence in ultra-low-power with more performance 1.0
      1.03 MB
      PDF

      STM32 Embedded Software overview

      STM32 and STM8 embedded software solutions

      STM32L4 MCU series - Excellence in ultra-low-power with performance

      STM32L4+ MCU series - Excellence in ultra-low-power with more performance

Publications and Collaterals

    • Description Version Size Action
      STM32Cube eases STM32 development 18.12
      1.13 MB
      PDF
      STM32L4 Series - Ultra-low-power and performance 18.10
      437.71 KB
      PDF

      STM32Cube eases STM32 development

      STM32L4 Series - Ultra-low-power and performance

    • Description Version Size Action
      STM32 32-bit MCU family - Leading supplier of Arm® Cortex®-M microcontrollers 18.02
      2.06 MB
      PDF
      STM32L series - Ultra-low-power 32-bit MCUs 18.11
      3.86 MB
      PDF

      STM32 32-bit MCU family - Leading supplier of Arm® Cortex®-M microcontrollers

      STM32L series - Ultra-low-power 32-bit MCUs

Legal

    • Description Version Size Action
      SLA0048
      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
      5.7
      87.58 KB
      PDF
      SLA0048

      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT