STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB PD, File system, RTOS) - 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
  • STM32Cube is an STMicroelectronics original initiative to improve developers' productivity by reducing development effort, time and cost. STM32Cube 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 STM32CubeG0 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 and UCPD power delivery).
    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:2012 guidelines with some documented exceptions (reports available on demand) and ISO/TS 16949. Furthermore, ST-specific validation processes add a deeper-level qualification.
    The STM32CubeG0 gathers in one single package all the generic embedded software components required to develop an application on STM32G0 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within the STM32G0 Series but also to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeG0 HAL at the cost of portability and simplicity.
    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 130 examples for easy understanding
    • High quality HAL and low-layer API drivers using CodeSonar static analysis tool
    • High quality low-layer APIs (LL) using CodeSonar static analysis tool
    • STM32G0-dedicated middleware including USB Device, FatFS, RTOS and UCPD 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

      STM32Cube initialization code generator

      Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications

Evaluation Tools

    • Part Number

      STM32 Nucleo-64 development board with STM32G070RB MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32G071RB MCU, supports Arduino and ST morpho connectivity

      USB Type-C and Power Delivery Discovery kit with STM32G071RB MCU

      Evaluation board with STM32G081RB MCU

Support and Applications

    • Part Number

      STM32, STM8 and ST Ecosystem trainings

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB3796
      STM32Cube MCU Package for STM32G0 Series with HAL, low-layer drivers and dedicated middleware
      1.0
      121.17 KB
      PDF
      DB3796

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

    • Description Version Size Action
      AN5110
      STM32Cube firmware examples for STM32G0 Series
      4.0
      429.18 KB
      PDF
      AN5110

      STM32Cube firmware examples for STM32G0 Series

    • Description Version Size Action
      UM2319
      Description of STM32G0 HAL and low-layer drivers
      1.0
      8.37 MB
      PDF
      UM1722
      Developing applications on STM32Cube with RTOS
      3.0
      731.26 KB
      PDF
      UM1721
      Developing applications on STM32Cube™ with FatFs
      3.0
      649.69 KB
      PDF
      UM2303
      Getting started with STM32CubeG0 for STM32G0 Series
      4.0
      675.64 KB
      PDF
      UM2298
      STM32Cube BSP drivers development guidelines
      2.0
      1.78 MB
      PDF
      UM2308
      STM32CubeG0 Nucleo demonstration firmware
      2.0
      866.52 KB
      PDF
      UM2568
      STM32CubeG0 STM32G0316-DISCO demonstration firmware
      1.0
      18.3 MB
      PDF
      UM2321
      STM32CubeG0 demonstration firmware
      2.0
      2.45 MB
      PDF
      UM1734
      STM32Cube™ USB device library
      4.0
      1.45 MB
      PDF
      UM2319

      Description of STM32G0 HAL and low-layer drivers

      UM1722

      Developing applications on STM32Cube with RTOS

      UM1721

      Developing applications on STM32Cube™ with FatFs

      UM2303

      Getting started with STM32CubeG0 for STM32G0 Series

      UM2298

      STM32Cube BSP drivers development guidelines

      UM2308

      STM32CubeG0 Nucleo demonstration firmware

      UM2568

      STM32CubeG0 STM32G0316-DISCO demonstration firmware

      UM2321

      STM32CubeG0 demonstration firmware

      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
      STM32G0 MCU Series - Efficiency at its Best 1.0
      2.27 MB
      PDF

      STM32 Embedded Software overview

      STM32 and STM8 embedded software solutions

      STM32G0 MCU Series - Efficiency at its Best

Publications and Collaterals

    • Description Version Size Action
      STM32Cube eases STM32 development 18.12
      1.13 MB
      PDF
      STM32G0 Series Mainstream MCUs 19.08
      382.1 KB
      PDF

      STM32Cube eases STM32 development

      STM32G0 Series Mainstream MCUs

    • 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