STM32Cube MCU Package for STM32F2 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo 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 make developers’ lives easier by reducing development effort, time and cost. STM32Cube is the implementation of STMCube™ that covers the whole STM32 portfolio.

    STM32Cube includes STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code using graphical wizards.
    It also comprises the STM32CubeF2 MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FAT file system, Graphics and TCP/IP). All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.
    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 APIs are production-ready and have been developed in compliance with MISRA C®:2004 guidelines with some documented exceptions (reports available on demand) and ISO/TS 16949. Furthermore, ST-specific validation processes add a deeper-level qualification.
    STM32CubeF2 gathers in one single package all the generic embedded software components required to develop an application on STM32F2 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within STM32F2 Series but also to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeF2 HAL at the cost of portability and simplicity.
    HAL and LL APIs are available under 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 80 examples for easy understanding
    • High quality HAL using CodeSonar® static analysis tool
    • High quality low-layer APIs (LL) using CodeSonar® static analysis tool
    • STM32F2-dedicated middleware including USB Host and Device, FatFS, RTOS, Graphics, and TCP/IP
    • 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

Support and Applications

    • Part Number

      STM32, STM8 and ST Ecosystem trainings

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB2250
      STM32Cube MCU Package for STM32F2 Series with HAL, low-layer drivers and dedicated middleware
      3.0
      152.14 KB
      PDF
      DB2250

      STM32Cube MCU Package for STM32F2 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
      AN4733
      STM32Cube firmware examples for STM32F2 Series
      3.0
      486.84 KB
      PDF
      AN4323

      Getting started with STemWin Library

      AN4733

      STM32Cube firmware examples for STM32F2 Series

    • Description Version Size Action
      UM1940
      Description of STM32F2 HAL and Low Layer drivers
      2.0
      29.74 MB
      PDF
      UM1722
      Developing Applications on STM32Cube with RTOS
      2.5
      710.15 KB
      PDF
      UM1713
      Developing applications on STM32Cube with LwIP TCP/IP stack
      4.1
      940.77 KB
      PDF
      UM1721
      Developing applications on STM32Cube™ with FatFs
      3.0
      649.69 KB
      PDF
      UM1739
      Getting started with STM32CubeF2 firmware package for STM32F2 Series
      4.0
      424.16 KB
      PDF
      UM2298
      STM32Cube BSP drivers development guidelines
      2.0
      1.78 MB
      PDF
      UM1709
      STM32Cube Ethernet IAP example
      3.1
      775 KB
      PDF
      UM1723
      STM32Cube PolarSSL example
      2.1
      643.62 KB
      PDF
      UM1720
      STM32Cube USB host library
      3.1
      606.11 KB
      PDF
      UM1734
      STM32Cube™ USB device library
      4.0
      1.45 MB
      PDF
      UM1940

      Description of STM32F2 HAL and Low Layer drivers

      UM1722

      Developing Applications on STM32Cube with RTOS

      UM1713

      Developing applications on STM32Cube with LwIP TCP/IP stack

      UM1721

      Developing applications on STM32Cube™ with FatFs

      UM1739

      Getting started with STM32CubeF2 firmware package for STM32F2 Series

      UM2298

      STM32Cube BSP drivers development guidelines

      UM1709

      STM32Cube Ethernet IAP example

      UM1723

      STM32Cube PolarSSL example

      UM1720

      STM32Cube USB host library

      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

      STM32 Embedded Software overview

      STM32 and STM8 embedded software solutions

Publications and Collaterals

    • Description Version Size Action
      STM32Cube eases STM32 development 18.12
      1.13 MB
      PDF

      STM32Cube eases STM32 development

    • Description Version Size Action
      STM32 32-bit MCU family - Leading supplier of Arm® Cortex®-M microcontrollers 18.02
      2.06 MB
      PDF

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

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